summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/android/nav/WebView.cpp
Commit message (Collapse)AuthorAgeFilesLines
* HW accelate button focus ringsJohn Reck2011-10-031-13/+9
| | | | | | Bug: 5353510 Change-Id: I1bb306381864357dab4c38fd5c182fda2dd08d8c
* Don't scale text selection handlesJohn Reck2011-09-281-0/+33
| | | | | | | | Bug: 5367280 Don't scale the old software handle and, more importantly, don't scale the touch target. Change-Id: I9a731b2117b3f2fe3bd6ca35388da61c47724d91
* Merge "Enable the CPU upload path for Browser."Teng-Hui Zhu2011-09-231-0/+5
|\
| * Enable the CPU upload path for Browser.Teng-Hui Zhu2011-09-231-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | The default for WebView should be still be GPU upload. That means Gmail will be default to using GPU upload. bug:5347539 The browser change is in https://android-git.corp.google.com/g/#/c/137606/ Change-Id: Ic7d42331511b24cf8a58f2f5fb64aaffc18cae5f
* | Fix find-in-page to scroll scrollable layersSteve Block2011-09-221-6/+41
|/ | | | | | | | | | This requires the addition of the following methods ... - Layer::contentIsScrollable() - Layer::localToParent() - ScrollableLayerAndroid::scrollRectIntoView() Bug: 5262656 Change-Id: I2f1cf3342f73890f98a172f1b4e3f440c02dd9f4
* Merge changes Ifb6cc64e,I4d819cc5Steve Block2011-09-191-2/+1
|\ | | | | | | | | | | * changes: Simplify logic in ScrollableLayerAndroid::scrollTo() Fixes style and adds some comments to layers code
| * Fixes style and adds some comments to layers codeSteve Block2011-09-191-2/+1
| | | | | | | | | | | | | | | | Also removes FrameCachePermission::AllowNewest. This should have been removed as part of https://android-git.corp.google.com/g/#/c/2712. Bug: 5262656 Change-Id: I4d819cc5087653e4a1180d04ca0b5b20db7e2305
* | Merge "We be GL ringing it all over them layers"John Reck2011-09-191-1/+16
|\ \ | |/ |/|
| * We be GL ringing it all over them layersJohn Reck2011-09-191-1/+16
| | | | | | | | | | | | Bug: 5333083 Change-Id: Ia2b03d8d9e0167d06f8a900152e25e66372acd59
* | Fix find-in-page to scroll to search results in layersSteve Block2011-09-191-13/+31
|/ | | | | | | | Note that this fix does not correctly handle search results in scrollable layers. This will be done in a later fix. Bug: 5262656 Change-Id: I9f16e2f0f0a94d2d8a6ad995bde1715c822d5dab
* Deallocate graphics memory with onTrimMemory signalsChris Craik2011-09-081-0/+4
| | | | | | | | bug:5269460 Deallocate the graphics memory backing a BaseTileTexture on onTrimMemory signals, and accordingly allocate it lazily, as needed. Change-Id: I52039723f47e6470e4fe8dd987d384017005390f
* OnTrimMemory plumbingJohn Reck2011-09-071-0/+15
| | | | | | Bug: 5269460 Change-Id: Iad6513787b6737d45f1537973e08469005ed4dac
* Revert "WebView animation support"Teng-Hui Zhu2011-09-061-1/+0
| | | | | | | This reverts commit 078f4452393311da6165131451fcf86e04e04f25. bug:5264188 Change-Id: I3dd6cf46a168893aa3067615f2f0f902c6f66d74
* Merge "WebView animation support"Teng-Hui Zhu2011-09-011-0/+1
|\
| * WebView animation supportTeng-Hui Zhu2011-08-311-0/+1
| | | | | | | | | | bug:4982054 Change-Id: I6f4fe313d242f728a515c485a2531611d7166198
* | Allow native to query selection regionJohn Reck2011-08-311-0/+15
|/ | | | | | | Bug: 5224394 Bug: 5208328 Change-Id: I2141ad80a78f717e3005740285661cd1f558dfca
* 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-251-0/+14
| | | | | | | | | | 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
* 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
* | 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
* Lazily decode assets for form controls.Ben Murdoch2011-08-161-13/+6
| | | | | | | | | | | | 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
* 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
* 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
* | 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
* 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
* 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
* Implement an invert screen modeJohn Reck2011-07-151-0/+21
| | | | | | Set through the new property interface Change-Id: I62e3986a5a0d5a41faf0eeee6cd1c0f7186e1cf5
* Tile profiling backendChris Craik2011-07-131-0/+99
| | | | | | Added tile profiling member (TilesProfiler) to TilesManager to track rendering status of tiles. Change-Id: Ied828c6ad2a15588965e6641edecb162bd76bc62
* Prevent GL rings on layersJohn Reck2011-06-271-1/+2
| | | | | | | | | Bug: 4496611 Rings on layers are still drawn with the software path, but the gl ones are also drawn and in the wrong location. For now, prevent the drawing of the incorrect GL rings Change-Id: I7436dec9da3ce936b2ed0c4aa549a31b00e6e066
* Support for getting the background colorJohn Reck2011-06-141-0/+15
| | | | Change-Id: Ia8b0f97a5d50b3c16b8d59bb7af42899a614b676
* Serialize LayerAndroidJohn Reck2011-06-071-0/+5
| | | | | | | For now skip other layer types Doesn't support animtations Change-Id: Id1ff75f3d4d213f56561fc5d9c01f7ffee05cc79
* Fix issues with setting viewstate before initializingJohn Reck2011-06-041-4/+3
| | | | | | | | | Allow drawing without a CachedRoot (just skip drawing extras in that case) Initialize PictureSet correctly when using the SkPicture ctor If delay-setting a layer on glWebViewState, set isAfterFirstLayout to true to force the baseLayer update. Change-Id: I9b24fd2e8450acf0138433edce8700c9ec227e52
* Merge "Initial support for serializing the view state"John Reck2011-06-031-0/+11
|\
| * Initial support for serializing the view stateJohn Reck2011-06-031-0/+11
| | | | | | | | | | | | Serializes only the base layer currently Change-Id: I5cff216a4fc1b08efe3a7955c616b91114f6bf0b
* | Always check weak global references before using themSteve Block2011-06-021-32/+69
|/ | | | | | | | | | | | | | | | | | We hold weak references to Java objects from native code in several places to avoid circular reference problems. These objects may become weakly reachable at any time, after which the GC could null our weak reference, so we have to null-check at every use. Note that weak references are nulled before the referent is finalized, so we can't rely on doing work in the finalizer to wait for the currently executing message to complete and to remove other messages from the queue. This effectively reverts https://android-git.corp.google.com/g/#change,30955 Bug: 4336862 Change-Id: I431fcac11220cb406c26e31aacb9bda7ea22776e
* Merge WebKit at r78450: IntRect::bottom()/right() renamedSteve Block2011-05-251-17/+17
| | | | | | | See http://trac.webkit.org/changeset/77286 and http://trac.webkit.org/changeset/77398 Change-Id: I0ae670bff327fb981e037f5394c55bfb4aeb81eb
* Merge WebKit at r75993: Move WebKit/android files to SourceBen Murdoch2011-05-161-0/+2673
Change-Id: Ifa871f8320bdb3a09fe189fffecc23f702c394b9