History log of /external/webkit/Source/WebKit/android/nav/WebView.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f8a89eaa1361ce1e71ec7fa9065103fd0b305b5f 12-Jun-2012 John Reck <jreck@google.com> Call the right updatePositions*

Bug: 6634077
Software was accidentally calling the inner updatePositions instead
of the outer updatePositions which the hardware path calls. Move
the inner updatePositions to be protected instead of public to
guard against this in the future as well.

Change-Id: Ib509f151ce64bf390383eaa0c32a2bae89428e89
/external/webkit/Source/WebKit/android/nav/WebView.cpp
f8f128dcb4ac3fe0ec6d81d1dcd0b15eb2380f6a 07-Jun-2012 John Reck <jreck@google.com> Switch stopGL and destroy to use a passed in ptr

Bug: 6569073
This is part a cleanup of destroy to eliminate the gap
between finalize() and destroy() by allowing both
nativeDestroy and nativeStopGL to be called statically

Change-Id: I6418cfe64ca03c58d2a395a239739e1577c54dea
/external/webkit/Source/WebKit/android/nav/WebView.cpp
e4d0c1973ec857d1408499010dca9f6856cecdd1 30-May-2012 Chris Craik <ccraik@google.com> Merge "Draw entire layer tree in capturePicture()" into jb-dev
90ef829b3ebc2caca06ffb46dd587cca71456480 30-May-2012 Chris Craik <ccraik@google.com> Draw entire layer tree in capturePicture()

Also fixes matrix initialization in BaseLayerAndroid::getLocalTransform()

bug:6389297
Change-Id: I6a3df3de129aa263986c5082614d8d76bc7408f7
/external/webkit/Source/WebKit/android/nav/WebView.cpp
6184a1dfef36741a1e5602f5bf24ac99fcfa0aec 29-May-2012 John Reck <jreck@google.com> Disable copyScrollPosition for iframes

Bug: 6557664
For now simply disable copyScrollPosition for iframes. They
may jitter slightly if webkit does a tree sync while scrolling,
but the copying isn't trivial due to the nature of iframe scrolling

Change-Id: I816fe96b452794b3289c3a522a11447c057e9c5e
/external/webkit/Source/WebKit/android/nav/WebView.cpp
5f4f4a8ff2154f3775ce5988565753b1a0b9c1b6 25-May-2012 John Reck <jreck@google.com> Copy scroll position for scrolling layer

Bug: 6557664

Change-Id: I32aa77b6fd408dc4f1097513cbb1211184a93885
/external/webkit/Source/WebKit/android/nav/WebView.cpp
c8d9e14ba1a7c55e17ac2009bda77dc4da834b1c 18-May-2012 George Mount <mount@google.com> DO NOT MERGE Consider fixed layers when scrolling the edit box.

Bug 6147580
Framework Change: Idaa538824e611acd64eb5a4ccb7866d3c978a077

Change-Id: I810891decf0bad682e90f29f0f65c6b765b7d6d6
/external/webkit/Source/WebKit/android/nav/WebView.cpp
72263f1fff55cb108fa98f4b06ae9447d8114757 22-May-2012 John Reck <jreck@google.com> Null check

Bug: 6525224

Change-Id: Id47ebe8a99388765340f7628b6398644dd7d852c
/external/webkit/Source/WebKit/android/nav/WebView.cpp
261f89503d6606bb4896a4effe0ab4d5b4e01d8a 21-May-2012 Chris Craik <ccraik@google.com> Add checks for null base layer content

bug:6519982
Change-Id: I1ef0eda2b94090cc894441c1620ae85e7fd86d22
/external/webkit/Source/WebKit/android/nav/WebView.cpp
4ef88beceb0e8d5b2df5bd4e30360ffcb8c2a65d 15-May-2012 Chris Craik <ccraik@google.com> Merge "Update bounds calculation to use draw transform" into jb-dev
4f91e5abbd847c4dee4740d3116f23b73bf02ee5 15-May-2012 Chris Craik <ccraik@google.com> Update bounds calculation to use draw transform

Remove old bounds calculation method.

Depends on frameworks/base change: https://android-git.corp.google.com/g/#/c/190474/

bug:6486310
Change-Id: Ieeb09778f810598c38127c66ae12b2b29abcf8e4
/external/webkit/Source/WebKit/android/nav/WebView.cpp
406da428774aa12dbabb663814e0558942765133 09-May-2012 George Mount <mount@google.com> Change selection to work with left/right instead of base/extent.

Bug 5859620
Use the LTR/RTL content of the text selection to determine
which handle is left and which is right. This simplifies
text selection logic slightly and helps make RTL text
selection handles work properly.
Framework Change: Ib88ed2327182ba5b47b3e41584cbe944d05c8ada

Change-Id: I3362c5034ce08ce1517a86882c13b78aff35fe3f
/external/webkit/Source/WebKit/android/nav/WebView.cpp
29e99f5f6697f79eb9f402175456f40c73f4fc9c 12-May-2012 Teng-Hui Zhu <ztenghui@google.com> Revert "Don't draw when clip is zero."

This reverts commit 8391ddb06a5b36834e8bafb36763d792c1602ace.
/external/webkit/Source/WebKit/android/nav/WebView.cpp
8391ddb06a5b36834e8bafb36763d792c1602ace 11-May-2012 Teng-Hui Zhu <ztenghui@google.com> Don't draw when clip is zero.

In full screen mode, framework still need to call drawGL for now.
But we can early return in this case.

bug:6477718
Change-Id: I02194f5739d6ae055b1cf14fbf9479b7bb8ebe52
/external/webkit/Source/WebKit/android/nav/WebView.cpp
78d0003d44a4fa393275929d92c8e4929e70c7fa 09-May-2012 Nicolas Roard <nicolasroard@google.com> Better fix for crash workaround

bug:6431194
Change-Id: I444b1efb7ab12a18994c8b0553fa80f2ce09d386
/external/webkit/Source/WebKit/android/nav/WebView.cpp
35caaaf726b8b17cec92747a1fe42dba44d6b775 09-May-2012 John Reck <jreck@google.com> Disable prerenders if we aren't focused

Bug: 6448418

Change-Id: I624d78a2b674cbd91ebe70008c70967101fbb12a
/external/webkit/Source/WebKit/android/nav/WebView.cpp
0c98d349b66fb7649824d019023aa64b4a2e80f7 08-May-2012 Chris Craik <ccraik@google.com> Pass webview instance when getting base layer / color, and prevent null value

depends on frameworks/base change: https://android-git.corp.google.com/g/#/c/188470/

bug:6429897
Change-Id: I374534b0302b5029d69b058c670083e6ad33ea95
/external/webkit/Source/WebKit/android/nav/WebView.cpp
be2aeb9261649a2c724b324611e75f5d69cf3bae 08-May-2012 Teng-Hui Zhu <ztenghui@google.com> Replace tree observer with a JNI call at draw time

framework change:
https://android-git.corp.google.com/g/#/c/188149/

bug:6447729
Change-Id: Id115fd1d4ad62e958fec1ff27f7dc7d55a59b6cc
/external/webkit/Source/WebKit/android/nav/WebView.cpp
0e43fd01178d539d44a5dfade3bf15aa6efbe02a 04-May-2012 George Mount <mount@google.com> Ensure updateGLPositionsAndScale is called from updateLayerPosition.

Bug 6436989
The layer transform was not being updated quickly enough after
a draw, causing the thumb selection handle to become misplaced.

Change-Id: I6cd33baaaba258c9d0977f06e7793ade2816b95d
/external/webkit/Source/WebKit/android/nav/WebView.cpp
38c837307303e521ec0d1c9f7c0df7bd78dd53a5 04-May-2012 Teng-Hui Zhu <ztenghui@google.com> Merge "Unify the naming of rectangles used for draw." into jb-dev
9e3ead124cc10fcc888a8be7df9949d3d4ba1bb7 03-May-2012 Teng-Hui Zhu <ztenghui@google.com> Unify the naming of rectangles used for draw.

The rects are referring to the same rect under different coordinates,
so we just prefix the coordinates' name to differentiate the rects.
This is pure refactor, no functional change.
bug:6338456

Change-Id: Ic072a4f5aa56a25751e0151a697c0e31bca94ef5
/external/webkit/Source/WebKit/android/nav/WebView.cpp
93b1f920c29dd2af08dc086ba0646cf124e81e1a 03-May-2012 George Mount <mount@google.com> Merge "Fix mapLayerRect to modify the mapped rectangle." into jb-dev
3ce211da38790a873931262f1a8d6806132680f4 03-May-2012 George Mount <mount@google.com> Fix mapLayerRect to modify the mapped rectangle.

Bug 6434432

Change-Id: I42181f232332e4c015ed403d53248b9e0b787043
/external/webkit/Source/WebKit/android/nav/WebView.cpp
e859a34171f2a36877d95197d118d962078f8aa0 27-Apr-2012 John Reck <jreck@google.com> Rewrite PictureSet with TURBO!

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
/external/webkit/Source/WebKit/android/nav/WebView.cpp
8a3e157baecb453158df1f7bc81bfb4704448b2e 02-May-2012 Chris Craik <ccraik@google.com> Merge "Don't create a new functor if old one exists" into jb-dev
efb1906816d97165a353b40f65ea0b057f6c8fe0 02-May-2012 Chris Craik <ccraik@google.com> Don't create a new functor if old one exists

bug:6405861
Change-Id: Ife0dcc6416b18bbd50b4d244e6464f423f651de6
/external/webkit/Source/WebKit/android/nav/WebView.cpp
fa3976234409edb5477e8950204c597cf2a6dda9 02-May-2012 Teng-Hui Zhu <ztenghui@google.com> Merge "Workaround a crash" into jb-dev
480a11521105a40ffab843d4903473a7de4cddca 02-May-2012 Chris Craik <ccraik@google.com> fix monkey scrolling crash

bug:6336994

Depends on frameworks/base change: https://android-git.corp.google.com/g/#/c/186187/

Change-Id: Id9a179728a504a32b52bede9d30deb0dbeb39423
/external/webkit/Source/WebKit/android/nav/WebView.cpp
829229abf10ddf6135c682d42a291925ef0da35f 01-May-2012 Teng-Hui Zhu <ztenghui@google.com> Workaround a crash

When content is empty, just minus an empty rect.

bug:6404975
Change-Id: Ia12a64f93345bde7d3b92a99746b29e2e71bb652
/external/webkit/Source/WebKit/android/nav/WebView.cpp
09bfbe67a95764c51124d12ac88a548e6238bdd1 26-Apr-2012 Chris Craik <ccraik@google.com> On new content, attach functor directly

bug:6323847

depends on frameworks/base change: https://android-git.corp.google.com/g/#/c/184313/

Change-Id: I8f21317af746d501c92e338ce678434a2479576c
/external/webkit/Source/WebKit/android/nav/WebView.cpp
2ad54828a335c8e7337ab1f1077253689630a6d2 25-Apr-2012 Nicolas Roard <nicolasroard@google.com> Merge "CSS Background image implementation"
a15d30f54c6edc68da7e82c198b5916dd023ac4d 07-Apr-2012 Nicolas Roard <nicolasroard@google.com> CSS Background image implementation

bug:1352305

Change-Id: Id9caaae9b9442729110b52c75004f634d8284db4
/external/webkit/Source/WebKit/android/nav/WebView.cpp
24b412c6f16018a2a2971eef09648ce105ef618a 21-Apr-2012 Chris Craik <ccraik@google.com> signal framework to unregister functor

Change-Id: Ia503e508a13c40c29f18db924dce4ac711b03c68
/external/webkit/Source/WebKit/android/nav/WebView.cpp
2ac76fe4e18c3325c8b3bb8f9435fdc7b96c0aca 19-Apr-2012 Teng-Hui Zhu <ztenghui@google.com> Better handle the EGL context lost situation.

Unless framework provide a better message, we can't avoid this EGL context issue
totally if mis-match happen again.

Clean up some obsolete code.

Change-Id: Ica03daecd58f9757c8cad41e0f40d5d51b041748
/external/webkit/Source/WebKit/android/nav/WebView.cpp
5d87a47ee7434cc534b9ff046c4f29a34d6b0cea 18-Apr-2012 Teng-Hui Zhu <ztenghui@google.com> Merge "Follow the new rule from framework about EGLContext deletion"
d2339fb5509a885ab17100ead6b3a543e7d4d7f7 18-Apr-2012 Teng-Hui Zhu <ztenghui@google.com> Follow the new rule from framework about EGLContext deletion

bug:6325463
Change-Id: I303e2cf08feec110bd75c95f1de8ebc2e79f3c4c
/external/webkit/Source/WebKit/android/nav/WebView.cpp
d71bb71a2be8c0f7eff98c981a5410aa49e04843 14-Apr-2012 Chris Craik <ccraik@google.com> add basic webview tracing

Change-Id: Id97ce1efab5918802cff5b90c0122b4cc2d7e73d
/external/webkit/Source/WebKit/android/nav/WebView.cpp
868c42d56aae84ed4cd33f9de0d93132e1483ddc 10-Apr-2012 Teng-Hui Zhu <ztenghui@google.com> Move the matrix support to rely on the new framework clip info

In this new way, we don't need to worry about the animation offset, b/c it is
in the clip rect.
Also add the matrix support for video layer.

bug:5684832

Change-Id: I08e22ca042e425f8f7af935b60e04f2a4dbc52df
/external/webkit/Source/WebKit/android/nav/WebView.cpp
c5dcbf89c81ccb7d1de3038952bddf06ce821277 12-Apr-2012 Teng-Hui Zhu <ztenghui@google.com> Merge "Correct viewport for GL drawing when webview is on FBO"
d08dc21a96bd91ee23a4419266186cadb4b43681 12-Apr-2012 Teng-Hui Zhu <ztenghui@google.com> Correct viewport for GL drawing when webview is on FBO

bug:6283539

Change-Id: I0d5fb92a9ad7e8b6781900bbc08e5afd48c53614
/external/webkit/Source/WebKit/android/nav/WebView.cpp
1a046452f8364930a3a52dd7620f9b7ab7137c31 11-Apr-2012 Mangesh Ghiware <mghiware@google.com> Fix crash.

Add null checks for m_baseLayer. Refactor common code to a separate
getLayerTransform() function that returns a draw tranform ptr.

Bug: 6239165
Change-Id: I7c2079e58b49c10a780b099fea9e3d7959b7fe00
/external/webkit/Source/WebKit/android/nav/WebView.cpp
a03cddf4df7ce0e81f13ecedabf56471b805f843 10-Apr-2012 George Mount <mount@google.com> Merge "Revert "Revert "Keep selection handles in edit fields."""
7f1e5ac384d6c663e2cb6b6bb7a58a300d16e1be 10-Apr-2012 George Mount <mount@google.com> Revert "Revert "Keep selection handles in edit fields.""

This reverts commit eb4152454774fa6e38c8be1a2810bc893d494de3
/external/webkit/Source/WebKit/android/nav/WebView.cpp
eb4152454774fa6e38c8be1a2810bc893d494de3 10-Apr-2012 George Mount <mount@google.com> Revert "Keep selection handles in edit fields."

This reverts commit 76a09fb547aa97b2f0e9cbb1e4a800d61b30a477
/external/webkit/Source/WebKit/android/nav/WebView.cpp
76a09fb547aa97b2f0e9cbb1e4a800d61b30a477 31-Mar-2012 George Mount <mount@google.com> Keep selection handles in edit fields.

Bug 6264769
Framework Change: I9ee89f8b1d4e6954092b8c4d677fb75b79354b36

Change-Id: Ie937a8c55da0f8aef66cfcee11beb961669b7168
/external/webkit/Source/WebKit/android/nav/WebView.cpp
75fc360d144b97f5e50bedf7ed3222898cc56446 10-Apr-2012 Chris Craik <ccraik@google.com> Expand base layer bounds to fill viewport

Additionally, paint area outside the content bounds with content bg color in
software rendering path.

bug:6304213

Change-Id: I6fe5246e82d30fe000e570c8dccb605d46fc428d
/external/webkit/Source/WebKit/android/nav/WebView.cpp
594c6b805969c2673c84d1d1d1a3556ce376ac7a 04-Apr-2012 Chris Craik <ccraik@google.com> Rename several classes

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
/external/webkit/Source/WebKit/android/nav/WebView.cpp
bf9aa54ac784685db3d2cd8c0d616b25b289c09e 26-Mar-2012 Teng-Hui Zhu <ztenghui@google.com> Use new draw-less functor execution mode to do work without redrawing

Depends on frameworks/base change https://android-git.corp.google.com/g/#/c/177934/

Change-Id: I9154017ef2990b3bebd038cabcaf3d93c9df14d8
/external/webkit/Source/WebKit/android/nav/WebView.cpp
304991de60a64b43bffd0c910655ee4ef1e9683c 21-Mar-2012 George Mount <mount@google.com> Snap selection handles to text.

Bug 6198286
Framework Change: I3c51ed5f6988d58440badfbe8b076fd83d48ae2a

Change-Id: I55604f3ec28586beaec5fd98a27c9f4b8a59a8a5
/external/webkit/Source/WebKit/android/nav/WebView.cpp
885e650b12d781be054b31ae6221925a0184dc33 15-Mar-2012 Chris Craik <ccraik@google.com> reimplement BaseLayerAndroid as a LayerAndroid subclass

Breaks low res tiling, and expanded rendering bounds.

Change-Id: Iec3ba2adceb6bd95399594d29fd8c0b18c1122ce
/external/webkit/Source/WebKit/android/nav/WebView.cpp
e5d643b22badb45c77ef040896bd8ac46edae7d0 21-Mar-2012 George Mount <mount@google.com> Fix location of selection handles on rotated text.

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
/external/webkit/Source/WebKit/android/nav/WebView.cpp
c2992cfb02b098d6e8579b6a0ba7f7a11c7753fe 21-Mar-2012 John Reck <jreck@google.com> Remove unnecessary invertedTileSwitch

Change-Id: Ifd27772aba0435ea55008400e4b42181bf45b944
/external/webkit/Source/WebKit/android/nav/WebView.cpp
a144ac64329978c258faadf3bc484cf4ae6c5d0d 15-Mar-2012 John Reck <jreck@google.com> Canvas on a texture

Change-Id: I841b3e021298738c91701068992798a55290a520
/external/webkit/Source/WebKit/android/nav/WebView.cpp
668a73488d6938004d25b6c155573e97b6600182 12-Mar-2012 George Mount <mount@google.com> Merge "Add back auto-completion and auto-fill."
b3f4d3af0b06dc168453641e249d0cb9eec9b570 10-Mar-2012 Nicolas Roard <nicolasroard@google.com> Introduce a LayerContent interface

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
/external/webkit/Source/WebKit/android/nav/WebView.cpp
296d05c7bd54360261dedc8d387a7bf9f52ca41b 10-Mar-2012 John Reck <jreck@google.com> Merge "Delete nativeSubtractLayers"
df1b448056d65c28220fe303d82847094a215838 10-Mar-2012 John Reck <jreck@google.com> Delete nativeSubtractLayers

Bug: 5338388

Change-Id: I2ae12dde6ef2f30e015c052da67c2bafbd59ecd3
/external/webkit/Source/WebKit/android/nav/WebView.cpp
730ac8198c5c9a59a2b11e54657155f3ea33d83f 01-Mar-2012 George Mount <mount@google.com> Add back auto-completion and auto-fill.

Bug 5993316

Framework Change: If00d42c0cb4f2c207f0d502e297741e1d6a68bf4

Change-Id: I9d09a924a579d2d4551bff0489670de71d04757e
/external/webkit/Source/WebKit/android/nav/WebView.cpp
f7ad77dc2a981834d664fd24022c3dfade69c8aa 09-Mar-2012 Chris Craik <ccraik@google.com> Replace picture count with the SurfaceCollection count

Displays surface collection count on tiles when visual indicator is on.

Change-Id: Ibe90792279849baff6f5bf0d71b80d9081471dc4
/external/webkit/Source/WebKit/android/nav/WebView.cpp
47b8a953ab1b71113b605fd84489f63938bd7dd7 07-Mar-2012 Nicolas Roard <nicolasroard@google.com> Refactor LayerAndroid to add iframe subclasses

Change-Id: Ia3810e83a2d919ff5fa37b8fcd92e6cbbb63d569
/external/webkit/Source/WebKit/android/nav/WebView.cpp
472d57717072b12c8d13db9e42cac5516f187944 02-Mar-2012 John Reck <jreck@google.com> Delete more unused stuff from navcache

Change-Id: I5ed8bb10141907656347e7c667be19b88f407bf0
/external/webkit/Source/WebKit/android/nav/WebView.cpp
57ae1393d3097edada2640b40c895396b69cc919 27-Feb-2012 Jonathan Dixon <joth@google.com> Fixup webkit for WebViewClassic rename

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
/external/webkit/Source/WebKit/android/nav/WebView.cpp
21bf01bd01526615fc8b6585c725d5983f90330e 02-Mar-2012 Teng-Hui Zhu <ztenghui@google.com> Merge "Add one useful log"
0f1c02efd8cc889db10575dff2749d103ceeaf87 02-Mar-2012 Teng-Hui Zhu <ztenghui@google.com> Add one useful log

This log will appear very rarely and it is very useful for debugging.

bug:6079959

Change-Id: I52283d7d11f0d200e4ce9d05259b809ddf05d9e5
/external/webkit/Source/WebKit/android/nav/WebView.cpp
56b4137d1b6400ff25b9d6b00c8f12846a616f95 01-Mar-2012 Teng-Hui Zhu <ztenghui@google.com> Merge "Cleanup GL resource for HTML5 Video."
00144be011338276839a08a66ae79b14629b268b 29-Feb-2012 Teng-Hui Zhu <ztenghui@google.com> Cleanup GL resource for HTML5 Video.

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
/external/webkit/Source/WebKit/android/nav/WebView.cpp
0aa65f94b471566ce9c541f604caae9deb189c02 29-Feb-2012 Chris Craik <ccraik@google.com> Merge "layer rendering cleanup/rewrite"
d8be9016b7fda67a91b4ee17b3b2e7ba692ee553 23-Feb-2012 Chris Craik <ccraik@google.com> layer rendering cleanup/rewrite

* 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
/external/webkit/Source/WebKit/android/nav/WebView.cpp
7c9401fdc1f052f3e98bac0bef7b24ac743251e5 29-Feb-2012 Teng-Hui Zhu <ztenghui@google.com> Merge "Delete the GL shader resources in a cleaner way"
5965903d393505b9a49ac3a142aa0c17cd98bce8 28-Feb-2012 Teng-Hui Zhu <ztenghui@google.com> Delete the GL shader resources in a cleaner way

bug:6079959

Change-Id: I55c96bb6abc90503c178607d0798c82e2c5ecaf1
/external/webkit/Source/WebKit/android/nav/WebView.cpp
894aaa1bd5446eebf8169efa1998fbe6964c18d0 28-Feb-2012 Chris Craik <ccraik@google.com> removed unused vars/functions

Change-Id: I07ab8c6e7ea1c15181eaaa936968b60f6cdd69a4
/external/webkit/Source/WebKit/android/nav/WebView.cpp
f4e31f648003cd6873ade49cb7b0766b4898912a 28-Feb-2012 John Reck <jreck@google.com> Merge "Delete navcache native"
55fce40b4f3cdc9f93daba59d8ff9c311de4b9c0 28-Feb-2012 Teng-Hui Zhu <ztenghui@google.com> Merge "Gl resource should be re-initialized after EGL context changed"
886eb87d34570b706a0f17fa944d98870ed6a2af 27-Feb-2012 Teng-Hui Zhu <ztenghui@google.com> Gl resource should be re-initialized after EGL context changed

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
/external/webkit/Source/WebKit/android/nav/WebView.cpp
7aa185beae07b9034037a1b8325cb73c53ed4650 27-Feb-2012 John Reck <jreck@google.com> Delete navcache native

Will clean up the JNI in a later CL

Change-Id: I448fe5592026c325c3b2fa1c90f174674bf358b1
/external/webkit/Source/WebKit/android/nav/WebView.cpp
39b886463564843ebfd0557dd12b07bf38cb6d83 27-Feb-2012 John Reck <jreck@google.com> Delete CursorRing

Bug: 6074032

Change-Id: I74f80da22bebbfac556728bba25bcddc2333629a
/external/webkit/Source/WebKit/android/nav/WebView.cpp
eec5b0af072de315fa24ad51ff99ad9c09ace399 25-Feb-2012 John Reck <jreck@google.com> Merge "Delete CacheBuilder"
6bf2577653884795f04bbf9d8196ed9998896afe 25-Feb-2012 John Reck <jreck@google.com> Delete CacheBuilder

Fixed address_detector to pass CTS

Change-Id: I6e3c4146d4c03881d036be9b8d8708a8200efef8
/external/webkit/Source/WebKit/android/nav/WebView.cpp
ca8907cd631723128e1c3a8718e8d059998cb143 24-Feb-2012 John Reck <jreck@google.com> Fix NPE crash

Bug: 6064378

Change-Id: I0dfb596df31b72e52e8b7846d6bcfffefb1b8403
/external/webkit/Source/WebKit/android/nav/WebView.cpp
cb3b415105a884d70ac845b228f6bb87807f9f34 22-Feb-2012 John Reck <jreck@google.com> Merge "Add two missing null checks"
fba5bad67c2589216f05da70a7f2fbd537637672 21-Feb-2012 John Reck <jreck@google.com> Add two missing null checks

Bug: 6008243

Change-Id: I32df636933d77dc9d7174f7a025a1ee70bb945fa
/external/webkit/Source/WebKit/android/nav/WebView.cpp
66c40fc863939bd103a5256eb48e944508725c53 14-Feb-2012 Victoria Lease <violets@google.com> async find-on-page implementation via WebKit

Change-Id: I5804c865f4bce6452213dc89337ff6a5e6100c9e
/external/webkit/Source/WebKit/android/nav/WebView.cpp
77e73dcd79e53291251ce5e67ba55ce911bb07f6 18-Feb-2012 Mathias Agopian <mathias@google.com> frameworks/base refactoring.

First step. Move libui headers to their new home.

Change-Id: I2e770e6b53c2f34432b0df2937c4cc33af6dc52b
/external/webkit/Source/WebKit/android/nav/WebView.cpp
ceeeab6161d7d8bf970ecf98affa4f4966df6f01 06-Feb-2012 John Reck <jreck@google.com> Initial support for keyboard navigation

Bug: 6019693

Change-Id: I7b4f6d83e8913e647e8ac7340afd01d609c4343b
/external/webkit/Source/WebKit/android/nav/WebView.cpp
628a06bda2490e4c405ce3263381412423f4c735 14-Feb-2012 Teng-Hui Zhu <ztenghui@google.com> Merge "Update the scale when updating DrawGL functor"
d0a011b30b97598ee74f329aaa217a6ab733f1f1 14-Feb-2012 Teng-Hui Zhu <ztenghui@google.com> Update the scale when updating DrawGL functor

bug:6008955

framework change:
https://android-git.corp.google.com/g/#/c/165735/

Change-Id: I4228af004ac2060fa53cf49d34cde68b15fedc80
/external/webkit/Source/WebKit/android/nav/WebView.cpp
faf2b5dab67cbe9c5a9244f3912e916d0184f765 06-Feb-2012 Derek Sollenberger <djsollen@google.com> resolved conflicts for merge of 6f1bf086 to master

Change-Id: I104f02e5e6ec50c002a2bdc960b428ece13528dd
97fafc16fc2fa715dd78f611c0ebe33a64e53f88 06-Feb-2012 Chris Craik <ccraik@google.com> Merge "Plumbing to notify WebViewCore when paints should pause"
246bd5b4427d0a0feaa2e1a128be9ad53100631c 31-Jan-2012 Chris Craik <ccraik@google.com> Plumbing to notify WebViewCore when paints should pause

Change-Id: I93c76ccd401b1fe611cc9c1ea361251667422c7b
/external/webkit/Source/WebKit/android/nav/WebView.cpp
df71abcaa1e7975b2fbc7522d006829223093825 02-Feb-2012 John Reck <jreck@google.com> Snap selection handles to end of text

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
/external/webkit/Source/WebKit/android/nav/WebView.cpp
2857538e8cd8c752b06ee75dd039791a186455b3 31-Jan-2012 Derek Sollenberger <derek@android.com> Skia API changes as a result of an update to the Skia library.

These changes are required to work with r3022 of Skia

Change-Id: I4d4a13bad9acc54934bbb46bdfc08ee424c7a33a
/external/webkit/Source/WebKit/android/nav/WebView.cpp
dea0c131566f424923425970fe5621305d136e5a 25-Jan-2012 John Reck <jreck@google.com> Webkit text selection

Change-Id: I8e2e400940c7c84055aeb2624958aaf47804900b
/external/webkit/Source/WebKit/android/nav/WebView.cpp
e1dfe84b38ed080c7bb7ac00fd9e3c6c590a147d 25-Jan-2012 Teng-Hui Zhu <ztenghui@google.com> Clean up tranfer queue before EGL context destroy

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
/external/webkit/Source/WebKit/android/nav/WebView.cpp
4d6b8874f0e7c59190e219d2eb362498ae440a81 24-Jan-2012 Michael Kolb <kolby@google.com> Fix form button layout

Bug: 5822424

Fixed by removing all padding adjustments and rendering buttons
natively as draw commands

Change-Id: I6adcdfbd75b3c586414b5e6e60aeca01f5d05b9d
/external/webkit/Source/WebKit/android/nav/WebView.cpp
bac79a8ecce7b3aaf3bc4964957c9c59f163de38 19-Jan-2012 Chris Craik <ccraik@google.com> Add tree swapping properties and stats

Change-Id: I0033b8794ae33dade050069d6c209653f0d21fd1
/external/webkit/Source/WebKit/android/nav/WebView.cpp
d55290bbd55407134adcb454b6b5c77efaeb7432 23-Jan-2012 Victoria Lease <violets@google.com> Merge "Removed navcache from scrollToFrame() and nativeFindAll()."
75b44b3b8507b6ebc42bbc498eafed8f5748edac 21-Jan-2012 Victoria Lease <violets@google.com> Removed navcache from scrollToFrame() and nativeFindAll().

Both of these functions now work with the current base layer's
picture set. That should have the navcache completely out of
find-on-page.

Change-Id: I8ab4ac4a3a4d16cfff034e73aa817fad1fc426a7
/external/webkit/Source/WebKit/android/nav/WebView.cpp
7c77e50c5cdcaa7074e8db703224450fef254107 12-Jan-2012 George Mount <mount@google.com> Add cut and paste to ContentEditable.

Bug 5806267
Use visual selection to determine the webkit selection.
The webkit selection can be used to cut text from an editable
area. It can also be used to do better complex character text
copy.

Framework Change: I56543d17670a8c98484314c89c7fa6a94cb809e4

Change-Id: I194c6d9e2add67151b97092a1a54f5c081296000
/external/webkit/Source/WebKit/android/nav/WebView.cpp
7023010bb63a565357556a480114a0db229c7b33 18-Jan-2012 John Reck <jreck@google.com> Fix software extras on base layer

Need to revist software drawing in general, but this gets it working for now

Change-Id: I1745de7a67c75400c31a070f1e17a0602b0df190
/external/webkit/Source/WebKit/android/nav/WebView.cpp
a263300f202a4456570ae6e29e589b5e85309a7b 20-Dec-2011 John Reck <jreck@google.com> Initial NavCache removal

Change-Id: Id34d3be6b11c4ba77b59dd9fb01a9cc050d581f6
/external/webkit/Source/WebKit/android/nav/WebView.cpp
73d556e0cf543c9fb1b0fcc39a9db25937ae0573 10-Jan-2012 Steve Block <steveblock@google.com> Merge "Rename LOG_ASSERT to ALOG_ASSERT DO NOT MERGE"
6dd76b804786ec760bb04b137a6bf017064226dc 09-Jan-2012 Steve Block <steveblock@google.com> Rename LOG_ASSERT to ALOG_ASSERT DO NOT MERGE

See https://android-git.corp.google.com/g/157519

Bug: 5449033
Change-Id: Icaed25ccf4d689b533101e966e8303810b61b0d4
/external/webkit/Source/WebKit/android/nav/WebView.cpp
7c564d38504faf606e8965c2bd77653745dc45b9 28-Dec-2011 Victoria Lease <violets@google.com> Draw GLExtras for each layer.

Bug: 5747765

Moved the GLExtras::drawGL() call out of GLWebViewState into
LayerAndroid and BaseLayerAndroid. This allows us to apply per-layer
transforms, ensuring that find-on-page highlights are positioned
correctly on their layers.

Change-Id: I65b950875eb736601f8afec1770e5cc0201c0450
/external/webkit/Source/WebKit/android/nav/WebView.cpp
a09e7cf49f43950a799f936bf42a9912d696547b 20-Dec-2011 Steve Block <steveblock@google.com> Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/156016

Bug: 5449033
Change-Id: I35a9fa5e53a83a9c9a920333a3752dd151fbd3b8
/external/webkit/Source/WebKit/android/nav/WebView.cpp
a3a38731f4eeb01d2a42965b6c875d957999969d 13-Dec-2011 Chris Craik <ccraik@google.com> update callback mechanism, adds nativeDiscardAllTextures for TileBenchmark tool

bug:5062896

Depends on frameworks/base change: https://android-git.corp.google.com/g/#/c/154844/

Change-Id: I8e5101fa212568837fe002b14fb9171c2f6dfe22
/external/webkit/Source/WebKit/android/nav/WebView.cpp
b433116cefaaeb788939d73511f35b1ac7d70156 08-Dec-2011 John Reck <jreck@google.com> am 1d9cab1b: Merge "Fix crash" into ics-mr1

* commit '1d9cab1bc5a505a47c7a314699520dcd56ee9d4f':
Fix crash
07bb72956bf5daf9db5eae4412a68bd95812197f 08-Dec-2011 John Reck <jreck@google.com> Fix crash

Bug: 5727901

Change-Id: Ic2323eca6bc6e77fe428f3602800799e7b996cce
/external/webkit/Source/WebKit/android/nav/WebView.cpp
68fb8148a0ec1e8218fc0afba22e42c70aca53af 07-Dec-2011 Chris Craik <ccraik@google.com> am 1d71a5f4: Merge "Don\'t deep copy animations, prepare animations on both trees" into ics-mr1

* commit '1d71a5f4405639dece648eda291ab6a2aecbb968':
Don't deep copy animations, prepare animations on both trees
c6151a04881a67d08d91237891fbc7cb82927219 03-Dec-2011 John Reck <jreck@google.com> Don't deep copy animations, prepare animations on both trees

Bug: 5699085

Previously, animations were copied along with layer trees from the webkit to UI
thread. This changes that to instead use a single object per animation with
refcounting so that animations are kept consistent.

Additionally, animations are now run on both the painting and drawing trees in
the tree manager so that animated content clipped correctly during a tree swap.

Change-Id: I79f0c0e47b717f9fdddf303eb7ec29efc4950aaf
/external/webkit/Source/WebKit/android/nav/WebView.cpp
beeb8cbb217cca6094affa12a630bd75938909c9 06-Dec-2011 George Mount <mount@google.com> Remove inFullScreenMode JNI call during drawGL call.

Bug 5629367
Corresonding Framework change: Icc2fb6b7

Change-Id: Ia6f116362107243f472401a1d6361a72e88832a5
/external/webkit/Source/WebKit/android/nav/WebView.cpp
40388ae439e30064577df47820592af460d03238 03-Dec-2011 Chris Craik <ccraik@google.com> am f4bc9879: Merge "Maintain UI-side start times for animations in SW rendering mode" into ics-mr1

* commit 'f4bc9879b9e1ae40df3ef8165b7d6804184b8499':
Maintain UI-side start times for animations in SW rendering mode
7962416088590b8449c81a02f0a882ad29840cbe 02-Dec-2011 Chris Craik <ccraik@google.com> Maintain UI-side start times for animations in SW rendering mode

bug:5704428
Change-Id: I1d1d1f214642b6ff868e8425778565686bfe8b69
/external/webkit/Source/WebKit/android/nav/WebView.cpp
2b3fa9f062cc807eff2802da4d7eb075cc6023fc 02-Dec-2011 Chris Craik <ccraik@google.com> am f286c7d3: Merge "Scroll position now passed to all layers" into ics-mr1

* commit 'f286c7d338f3c0f398ee27abe1d37d670c51dbbb':
Scroll position now passed to all layers
f286c7d338f3c0f398ee27abe1d37d670c51dbbb 02-Dec-2011 Chris Craik <ccraik@google.com> Merge "Scroll position now passed to all layers" into ics-mr1
70adfd756fa5e71bd6913f3a1d8223ca26d8ec92 02-Dec-2011 Chris Craik <ccraik@google.com> Scroll position now passed to all layers

bug:5666027

Previously, only the most recent version of the scrollablelayerandroid would
have its position updated. This caused issues with position inconsistency
between the painting and drawing version of the layer, if both existed.

Change-Id: Ife29ae4e2cb00fbaa2f6fc95d9914b3434862f10
/external/webkit/Source/WebKit/android/nav/WebView.cpp
79db97a2d73d1031758a5f7b7b712021f3b7ffe6 01-Dec-2011 Bart Sears <bsears@google.com> am 87f8fc15: Merge "add support for WebTextView on scrolling layers" into ics-mr1

* commit '87f8fc15a0e59f6d88c57f390697ba1c5bbaa6c3':
add support for WebTextView on scrolling layers
d635c32628b7d9760bf786613cbe3eddf98a1272 01-Dec-2011 Michael Kolb <kolby@google.com> add support for WebTextView on scrolling layers

Bug: 5677828

Change-Id: I22ecf16c79badab68d8305d2e040057d73b02bea
/external/webkit/Source/WebKit/android/nav/WebView.cpp
ed5d84ae70b5ff966ed7a934d5658f6648088d30 30-Nov-2011 Chris Craik <ccraik@google.com> am 807ee5ec: Merge "synchronize animation starts with webkit" into ics-mr1

* commit '807ee5ec662a7864dee505040ade9a9b3eab143c':
synchronize animation starts with webkit
c75d89bc16f0cf638347ee3348f782b8309d8be3 30-Nov-2011 Teng-Hui Zhu <ztenghui@google.com> am 06081e3d: Merge "WebView Animation support" into ics-mr1

* commit '06081e3d5c78c73256b49c85d05e7c41d9e2b6f1':
WebView Animation support
807ee5ec662a7864dee505040ade9a9b3eab143c 30-Nov-2011 Chris Craik <ccraik@google.com> Merge "synchronize animation starts with webkit" into ics-mr1
aeca53d3fee2e94ce013c1dc12648f0335284fbb 29-Nov-2011 Chris Craik <ccraik@google.com> synchronize animation starts with webkit

bug:5239801

this better supports animations not synchronous with webkit

Relies on the frameworks/base CL: https://android-git.corp.google.com/g/#/c/152533/

Change-Id: Ia79a475065b3891db8fc4014559062ab1ac95ebe
/external/webkit/Source/WebKit/android/nav/WebView.cpp
e7770b07e6dd4b0edff8725bc0f7a505417dd4f1 14-Nov-2011 Teng-Hui Zhu <ztenghui@google.com> WebView Animation support

bug:4982054
Change-Id: I1e8ea5ed7043a7140254a99053cf241de1b0ef3e
/external/webkit/Source/WebKit/android/nav/WebView.cpp
be5a48f03761c980b096111d62e9ca03624e8364 22-Nov-2011 John Reck <jreck@google.com> am bd996ca3: Merge "Use isHighEndGfx to double textures" into ics-mr1

* commit 'bd996ca3728f985d3fee81471268643ca772ed40':
Use isHighEndGfx to double textures
55b4bdbd661ac94fd05ab40de08250bf242d5346 21-Nov-2011 John Reck <jreck@google.com> Use isHighEndGfx to double textures

Bug: 5639612

Change-Id: I308f6fbb8208a0d2e83f2b6d285d4c471137a0e7
/external/webkit/Source/WebKit/android/nav/WebView.cpp
64bc3d1ae8cee85955feaae53d751404b45b7097 19-Nov-2011 Bart Sears <bsears@google.com> am 59b140f3: Merge "Content and viewport rects set in one step." into ics-mr1

* commit '59b140f3e2721433929e11087d0fdb626afb1a72':
Content and viewport rects set in one step.
59b140f3e2721433929e11087d0fdb626afb1a72 18-Nov-2011 Bart Sears <bsears@google.com> Merge "Content and viewport rects set in one step." into ics-mr1
1343dcc6f50e1060fc392a2866438c1495449d0f 17-Nov-2011 Kristian Monsen <kristianm@google.com> Merge "Removing ANDROID_INSTRUMENTATION code"
b359438e11520b3e3b6801ad1280e1bdef2b986c 09-Nov-2011 Kristian Monsen <kristianm@google.com> Removing ANDROID_INSTRUMENTATION code

This has not been used for years, and due to WebKit merges the
results are not accurate anymore.

The resulting code is cleaner, less likely to create merge conflicts,
and does not give the impression that this can be turned on and
it will still work.

Needs CL:
https://android-git.corp.google.com/g/#/c/148912/

Change-Id: I617ad00c103ab72038371a3203452d2ccec0e50c
/external/webkit/Source/WebKit/android/nav/WebView.cpp
a5e649bc4d58bf3da959deae077307c487e2a3a6 15-Nov-2011 George Mount <mount@google.com> Content and viewport rects set in one step.

Bug 5342918
The content rect of the WebView was being retrieved during
the draw while the viewport rect was being set when the
draw functor was setup. During animations, the content
rect was changing between the time the draw functor was
retrieved and it was executed. The content rect is now
being set with the viewport rect.

Framework change: I1b0978ee

Change-Id: I05d68dcc73ede1e919ddc1478f48b372b7b64042
/external/webkit/Source/WebKit/android/nav/WebView.cpp
70d105810a06e7cb69f606635b916694ab15b4dc 16-Nov-2011 Michael Kolb <kolby@google.com> Position WebTextView correctly on layers

Bug: 5550648

Change-Id: If3d59e0d197e9383b64f6a9e17d94e022044b5c3
/external/webkit/Source/WebKit/android/nav/WebView.cpp
292448625cf74fa0cbb6776572d5b116d2e7eb15 15-Nov-2011 John Reck <jreck@google.com> Fix text selection handle positioning

Bug: 5620362

Change-Id: Ic75ba855b5b86f8b0c3a21ee5dcbcc92b0dc982a
/external/webkit/Source/WebKit/android/nav/WebView.cpp
e5c39206de45588678bf718a8274432068d702f6 11-Nov-2011 Michael Kolb <kolby@google.com> Remove inset for WebTextView

Bug: 5383911
By removing the inset we cover webkit's text field completely

Change-Id: Ib3edf21beb4e26b38b2195a9e336523336f26eb7
/external/webkit/Source/WebKit/android/nav/WebView.cpp
d355e69574bd6cae6a03fbfeee0c7da61aa7a98c 10-Nov-2011 John Reck <jreck@google.com> Support pausing drawing

Bug: 5594608

Change-Id: I09590f8c04904957b079f0458022b960599eb47a
/external/webkit/Source/WebKit/android/nav/WebView.cpp
00d524fd5dc3e995e2b517da48e479694260ce2f 08-Nov-2011 Teng-Hui Zhu <ztenghui@google.com> Merge "Change the default webView behavior to minimize the memory consumption" into ics-mr1
82ccbd8ce95211b4b5afad6a653462fd3beb771b 07-Nov-2011 John Reck <jreck@google.com> Remove the global button lock

Bug: 5558699
Bug: 5572238

Change-Id: Ic199ffda5bc4aa09d39ee54221c6fcce6a91ca05
/external/webkit/Source/WebKit/android/nav/WebView.cpp
8852b0905b1a50ca045eb4bd19b2589aad663b5c 07-Nov-2011 Teng-Hui Zhu <ztenghui@google.com> Change the default webView behavior to minimize the memory consumption

For now, we just limit the expansion on x and y direction.
In the future, we need to dynamically allocate and deallocate the memory.

browser change is : c/148242

bug:5522175
Change-Id: I8562c39c55913ab89848afe8a36e8a2784c12727
/external/webkit/Source/WebKit/android/nav/WebView.cpp
e94313e95fb5e08870a58c7a4b593da08cc3d424 27-Oct-2011 John Reck <jreck@google.com> Keep text handles in sync with native touch targets

Bug: 5522153
Also add some slop to the handle targets, cleaned
up the JNI and improved debugging.

Change-Id: I3b2c3c8b1543d4a1aa599ae2938fa78fe95e01bf
/external/webkit/Source/WebKit/android/nav/WebView.cpp
1b1aeae55b7873e867eabd7c47d9acea34c2a606 26-Oct-2011 John Reck <jreck@google.com> Merge "DO NOT MERGE Adjust text selection position" into ics-mr1
0bab4025aed8786cb8307d2eede87f7f21cc0d65 25-Oct-2011 John Reck <jreck@google.com> DO NOT MERGE Adjust text selection position

Bug: 5507800

Change-Id: Icfcfdb9ff019fac7e3e40df679723594fab15dc6
/external/webkit/Source/WebKit/android/nav/WebView.cpp
42051e3a21322f4843268b4bc09c85b7e9250d6d 25-Oct-2011 John Reck <jreck@google.com> DO NOT MERGE Fix SW extras for layers

Bug: 5507239
Also remove all the old, unused layer setExtras stuff

Change-Id: Id1670010536712b7a9f50e74821c9fb7f708e851
/external/webkit/Source/WebKit/android/nav/WebView.cpp
f6519fbd5aaf4bd91cffd4235e9edb2b9a6aca13 18-Oct-2011 Kristian Monsen <kristianm@google.com> Merge "Part of fix for bug 5152544 Reduce the number of warnings"
223589b3e07f05960e8da16a5addce6fbfbfa9df 14-Oct-2011 John Reck <jreck@google.com> Fixup JNI

Bug: 5459736

Change-Id: I2125e8c0162b218f417e777d5ba62bfd314c7f60
/external/webkit/Source/WebKit/android/nav/WebView.cpp
32a0e726914a659afb4a9a1fedf99fa80df0d54b 14-Oct-2011 John Reck <jreck@google.com> Fix navcache to work with layers for rings

Bug: 5453034

Change-Id: I426aa4ca1b1c253f99c32aaf8cad597c09144af0
/external/webkit/Source/WebKit/android/nav/WebView.cpp
275d382a3335934e6edebdb9d07fe87b404cead4 12-Oct-2011 Kristian Monsen <kristianm@google.com> Part of fix for bug 5152544 Reduce the number of warnings

The code is old, so must be some a compiler change that makes
them show up now. Initializing the rect is good anyway, and it
removes the warning.

Change-Id: If076df1250e0c9b9980db0387cd7f99ecb00dc0c
/external/webkit/Source/WebKit/android/nav/WebView.cpp
85e3844824444f304a15e57f62d2e5670fb3bf47 11-Oct-2011 Michael Kolb <kolby@google.com> Support spellcheck attribute in input fields

Bug: 5267547

When spellcheck is set to false, disable the
IME suggestions and the spelling error highlighting

Change-Id: Ib62bc760334159aa086214cc6f1388d1abe89cb4
/external/webkit/Source/WebKit/android/nav/WebView.cpp
fcb01cd64de0a1d6f8f8c897d16cc2628be53960 07-Oct-2011 John Reck <jreck@google.com> Switch find on page to GL

Bug: 5354191
Refactor how extras are drawn in GL

Change-Id: Ifb61c73abecd2d074903a7fb44fe4b82aacc64ac
/external/webkit/Source/WebKit/android/nav/WebView.cpp
b31c03a968a578cc43e606ede80cefcd07e8ee07 03-Oct-2011 John Reck <jreck@google.com> HW accelate button focus rings

Bug: 5353510

Change-Id: I1bb306381864357dab4c38fd5c182fda2dd08d8c
/external/webkit/Source/WebKit/android/nav/WebView.cpp
62740ff35119cc54e82b6af582a01dd34b9e027e 28-Sep-2011 John Reck <jreck@google.com> Don't scale text selection handles

Bug: 5367280
Don't scale the old software handle and, more importantly,
don't scale the touch target.

Change-Id: I9a731b2117b3f2fe3bd6ca35388da61c47724d91
/external/webkit/Source/WebKit/android/nav/WebView.cpp
301c476ad4d477afb9fa74823d6afa3188080202 24-Sep-2011 Teng-Hui Zhu <ztenghui@google.com> Merge "Enable the CPU upload path for Browser."
0960fe0e966317c4728542e9cfaa259523665900 23-Sep-2011 Teng-Hui Zhu <ztenghui@google.com> Enable the CPU upload path for Browser.

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
/external/webkit/Source/WebKit/android/nav/WebView.cpp
8782ca1236bac0bb13e08a6b63f8743e0b01e75a 21-Sep-2011 Steve Block <steveblock@google.com> Fix find-in-page to scroll scrollable layers

This requires the addition of the following methods ...
- Layer::contentIsScrollable()
- Layer::localToParent()
- ScrollableLayerAndroid::scrollRectIntoView()

Bug: 5262656
Change-Id: I2f1cf3342f73890f98a172f1b4e3f440c02dd9f4
/external/webkit/Source/WebKit/android/nav/WebView.cpp
dfd464c5416bf18e36a34102c51e1c39dd9fa886 20-Sep-2011 Steve Block <steveblock@google.com> Merge changes Ifb6cc64e,I4d819cc5

* changes:
Simplify logic in ScrollableLayerAndroid::scrollTo()
Fixes style and adds some comments to layers code
c6c775bd2d833243230713c1311a912bc755e1d7 19-Sep-2011 John Reck <jreck@google.com> Merge "We be GL ringing it all over them layers"
f92d7cf56380e421b81212d32a557bda707a9555 12-Sep-2011 Steve Block <steveblock@google.com> Fixes style and adds some comments to layers code

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
/external/webkit/Source/WebKit/android/nav/WebView.cpp
73b4552f8e4e89529f6f44378b80a31f764c1377 18-Sep-2011 John Reck <jreck@google.com> We be GL ringing it all over them layers

Bug: 5333083

Change-Id: Ia2b03d8d9e0167d06f8a900152e25e66372acd59
/external/webkit/Source/WebKit/android/nav/WebView.cpp
c67a79f4e1bc925d774dac03df5b964c841ddc9f 12-Sep-2011 Steve Block <steveblock@google.com> Fix find-in-page to scroll to search results in layers

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
/external/webkit/Source/WebKit/android/nav/WebView.cpp
2986d27084d881dbe6f9c3ae35430a5978b7e659 08-Sep-2011 Chris Craik <ccraik@google.com> Deallocate graphics memory with onTrimMemory signals

bug:5269460
Deallocate the graphics memory backing a BaseTileTexture on onTrimMemory
signals, and accordingly allocate it lazily, as needed.

Change-Id: I52039723f47e6470e4fe8dd987d384017005390f
/external/webkit/Source/WebKit/android/nav/WebView.cpp
52f5c337d737fdbaa361fc46b3e0aff2bb27cbae 07-Sep-2011 John Reck <jreck@google.com> OnTrimMemory plumbing

Bug: 5269460

Change-Id: Iad6513787b6737d45f1537973e08469005ed4dac
/external/webkit/Source/WebKit/android/nav/WebView.cpp
4327ba9cc6a31e1bdcf647fa2b185f5bbd45f2d2 07-Sep-2011 Teng-Hui Zhu <ztenghui@google.com> Revert "WebView animation support"

This reverts commit 078f4452393311da6165131451fcf86e04e04f25.

bug:5264188
Change-Id: I3dd6cf46a168893aa3067615f2f0f902c6f66d74
/external/webkit/Source/WebKit/android/nav/WebView.cpp
279c3d30edcdb72407a73b7ecb1e6e737423212b 01-Sep-2011 Teng-Hui Zhu <ztenghui@google.com> Merge "WebView animation support"
8111ace8860f79c6b7ece2c408a3f80a0762b09b 01-Sep-2011 John Reck <jreck@google.com> Allow native to query selection region

Bug: 5224394
Bug: 5208328

Change-Id: I2141ad80a78f717e3005740285661cd1f558dfca
/external/webkit/Source/WebKit/android/nav/WebView.cpp
078f4452393311da6165131451fcf86e04e04f25 31-Aug-2011 Teng-Hui Zhu <ztenghui@google.com> WebView animation support

bug:4982054
Change-Id: I6f4fe313d242f728a515c485a2531611d7166198
/external/webkit/Source/WebKit/android/nav/WebView.cpp
ec7cadd6477635dceb9ef29175fbb0bc55659462 26-Aug-2011 Ben Murdoch <benm@google.com> Fix crash when scrolling non-HW accelerated WebView

Need to null check m_glWebViewState. It should also have
a compile time guard.

Bug: 5219373
Change-Id: I36fc559fd20e54dc34912f7843a9aa6d2316765b
/external/webkit/Source/WebKit/android/nav/WebView.cpp
f51a51f6ea307f4311a04aa865a42b233269540b 23-Aug-2011 Chris Craik <ccraik@google.com> better locking while scrolling, but disables double buffering

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
/external/webkit/Source/WebKit/android/nav/WebView.cpp
55488a4e70941dc7d313c02041395e9a75d8b150 19-Aug-2011 Nicolas Roard <nicolasroard@google.com> Merge "Fix repaint when we toggle the inverted mode - add a boolean return in WebView::nativeSetProperty() - add an inverted flag in BaseTileTexture"
f1ab740d0427ebb5c42b8b72fa3102b037a109f0 18-Aug-2011 Nicolas Roard <nicolasroard@google.com> Fix repaint when we toggle the inverted mode
- 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
/external/webkit/Source/WebKit/android/nav/WebView.cpp
e302ae4e13736d03118318e52aab6c4847285626 17-Aug-2011 Chris Craik <ccraik@google.com> tile prefetching now triggered automatically

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
/external/webkit/Source/WebKit/android/nav/WebView.cpp
ce03c1c1203621e552d41a8b3831837636f364a9 27-Jul-2011 Ben Murdoch <benm@google.com> Lazily decode assets for form controls.

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
/external/webkit/Source/WebKit/android/nav/WebView.cpp
ef238925ea0ba6305e4540aff5c6953503993f3b 04-Aug-2011 Nicolas Roard <nicolasroard@google.com> Change the constants used for the inverted preferences
to match the ones sent by the Browser

bug:5111259

Change-Id: I3d7c0d94d61e173915ab6ec01f42778182462064
/external/webkit/Source/WebKit/android/nav/WebView.cpp
2379a24a13c36a6497eb9ba266c511e68c23d056 03-Aug-2011 Chris Craik <ccraik@google.com> Merge "Support registering page swap callback, content inval"
bbb9caa2571e2c0192861a336c358412e9e7f0c7 03-Aug-2011 Nicolas Roard <nicolasroard@google.com> Add setters for the contrast

bug:5111259

Change-Id: I08701fd7f4d4fe6a506d05f847b4e1a07ed458b3
/external/webkit/Source/WebKit/android/nav/WebView.cpp
af33356e96e56310c66b47b6db913e1a61981ca3 01-Aug-2011 Chris Craik <ccraik@google.com> Support registering page swap callback, content inval

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
/external/webkit/Source/WebKit/android/nav/WebView.cpp
6cff5909d0c0783e083ebd0f9e56df7d178bbdce 29-Jul-2011 Derek Sollenberger <djsollen@google.com> Merge "Add features to support Ganesh in the Android browser"
96eef4d75f8a709cc252a69c4e8cb5bd4251187e 28-Jul-2011 Chris Craik <ccraik@google.com> added pageswap callback from drawGL to WebView

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
/external/webkit/Source/WebKit/android/nav/WebView.cpp
c7e578330aece3c556ef205365c24676687223e2 01-Jul-2011 Derek Sollenberger <djsollen@google.com> Add features to support Ganesh in the Android browser

1) Added a runtime switch between Raster and Ganesh
2) Added support for using SurfaceTextures with Ganesh

bug: 5013645
Change-Id: I2efebf1bc9befb0c7f6f66109d80818f9d0775b3
/external/webkit/Source/WebKit/android/nav/WebView.cpp
040d9e4815004690561231442e069cc67cba600f 25-Jul-2011 Chris Craik <ccraik@google.com> Draw WebTextView inset in the textfield/area's border

bug:5008210

Also reduced some duplication of code for returning java rects.

Change-Id: I614e0cdaea7a30dc0b647b8290a8d66464c0b87c
/external/webkit/Source/WebKit/android/nav/WebView.cpp
687472b6cb489b5d3ea6a9a2fff110a685c27a79 21-Jul-2011 Chris Craik <ccraik@google.com> New tile logging JNI interface

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
/external/webkit/Source/WebKit/android/nav/WebView.cpp
d2c2030045e0e26787ff8b9935d449e3be8a71cc 15-Jul-2011 John Reck <jreck@google.com> Implement an invert screen mode

Set through the new property interface

Change-Id: I62e3986a5a0d5a41faf0eeee6cd1c0f7186e1cf5
/external/webkit/Source/WebKit/android/nav/WebView.cpp
5dcd286d3e3e60f6a090f775a1fdceb40f578b75 13-Jul-2011 Chris Craik <ccraik@google.com> Tile profiling backend

Added tile profiling member (TilesProfiler) to TilesManager to track rendering status of tiles.

Change-Id: Ied828c6ad2a15588965e6641edecb162bd76bc62
/external/webkit/Source/WebKit/android/nav/WebView.cpp
d49eb7fca9df148a14bfda4918647f68abc52a13 28-Jun-2011 John Reck <jreck@google.com> Prevent GL rings on layers

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
/external/webkit/Source/WebKit/android/nav/WebView.cpp
5e21d2b8b3bc9de06626a4cb28f37f06322c9f56 15-Jun-2011 John Reck <jreck@google.com> Support for getting the background color

Change-Id: Ia8b0f97a5d50b3c16b8d59bb7af42899a614b676
/external/webkit/Source/WebKit/android/nav/WebView.cpp
d68563709fdf68c90c730155149f6149b084730a 07-Jun-2011 John Reck <jreck@google.com> Serialize LayerAndroid

For now skip other layer types
Doesn't support animtations

Change-Id: Id1ff75f3d4d213f56561fc5d9c01f7ffee05cc79
/external/webkit/Source/WebKit/android/nav/WebView.cpp
dfadaafc15c16563aba837f05c778eaa2a433a8b 04-Jun-2011 John Reck <jreck@google.com> Fix issues with setting viewstate before initializing

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
/external/webkit/Source/WebKit/android/nav/WebView.cpp
0a24b2fbe512c59d9c83f0be6a1bd24c4fe9f8b6 04-Jun-2011 John Reck <jreck@google.com> Merge "Initial support for serializing the view state"
4212fae38ffee2bbb657dd19e4ae8b7c735f4953 03-Jun-2011 John Reck <jreck@google.com> Initial support for serializing the view state

Serializes only the base layer currently

Change-Id: I5cff216a4fc1b08efe3a7955c616b91114f6bf0b
/external/webkit/Source/WebKit/android/nav/WebView.cpp
b4d178df818e8b6e7a1cfbb0e34bbf7bb9d74ec9 12-May-2011 Steve Block <steveblock@google.com> Always check weak global references before using them

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
/external/webkit/Source/WebKit/android/nav/WebView.cpp
1ed8c4d16ac986307f1c0589a3a720a37e60f313 18-May-2011 Steve Block <steveblock@google.com> Merge WebKit at r78450: IntRect::bottom()/right() renamed

See http://trac.webkit.org/changeset/77286 and
http://trac.webkit.org/changeset/77398

Change-Id: I0ae670bff327fb981e037f5394c55bfb4aeb81eb
/external/webkit/Source/WebKit/android/nav/WebView.cpp
a2c606d1d8312a5d063e4a11e5911d9c8e4a3d19 13-May-2011 Ben Murdoch <benm@google.com> Merge WebKit at r75993: Move WebKit/android files to Source

Change-Id: Ifa871f8320bdb3a09fe189fffecc23f702c394b9
/external/webkit/Source/WebKit/android/nav/WebView.cpp