summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/android
Commit message (Collapse)AuthorAgeFilesLines
* Force stroke style for radio drawingChris Craik2012-09-271-0/+2
| | | | | bug:7188900 Change-Id: I9cfc020be463b0441a3d718d44cc6c948781d7cf
* Update RenderThemeAndroid drawingJohn Reck2012-09-061-56/+115
| | | | | | | | Bug: 7082715 Also fixes the glitch with drawing a disabled select leaving an alpha set on the context Change-Id: I8414ca4332f4828453e4f5b1e9186b13d319dfbb
* Remove usages of getCanvasJohn Reck2012-08-061-44/+20
| | | | | | Everything goes through either PlatformGraphicsContext or recordingCanvas() Change-Id: I375a4294d2e8d4b467b70c6b8a7f0b96f402f252
* Remove updateTextfield for changing passwords.George Mount2012-06-201-1/+1
| | | | | | | The UI no longer needs to know about password field changes as it is not required like it was with the removed WebTextView. Change-Id: I16a6bb44c31c83c5c3e9cb70f2bc865d5eb2732c
* am 8959907b: am 91f41286: Support skipping a touch stream due to lack of ↵John Reck2012-05-241-0/+1
|\ | | | | | | | | | | | | handlers * commit '8959907b97e269d7183d4817f295234718b41365': Support skipping a touch stream due to lack of handlers
| * Support skipping a touch stream due to lack of handlersJohn Reck2012-05-241-0/+1
| | | | | | | | | | | | Bug: 6317798 Change-Id: I8c4cd3bf4c538aff202ed0e3f84982fb112936a1
* | Remove the hacks used to suspend and resume the non-client-based Geolocation ↵Steve Block2012-05-221-4/+0
| | | | | | | | | | | | | | | | | | | | implementation These forks to WebCore code are not required with the client-based implementation, as we can suspend and resume the client directly. Bug: 6511338 Change-Id: I7be5b4224555bc8c3893b75275ac3a997a6677d1
* | Switch to client-based GeolocationSteve Block2012-05-222-284/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The motivation for this switch is that it is required to enable PREEMPT_GEOLOCATION_PERMISSION. See b/4500947. The switch involves changing lots of Android's WebKit plumbing to use a new GeolocationClientAndroid in WebKit (called from WebCore::GeolocationController), rather than the existing GeolocationServiceAndroid in WebCore/platform (called from WebCore::Geolocation). This is complicated by the need to support mocking for LayoutTests. The pattern used is very similar to that used for DeviceOrientation and DeviceMotion. This patch ... - Enables CLIENT_BASED_GEOLOCATION - Leaves PREEMPT_GEOLOCATION_PERMISSION disabled for now - Removes GeolocationServiceAndroid - Adds a new GeolocationClientAndroid - Just a proxy to real client - Adds a new GeolocationManager - Manages switching between the real and mock clients - Provides the appropriate client to GeolocationClientAndroid - Plumbs to the real client calls for permissions and for suspending/resuming - Adds a new GeolocationClientImpl - The real client - Based heavily on GeolocationServiceAndroid - Delegates to GeolocationServiceBridge, as GeolocationServiceAndroid did - Calls back directly to GeolocationController - Owns the existing GeolocationPermissions - Updates WebViewCore to call the GeolocationManager for permissions and for suspending/resuming - Removes superfluous ChromeClient methods for permissions Note that support for mocking will be added in a later change. See bug for details. Bug: 6511338 Change-Id: I4cdbf55846e76b37c161834b83135b4dc48dbcdc
* | am 655f75fe: am 2c52cc31: Merge "Switch to a 4ms/1s timer" into jb-devJohn Reck2012-05-211-1/+1
|\ \ | |/ | | | | | | * commit '655f75feeee4c396740a8e768888c7c8f0602cb8': Switch to a 4ms/1s timer
| * Merge "Switch to a 4ms/1s timer" into jb-devJohn Reck2012-05-211-1/+1
| |\
| | * Switch to a 4ms/1s timerJohn Reck2012-05-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 6523124 Bug: 6523033 Use a 4ms timer for foreground tabs, and a 1s timer for background tabs Change-Id: Iea061d63adf82f6e17dd2d47d382fcdfc588b7d3
* | | am 80e066f5: am 8156b667: Merge "Revert part of "Fix iframe, ..."" into jb-devMangesh Ghiware2012-05-212-1/+36
|\ \ \ | |/ / | | | | | | | | | * commit '80e066f593d481ee02fc9cde720967532015493e': Revert part of "Fix iframe, ..."
| * | Revert part of "Fix iframe, ..."Mangesh Ghiware2012-05-182-1/+36
| |/ | | | | | | | | | | | | | | | | | | Fix DOMWindow innerWidth and innerHeight to report correct values even after an orientation change. Uses platform-specific widget. This reverts part of commit I588aa5709e7a3c2ced9479c3cf9c1827bf6f7733. Bug: 6479900 Change-Id: Ic5c8785e35b14d6723eee4f4dfe1b0a3e1ec284a
* | Move GeolocationServiceBridge to WebKit/android/jni and extract Listener ↵Steve Block2012-05-184-326/+15
|/ | | | | | | | | | | | | | interface Also modify GeolocationServiceBridge to take a WebViewCore rather than a Frame. This will simplify the transition to client-based implementation, which will re-use GeolocationServiceBridge. No functional change. Bug: 6511338 Change-Id: I2de9dfed51d785c85b40f362f20189f208adf6ec
* Rewrite PictureSet with TURBO!John Reck2012-05-022-11/+1
| | | | | | | | | | | | | | | | | | | | This changes how partial invals are done by adding a hybrid mode. What we used to do is generate a SkPicture for the new area. This SkPicture would possibly be larger than the actual inval, depending on various merge rules (more SkPictures == slower to draw a tile) The new code rewrites PictureSet entirely, preserving many of the old rules but cleans up the code and adds the concept of a "PrerenderedInval". This is a partial inval that WebKit has rasterized. By having WebKit produce both a SkPicture and a SkBitmap, we avoid needing to play back the picture and avoid overdrawing. We take this SkBitmap, and simply update the front textures with it. This gives us full partial invals through the entire system without hitting any driver bugs, and with minimal copies. And while the SkPicture may be larger than the inval, the SkBitmap that is rasterized is not - it matches the area webkit has said is dirty. Change-Id: Ieb7ecc9db0d4f679102fda004a43399f9b319ebc
* Changes from code comments.George Mount2012-04-271-2/+2
| | | | | | Bug 6257532 Change-Id: Ic1c27ecdcbc6e4e6cf69dd73eb9b7b9a6d8b2c70
* Make input="range" visible and react to touch events.George Mount2012-04-252-4/+29
| | | | | | Bug 6257532 Change-Id: I1d1ae457c50fe5b9627df7edb4f11d8245b5bdbf
* Implements a recording GraphicsContextNicolas Roard2012-04-061-1/+17
| | | | Change-Id: I41feadb23dce25af321331c459eb159c6141831b
* Fix iframe, for reals!John Reck2012-03-012-36/+1
| | | | Change-Id: I588aa5709e7a3c2ced9479c3cf9c1827bf6f7733
* Merge "Delete navcache native"John Reck2012-02-271-0/+3
|\
| * Delete navcache nativeJohn Reck2012-02-271-0/+3
| | | | | | | | | | | | Will clean up the JNI in a later CL Change-Id: I448fe5592026c325c3b2fa1c90f174674bf358b1
* | Fix iframe webkit positioningNicolas Roard2012-02-271-2/+0
|/ | | | Change-Id: I7b2b3a7312c89bc505d7f629380df0d3f24eee5f
* Merge "Improve keyboard navigation cursor rings"John Reck2012-02-212-20/+6
|\
| * Improve keyboard navigation cursor ringsJohn Reck2012-02-212-20/+6
| | | | | | | | Change-Id: I2b11c0b0011104c5a3515ed138a9077dfe8b4ce1
* | async find-on-page implementation via WebKitVictoria Lease2012-02-212-0/+13
|/ | | | Change-Id: I5804c865f4bce6452213dc89337ff6a5e6100c9e
* frameworks/base refactoring.Mathias Agopian2012-02-171-1/+1
| | | | | | First step. Move libui headers to their new home. Change-Id: I2e770e6b53c2f34432b0df2937c4cc33af6dc52b
* Remove JSC-specific code and V8 guards from Android-specific codeSteve Block2012-02-161-19/+0
| | | | | | | Also removes such code from downstream edits to non-Android-specific code. Bug: 5495373 Change-Id: I478824af2e6ff0eff9a43a9534c2a5ee0e99e9f8
* Initial support for keyboard navigationJohn Reck2012-02-153-1/+13
| | | | | | Bug: 6019693 Change-Id: I7b4f6d83e8913e647e8ac7340afd01d609c4343b
* Render dropdown menu nativelyMichael Kolb2012-01-272-11/+56
| | | | Change-Id: I1c76b6177a7d182d68ad050ff4e2951b59104c79
* Render radio buttons and checkboxes directlyMichael Kolb2012-01-252-6/+65
| | | | | | Removed the 9-patch code Change-Id: Ic55a617df6058f69c74dff13bf09a455f0091f92
* Fix form button layoutMichael Kolb2012-01-242-32/+60
| | | | | | | | | Bug: 5822424 Fixed by removing all padding adjustments and rendering buttons natively as draw commands Change-Id: I6adcdfbd75b3c586414b5e6e60aeca01f5d05b9d
* Tap to play/pause for html5 video with UITeng-Hui Zhu2011-12-131-2/+6
| | | | | | bug:4232704 Change-Id: Ice99bc0fa19de93627fe8ffb91085838fa682315
* am 0de683c1: Merge "Fix combobox metrics and asset scaling" into ics-mr1Michael Kolb2011-11-111-0/+1
|\ | | | | | | | | * commit '0de683c1b300c8e788c178c63b7dc71189c0a3d8': Fix combobox metrics and asset scaling
| * Merge "Fix combobox metrics and asset scaling" into ics-mr1Michael Kolb2011-11-111-0/+1
| |\
| | * Fix combobox metrics and asset scalingMichael Kolb2011-11-101-0/+1
| | | | | | | | | | | | | | | | | | Bug: 5521553 Change-Id: I630eda2ffd90d0c986f00c5a2a4b523e93537192
| * | DO NOT MERGE Offset scroll area by the scroll origin on AndroidGeorge Mount2011-11-091-2/+5
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | Bug 5268793 The scrolled area for WebView is 0,0 - maxX,maxY while ScrollView can have any origin. On RTL pages, the origin is negative when it can scroll. This scrolls the page to the right when it detects an RTL page. Cherry-picked from master CL: I6a91b97f Framework CL: I2537b84a Change-Id: I6a91b97f90f5ba4c323c56dda9d125108d9502c4
* | Offset scroll area by the scroll origin on AndroidGeorge Mount2011-11-091-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | Bug 5268793 The scrolled area for WebView is 0,0 - maxX,maxY while ScrollView can have any origin. On RTL pages, the origin is negative when it can scroll. This scrolls the page to the right when it detects an RTL page. Framework CL: I2537b84a Change-Id: I6a91b97f90f5ba4c323c56dda9d125108d9502c4
* | am 82ccbd8c: Remove the global button lockJohn Reck2011-11-071-7/+8
|\ \ | |/ | | | | | | * commit '82ccbd8ce95211b4b5afad6a653462fd3beb771b': Remove the global button lock
| * Remove the global button lockJohn Reck2011-11-071-7/+8
| | | | | | | | | | | | | | Bug: 5558699 Bug: 5572238 Change-Id: Ic199ffda5bc4aa09d39ee54221c6fcce6a91ca05
* | Rename LOGV(_IF) to ALOGV(_IF) DO NOT MERGESteve Block2011-10-251-1/+1
|/ | | | | | | See https://android-git.corp.google.com/g/#/c/143865 Bug: 5449033 Change-Id: I821098330652380686aca9e83222936bd5678970
* Increase default button paddingJohn Reck2011-09-211-3/+6
| | | | | | | | Bug: 5354009 12 for left/right 8 for top/bottom Change-Id: Iec50b82b95d24b3a50c858017f52d52310c86ee9
* The real fix for the video forward/back button.Teng-Hui Zhu2011-08-241-1/+1
| | | | | | | | Since the code move to the /shadow part, revert the previous change c/130242 and put in this new change. bug:4598827 Change-Id: I6592050e198d2801d87ccc1558ceb2bf6dfc25d5
* video UI fix, hide the forward/back buttonTeng-Hui Zhu2011-08-231-1/+1
| | | | | | bug:4598827 Change-Id: I7de60b79e79bbb0de8c3524764ccdbd6ff582268
* Lazily decode assets for form controls.Ben Murdoch2011-08-161-1/+1
| | | | | | | | | | | | Rather than decoding the graphics when we create a WebView, wait until we actually need them. This saves about 50ms on native WebView creation time. Requires frameworks/base change: I5a2e87d03d73fa74ebb00c33567783225ed97d3a Bug: 5084146 Change-Id: Ia6c17634f535ed75b2a0757ac4d53f1a0befb78a
* Check the available memory when allocating an ImageBuffer.Ben Murdoch2011-08-121-0/+1
| | | | | | | | | | | | | The ImageBuffers used by canvas can eat a ton of memory quickly, so be mindful of the available memory on the device before allocating them. See also frameworks/base change I3d0f85075497c2a374cd866b0223eecaaa4b5f46 Bug: 5142892 Change-Id: I74d243ef9d0d63aac168c16653e9aae0430dfa21
* Revert "Factor the scale into the actual screen space calculation."Shimeng (Simon) Wang2011-07-081-8/+4
| | | | This reverts commit 706c2b4c3089f2832c8172c0581e3df110bf534c.
* Factor the scale into the actual screen space calculation.Shimeng (Simon) Wang2011-07-011-4/+8
| | | | | issue: 4982074 Change-Id: I5d86539a17393f3060cd67bd4c6888734037c7e4
* Merge WebKit at r82507: JNIType renamed to JavaTypeSteve Block2011-06-081-1/+1
| | | | | | See http://trac.webkit.org/changeset/81860 Change-Id: I7ba9cf3f5a739f4d94e9189f6eb6dd4f8f645787
* Merge WebKit at r82507: Fix conflicts due to new StorageTrackerSteve Block2011-06-081-24/+0
| | | | | | | | | | | | | | | | - FileSystemAndroid.cpp, FileSystemPOSIX.cpp Use new common version of listDirectory(), which is identical to the existing Android version. - StorageNamespace.h, StorageNamespaceImpl.h Conflict due to Android's clearPage() - PageGroup.cpp Conflict due to Android's clearDomStorage() See http://trac.webkit.org/changeset/80892 Change-Id: Ifac131155f5019959de8761438cd0372547b0e6c
* Merge WebKit at r82507: Initial merge by gitSteve Block2011-06-082-7/+6
| | | | Change-Id: I60ce9d780725b58b45e54165733a8ffee23b683e