History log of /external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c657ea41ccfd187ba85feb78edcf4ac947afb2e7 23-Aug-2012 George Mount <mount@google.com> Text around selection falls back to caret rect when not in text.

Bug 7025068
When the input field is empty, the selection was appearing outside
the input field. With this change, we fall back to the caret rect
for the text around the caret.

Change-Id: Ie6122ec34a0ae96994dc91b002bdcb3403b753eb
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
480e731e47d6e9b2b80cc758c1b5f672c9d3b4d4 20-Jul-2012 Billy Hewlett <billyh@google.com> DO NOT MERGE Text locale compatibility shim

Cherry-pick I2a69f2834ca50c37302dcd4816edb630b1208a41 from master.

This change allows WebView to continue to function as before,
displaying text using the system default fallback font chain.

Change-Id: Ibcb8924d270cc602295158684bd700cfcbb1ec46
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
55f4533e6fc4f50a0ac57b1b180276d679aa04fc 15-Aug-2012 George Mount <mount@google.com> Use content size for scroll width calculation.

Bug 6976140
Horizontal scrolling calculation requires use of content and
not client width. Vertical scrolling uses client width because
text areas support padding differently than text inputs.

Change-Id: Ib105c6c185415c1784c83f7203810a3e5416a9c8
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
3718b58e4da76b7025aa5316a51264c5e38f2569 04-Aug-2012 John Reck <jreck@google.com> Remove usages of getCanvas

Everything goes through either PlatformGraphicsContext or recordingCanvas()

Change-Id: I375a4294d2e8d4b467b70c6b8a7f0b96f402f252
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
77d974918eff4b56050e9f1c3a78becab1244a04 25-Jul-2012 John Reck <jreck@google.com> DO NOT MERGE Push everything into an R-Tree

Cherry pick from master

Change-Id: I0ef32777f33104d440459d9d4d3c0d61f75a11a2
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
a09e21bb9545f8ccd1598eb38b43a1179c7d54e2 10-Jul-2012 Selim Gurun <sgurun@google.com> Merge "Fix onReachedMaxAppCacheSize callback"
cbdd2ac67e9d35930d6465fa71ef168c320ecbaf 29-Jun-2012 Selim Gurun <sgurun@google.com> Fix onReachedMaxAppCacheSize callback

Bug: 5869022

When appcache reached max size, a callback is triggered. The
second parameter of this callback was returning the used Web SQL
quota, which is a rather different concept then AppCache. Fix this
to return max database size.

Change-Id: I5ece83934d5a43b6927bc8fc25bcae1354c49149
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
0675e22b46a05cdd3f6e20133a94bb8448231dfa 19-Jun-2012 Teng-Hui Zhu <ztenghui@google.com> Support fullscreen to inline video transition.

Basically, player is responsible to enter fullscreen mode such that we have
the proper proxy updated on the Java side.

bug:5710646

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

Change-Id: Ie7adf620f2e9889142ef153e12d676a5f288bc0a
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
746505b1ae8555ef6ca9325626ba6ce2ec164529 22-Jun-2012 George Mount <mount@google.com> Merge "Remove unused ENABLE_ANDROID_INSTALLABLE_WEB_APPS"
10ab90ea1e09865cb17062ac4b3a99e578202881 21-Jun-2012 George Mount <mount@google.com> Remove unused ENABLE_ANDROID_INSTALLABLE_WEB_APPS

Remove an unused #define and code associated with it. This will
smooth a possible future webkit merge.
Framework change: Ibf046337cdabb9bee9cff8e3d77d9f69a59ecb15

Change-Id: I16d8c457a3f08996bc66401b241fe0db5a118975
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
bc17d11c07d97392bb41b9d707726bec5c8cb64d 21-Jun-2012 George Mount <mount@google.com> Remove updateTextfield for changing passwords.

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
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
fc7f71bad1fe01396717f3425429f04cb009f741 20-Jun-2012 Jean-Baptiste Queru <jbq@google.com> am 50034a4c: am 903d2ec9: Merge "Don\'t use deleted Node object in setSizeScreenWidthAndScale"

* commit '50034a4c4b41e0e3c99ec5a4ce8c6673190e20ac':
Don't use deleted Node object in setSizeScreenWidthAndScale
50034a4c4b41e0e3c99ec5a4ce8c6673190e20ac 20-Jun-2012 Jean-Baptiste Queru <jbq@google.com> am 903d2ec9: Merge "Don\'t use deleted Node object in setSizeScreenWidthAndScale"

* commit '903d2ec97b2ac9cf4f50fc3d7f9e503611bce470':
Don't use deleted Node object in setSizeScreenWidthAndScale
5550319aaa0f9d0a05283a10971fc3240b9ed8eb 05-Jun-2012 Mattias Falk <mattias.falk@sonyericsson.com> Don't use deleted Node object in setSizeScreenWidthAndScale

The call to forceLayout may cause the Node object to be
deleted. Avoid crash by check that the Node object is
still valid when forceLayout has returned.

Change-Id: Ieb74a59ca7f2e457b3b17d01bcb02cd566f84ef2
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
0f52bbcbd939dd6fcbb100e4e463456c5343a263 14-Jun-2012 George Mount <mount@google.com> Clip selected text within scrollable edit to the edit boundary.

Bug 6666415

Change-Id: Ie19e6bc3eedcbb5c9eb5791ac4b1f55149dcdb72
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
4c5a4dcf70c125b8a568b050ed1c2491f25e4593 15-Jun-2012 John Reck <jreck@google.com> Remove unused and fix build warning

Change-Id: I68292b54638502d0769e6e8dbeea5d77eef901d0
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
85bb7725195ca6b94ee97d0a95af9eed6d7ceaa5 12-Jun-2012 George Mount <mount@google.com> Merge "Fix edit text capturing selection."
5cf8878e68992fc29187cacbba3d3a28372bf17d 11-Jun-2012 Selim Gurun <sgurun@google.com> am f8b2a5a3: am 7fc1c095: Merge "Remove forgotten CHROME_NETWORK_STACK macros" into jb-dev

* commit 'f8b2a5a3e2f83bee801a2d19fc1073f37e95fb1f':
Remove forgotten CHROME_NETWORK_STACK macros
3c0f1821ec3c70f81b2771b88cf41b34b6f5fe1d 09-Jun-2012 Selim Gurun <sgurun@google.com> Remove forgotten CHROME_NETWORK_STACK macros

Bug: 6637033

It seems that somehow these macros were forgotten to be removed
while dropping http stack, it is likely a merge/rebase issue.

Change-Id: I37b14488dbfd786e3e0deab9775f42f21d2205e7
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
2f25be4556024e8272a7a22e5b9a5c9b2caf2d65 07-Jun-2012 George Mount <mount@google.com> Fix edit text capturing selection.

Bug 6623128

Change-Id: Ia7a9f4bdf9478c8e1e8acb0e9f6e08d779185d11
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
081da0053e8bcb127c87e442eaa25628732bbe67 07-Jun-2012 George Mount <mount@google.com> Fixed flipped selection handles.

Bug 6623406

Change-Id: Ib99d308fe97d245bc55ffb2557319efffb6e6e4f
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
581fa19e4b324576746089444574824363ed460c 05-Jun-2012 George Mount <mount@google.com> Fix scrolling behavior for text input and textarea.

Bug 6614784

Change-Id: Ifb6ef42fc4df4b163f29c9777c79f42b60a65f4e
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
2348a346744a3172d32faf2e03369596b9402071 04-Jun-2012 George Mount <mount@google.com> Merge "Support selections within scrollable text areas."
dcf207c3db53858c06cf054f06721370eba23c77 04-Jun-2012 George Mount <mount@google.com> Merge "Change from left/right to base/extent for selection handles."
1c50a7a736d9e611f0e0bab73cb1809b3e6f0dfb 04-Jun-2012 George Mount <mount@google.com> Support selections within scrollable text areas.

Bug 6557816
Change text selection to modify only the base or extent, not
both points of the selection.
Framework Change: I355b21e9062b5d364cfb278fda239a4ecdff16d1

Change-Id: I9a08633160eeb14d5c45246c6128aa02c1642e8d
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
2d66db6bf0f6f3687361cce7d9280de47ed591ee 01-Jun-2012 George Mount <mount@google.com> Change from left/right to base/extent for selection handles.

Bug 6557816
This is a step in preparation to fix text area selection.
It moves selection from left/right to base/extent. left/right
can cause problems when dragging cursors -- it is sometimes
difficult to tell which cursor should be dragged, the left or
right, but we can always keep the base/extent constant.
Framework Change: I2f9b963e93bb1ab86a9b26518fca52449b56d5d9

Change-Id: I5609d07ea2ee67fc08d15cfcad31f49302f33297
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
3eb38b4493390e66ef4856444ddd42177649d500 01-Jun-2012 George Mount <mount@google.com> am f3e42950: am 6b850721: Fixed mistake in how label was being mistakenly set into name.

* commit 'f3e429507eba1a13e9afaf436e240fd81797c646':
Fixed mistake in how label was being mistakenly set into name.
6b850721064920ae1ddb114964c5c2bb4a745532 01-Jun-2012 George Mount <mount@google.com> Fixed mistake in how label was being mistakenly set into name.

Bug 6594983

Change-Id: I8adf636345e5d5284e372e28176c31c7e937334d
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
1d988a5cfd58943ebc6097ff78b68b6fba9ac232 01-Jun-2012 Chris Craik <ccraik@google.com> am c40f87a1: am b5d3edac: Merge "Invalidate webview content on setBackgroundColor" into jb-dev

* commit 'c40f87a1970b5377976087f2ffb4f0c621d39fd5':
Invalidate webview content on setBackgroundColor
33f8fde94cdb7f753bfb1d98dc3bb076a811f344 01-Jun-2012 Chris Craik <ccraik@google.com> Invalidate webview content on setBackgroundColor

bug:6593154
Change-Id: Ic9438f758c7c67d0a2e0579dbc53dcdf8dd109cd
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
e9802036468c20c710c9418d56e9de928d7298ab 30-May-2012 George Mount <mount@google.com> am c83120b4: am 658c3ec9: Merge "Consider frame offset for text snap rectangle." into jb-dev

* commit 'c83120b4d089eed50a8c819256f065457529b862':
Consider frame offset for text snap rectangle.
41c0ef4bc165c54ed1a6e79ed6a211fc2ecb9761 25-May-2012 George Mount <mount@google.com> Consider frame offset for text snap rectangle.

Bug 6556824

Change-Id: I2c39bf3d7461cfe21e33fd18ab798ca824cbdd96
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
e0d7d53d0af7715347bc694de7b140773174149e 25-May-2012 John Reck <jreck@google.com> am 8959907b: am 91f41286: Support skipping a touch stream due to lack of handlers

* commit '8959907b97e269d7183d4817f295234718b41365':
Support skipping a touch stream due to lack of handlers
91f41286e33b387859e4841711f3054bcf75c748 24-May-2012 John Reck <jreck@google.com> Support skipping a touch stream due to lack of handlers

Bug: 6317798

Change-Id: I8c4cd3bf4c538aff202ed0e3f84982fb112936a1
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
c9c8437e850b3e70ee3e7d581847d67582bbbe7f 24-May-2012 Chris Craik <ccraik@google.com> am fe5bfa1b: am 9c52999f: Merge "Move scrollOffset into Layer class" into jb-dev

* commit 'fe5bfa1befcb0e865d69d497280db9b16b361da8':
Move scrollOffset into Layer class
9c52999fb17b49c672908e36aabda61abf63fe8f 24-May-2012 Chris Craik <ccraik@google.com> Merge "Move scrollOffset into Layer class" into jb-dev
9b8186433c6514e4f132ef615cc9bdbe6c92ee9e 24-May-2012 George Mount <mount@google.com> am 9bada0c1: am 39ba1a3a: Merge "Don\'t send selection info to WebView for unrendered selections." into jb-dev

* commit '9bada0c1014db839ba690474105c2126c11ad317':
Don't send selection info to WebView for unrendered selections.
39ba1a3a160e41f7e3efc87365c14142f02a341a 24-May-2012 George Mount <mount@google.com> Merge "Don't send selection info to WebView for unrendered selections." into jb-dev
415b03411f96b199071dc0aedc30f9517659929f 24-May-2012 Nicolas Roard <nicolasroard@google.com> am cd6a3bff: am 6f4fd96b: Merge "Don\'t set up background images if 1x1" into jb-dev

* commit 'cd6a3bff0abccf9f1c3c3351c6984be2c3124239':
Don't set up background images if 1x1
e13f94616ccce173b7eb3f9f691d8ff5e3eb86f3 24-May-2012 Nicolas Roard <nicolasroard@google.com> Don't set up background images if 1x1

We do this check in other places. We still need a better
solution for the general case.

bug:6540356
Change-Id: I3f75c62141d7b6993928927117d972d0ec224b55
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
dc5192de2d6f8637cef9be2ae52c8c100b2932e0 24-May-2012 Chris Craik <ccraik@google.com> Move scrollOffset into Layer class

Layer can now use the offset to paint, resulting in correct translates for
overflow:scroll layers in the Layer::draw() path.

bug:6548000
Change-Id: I1dfb88b15491e72e6c3841ce2953e114124e40fd
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
430be9fcdd291a02c0ff2ce97d9d25549f283bd1 24-May-2012 George Mount <mount@google.com> Don't send selection info to WebView for unrendered selections.

Bug 6537569

Change-Id: Iefbb06ad9175f61b79d815c668754538febec4f5
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
bb6709c7f9c9dbc1f09e40002956fef09db539a2 21-May-2012 Steve Block <steveblock@google.com> Remove unused WebViewCore::isPaused() and setIsPaused()

The last caller of these methods was removed in
I7be5b4224555bc8c3893b75275ac3a997a6677d1.

See framework change I9e5c0fd914f53d11e130ffcdc0e749f45dfe4013.

Change-Id: Ie645cb657407c34a63e5df6b0ade050f1780a7f0
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
5c36c4ca9214cbbe65d12f6b138aef9618d41a99 17-May-2012 Steve Block <steveblock@google.com> Switch to client-based Geolocation

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
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
937f02eed327b38392b69ef4db158dc7a152ed93 21-May-2012 John Reck <jreck@google.com> am 655f75fe: am 2c52cc31: Merge "Switch to a 4ms/1s timer" into jb-dev

* commit '655f75feeee4c396740a8e768888c7c8f0602cb8':
Switch to a 4ms/1s timer
6d62e2856c7c40b506685d64868333fd39921283 21-May-2012 Nicolas Roard <nicolasroard@google.com> am 0fec4094: am 6baa213e: Fix memory leak and repaint issues with fixed background elements

* commit '0fec40942c5e424610b19929bbcd0a1dd4f53246':
Fix memory leak and repaint issues with fixed background elements
2c52cc3176d97bc3f0bb59f8684c06c94201ef98 21-May-2012 John Reck <jreck@google.com> Merge "Switch to a 4ms/1s timer" into jb-dev
6e7f4226159cf0f7746c457f5e78a76718c4fbd2 21-May-2012 John Reck <jreck@google.com> am c328457e: am 37df6b06: Merge "Fix mouse nudging in hit test" into jb-dev

* commit 'c328457e578cf0c594ef7db2259754d3ee0b1fcd':
Fix mouse nudging in hit test
1e685f76b45c48a939a1f9870a7c74f0a12a975e 21-May-2012 John Reck <jreck@google.com> am c085b5fe: am 02085505: Merge "Track where we want to click the mouse independently" into jb-dev

* commit 'c085b5fefdf5cbd9a203f11ce239ee0dce48ec1d':
Track where we want to click the mouse independently
e7500725fc05f45543cecae55dced30571158608 19-May-2012 John Reck <jreck@google.com> Switch to a 4ms/1s timer

Bug: 6523124
Bug: 6523033
Use a 4ms timer for foreground tabs, and a 1s timer
for background tabs

Change-Id: Iea061d63adf82f6e17dd2d47d382fcdfc588b7d3
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
6baa213e1806af132b1f0b1170343c5ac2bf75d3 13-May-2012 Nicolas Roard <nicolasroard@google.com> Fix memory leak and repaint issues with fixed background elements

bug:6522485 bug:6486951

Change-Id: Ia707efed9311e4352eed3ab005ec7ca93b8444e4
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
b147bc5a5760cd282742a889a9fe067201c16eb9 18-May-2012 Steve Block <steveblock@google.com> Merge changes I2de9dfed,I80436e37

* changes:
Move GeolocationServiceBridge to WebKit/android/jni and extract Listener interface
GeolocationPermissions cleanup
084a2f00a6b30ce87ec8a8eabbea3ac9cbfa6e7e 15-May-2012 Steve Block <steveblock@google.com> GeolocationPermissions cleanup

- Avoid the need to pass the main frame to GeolocationPermissions. This can be
determined from the WebViewCore.
- Call GeolocationPermissions::maybeStorePermanentPermissions() directly from
WebViewCore to avoid the need for a ChromeClient method.

No functional change.

Bug: 6511338
Change-Id: I80436e3728080338199a632890a64e573a658bba
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
580a4ea41896c60f782ce1fbaa9363320100c24b 17-May-2012 John Reck <jreck@google.com> Fix mouse nudging in hit test

Bug: 6490959

Change-Id: I3b9c17a69d15983093047b31d950c16894f6cd24
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
98db50b8d8923d319a1677bcba3784baeae03ab5 17-May-2012 John Reck <jreck@google.com> Track where we want to click the mouse independently

Bug: 6490959

Change-Id: I920167cb16723f63132ecdb5581fb7a19e4461dd
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
9710142abfa1dd8dcedad50cc35b49c9e7c6cc57 16-May-2012 John Reck <jreck@google.com> Merge "flicker fix" into jb-dev
e73b71c2e699401389367aaaf2866af4b796cd50 16-May-2012 John Reck <jreck@google.com> flicker fix

Bug: 6479523
After a layout, sync the compositing tree *before* doing any drawing

Change-Id: I2c314731620be58c044f100ef335087961cbd223
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
10f686b8c96114108ebbad4bd86b1810871d54f5 15-May-2012 George Mount <mount@google.com> Merge "Only start or end selection with non-empty text fields." into jb-dev
e47f743261938b674d8871217236c03420bd2020 15-May-2012 George Mount <mount@google.com> Only start or end selection with non-empty text fields.

Bug 6496951

Change-Id: I5ea68aebe4c3652eae49b20d4c07418725190549
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
eb4dd05cf87c2fcd52fa31fbfe0b110dea7e0cf0 15-May-2012 Nicolas Roard <nicolasroard@google.com> Merge "Fix crash on arstechnica" into jb-dev
ca602195c97340b621ffe0c5a7fdf3732d439219 15-May-2012 Nicolas Roard <nicolasroard@google.com> Fix crash on arstechnica

Not checking for cachedImage for the background images...

bug:6482165
Change-Id: I9de5ee9cef446cd07688b40f6b04bdd493e40edd
/external/webkit/Source/WebKit/android/jni/WebViewCore.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/jni/WebViewCore.cpp
0f39f1e7935bcf830614bf1e619b7f787c1859d2 12-May-2012 Mangesh Ghiware <mghiware@google.com> Use slop to determine the node used for anchoring top/left.

Certain sites use tables for layout and padding elements instead of
standard CSS. If the exact scrollX/Y is used to find the anchor,
hit test result may return an incorrect node. A little bit of slop
helps in finding the correct node, if necessary.

Bug: 5291151
Change-Id: I13e8d2b04ef5049c14c299be42c6699c3d0c945e
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
576098317db607e1d3b32a0e53d2551ea0e7ef21 05-May-2012 Nicolas Roard <nicolasroard@google.com> Complete implementation fixed background
- extract image for body background (a lot more memory-friendly)
- implement tiling / repeat
- handles background color

bug:1352305

Change-Id: I0efa27e09416e3c3848a4a53ced650cbb3d9f7ce
/external/webkit/Source/WebKit/android/jni/WebViewCore.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/jni/WebViewCore.cpp
e5c9306b222e597f907697ab28a7936bfc61e487 04-May-2012 John Reck <jreck@google.com> Disable prerenders while scrolling

Bug: 6445656

Change-Id: I3d9e2cece4b3ec86deb00e98ae98f281525dab48
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
e712b54e831d077c789984b8206f64d81dbceaa2 07-May-2012 John Reck <jreck@google.com> Merge "Broaden fast inval path" into jb-dev
d30efeae4fa6b64029cfa478fe80981232f502e5 04-May-2012 John Reck <jreck@google.com> Broaden fast inval path

Bug: 6445600
Clip fast partial invals to the screen instead of an arbitrary size
limit

Change-Id: Iafcbcb427566db87420b8bfc54eb9148530913ce
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
67cb7db03e4f08f46b76d8526aaa62e3725fe79a 04-May-2012 Derek Sollenberger <djsollen@google.com> Merge "Bump WebView font cache size to 1.5MB for better performance." into jb-dev
44fc37bf2a57490f319e5ddd4f692abf235cb9ca 03-May-2012 Nicolas Roard <nicolasroard@google.com> Fixed single-surface rendering with fixed-background elements

In single-surface rendering, we did not paint the surface collection
correctly if there was more than one child on the base surface
(which is the case with fixed-background elements).

Change-Id: I6e8d34630060414159b5f13cd302c1dc2165a048
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
df5b35724c74cc8ac3c497d74c9d4dc449b9073f 03-May-2012 Derek Sollenberger <djsollen@google.com> Bump WebView font cache size to 1.5MB for better performance.

bug: 6226962
Change-Id: I3c705e50b7204df6be732422a8fcacacaf5ce7e9
/external/webkit/Source/WebKit/android/jni/WebViewCore.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/jni/WebViewCore.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/jni/WebViewCore.cpp
a15d30f54c6edc68da7e82c198b5916dd023ac4d 07-Apr-2012 Nicolas Roard <nicolasroard@google.com> CSS Background image implementation

bug:1352305

Change-Id: Id9caaae9b9442729110b52c75004f634d8284db4
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
926718415b221828e223fe24aaf39ae41c6ecd30 19-Apr-2012 Chris Craik <ccraik@google.com> fix minor warnings and style issues

Change-Id: Iaa4b1abeca17df54a4ddd169a3828695b8dcc776
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
d71bb71a2be8c0f7eff98c981a5410aa49e04843 14-Apr-2012 Chris Craik <ccraik@google.com> add basic webview tracing

Change-Id: Id97ce1efab5918802cff5b90c0122b4cc2d7e73d
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
8f05073be1549b39eaf2e0ff3b6fe0f8cae3afcd 13-Apr-2012 John Reck <jreck@google.com> Set initial focus

Bug: 6108927

Change-Id: I150e75a7d1c0d971db03e407a58ba28acbd6283c
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
16e49e63e74d9236b0d8b72846201697a8ebaedc 11-Jan-2012 Ben Murdoch <benm@google.com> Add support for HTML Media Capture "capture" attribute.

Add support in WebKit for the newly specified "capture"
attribute to be used on HTML file pickers. Maintains
support for the legacy implementation of the API
(a MIME type parameter on the 'accept' attribute) for
backwards compatibility. Note the 'capture' attribute takes
precedent over a MIME type parameter.

See http://www.w3.org/TR/html-media-capture/#captureparam
for details.

Requires changes in the framework
(I494adc1274ca21ce8fe52a6c7b6b758217927e66)

and Browser (I38dfe2df043fdba1388384dbd3b5370737eb38e5).

Bug: 5771207
Change-Id: I0a921be31fda79a43c05da4fe22d9c808d92709c
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
137bd73ba09dcb5595235ea4cfaf710866394a6f 12-Apr-2012 John Reck <jreck@google.com> Merge "Cleanup unused code"
09d5ed3cab4f6c40d9e670ea7c748c9e6c729605 12-Apr-2012 John Reck <jreck@google.com> Cleanup unused code

Bug: 6317798

Change-Id: I377753d119d74bbd2569be586d980081f78d15e7
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
0e9cb9c34633be347e4c732c0fa6f055c072fa8d 12-Apr-2012 George Mount <mount@google.com> Merge "Free local references as early as possible."
8266295cc837f73c2bcfbcca3f8b330d4991fc0e 12-Apr-2012 John Reck <jreck@google.com> Merge "New touch input support"
0e0cbf51dbd312e919a6c39620b85305bebf5591 11-Apr-2012 George Mount <mount@google.com> Free local references as early as possible.

Bug 6300264

Change-Id: I29ffffa9be33884a3e6a1c9fc5bb5cac95585cdc
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
b0a1371c1be05ef4e444aae109f794d1f37ca47a 11-Apr-2012 Chris Craik <ccraik@google.com> Merge "Unify composited layer/base layer draw path"
3d7cd084287f1dbc9fee600bf72af88c588a6429 03-Apr-2012 John Reck <jreck@google.com> New touch input support

Bug: 6317798

Change-Id: Idea47af14e282b42c902c8158f08f6742ba576da
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
494de5e407849a3533d56bc3dddc1ca3a8c6f704 10-Apr-2012 Chris Craik <ccraik@google.com> Unify composited layer/base layer draw path

Multiple paths were redundant, as they both synchronized the layers, and drew
the base if needed.

depends on frameworks/base change: https://android-git.corp.google.com/g/#/c/179964/
largely reverts 3adbe453816c9282bfe1d212e813661ce2590955

Change-Id: Ic60f79521dc62e7c2281302bc51a3dfde16d396f
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
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/jni/WebViewCore.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/jni/WebViewCore.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/jni/WebViewCore.cpp
76088175b1505b9730f9a01f4c677641cef72e3a 09-Apr-2012 Victoria Lease <violets@google.com> Merge "reduce JNI usage for findAll()/findNext()"
64e4b265f84573b97d408f7d3e5aa99a647be057 03-Apr-2012 Nicolas Roard <nicolasroard@google.com> Implements a recording GraphicsContext

Change-Id: I41feadb23dce25af321331c459eb159c6141831b
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
1cac813d5b76b0fc74994e4b9775a4e0b1d55a5b 04-Apr-2012 Victoria Lease <violets@google.com> reduce JNI usage for findAll()/findNext()

Bug: 6052412
Change-Id: I76b27408223212090558fa3e7a2c878a97549c2c
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
24667dd680e19d654262f570efeb697dfc87922c 03-Apr-2012 Teng-Hui Zhu <ztenghui@google.com> Merge "Translucent background color support for webview"
afe34397d6d4655c908f0995e760772980722da3 02-Apr-2012 Teng-Hui Zhu <ztenghui@google.com> Translucent background color support for webview

We need to respect the background color set for webview and combine that with
the CSS background.
Since we are tiled based and need to avoid double drawing, we need to determine
the areas not covered by available tiles and draw the background. This involves
a bit computation overhead. Therefore, we only compute those areas when alpha
is between 1 to 254.
When alpha is 255, we just need a glClear. When alpha is 0, nothing need to be
drawn.

Due to the fact that the tile can be partially drawn, texture generator need to
know the background color to clear the tiles for the base layer.

bug:5684832

Change-Id: I51f9d219f2722cc088eeea603623f9660f7a136a
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
96027bf9f9621433909777b481964fdbd9258f85 02-Apr-2012 George Mount <mount@google.com> Don't show keyboard on focus change.

Bug 6270400
Framework Change: I2aa65b405b3a394b55821a4d688afeb22244c2c7

Change-Id: I1f06b7220e22665f5932928855c81eca6534bf2f
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
b872967b3009769a7980ecac8c7f2a2626fd9a88 02-Apr-2012 George Mount <mount@google.com> Remove unused FORM_DID_BLUR hooks.

Bug 6111763
Framework Change: I56a862a6c0f0d7799f4e935bb7f5103bb2edbb9b

Change-Id: I015e1a57e81e897c124af5d96ba76b4d07a381fc
/external/webkit/Source/WebKit/android/jni/WebViewCore.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/jni/WebViewCore.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/jni/WebViewCore.cpp
26496e790276f8dfe693d2b011c8b34c643317cb 21-Mar-2012 George Mount <mount@google.com> Merge "Make paste window and caret handle show up at the right time."
1acf6173ad2e607642c57cf7572354df1f2f3fa8 05-Mar-2012 Jonathan Dixon <joth@google.com> Plumb WebView and WebViewCore thru to MediaLayer

Depends on https://android-git.corp.google.com/g/171224

Changes the plugin code to provide the WebView (not WebViewClassic) jobject
instance into the plugin, as this provides the full public API expected.
As a knock-on, I had to plumb WebViewCore jobject through to MediaTexture
so it can retain the sendPluginDrawMsg() call. This isn't pretty, but in
terms of layering it's no worse than before.

Change-Id: Iaaa6e0c6b65963fedaff078a20477d8595c82a5d
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
389aa1b64f2d8adcd29c3299090aa698ab15641a 19-Mar-2012 George Mount <mount@google.com> Make paste window and caret handle show up at the right time.

Bug 6194009
Framework Change: I460db436bd79d8ff72b457b5878ffe468400031f

Change-Id: I7f8bc7266df52a67245b0a971826fd14e0d715c5
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
e2e14129682e13146903edf80c205b3c90fd6c90 06-Mar-2012 Victoria Lease <violets@google.com> only report actual changes to matchCount

Bug: 6052412

Change-Id: If188ea2e54b52f16767d8df8d66c4a80f5a400c0
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
a9cb027a0b6e5a76a39be3702d3c67f3d162a21f 16-Mar-2012 George Mount <mount@google.com> Update edit text size when the text changes so scroll works.

Bug 6176413
Framework Change: I6b8f244cd747d6d19c261d685a3cfb9ef4d71ec3

Change-Id: I487322ca9578c003f937b92ca4e8d46d34ea8c78
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
96ba0dde7ae9e2db6e4558794e1f57090b5b6c2f 15-Mar-2012 George Mount <mount@google.com> Merge "Scroll cursor with edited text."
af447b49ab0ee7f92bd3bafff01dd22913861b2f 15-Mar-2012 George Mount <mount@google.com> Merge "Add scrolling editable text with a finger drag."
b176ff8873c48c369a77cdf4436991bcb8bbcbae 15-Mar-2012 George Mount <mount@google.com> Scroll cursor with edited text.

Bug 6175492

Change-Id: I0f36e3ff371df1b8941a47ee910c0729cd5a01e1
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
fcfac6621e0fc97bd358b892cdf3acaea4ca33a6 15-Mar-2012 Russell Brenner <russellbrenner@google.com> Merge "Refresh fonts when system locale is changed"
e9fba4d8c72fd8f537f6edd246115bf816ac0033 12-Mar-2012 George Mount <mount@google.com> Add scrolling editable text with a finger drag.

Bug 6156451

Framework Change: I1a16c708e5ea2ef8bd1f99197dacbc7831764ef4

Change-Id: Ie08712fb17b237fbb2d520d745ef8a2e489fd728
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
852a85ba96877ec81137d97c77bce0afb3634968 02-Mar-2012 Russell Brenner <russellbrenner@google.com> Refresh fonts when system locale is changed

When content is cleared, check for locale change and flush internal
font caches, if necessary.

Bug: 5873170
Change-Id: Ifba52e6e827444b41d08f1ca08c3b6f2c9d87462
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
ccd3e08e1b0af988ea7c2571ebe34c0a9a47b2c4 10-Mar-2012 George Mount <mount@google.com> Support "prev" for IME input.

Bug 6152403
Framework change: I6d339d724616b9f156458dd4223d3b991191b13d

Change-Id: I09e5f63d41bb88a632f70b010e8ab4851bf90bab
/external/webkit/Source/WebKit/android/jni/WebViewCore.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/jni/WebViewCore.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/jni/WebViewCore.cpp
ef193cdbf0553b24f23bb9707f7e91259a142673 07-Mar-2012 John Reck <jreck@google.com> Fix cursor rings for buttons

Bug: 6124914

Change-Id: I2a802ac7f83117acdac7d44cb872b9e3c227025f
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
a7151f16f5233a27b2e2ea837ed801e8ac85ccfd 06-Mar-2012 John Reck <jreck@google.com> Support passing focus to the chrome

Bug: 6109044
This is primarily for tab navigation, arrow keys are handled differently

Change-Id: I72968014535afe21bbcb43913bd11cbb676daaf9
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
989ba636e03d366179e058a6386164fcd5022c99 06-Mar-2012 John Reck <jreck@google.com> Fix platformLayerIdFromNode lookup

Bug: 6119014
If the RenderLayer of the node isn't composited, traverse up the tree
until we find a composited parent.

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

Change-Id: I5ed8bb10141907656347e7c667be19b88f407bf0
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
80c50c338a1cdc9295d4f712db8ae624f49d6301 03-Mar-2012 George Mount <mount@google.com> Merge "Fix crash when getting input text on an empty node."
1045cce1e3570e0eba94274e8960e1ed7a2335d0 02-Mar-2012 George Mount <mount@google.com> Fix crash when getting input text on an empty node.

Bug 6109122

Change-Id: I1ecc5a599256dfb4701eb1f57f950b8950acf006
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
a5814187e4b55a2682707ab4d69cdb586c0a9210 02-Mar-2012 John Reck <jreck@google.com> Merge "Fix m.movies.com crash"
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/jni/WebViewCore.cpp
b5f9fc7c5bf10db6f4a97c94f027142a57a5cf36 02-Mar-2012 John Reck <jreck@google.com> Fix m.movies.com crash

Bug: 6105672
Bug was caused by an attempt to get WebViewCore in a frame destructor.
Fixed by adding some shortcuts that do not rely on a valid tree if the
ScrollView given has a platformWidget

Change-Id: I14b4506f621c7234fb1a841d5c9ed14028d0d816
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
9a8423b643a8ce99e5642f2548600f9125382e89 29-Feb-2012 John Reck <jreck@google.com> Fix iframe, for reals!

Change-Id: I588aa5709e7a3c2ced9479c3cf9c1827bf6f7733
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
64e00f75f6cec2df7f1e0f80ba1bb9b833379bd4 01-Mar-2012 John Reck <jreck@google.com> Minor cleanup in PictureSet

Remove unused variable from add()
Switch mArea from SkRegion to SkIRect (we only ever used the region's bounds)
Restrict draw's inval checking to within content rect - prevents an issue where
after scaling/transforms the canvas clip can end up slightly negative, which results
in drawing all the pictures in the list even if we only need to draw a partial inval

Change-Id: Ie6e06437af2e326ee7d9286db65858d8886ec15d
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
0104dd8872053465f6c61881d447239223832be0 29-Feb-2012 George Mount <mount@google.com> Merge "Add support for maxlength text fields to WebViewInputConnection."
51a13477370a2da7ad6ed5015762a4928543ecdc 28-Feb-2012 George Mount <mount@google.com> Add support for maxlength text fields to WebViewInputConnection.

Bug 6083776
Sends the maximum length from WebKit to WebViewInputConnection
so that it can limit the number of characters entered and remain
in sync with WebKit.

Framework Change: I135871db7809e8dc28a3ad8d3aa852976a274555

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

Change-Id: I07ab8c6e7ea1c15181eaaa936968b60f6cdd69a4
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
f4e31f648003cd6873ade49cb7b0766b4898912a 28-Feb-2012 John Reck <jreck@google.com> Merge "Delete navcache native"
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/jni/WebViewCore.cpp
6753735b5cf1b2396d387b9f876a11a5fd2b3c3d 28-Feb-2012 Nicolas Roard <nicolasroard@google.com> Merge "Fix iframe webkit positioning"
a3d6f6aedc8ed044682d65258bb964c64fc7511b 22-Feb-2012 Nicolas Roard <nicolasroard@google.com> Fix iframe webkit positioning

Change-Id: I7b2b3a7312c89bc505d7f629380df0d3f24eee5f
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
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/jni/WebViewCore.cpp
0b19fab9010e8be98e5be962d403eaaa9ea14ba8 24-Feb-2012 George Mount <mount@google.com> Merge "Selection node used for selection region rather than focus node."
cc95248cace682365bf4d69a0b60990799351f33 24-Feb-2012 George Mount <mount@google.com> Selection node used for selection region rather than focus node.

Bug 6059606

Change-Id: I6be963f30adef0c1dab19399d0eb505b4d0452d3
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
773979f92560dd1aead375c82fd75b584a141e5d 13-Feb-2012 John Reck <jreck@google.com> Support address detection

Change-Id: I88b6ebfb4c967e954a2420592a58af3ed188226d
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
b7db22cf52aade90ac9d1fb8eb2f2bf37b711b13 23-Feb-2012 Steve Block <steveblock@google.com> Merge "Drop support for Android HTTP stack"
dfdb101465a930f38ec4294b0b8063c1f0f1bdbc 14-Feb-2012 George Mount <mount@google.com> Add caret thumb following selection handle logic.

Framework Change: I669653ca6890fe1136fdd42e24f4c3a34c00d1e4

Change-Id: I3cb0499c5fa3a7de241025d9be04ff44f54f2a74
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
8b454995ee6b2833d6730c611f979974c5aabdfa 16-Feb-2012 George Mount <mount@google.com> Get input type for text field so that autocorrect works.

Bug 5987568
Get the input type and other necessary information for setting
up the IME.
Framework Change: Ic8c14687a70727148dfc8115c46f09530ca0c0f6

Change-Id: I7eceafdbede8b7b463590a2e875a237241479ad1
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
67e33c4976d10fa2cb6fc55455dc4ba1acf4395e 22-Feb-2012 Victoria Lease <violets@google.com> Merge "scroll page to current match during find-on-page"
b30a0130ada873a717efc22c14ef29cd6d7d9ab7 22-Feb-2012 Victoria Lease <violets@google.com> scroll page to current match during find-on-page

Bug: 6044659

Change-Id: I7e6e59b365aec0b01c41cb80e4c342f39142b867
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
4bcd50196a7fe4c0c909ce6a7cfac6a808336611 16-Feb-2012 Steve Block <steveblock@google.com> Drop support for Android HTTP stack

All future releases will use the Chromium HTTP stack and maintaining two HTTP
stacks adds maintenance overhead. The Chromium HTTP stack requires V8, but we
now use V8 in all build targets (b/5495373), so we can safely drop the Android
HTTP stack.

See corresponding framework change
https://android-git.corp.google.com/g/166325.

Bug: 5495616
Change-Id: I41117b6750fbc1c84cbd4a5951b0d1a457354f93
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
489cc2648aba682fde7acdd19a71631429c5d8f8 22-Feb-2012 John Reck <jreck@google.com> Merge "Improve keyboard navigation cursor rings"
f404d29266675808fffe9d71b065bc03b555b58d 16-Feb-2012 John Reck <jreck@google.com> Improve keyboard navigation cursor rings

Change-Id: I2b11c0b0011104c5a3515ed138a9077dfe8b4ce1
/external/webkit/Source/WebKit/android/jni/WebViewCore.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/jni/WebViewCore.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/jni/WebViewCore.cpp
e3edf5a0c8f1d68b83b51a3534f295bbca322267 14-Feb-2012 Selim Gurun <sgurun@google.com> Clean cached trust state on system storage update.

Bug: 6009802

Cherry pick d61e19d1adc4e5fd664a3a5e5c0fd1141e697345.
When credential storage is updated, reset any states in network layer
that caches information.

Change-Id: Iba4ea75723bbfab24c4ed3107fbaf5f7557c663b
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
9d5e9234a371d13bf55a779a6257ae5e277bfb1b 16-Feb-2012 Steve Block <steveblock@chromium.org> Remove JSC-specific code and V8 guards from Android-specific code

Also removes such code from downstream edits to non-Android-specific code.

Bug: 5495373
Change-Id: I478824af2e6ff0eff9a43a9534c2a5ee0e99e9f8
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
622f6585dfd456dce5ffbf693d3c6601e40e9042 16-Feb-2012 Selim Gurun <sgurun@google.com> Merge "Revert "Clean cached trust state on system storage update.""
d7712e41feaa225f656b1a41d58dd57d5fae884f 16-Feb-2012 Selim Gurun <sgurun@google.com> Revert "Clean cached trust state on system storage update."

This reverts commit d61e19d1adc4e5fd664a3a5e5c0fd1141e697345
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
da43c48a8a46092ef12e8cbabdaecc30b677342c 16-Feb-2012 John Reck <jreck@google.com> Merge "Initial support for keyboard navigation"
80ec17f6451f55bcadd789d4c4b4c6444171d10f 16-Feb-2012 Selim Gurun <sgurun@google.com> Merge "Clean cached trust state on system storage update."
ceeeab6161d7d8bf970ecf98affa4f4966df6f01 06-Feb-2012 John Reck <jreck@google.com> Initial support for keyboard navigation

Bug: 6019693

Change-Id: I7b4f6d83e8913e647e8ac7340afd01d609c4343b
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
d61e19d1adc4e5fd664a3a5e5c0fd1141e697345 14-Feb-2012 Selim Gurun <sgurun@google.com> Clean cached trust state on system storage update.

Bug: 6009802

When credential storage is updated, reset any states in network layer
that caches information.

Change-Id: I551cd84645e40991234b18801216907ae7ab6579
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
af22837a4a9e6f93222ff1c589fccc172814c32d 07-Feb-2012 Mangesh Ghiware <mghiware@google.com> Merge "Add enclosing parent rects to hit test object."
3e70ba631b58e6013759049bad6eaa484a876801 03-Feb-2012 Mangesh Ghiware <mghiware@google.com> Add enclosing parent rects to hit test object.

Walk up the tree from innerNode, and add up to 5 distinct bounding
boxes. These can be used for better double-tap zooming and centering of
text and/or images.

Bug: 5175030
Bug: 5768421
Change-Id: Id8767507127d0394474b7500f9e39a6d59f8eeac
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
dc89611ec5449f3ba2f5a581a0764ffa3929f152 03-Feb-2012 George Mount <mount@google.com> Merge "Use field identifier for content-editable fields."
fb92a24393d8b55d0b0ea5d5d38c686b5eb65f7a 02-Feb-2012 John Reck <jreck@google.com> Fix text selection with one handle off screen

Change-Id: I95ed7c1f33628a1b2f707e458be6fca57b57a3b0
/external/webkit/Source/WebKit/android/jni/WebViewCore.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/jni/WebViewCore.cpp
1bf0080adaf7239946eea0e8ddbbb2272fab0efa 02-Feb-2012 George Mount <mount@google.com> Make sure no text selection change occurs during key press.

Bug 5947031

Change-Id: I9eb52ffa745b010d5ba0bff94704d1579a5257f2
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
3ae2dce4826cc4fc412ccd49ab68bb775c31e6c4 02-Feb-2012 John Reck <jreck@google.com> Fix input cursor

Bug: 5947031

Change-Id: I2bad8ffc9bd53aa3a2405a9b5e21c05486489dd4
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
a21f4ae9448c287a3af2010accf179c8d54dcfe4 01-Feb-2012 John Reck <jreck@google.com> Fix text selection on iframes

Change-Id: Ie1943ef0ba2d353fac20ff67f78a1647921daec4
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
3c841de40c17c9b1f5010880f3551609be51a411 31-Jan-2012 George Mount <mount@google.com> Use field identifier for content-editable fields.

Bug 5946645
Framework change: I0b1c52a6c78f2a2bc16a69fa97f21655af3209d3

Change-Id: I915b49c6161fc0604e584699ec96cc86ba96ac79
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
14fbfc39bce36536e4d7a08303c10a58081f0b87 31-Jan-2012 John Reck <jreck@google.com> Merge "Minor draw extras cleanup and refactor"
6978cfc9ce9dcd4b7c83d9f8b3ecca9cc52474c1 31-Jan-2012 John Reck <jreck@google.com> Support select all

Framework CL: 161649

Change-Id: I16e889da0199c16270ed0576511eb21d63434ff0
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
4b742e0b2c2d5e79a987688fd7d2cce5b0b24842 31-Jan-2012 John Reck <jreck@google.com> Minor draw extras cleanup and refactor

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

Change-Id: I8e2e400940c7c84055aeb2624958aaf47804900b
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
5b3bd4dbbb7d51b2c82d9ca57a2b9da362562697 27-Jan-2012 Victoria Lease <violets@google.com> Do not share SkPicture* between WebViewCore and CachedRoot.

Bug: 5879729

WebViewCore was in the rather naughty habit of forcefully deleting an
SkPicture pointer that was currently in use by CachedRoot on the UI
thread. It isn't even necessary for WebViewCore to hold this pointer
once it has been fed to the CachedRoot, so I have transferred ownership
to the CachedRoot itself, who instead of forcefully deleting the
SkPicture simply unref()s it when it is finished. This addresses the
nasty crashes we've been seeing when the UI thread attempts to do
something with the SkPicture that has been deleted behind its back by
the WebKit thread.

Change-Id: Ifb364f822fc03d2c3813b2edb2b038124c65fc1f
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
b3b661cf872b12dad72f9c3038ceb117d00da572 20-Jan-2012 George Mount <mount@google.com> Fix auto-complete for content-editable fields.

Bug 5608192
Made text edit code also work with content editable
fields. Added content-editable-specific text field
initialization callback into java.

Framework change: I5f1fcc13a0abe204db301e027954dc47c3a48db0

Change-Id: Idcf8d99d9e844669ea68122a7509990f5ce8dcca
/external/webkit/Source/WebKit/android/jni/WebViewCore.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/jni/WebViewCore.cpp
8df0eba6a3a17a722e4501827666ab5d7ae00f92 18-Jan-2012 Teng-Hui Zhu <ztenghui@google.com> Merge "Support javascript to exit full screen video"
65c36511a1774e3cff3aee1d5291d1f1e6867cfc 17-Jan-2012 John Reck <jreck@google.com> Merge "Refactor hit test object"
95740c40dc0b78f1342ec0c257664b4300a07e6b 13-Jan-2012 Teng-Hui Zhu <ztenghui@google.com> Support javascript to exit full screen video

When webkit side receive the webkitExitFullscreen, just send it over to the
java side.

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

Change-Id: Ice2a5ea33458a8bf3e6990e288d94d5f032b0921
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
14be0ec9a67949d5d05e778fefe8d944a74dd486 13-Jan-2012 John Reck <jreck@google.com> Refactor hit test object

Change-Id: I9729ca695fda4eefd3aa57d96a872010a3cfba9a
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
c0bba54444c1fd03d75794b089881f964406d665 12-Jan-2012 Mangesh Ghiware <mghiware@google.com> Merge "Fix use of DBG_SET_LOG in WebViewCore."
8b5da595a35002be0dc5373601efcbd28b569b59 12-Jan-2012 Mangesh Ghiware <mghiware@google.com> Fix use of DBG_SET_LOG in WebViewCore.

This fixes the debug build.

Change-Id: I49b932ec26152d8ade19230e3be0f6a25eb8068b
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
9bce99defc63ccfabdb05a4a0fdb43d4c6447c54 12-Jan-2012 John Reck <jreck@google.com> Move mouse on hit detection

When we do a hit test move the mouse instead of just updating
m_mousePos

Change-Id: Ic7c4dae14e5d93652eed48a040c8d610ae7c8aed
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
16028019750d1910eb9aa60c163f3d5a5b5ae2b3 12-Jan-2012 John Reck <jreck@google.com> Merge "Initial NavCache removal"
8e70c70bd71f58f8092043ce74512c4b53710eee 11-Jan-2012 Chris Craik <ccraik@google.com> resolved conflicts for merge of 9cb81f0f to master

Change-Id: I48fe99559230a14d29821d40369ad762d79ba04a
a263300f202a4456570ae6e29e589b5e85309a7b 20-Dec-2011 John Reck <jreck@google.com> Initial NavCache removal

Change-Id: Id34d3be6b11c4ba77b59dd9fb01a9cc050d581f6
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
b627d5bd0e9b9a4d02131ef694467bfb62b9fb7f 11-Jan-2012 Chris Craik <ccraik@google.com> Fully invalidate the pictureset when content size changes

bug:5759299

Webkit invals aren't correct when the content size changes (even simply growing
vertically), for now just repaint from scratch in that case.

Change-Id: I408b289bfee1139d6c8f3c7babd963d217cb5bc0
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
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/jni/WebViewCore.cpp
5568a9850c798bc4d30002485666c70c055e3457 09-Jan-2012 Steve Block <steveblock@google.com> Merge "Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE"
918301bd6deae5358d1def5459af872f486c9257 05-Jan-2012 George Mount <mount@google.com> Fix delete key with ContentEditable fields.

Bug 5806859
Add deleteSurroundingText to webViewCore to support deleting
multiple characters from ContentEditable fields.
Framework change: I18606014

Change-Id: Ic938d6fa4818bab4bc4188c026b6897d46564255
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
f6b86ce97ca983128ec58f77cb4932774845f072 06-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/157220

Bug: 5449033
Change-Id: I4de9cd9a3bc462c4aead1fbcd4ac0f426556bc59
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
cee3a1401cfbafc3ab1f97ebd50a671bb88324ab 06-Jan-2012 George Mount <mount@google.com> Merge "Remove GET_NATIVE_VIEW from WebViewCore to reduce JNI."
7d99b5804f0800191b03d83fc8f8d2886271475b 06-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF) DO NOT MERGE

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

Bug: 5449033
Change-Id: Ia6cf33690679476e7d39c63fa59505491217fdde
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
88afb38e93a6a445be2209a2ff0d66abb0a2c14e 05-Jan-2012 George Mount <mount@google.com> Remove GET_NATIVE_VIEW from WebViewCore to reduce JNI.

Bug 5827817
Added a nativeClass parameter to all appropriate JNI methods
and used it instead of GET_NATIVE_VIEW to reduce JNI overhead.

Framework Change: I49c7ecfd

Change-Id: I02004fe10a6513d46a51ba4c630d47499d954223
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
5d1753b7f757cd7a2776ddb3852d8765273868a4 16-Dec-2011 Ben Murdoch <benm@google.com> Enable History API. Do not merge.

Cherry pick Ic6b6860ca4bfe891e84fb0445d67c7ea728c6fe3

The HTML5 History API is disabled at runtime by default in WebKit.
Configure it to be enabled.

Bug: 5767904
Change-Id: Ib7374e0145c581588990baec6e67025c1b7ef693
/external/webkit/Source/WebKit/android/jni/WebViewCore.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/jni/WebViewCore.cpp
a466d9662015e0d43457297292264d80c7e3f4d7 16-Dec-2011 Ben Murdoch <benm@google.com> Enable History API.

The HTML5 History API is disabled at runtime by default in WebKit.
Configure it to be enabled.

Bug: 5767904
Change-Id: Ic6b6860ca4bfe891e84fb0445d67c7ea728c6fe3
/external/webkit/Source/WebKit/android/jni/WebViewCore.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
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/jni/WebViewCore.cpp
379587b453a8a48bc0ca02ff5b8ebc489b64fce8 29-Nov-2011 Steve Block <steveblock@google.com> am 9c0e7d80: Merge "Fix WebViewCore::createBaseLayer() to always do a layout and paint the background color" into ics-mr1

* commit '9c0e7d80ade0cc9bbe087838232cd0877fa01a98':
Fix WebViewCore::createBaseLayer() to always do a layout and paint the background color
92aa6da37acade932d9c3c90b1a0511adc2eab75 24-Nov-2011 Steve Block <steveblock@google.com> Fix WebViewCore::createBaseLayer() to always do a layout and paint the background color

It seems that it's not valid to do this only when the base layer's inval region
is not empty.

This is a partial revert of https://android-git.corp.google.com/g/#/c/142481.

Bug: 5501576
Change-Id: Ie608674e0b61e0d6280777583c64499ff5afe8a3
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
928a43ae51e06ad20ac9dcae2b35182fc32dc84e 17-Nov-2011 Russell Brenner <russellbrenner@google.com> Merge "Audit misuse of PassRefPtr"
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/jni/WebViewCore.cpp
6f7f240b12091a6aa7305952771cc8a32d8e3a47 17-Nov-2011 Russell Brenner <russellbrenner@google.com> Audit misuse of PassRefPtr

Reviewed Android code for misuse of PassRefPtr in place of RefPtr.
Also reviewed for PassOwnPtr and found no apparent misuse.

Bug: 5631569
Change-Id: Ib22b340875b1d875091af47cef6510d9c63e351b
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
5fd03af0d9f4f978332fa17a40cc9f782db2432c 25-Oct-2011 George Mount <mount@google.com> DO NOT MERGE Offset scroll area by the scroll origin on Android

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
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
44bed85f240ccdf65de028e6fe2832b390676d47 25-Oct-2011 George Mount <mount@google.com> Offset scroll area by the scroll origin on Android

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
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
d7abaddf5e1d8a8e5caf8c2af18699d98be8b8bf 08-Nov-2011 John Reck <jreck@google.com> am 82ccbd8c: Remove the global button lock

* commit '82ccbd8ce95211b4b5afad6a653462fd3beb771b':
Remove the global button lock
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/jni/WebViewCore.cpp
2df3aefb377b3f3c4af3b548b1980d8c8ae56844 20-Oct-2011 Steve Block <steveblock@google.com> Rename LOGV(_IF) to ALOGV(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/143865

Bug: 5449033
Change-Id: I821098330652380686aca9e83222936bd5678970
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
5718420083b3f3f3e275bd7cc69477634b8f6d3f 20-Oct-2011 John Reck <jreck@google.com> Force a navcache update before requesting keyboard

Bug: 5453541

Change-Id: I209d96d6cd567f7d548549e3e9e5004df045226b
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
7eb15a6b569f79bfddb934615640fd6275218377 14-Oct-2011 Nicolas Roard <nicolasroard@google.com> Improve performances / fixes some glitches

- no layout / bgd color check if no inval on the base layer
- throttle the number of ImageTexture uploaded per draw call
- disable fast layer position update for now

bug:5297559 bug:5421309 bug:5218173

Change-Id: I9ff9867dd3cfc2e0805e378d75ea75667fef8673
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
fe8c4041901372126e1515133637098707a6b18e 12-Oct-2011 Nicolas Roard <nicolasroard@google.com> Fix repaint bug. In some cases when the content size changes, the
inval rects we receive from webkit do not fully cover the area that
changed. For now, fix this by forcing the invalidation of the entire
content (note: we only invalidate the tiles -- we do not force an
actual regeneration of the pictureset for the entire content)

bug:5361852
Change-Id: I682766d0101d4c8b8a38357dc7846c0030c1f9dc
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
12831797a65a96977bbb6e066cc5d258e04e2161 22-Aug-2011 Derek Sollenberger <djsollen@google.com> Delay sending Plugin Draw event until the surface is ready.

bug: 5436630
Change-Id: I058a0d750f185c56c0fe70ac0bff7c9781c35dc8
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
c6f50e73f6d955366562d551b74f347986bcd0c2 07-Oct-2011 Ben Murdoch <benm@google.com> Fix WebViewCore uninitialised data.

Improve WebViewCore initialisation by using the
initialiser list rather than assignment in the
constructor. Ensure that *all* members get an initial
value.

Also remove the WebViewCore::reset(bool) function, that
was only being called from the constructor and so is
now unnecessary.

Additionally remove two completely unused members and one
(m_now) that was being written once but never read (and only
ever behind a debug #ifdef).

Bug: 5399726

Change-Id: I29216737c2406eed1cdc426d011bca0728fdf232
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
3adbe453816c9282bfe1d212e813661ce2590955 05-Oct-2011 Nicolas Roard <nicolasroard@google.com> Streamline the layers update codepath.
Directly update the layers transform and position.
This makes updates faster and less dependent on other webkit work.

counterpart java CL: https://android-git.corp.google.com/g/#/c/139853/

bug:5218173

Change-Id: I03a76ab853e81f0f12177fb785707ffb8dace330
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
b4bf6cc925ee7af6187a0f0124cbc5ef85828c8d 23-Sep-2011 Russell Brenner <russellbrenner@google.com> Limit the number of buckets in a PictureSet

Added MAX_BUCKET_COUNT_X and _Y so that absurdly large pages, such as
those in LayoutTests, don't run out of memory due to millions of
buckets.

Renamed checkDimensions() to setDimensions() and made inval an
optional parameter so that it can be used more generally within
PictureSet to adjust settings.

Bug: 5300146
Change-Id: Ic6c2dc97085ef38d5782aa005b71a6797d165e24
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
41247753e4166d9b2ad11c976b9ff0f9152b4150 19-Sep-2011 Russell Brenner <russellbrenner@google.com> Merge "Check for null selection in modifySelection"
f9dd92fad76a0d3814681715f405f37d61f01f54 13-Sep-2011 Russell Brenner <russellbrenner@google.com> Check for null selection in modifySelection

MoveSelection and supporting routines have appeared in one-off crash
reports for monkey runs. It's not yet clear whether or not these
conditions are human-reproducible, but returning an empty string when
a null selection is unexpectedly encountered in modifySelection()
should make the release build somewhat safer, while asserting in the
debug build.

Bug: 5244036
Change-Id: I4d492286cebf9884da0c675aa71175b8aa39f4b9
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
8e160ba0ba6d87c0cbd5c023b1a4b2d0daf87cc7 16-Sep-2011 Ben Murdoch <benm@google.com> Merge "Fix crash in WebViewCore::scrollNodeIntoView"
238df8af72e1d93e547e14b706765bc369319359 16-Sep-2011 Ben Murdoch <benm@google.com> Fix crash in WebViewCore::scrollNodeIntoView

Fix crash when traversing the node hierarchy. Need to
stop when parent() returns null.

Bug: 5244036
Change-Id: I4120d4b6ea14c0a20c84f6bb789573d03e1915b3
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
36533130543c7c6adaaaeaba3ccfdd4335741794 16-Sep-2011 Russell Brenner <russellbrenner@google.com> Add null checks in getTouchHighlightRects()

Make sure renderer exists before calling it.

Bug: 5300238
Change-Id: Ie01bc1aaab3390d7c82be65a9b1d183167677e3c
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
76859bf6d78119b2bf4fe2aa2c2a4761fa90503c 25-Aug-2011 Kristian Monsen <kristianm@google.com> Closing idle connections, including jni interface

Part of fix for bug 4487538 Current Drain

Change-Id: Ib08ea52c1c71726b76a5811663b6990aa13146ad
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
aea871699cf64ab1d1909fd46a7059d379747919 31-Aug-2011 Nicolas Roard <nicolasroard@google.com> Implement a faster pictureset
Cluster the invalidations in regular buckets

bug:5218173 bug:5145259

Change-Id: Ie3b4be6848b51ca0306bd163803635f9481ace9b
/external/webkit/Source/WebKit/android/jni/WebViewCore.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/jni/WebViewCore.cpp
983aece75ec4a559dcf65890b260976687fa8cc8 24-Aug-2011 Nicolas Roard <nicolasroard@google.com> Limit the number of inval rects we send to the UI

bug:5204192

Change-Id: I5c29e9b2411ac2e05274d9a89c472285ed1aeb67
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
fa807bd31774157959640810e564fbe64338e8e3 12-Aug-2011 Nicolas Roard <nicolasroard@google.com> Implement partial repaint for layers (at the tile level)
Fixes a scheduling problem with layers

bug:3392331 bug:5145259

Change-Id: I2ea2c91f2c6d6f5288375cb5ebdaa69819b740be
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
aed3dd4e3ef38caf950f2ecf858a46e18be0c2bc 09-Aug-2011 Ben Murdoch <benm@google.com> Revert "Disable Crankshaft at runtime for performace testing."

This reverts commit 7178bcff68f2abc8fefe50fa62b7043663034c05.

Bug: 5052287
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
7178bcff68f2abc8fefe50fa62b7043663034c05 28-Jul-2011 Ben Murdoch <benm@google.com> Disable Crankshaft at runtime for performace testing.

Bug: 5052287
Change-Id: Ic2b192a5f22c7bc91b7bc587904452e440cbe505
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
3bbdf589ce4def67f6fa976a6f7b310ed61baff1 07-Jul-2011 Steve Block <steveblock@google.com> Delete a JNI local ref in WebViewCore::openFileChooser()

Change-Id: I3a488125d86a4f8cc63691ae7035cad0eadaf514
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
a5b05f64bda3dea3ba23e77e9eb2ef59812cdc86 27-Jun-2011 Kristian Monsen <kristianm@google.com> Merge Chromium at r11.0.696.0: Just AutoFill => Autofill renaming

Change-Id: Iefb91f0b784c26b503125017ae3582a28e7d530d
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
cd6b6d96802a7827fce97f7ae7efac07c0a5e798 17-Jun-2011 Shimeng (Simon) Wang <swang@google.com> Ignore the initial empty document when setting viewport size.

This fixes the issue where "google legal" dialog will show
empty content, since the initial empty document will get laid
out and used in some circumstances.

issue: 4501857
Change-Id: I779d983f3c81724663391872de81ceed025adec1
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
9a47872451c2be07e2bd88483ba3fc32c8174ee5 13-Jun-2011 Russell Brenner <russellbrenner@google.com> Merge "Add javascript 'select' event"
baaa907099a858a7d17131e26ff4c75bacc75f26 10-Jun-2011 Russell Brenner <russellbrenner@google.com> Add javascript 'select' event

The jni code uses lower-level apis for controlling text selections
that are hard-wired as non-user actions. This change adds an
additional call from the jni code to signal that the selection
changed due to user action.

Bug: 4444489
Change-Id: I5a637ad9826455e21d43d1e28476b1c814cb65f7
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
f39c311e7f4b205e38b987fd23552e7ee8ecb620 10-Jun-2011 Ben Murdoch <benm@google.com> Clarify comments about initialising V8 in WebViewCore ctor.

Change-Id: Icad45701d81d3ff07470ee2f6d2087c3a3252e84
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
6bb74b669eb547680cf7a2938ae392b488bf7c31 08-Jun-2011 Steve Block <steveblock@google.com> Merge WebKit at r82507: Work around a V8 bug

Change-Id: Ia1b847a20bc16091075630655fef79cd90cd8297
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
b0b14195c45ffb5d126d15a9e9fea4b42501f0c8 03-Jun-2011 Steve Block <steveblock@google.com> Merge WebKit at r82507: toInputElement() is now a member of Node

See http://trac.webkit.org/changeset/80811

Change-Id: Icd8612c886ae6caa198c051ecf1d6f2681172387
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
efe71a4f8c22057f6b18aca6c3cd46769d23468c 01-Jun-2011 Derek Sollenberger <djsollen@google.com> Add API to allow plugins to lock their orientation in full-screen mode.

This CL has companion changes in the framework and browser.

bug: 3398386
Change-Id: I3427e61e47b66f4142581fb043eeebc613d71b51
/external/webkit/Source/WebKit/android/jni/WebViewCore.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/jni/WebViewCore.cpp
31afed8bf83b9f656fb76216c2f41e3971ae390d 25-May-2011 Nicolas Roard <nicolasroard@google.com> Merge "Fix the way we maintain the list of Pictures in PictureSet. This improves drawing performances on the base surface by a decent amount."
a65177a6c88816d4319790c570f783ec9957fb5a 25-May-2011 Russell Brenner <russellbrenner@google.com> Merge "merge from honeycomb mr2"
29ce486d7bb8336c3aa85f41189e3d6fb3cc6d56 25-May-2011 Russell Brenner <russellbrenner@google.com> merge from honeycomb mr2

Move check for pending style recalc

The previous implementation had no way to notify the caller as to
whether or not the recording was successful. Now, recordContent
detects the pending recalc and returns null to indicate that no
recording was done.

bug: 4474358
Change-Id: I511d6f1118c0a122ee893167311f3cc82f2cbf7e
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
009b983c891f32393abb660c7ddcba669fbd5b94 19-May-2011 Steve Block <steveblock@google.com> Merge WebKit at r78450: FrameLoader::url() removed

See http://trac.webkit.org/changeset/76872

Change-Id: I54790419f4e3b7dcd1e6123d6ff4bda8d7997066
/external/webkit/Source/WebKit/android/jni/WebViewCore.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/jni/WebViewCore.cpp
3bcfda4ce480ffef2e36188eb0549f7cb292fdb8 24-May-2011 Nicolas Roard <nicolasroard@google.com> Fix the way we maintain the list of Pictures in PictureSet.
This improves drawing performances on the base surface by
a decent amount.

Change-Id: I59b63c0e5748eed2c729024c11a5da390faefda7
/external/webkit/Source/WebKit/android/jni/WebViewCore.cpp
9bbecbe38e6249c7b1c0874e80503f6162f13613 17-May-2011 Ben Murdoch <benm@google.com> Merge WebKit at r76408: Fix calls to RenderLayer::scrollToOffset()

As of http://trac.webkit.org/changeset/76291 RenderLayer::scrollToOffset
only takes two parameters (the x and y offset). Update our callsites to
reflect this. It seems safe to disregard the booleans.

Change-Id: I63bc103e4fc961968055770792aead82be82435a
/external/webkit/Source/WebKit/android/jni/WebViewCore.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/jni/WebViewCore.cpp