summaryrefslogtreecommitdiffstats
path: root/WebKit/Android.mk
Commit message (Collapse)AuthorAgeFilesLines
* Implement the audio tag in webkit -- the corresponding java CL is ↵Nicolas Roard2010-05-071-0/+1
| | | | | | https://android-git.corp.google.com/g/#change,41406 Change-Id: Ief37a7d9879308f0749fcd569e82fddc3f989a8a
* Add UI considerations to layersCary Clark2010-02-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | companion fix is in framework/base With fixed layers, parts of the web page are now in motion relative to the document when the page scrolls. Many routines that formerly read static coordinates need to compute locations. In some cases, new computations are cached for speed -- for instance, the current cursor position is cached when it is frequently compared. The cursor rings and other drawing elements like finding text on the page now to be drawn in the correct order so that they appear both under and over layers. There's quite a bit more work to be done. Major pieces are drawing the text selection in the correct order, and computing locations based on nest layers. With this checkin, only the position of the child- most layer is considered when computing bounds. http://b/2369549 JavaScriptCore/wtf/Platform.h - Turn compositing on. All routines that reference LayerAndroid are bracketed by this condition. WebCore/platform/graphics/android/LayerAndroid.h WebCore/platform/graphics/android/LayerAndroid.cpp - Add a unique id to each layer. The unique id is used to associate a layer created when the DOM is parsed in the webkit thread with its copy in the UI thread. - Add: draw the text found on the page, as a call out in the primary draw. The call out must follow the drawing the layers' contents to show the found text correctly. Note that this adds a new slot with identical contents in every child LayerAndroid. In a future optimization, a RootLayerAndroid could hold data common for all child layers. - Add: clipArea(), which returns an array of rectangles describing the clip for this LayerAndroid and its children. Generally, this is the part of the webpage which is covered by one or more fixed layers. - Add: find(FloatPoint) that returns the deepest layer that contains this point. This is used to match taps to the layer that is tapped on. - Add: draw all layer pictures and identify which layer is being drawn. This is used to analyze the picture contents for finding and selecting text. - Add: find the layer that matches a given id; this is used to map cached DOM node data back to the layer that contains it. - Fix up includes, delete unused interfaces WebKit/android/jni/WebViewCore.h WebKit/android/jni/WebViewCore.cpp - Remove local mRootLayer; use the one in WebView.cpp instead (which is in sync with WebView.java) WebKit/Android.mk WebKit/android/nav/CachedLayer.h WebKit/android/nav/CachedLayer.cpp - CacheLayer associates the cached node with the LayerAndroid instance. It contains the index to the node in the cached frame, the LayerAndroid's unique id, and the spacial offset of the node within the layer when the DOM information was captured. It also caches a pointer to the LayerAndroid instance. CacheLayer computes the node's location each time it is called, since the fixed layer may be constantly moving relative to the document's coordinates. WebKit/android/nav/CacheBuilder.h WebKit/android/nav/CacheBuilder.cpp - Track the active layer while building the nav cache. The 'Tracker' structs were refactored to share common code, and a new 'LayerTracker' struct identifies when the node walker is inside a layer. - Added code to dump layer information for debugging. - Note that CachedNode::cursorRingsPtr can only be called during nav data construction - The cache builder can limit or exclude nodes that are clipped out -- but until I have more understanding of layer clipping, treat contained nodes as unclipped. WebKit/android/nav/CachedDebug.h - Add a variant that can dump either to a log file or the console including the function it was dumped from. WebKit/android/nav/CachedFrame.h WebKit/android/nav/CachedFrame.cpp - Add an array of CacheLayer instances. - Protect bounds from direct access since they must always be computed. - Remove misnamed focus parameter from many routines since the cursor node can be read from the root frame. - Add: adjustBounds(), which computes the bounds as the layer moves. - Add: checkRings(), which gets the appropriate picture for the node. - Remove disabled code - Find the layer list for the matching node by using a binary search - Add: resetLayers() to reset the LayerAndroid pointer in CachedLayers when the layer world changes. WebKit/android/nav/CachedHistory.h WebKit/android/nav/CachedHistory.cpp - Update history data to have matching frame and node WebKit/android/nav/CachedNode.h WebKit/android/nav/CachedNode.cpp - Refactor functions that directly read coordinates to compute them. In some cases, pass the frame in so that the layer coordinates can be found. - Add a bit to note that the node belongs to a layer. - Remove duplicate bounds interfaces. - Add methods to get cursor ring data at runtime. - Update debugging info. WebKit/android/nav/CachedRoot.h WebKit/android/nav/CachedRoot.cpp - Isolate direct picture access so that the layer picture can be returned. - Add knowledge of how the base is covered by layers. - Add a pointer to the root LayerAndroid. - delete disabled code. - Move the cursor ring into view if it is obscured by a layer (this isn't totally working) - Before finding the next node to move to, set up 'cursor cache' data, including the visible picture. WebKit/android/nav/FindCanvas.h WebKit/android/nav/FindCanvas.cpp - Move find code here so that it can be called from layers. WebKit/android/nav/WebView.cpp - Add java interface to get viewport metrics on demand. - Pass frame with the node. - Remove the find on page code (now in FindCanvas). - Compute focus rings instead of reading them directly. - Transfer layer id when getting new nav cache. - Set up root LayerAndroid. - Add utility to track if cursor is in a layer. - Simplify drawLayers() to use common view metrics.
* Implement V8 counter supportAndrei Popescu2010-02-021-0/+1
|
* am 53e1af87: am 2eb76d0b: Add logging for all plugin events and their return ↵Derek Sollenberger2010-01-251-0/+1
|\ | | | | | | | | | | | | | | | | values. Merge commit '53e1af87fa4f19eac50b3d6fb45a3a386d156cd0' * commit '53e1af87fa4f19eac50b3d6fb45a3a386d156cd0': Add logging for all plugin events and their return values.
| * Add logging for all plugin events and their return values.Derek Sollenberger2010-01-251-0/+1
| |
* | am e4771f1b: am 6916255e: Call into MimeTypeMap to get the mime type for an ↵Patrick Scott2010-01-131-0/+1
|\ \ | |/ | | | | | | | | | | | | | | extension. Merge commit 'e4771f1b95589eff8479702dfbf5ef03c267c5c3' * commit 'e4771f1b95589eff8479702dfbf5ef03c267c5c3': Call into MimeTypeMap to get the mime type for an extension.
| * Call into MimeTypeMap to get the mime type for an extension.Patrick Scott2010-01-131-0/+1
| | | | | | | | | | | | | | | | | | Use the default method to obtain the content type of a plugin. Implement extension to mime type by calling into the java map. Requires a small change to the webkit package. Bug: 2368893
* | am da8d42de: am 80e68b43: Break the WebCore -> WebKit dependency in ↵Andrei Popescu2009-12-111-0/+1
|\ \ | |/ | | | | | | | | | | | | | | ResourceHandleAndroid.cpp. Merge commit 'da8d42def98a28bfef84ce5809d13ae1710a342c' * commit 'da8d42def98a28bfef84ce5809d13ae1710a342c': Break the WebCore -> WebKit dependency in ResourceHandleAndroid.cpp.
| * Break the WebCore -> WebKit dependency in ResourceHandleAndroid.cpp.Andrei Popescu2009-12-111-0/+1
| |
* | am 41527663: am 213584b6: Merge change I514e3218 into eclair-mr2Mike Reed2009-12-101-0/+1
|\ \ | |/ | | | | | | | | | | Merge commit '415276639e9cc2b78eaf9edab9de55a3e2ff975d' * commit '415276639e9cc2b78eaf9edab9de55a3e2ff975d': add event interface for plugins, so they can post an event to themselves (from any thread)
| * add event interface for plugins, so they can post an event to themselves ↵Mike Reed2009-12-101-0/+1
| | | | | | | | (from any thread)
* | am d24133a9: am dcab27c3: Switching from activity based full screen plugins ↵Derek Sollenberger2009-12-101-1/+0
|\ \ | |/ | | | | | | | | | | | | | | to a view system overlay. Merge commit 'd24133a9678b18bf5e1e9c0edd14fc8e9d2a1d45' * commit 'd24133a9678b18bf5e1e9c0edd14fc8e9d2a1d45': Switching from activity based full screen plugins to a view system overlay.
| * Switching from activity based full screen plugins to a view system overlay.Derek Sollenberger2009-12-081-1/+0
| |
* | am 021228f2: am 1d330120: move input-related fields out of CachedNode to expandCary Clark2009-12-041-0/+1
|\ \ | |/ | | | | | | | | | | Merge commit '021228f27b1399df5a45f3f1e7f1f12126e86e3c' * commit '021228f27b1399df5a45f3f1e7f1f12126e86e3c': move input-related fields out of CachedNode to expand
| * move input-related fields out of CachedNode to expandCary Clark2009-12-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Some of the fields in CachedNode are relevant only to input fields and text areas. Move these into their own vector so that we can add more data without making all CacheNodes bigger. Remove CacheNode entries that are no longer used, or can be consolidated into the node type. Alphabetize some interfaces and implementations. Update the debugging output. part of http://b/2299660
* | am 1573e25e: am 8ec42170: Enable WebKit page cache through WebSettings.Grace Kloba2009-12-021-0/+1
|\ \ | |/ | | | | | | | | | | Merge commit '1573e25e3a50d588fb83b3e4be6fb8bf5dc7ec65' * commit '1573e25e3a50d588fb83b3e4be6fb8bf5dc7ec65': Enable WebKit page cache through WebSettings.
| * Enable WebKit page cache through WebSettings.Grace Kloba2009-12-021-0/+1
| | | | | | | | | | | | | | | | Add setXX() for the meta data in Settings. Add CachedFramePlatformDataAndroid to preserve the state for the cachedFrame. http://b/issue?id=2284168
* | Use STLPort instead of our stripped version.Patrick Scott2009-12-021-1/+0
|/ | | | | | | This fixes the simulator build and allows us to get closer to sharing code with chromium. STLPort was copied with minor edits from the Android port of gears.
* Cleanup how a plugin requests to go full-screen.Derek Sollenberger2009-12-011-0/+1
|
* Update files in platform/android to match what was upstreamed inAndrei Popescu2009-11-251-1/+2
| | | | | https://bugs.webkit.org/show_bug.cgi?id=31825 https://bugs.webkit.org/show_bug.cgi?id=31831
* Move the benchmark code inside libwebcore.soPatrick Scott2009-11-231-0/+3
| | | | | | | This adds about 8k of code to the library but it allows the benchmark to run without modifying the library. This makes it ideal when testing libwebcore.so since it is the exact same as our running library. It also makes it possible to always build the benchmark app.
* First pass at replacing native plugin views with java.Derek Sollenberger2009-09-151-1/+0
| | | | Change-Id: I637275c9766202a4358ef25af01ee92c85c48e7f
* Adds ability to configure mock Geolocation service from DumpRenderTree on ↵Steve Block2009-08-141-0/+1
| | | | Android.
* Add SystemInterface to the android_npapi so that we can expose system relatedGrace Kloba2009-08-051-0/+1
| | | | properties. Currently it only has getApplicationDataDirectory.
* Adds GeolocationPermissionsBridge.Steve Block2009-07-291-0/+1
|
* Adds a GeolocationPermissions class.Steve Block2009-07-291-0/+1
|
* Add Plugin APIs for creating and manipulating a Surface.Patrick Scott2009-07-201-1/+2
| | | | | | | | | | | | SurfaceCallback: An interface used to receive the surface change events. The PluginSurface then sends those events to the actual plugin. PluginSurface: A wrapper around the native Surface object obtained from the Java SurfaceView. This object can lock and unlock the surface and takes care of creating, positioning and destroying the Java SurfaceView. Changed PluginWidgetAndroid to not use SkFlipPixelRef when the drawing model is Surface.
* Adding plugin support for an RGBA surface view.Derek Sollenberger2009-07-171-1/+2
|
* Implement fullscreen video. Currently only load() and play() are supported. ↵Andrei Popescu2009-06-251-0/+1
| | | | The rest of the MediaPlayerPrivate functionality will be added in a later CL.
* add pixelpacking apiMike Reed2009-06-101-0/+1
|
* Add WebStorage C++ implementation needed for the Browser UINicolas Roard2009-05-111-0/+1
|
* add path apis for plugins. also add drawLine to canvasMike Reed2009-05-041-0/+1
|
* Automated import from //branches/master/...@141965,141965Patrick Scott2009-03-241-0/+2
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+67
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-67/+0
|
* auto import from //branches/cupcake/...@130745The Android Open Source Project2009-02-101-5/+8
|
* auto import from //branches/cupcake/...@126645The Android Open Source Project2009-01-151-3/+1
|
* auto import from //branches/cupcake/...@125939The Android Open Source Project2009-01-091-1/+5
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-0/+62