summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/android/nav/WebView.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Rename several classesChris Craik2012-04-041-0/+3
| | | | | | | | | | | | | | | | | | | | BaseTile,BaseTileTexture -> Tile,TileTexture Used in layers other than the base LayerGroup -> Surface Renamed to convey that it is a member of the SurfaceCollection, and that the layers grouped inside are painted together (if at all) DualTiledTexture -> SurfaceBacking Better conveys that this is the raster backing for a surface that can paint. It may be implemented with two tiled textures for now, but that isn't as important as its relationship to the surface. TiledTexture -> TileGrid Renamed to make it more clear that it was a container of tiles, and to be less similar to TileTexture Change-Id: I843f8603a2080cfe5a7313ba1c2eff10620f8aa2
* Use new draw-less functor execution mode to do work without redrawingTeng-Hui Zhu2012-04-021-22/+21
| | | | | | Depends on frameworks/base change https://android-git.corp.google.com/g/#/c/177934/ Change-Id: I9154017ef2990b3bebd038cabcaf3d93c9df14d8
* Snap selection handles to text.George Mount2012-03-281-15/+52
| | | | | | | Bug 6198286 Framework Change: I3c51ed5f6988d58440badfbe8b076fd83d48ae2a Change-Id: I55604f3ec28586beaec5fd98a27c9f4b8a59a8a5
* reimplement BaseLayerAndroid as a LayerAndroid subclassChris Craik2012-03-221-75/+41
| | | | | | Breaks low res tiling, and expanded rendering bounds. Change-Id: Iec3ba2adceb6bd95399594d29fd8c0b18c1122ce
* Fix location of selection handles on rotated text.George Mount2012-03-211-1/+19
| | | | | | | | Bug 6206177 The left/bottom of the caret is always the point at which the selection should point. The top/right is at the "top" of the text. Change-Id: Ie13f6ad5bfea3614892c0f986e019393f77ab3cf
* Remove unnecessary invertedTileSwitchJohn Reck2012-03-201-4/+1
| | | | Change-Id: Ifd27772aba0435ea55008400e4b42181bf45b944
* Canvas on a textureJohn Reck2012-03-201-0/+20
| | | | Change-Id: I841b3e021298738c91701068992798a55290a520
* Merge "Add back auto-completion and auto-fill."George Mount2012-03-121-3/+18
|\
| * Add back auto-completion and auto-fill.George Mount2012-03-091-3/+18
| | | | | | | | | | | | | | | | Bug 5993316 Framework Change: If00d42c0cb4f2c207f0d502e297741e1d6a68bf4 Change-Id: I9d09a924a579d2d4551bff0489670de71d04757e
* | Introduce a LayerContent interfaceNicolas Roard2012-03-091-5/+5
| | | | | | | | | | | | | | | | | | Layers can now use a LayerContent object to draw their content. We currently have two subclasses, one using an SkPicture (currently used for composited layers), the other using a PictureSet (that we use for the base layer). First step toward unification... Change-Id: I5e7fd06a653f02f8721613fd3a39d36fb64a8614
* | Merge "Delete nativeSubtractLayers"John Reck2012-03-091-22/+0
|\ \
| * | Delete nativeSubtractLayersJohn Reck2012-03-091-22/+0
| |/ | | | | | | | | | | Bug: 5338388 Change-Id: I2ae12dde6ef2f30e015c052da67c2bafbd59ecd3
* | Replace picture count with the SurfaceCollection countChris Craik2012-03-091-2/+1
|/ | | | | | Displays surface collection count on tiles when visual indicator is on. Change-Id: Ibe90792279849baff6f5bf0d71b80d9081471dc4
* Refactor LayerAndroid to add iframe subclassesNicolas Roard2012-03-071-1/+1
| | | | Change-Id: Ia3810e83a2d919ff5fa37b8fcd92e6cbbb63d569
* Delete more unused stuff from navcacheJohn Reck2012-03-051-493/+0
| | | | Change-Id: I5ed8bb10141907656347e7c667be19b88f407bf0
* Fixup webkit for WebViewClassic renameJonathan Dixon2012-03-021-5/+5
| | | | | | | | | Changes native method bindings from API classes WebView and WebSettings, to the corresponding implementation classes WebViewClassic and WebSettingsClassic Interdepends on https://android-git.corp.google.com/g/165608 Change-Id: Ie47e5c8453fabef2afae399f411ffbe047cbfaab
* Merge "Add one useful log"Teng-Hui Zhu2012-03-011-0/+1
|\
| * Add one useful logTeng-Hui Zhu2012-03-011-0/+1
| | | | | | | | | | | | | | | | This log will appear very rarely and it is very useful for debugging. bug:6079959 Change-Id: I52283d7d11f0d200e4ce9d05259b809ddf05d9e5
* | Merge "Cleanup GL resource for HTML5 Video."Teng-Hui Zhu2012-03-011-4/+6
|\ \ | |/
| * Cleanup GL resource for HTML5 Video.Teng-Hui Zhu2012-03-011-4/+6
| | | | | | | | | | | | | | | | | | | | Refactor the code such that the shared resources are in the VideoLayerManager now. Get rid of the solid color texture and use pure color shader. bug:6079959 Change-Id: I0d1ce50157fb2ed083b9cc80464a1e61fa8e159f
* | Merge "layer rendering cleanup/rewrite"Chris Craik2012-02-281-2/+2
|\ \ | |/ |/|
| * layer rendering cleanup/rewriteChris Craik2012-02-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * added 'LayerGroup' class separate the painting/tiled features of a layer (eventually multiple layers) tiled drawing/preparing/counting details are abstracted out of LayerAndroid * added 'SurfaceCollection' class incorporates both the BaseLayerAndroid/LayerAndroid tree, as well as the vector of tiled LayerGroup * renamed 'TreeManager' to 'SurfaceManager' * Removes PaintedSurface was mostly a thin wrapper around DualTiledTexture * Combines TilePainter/SurfacePainter * Simplified ref counting Change-Id: I92c5c75f48d92e0e28812c56de00102399fc02ee
* | Merge "Delete the GL shader resources in a cleaner way"Teng-Hui Zhu2012-02-281-1/+1
|\ \ | |/ |/|
| * Delete the GL shader resources in a cleaner wayTeng-Hui Zhu2012-02-281-1/+1
| | | | | | | | | | | | bug:6079959 Change-Id: I55c96bb6abc90503c178607d0798c82e2c5ecaf1
* | removed unused vars/functionsChris Craik2012-02-281-10/+1
|/ | | | Change-Id: I07ab8c6e7ea1c15181eaaa936968b60f6cdd69a4
* Merge "Delete navcache native"John Reck2012-02-271-767/+44
|\
| * Delete navcache nativeJohn Reck2012-02-271-767/+44
| | | | | | | | | | | | Will clean up the JNI in a later CL Change-Id: I448fe5592026c325c3b2fa1c90f174674bf358b1
* | Merge "Gl resource should be re-initialized after EGL context changed"Teng-Hui Zhu2012-02-271-1/+3
|\ \ | |/ |/|
| * Gl resource should be re-initialized after EGL context changedTeng-Hui Zhu2012-02-271-1/+3
| | | | | | | | | | | | | | | | | | EGLContext can be re-created when memory pressure is very high, that will delete all the GL resources automatically. After this, we should re-create the GL resources for webView. bug:6075574 Change-Id: I3035554d124cee38df3ba2dfae1eda0568b45d0f
* | Delete CursorRingJohn Reck2012-02-271-120/+4
|/ | | | | | Bug: 6074032 Change-Id: I74f80da22bebbfac556728bba25bcddc2333629a
* Merge "Delete CacheBuilder"John Reck2012-02-241-16/+0
|\
| * Delete CacheBuilderJohn Reck2012-02-241-16/+0
| | | | | | | | | | | | Fixed address_detector to pass CTS Change-Id: I6e3c4146d4c03881d036be9b8d8708a8200efef8
* | Fix NPE crashJohn Reck2012-02-241-1/+2
|/ | | | | | Bug: 6064378 Change-Id: I0dfb596df31b72e52e8b7846d6bcfffefb1b8403
* Merge "Add two missing null checks"John Reck2012-02-211-1/+1
|\
| * Add two missing null checksJohn Reck2012-02-211-1/+1
| | | | | | | | | | | | Bug: 6008243 Change-Id: I32df636933d77dc9d7174f7a025a1ee70bb945fa
* | async find-on-page implementation via WebKitVictoria Lease2012-02-211-213/+3
|/ | | | Change-Id: I5804c865f4bce6452213dc89337ff6a5e6100c9e
* frameworks/base refactoring.Mathias Agopian2012-02-171-1/+1
| | | | | | First step. Move libui headers to their new home. Change-Id: I2e770e6b53c2f34432b0df2937c4cc33af6dc52b
* Initial support for keyboard navigationJohn Reck2012-02-151-0/+4
| | | | | | Bug: 6019693 Change-Id: I7b4f6d83e8913e647e8ac7340afd01d609c4343b
* Merge "Update the scale when updating DrawGL functor"Teng-Hui Zhu2012-02-141-2/+7
|\
| * Update the scale when updating DrawGL functorTeng-Hui Zhu2012-02-141-2/+7
| | | | | | | | | | | | | | | | | | bug:6008955 framework change: https://android-git.corp.google.com/g/#/c/165735/ Change-Id: I4228af004ac2060fa53cf49d34cde68b15fedc80
* | resolved conflicts for merge of 6f1bf086 to masterDerek Sollenberger2012-02-061-1/+1
|\ \ | | | | | | | | | Change-Id: I104f02e5e6ec50c002a2bdc960b428ece13528dd
| * | Skia API changes as a result of an update to the Skia library.Derek Sollenberger2012-01-311-1/+1
| | | | | | | | | | | | | | | | | | These changes are required to work with r3022 of Skia Change-Id: I4d4a13bad9acc54934bbb46bdfc08ee424c7a33a
* | | Merge "Plumbing to notify WebViewCore when paints should pause"Chris Craik2012-02-061-36/+24
|\ \ \
| * | | Plumbing to notify WebViewCore when paints should pauseChris Craik2012-02-021-36/+24
| | |/ | |/| | | | | | | Change-Id: I93c76ccd401b1fe611cc9c1ea361251667422c7b
* | | Snap selection handles to end of textJohn Reck2012-02-021-5/+6
|/ / | | | | | | | | | | | | | | Instead of using WebKit's cursor location use the start and end of the text highlight region since we only highlight text and not other content like images Change-Id: I1b84b8a0be34c56e87169d215c581fdada745362
* | Webkit text selectionJohn Reck2012-01-301-284/+122
| | | | | | | | Change-Id: I8e2e400940c7c84055aeb2624958aaf47804900b
* | Clean up tranfer queue before EGL context destroyTeng-Hui Zhu2012-01-271-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | This will avoid ANR when texture generation thread is stuck b/c transfer queue is running out of slots, at the same time, EGL context get destroyed and no more draw call coming to free up more slots. Abandon the surface texture will also help to be more memory friendly. Move the highEndGfx check to TilesManager. bug:5639899 Change-Id: I98f0289ae5ca18361f71dec853327223506e3073
* | Fix form button layoutMichael Kolb2012-01-241-3/+0
| | | | | | | | | | | | | | | | | | Bug: 5822424 Fixed by removing all padding adjustments and rendering buttons natively as draw commands Change-Id: I6adcdfbd75b3c586414b5e6e60aeca01f5d05b9d
* | Add tree swapping properties and statsChris Craik2012-01-241-5/+17
| | | | | | | | Change-Id: I0033b8794ae33dade050069d6c209653f0d21fd1
* | Merge "Removed navcache from scrollToFrame() and nativeFindAll()."Victoria Lease2012-01-231-13/+11
|\ \