summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/android
Commit message (Collapse)AuthorAgeFilesLines
* Make sure WebViewClient.onPageStarted() doesn't preceed ↵Steve Block2011-08-314-25/+37
| | | | | | | | | | | | | | | WebViewClient.shouldOverrideUrlLoading() In the case of a server-side redirect, we were triggering a callback to WebViewClient.onPageStarted() before we'd called WebViewClient.shouldOverrideUrlLoading(). This change delays calling WebViewClient.onPageStarted() until after WebViewClient.shouldOverrideUrlLoading() has returned and has indicated that the WebView should continue with the load. Bug: 5191031 Change-Id: I43d12c4df46e5d6e2defad10e80efbf0d5c30aed
* Fix plugin crashes due to bad ref counting.Derek Sollenberger2011-08-291-9/+3
| | | | | bug: 5197948 Change-Id: Iece573a141feda56af2123b5fc9ace4cefa5139d
* Fix PictureSet invlidation rectangle bugBen Murdoch2011-08-262-2/+7
| | | | | | | | | | | | | Set the height of the invalidation rectangle correctly. The last parameter to SkRect::set should be the bottom of the rectangle, not the desited height. Also, clear the content when we navigate between pages to avoid showing any stale content. Bug: 5213749 Change-Id: Ic75b9e9d8632750a15a03ebfbd4291fad03fca6a
* Fix crash when scrolling non-HW accelerated WebViewBen Murdoch2011-08-261-1/+4
| | | | | | | | Need to null check m_glWebViewState. It should also have a compile time guard. Bug: 5219373 Change-Id: I36fc559fd20e54dc34912f7843a9aa6d2316765b
* better locking while scrolling, but disables double bufferingChris Craik2011-08-252-5/+27
| | | | | | | | | | don't detect scrolling, query from java removes double buffering depends on CL in frameworks/base: https://android-git.corp.google.com/g/#/c/130213/ bug:5106313 Change-Id: Ibfa7f305874f4209fed001c030bb94e752d479b9
* Limit the number of inval rects we send to the UINicolas Roard2011-08-231-0/+20
| | | | | | bug:5204192 Change-Id: I5c29e9b2411ac2e05274d9a89c472285ed1aeb67
* Merge "Fix repaint when we toggle the inverted mode - add a boolean return ↵Nicolas Roard2011-08-181-2/+5
|\ | | | | | | in WebView::nativeSetProperty() - add an inverted flag in BaseTileTexture"
| * Fix repaint when we toggle the inverted modeNicolas Roard2011-08-181-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | - add a boolean return in WebView::nativeSetProperty() - add an inverted flag in BaseTileTexture Note that we invert the textures rather than the final screen. bug:5167645 java counterpart: https://android-git.corp.google.com/g/#/c/129133/ Change-Id: I249e429dbabb347b1c5c0828ef4fad17ece6e4b3
* | Merge "tile prefetching now triggered automatically"Chris Craik2011-08-181-7/+0
|\ \ | |/ |/|
| * tile prefetching now triggered automaticallyChris Craik2011-08-171-7/+0
| | | | | | | | | | | | | | | | | | bug:5178457 bug:5168261 Tiles are now prefetched at a distance of 2 from the view if the content is at least 1.2x the size of the view (in each dimension independantly) Change-Id: I1c251ffbbae709f8924133b9b22df39b4fa88b4c
* | Merge "Remove shouldOverrideUrlLoading restrictions"John Reck2011-08-171-6/+0
|\ \ | |/ |/|
| * Remove shouldOverrideUrlLoading restrictionsJohn Reck2011-08-171-6/+0
| | | | | | | | | | | | Bug: 5171504 Change-Id: I5c2dfc8a0fbf07cb5df11bddfafd9f7251380402
* | Merge "Implement partial repaint for layers (at the tile level) Fixes a ↵Nicolas Roard2011-08-171-0/+1
|\ \ | | | | | | | | | scheduling problem with layers"
| * | Implement partial repaint for layers (at the tile level)Nicolas Roard2011-08-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Fixes a scheduling problem with layers bug:3392331 bug:5145259 Change-Id: I2ea2c91f2c6d6f5288375cb5ebdaa69819b740be
* | | Merge "Add xhdpi constants for combo box."Ben Murdoch2011-08-174-26/+67
|\ \ \
| * | | Add xhdpi constants for combo box.Ben Murdoch2011-08-174-26/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the asset sizes and margins so that the new xhdpi assets display correctly. Bug: 5171535 Change-Id: Id2f1c378563fd60e6493f513c78ffaea443454e7
* | | | Merge "Fix NinePatch issue when the destination is smaller than the asset"Derek Sollenberger2011-08-171-1/+17
|\ \ \ \
| * | | | Fix NinePatch issue when the destination is smaller than the assetDerek Sollenberger2011-08-161-1/+17
| | | | | | | | | | | | | | | | | | | | | | | | | bug: 5041053 Change-Id: Ic06d6d161a04d2d501ad629ba24f827ac6f98331
* | | | | Merge "Fix for bug 3429537 Google voice (web version) does not play messages ↵Kristian Monsen2011-08-171-2/+9
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | on HC"
| * | | | Fix for bug 3429537 Google voice (web version) does not play messages on HCKristian Monsen2011-08-161-2/+9
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sending the WebView to java so it can get the private status of the window. Depends on frameworks/base CL: https://android-git.corp.google.com/g/#/c/127813/ Change-Id: I014ca73557ba6a2b5fb4f1051465ec7d4bb3ebd5
* | | | Lazily decode assets for form controls.Ben Murdoch2011-08-1613-108/+142
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/+12
|/ / | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Part of fix for bug 5152544 Reduce the number of warningKristian Monsen2011-08-111-1/+1
|/ | | | Change-Id: I06a7975d6b08f01731b8bd1761141e3aba942393
* Merge "Add missing calls to JavaInstance::end() in JavaNPObjectInvoke() and ↵Steve Block2011-08-101-4/+1
|\ | | | | | | JavaNPObjectGetProperty()"
| * Add missing calls to JavaInstance::end() in JavaNPObjectInvoke() and ↵Steve Block2011-08-081-4/+1
| | | | | | | | | | | | | | JavaNPObjectGetProperty() Bug: 5006441 Change-Id: I2da7a6f626560416cf5cac0cde3193a9074fab0f
* | Merge "Plumb a bool through to Java to supress auth dialog."Ben Murdoch2011-08-096-8/+21
|\ \
| * | Plumb a bool through to Java to supress auth dialog.Ben Murdoch2011-08-056-8/+21
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | In the case of a prefetch or favicon load, we want to silently fail auth loads but allow the use of cached credentials. To acheive this, pass an extra flag through to Java to decide whether to show the prompt or not. Requires: frameworks/base change: Ida5708aad7cbe5633106e9ae2997c9231aaf95b8 packages/apps/Browser change: Id901855830bbe17ede8a18293cff2bbc0aad4ba8 Bug: 5094761 Change-Id: If8c6f22e8307e1e13b8f7ad29f79305ce24b3255
* | Merge "Revert "Disable Crankshaft at runtime for performace testing.""Ben Murdoch2011-08-091-1/+0
|\ \
| * | Revert "Disable Crankshaft at runtime for performace testing."Ben Murdoch2011-08-091-1/+0
| | | | | | | | | | | | | | | | | | This reverts commit 7178bcff68f2abc8fefe50fa62b7043663034c05. Bug: 5052287
* | | Merge "Fix for bug 5104510 Log chromium values of unknown browser errors"Kristian Monsen2011-08-091-0/+4
|\ \ \ | |/ / |/| |
| * | Fix for bug 5104510 Log chromium values of unknown browser errorsKristian Monsen2011-08-041-0/+4
| |/ | | | | | | | | | | | | There are many errors that are not used at the moment, will look at the output and add the ones that are used. Change-Id: I16da444b9e1aa0ca12a17cfd77aa8f220e642914
* | Fix memory leak in WebKit's NinePatch code.Derek Sollenberger2011-08-051-3/+3
|/ | | | | bug: 5128453 Change-Id: I08704ae3cbc6bae9c189a6e16f2e7aebebd5544c
* Change the constants used for the inverted preferencesNicolas Roard2011-08-031-2/+2
| | | | | | | | to match the ones sent by the Browser bug:5111259 Change-Id: I3d7c0d94d61e173915ab6ec01f42778182462064
* Replace plugin's OpenGL API with a NativeWindow API.Derek Sollenberger2011-08-033-50/+70
| | | | | bug: 5114637 Change-Id: Idfadf95b9b65bf87ad2edf76fd2c5fc0513a75c3
* Merge "Support registering page swap callback, content inval"Chris Craik2011-08-031-0/+12
|\
| * Support registering page swap callback, content invalChris Craik2011-08-021-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | bug:5062896 Depends on the following frameworks/base change: https://android-git.corp.google.com/g/#change,124879 a WebView may now register a page swap callback and content invalidate to benchmark tile rendering performance Change-Id: I97f6ed05cff12b11266a472163aab1f3b3ddc87e
* | Add setters for the contrastNicolas Roard2011-08-021-0/+4
|/ | | | | | bug:5111259 Change-Id: I08701fd7f4d4fe6a506d05f847b4e1a07ed458b3
* Merge "Add features to support Ganesh in the Android browser"Derek Sollenberger2011-07-291-0/+7
|\
| * Add features to support Ganesh in the Android browserDerek Sollenberger2011-07-281-0/+7
| | | | | | | | | | | | | | | | 1) Added a runtime switch between Raster and Ganesh 2) Added support for using SurfaceTextures with Ganesh bug: 5013645 Change-Id: I2efebf1bc9befb0c7f6f66109d80818f9d0775b3
* | Merge changes I48e19e8a,I1ee0fbf6,I1c81bc8cKristian Monsen2011-07-295-215/+5
|\ \ | | | | | | | | | | | | | | | | | | * changes: Part of fix for 5065047: build libchromium as a shared lib Preparation for fixing bug 5065047: build libchromium as a shared lib Preparation for fixing bug 5065047: build libchromium as a shared lib
| * | Preparation for fixing bug 5065047: build libchromium as a shared libKristian Monsen2011-07-284-215/+1
| | | | | | | | | | | | | | | | | | | | | Use FormField from chromium, it is already populated it FormManagerAndroid, so there is no need for the Android implementation anymore. Change-Id: I1ee0fbf6895bd64b2fd1d9a6fbd2f0a93e578831
| * | Preparation for fixing bug 5065047: build libchromium as a shared libKristian Monsen2011-07-252-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | The chrome stack used to just declare the needed jni functions from webkit and use them as they were static linked. This is not possible when built as a shared library. Change-Id: I1c81bc8c8e840dfda49e3941dc5a74d129030f43
* | | Merge "added pageswap callback from drawGL to WebView"Chris Craik2011-07-281-5/+24
|\ \ \
| * | | added pageswap callback from drawGL to WebViewChris Craik2011-07-281-5/+24
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug:5008210 When setting a new base layer, WebView can signal that it wants to have it's pageSwapCallback triggered. This is only done upon request, currently whenever the WebTextView is being displayed so that it can be repositioned upon pageswap. Depends on the following frameworks/base change: https://android-git.corp.google.com/g/#change,124607 Change-Id: Id99c2d5a15cdb4317802a92cedae16a9e0aebc8d
* | | Disable Crankshaft at runtime for performace testing.Ben Murdoch2011-07-281-0/+1
|/ / | | | | | | | | Bug: 5052287 Change-Id: Ic2b192a5f22c7bc91b7bc587904452e440cbe505
* | Draw WebTextView inset in the textfield/area's borderChris Craik2011-07-251-28/+19
|/ | | | | | | | bug:5008210 Also reduced some duplication of code for returning java rects. Change-Id: I614e0cdaea7a30dc0b647b8290a8d66464c0b87c
* Merge "New tile logging JNI interface"Chris Craik2011-07-211-63/+29
|\
| * New tile logging JNI interfaceChris Craik2011-07-211-63/+29
| | | | | | | | | | | | | | | | | | | | bug:5062896 Added more functionality to tile logging and querying (explicit location and size), invalidation region logging, as well as string-based JNI query method which should stabilize the JNI interface in the future. Change-Id: I937d4227abf0d0f18124c484438fd13a62439fb6
* | Safely convert punycode IDN to Unicode for display.Shimeng (Simon) Wang2011-07-214-6/+32
|/ | | | | | | | Use chromium's net::IDNToUnicode to accomplish this, which adopts safe measures for converting. issue: 4384726 Change-Id: If265a849ff0e9d6782705fc1639391bab9e6bcab
* Implement an invert screen modeJohn Reck2011-07-151-0/+21
| | | | | | Set through the new property interface Change-Id: I62e3986a5a0d5a41faf0eeee6cd1c0f7186e1cf5