• Home
  • History
  • Annotate
  • only in /frameworks/base/core/java/android/webkit/
History log of /frameworks/base/core/java/android/webkit/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
992ceefbcfa3e93bfa735a5c2b75166122b059d8 01-Nov-2012 alanv <alanv@google.com> Fix accessibility API injection.

Also adds a heartbeat check so that if something does go wrong while adding
the JavaScript APIs, we don't attempt to use the JavaScript-based screen
reader.

Bug: 7450237
Change-Id: Ifbce77cf93115f658386c520b8226941607b2afe
ccessibilityInjector.java
ebViewClassic.java
ac6e50a6712706c56a2e1112a594c3ddb69376d7 19-Oct-2012 alanv <alanv@google.com> Catch badly formed URLs in WebView accessibility injector.

Bug: 7206684
Change-Id: I13e8f29043314430ea3fcfa8ab59040136d06e57
ccessibilityInjector.java
4c38e24afb0fe68d6e9f6e924e6426808be2611a 12-Oct-2012 Charles Chen <clchen@google.com> Merge "Don't alter accessibility JS APIs unless a page is about to load." into jb-mr1-dev
03e636f33dfdb2f9438f06997a52b43291a83e41 12-Oct-2012 alanv <alanv@google.com> Don't alter accessibility JS APIs unless a page is about to load.

Previously we were adding and removing the APIs on window attach and
detach, but a page's life cycle is not related to attach/detach. This
patch also ensures that ChromeVox is not null before calling. Includes
formatting fixes and extra comments in the waitForResultTimedLocked
method to improve readability. Fixes parsing of integer resultId, which
was being parsed using Long.

Bug: 7328348
Change-Id: I6b81a8e4d8209f8e99419da9b8250abe57e25048
ccessibilityInjector.java
ebViewClassic.java
b746febca2e3f21704556647cd987fdf902fb779 12-Oct-2012 John Reck <jreck@google.com> Merge "Center text selection point to avoid rounding glitches" into jb-mr1-dev
9fcef3d023c0c1b6acb3cbb93e1f6db60a9c4c8e 12-Oct-2012 John Reck <jreck@google.com> Center text selection point to avoid rounding glitches

Bug: 7313424

Change-Id: I5356bec61e3d1244b506486300f059aa0bba6d9e
ebViewClassic.java
3003bada607b64ecf3a405b48da3528c4331e7c6 12-Oct-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Check whether ChromeVox is ready before attempting to call it." into jb-mr1-dev
87c6f9a528aa921520da596805607caad76143b4 12-Oct-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "This is wrong since it fixed the symptom not the problem. Alan is uploading a correct patch." into jb-mr1-dev
d8faf74662f738e25fdb42f75153112ea9c9f1ce 12-Oct-2012 alanv <alanv@google.com> Check whether ChromeVox is ready before attempting to call it.

Calls to performAction will immediately return false if ChromeVox is not
loaded. Also adds additional debugging output.

Bug: 7328657
Change-Id: I5bd7c69ccc9500cebaa4a8c1bf023794f4eebe2e
ccessibilityInjector.java
d1821cc06f58cc83f1d283b1ce38c947bd55d131 12-Oct-2012 Svetoslav Ganov <svetoslavganov@google.com> This is wrong since it fixed the symptom not the problem. Alan is uploading a correct patch.

Revert "Reducing WebView navigation timeout for accessibility."

This reverts commit 2203cf3f725220e6dc930ee77dbcde4ff7d885b6

Change-Id: I5b2d999851af98acb953529ebfcda608ce27799d
ccessibilityInjector.java
4574df0c1561609785b3ce994c0135276e4d1b4b 12-Oct-2012 clchen <clchen@google.com> Merge "Reducing WebView navigation timeout for accessibility." into jb-mr1-dev
2203cf3f725220e6dc930ee77dbcde4ff7d885b6 12-Oct-2012 clchen <clchen@google.com> Reducing WebView navigation timeout for accessibility.

Reducing the amount of time that WebView will wait before treating
a navigation attempt as failed. This is needed to recover from
cases where the user is attempting to linearly navigate a WebView
that is immediately switched out right as it starts to read.
A good example of this problem is AdMob's WebViews which are
continuously being swapped.

Change-Id: Ib9b4a9b99a35d42920e34e0acbe8ab45e1d47871
ccessibilityInjector.java
96a1b3cf6759970c6d3dc9e9b3762dca74b87193 11-Oct-2012 Jonathan Dixon <joth@google.com> Unhide setPictureListener

The replacement isn't available yet, so we need to leave this in for now.

BUG: 7332831
Change-Id: I311c44c45ef71461572afbe4060d134cdaefd3ae
ebView.java
df313699bad3fba5c7a34934d2ece2896a0dcbbe 11-Oct-2012 alanv <alanv@google.com> Fix WebView accessibility scripts.

Ensures A11y APIs are added to WebView before page loads. Prevents calls
to TTS before init and after shutdown. Ensures calls to TTS are thread-
safe. Activates and deactivates feedback from AndroidVox when view is
attached and detached. Adds a flag for logging debug output, as well as
a lot of debug output.

Bug: 7326781
Change-Id: I5d4ab7f9fb1669f98ef05ae207e897565d3086c9
ccessibilityInjector.java
3f5a59accc76e98366ff47cf52eb766a8d7100ed 28-Sep-2012 John Reck <jreck@google.com> Fix perf regression from scale/density mismatch

Bug: 7242941

Change-Id: I8a45e8ae589cecc6215566b995003b9eefb7827e
rowserFrame.java
ebViewClassic.java
ebViewCore.java
bf6f6f9de72c9fd15e6bda9f228c05a9b37d6324 26-Sep-2012 Jeff Brown <jeffbrown@google.com> Update references to migrated global settings.

Fixed one setting that was migrated but not marked deprecated.

Removed a hidden setting that is no longer used by the new
power manager service.

Bug: 7231172
Change-Id: I332f020f876a18d519a1a20598a172f1c98036f7
niUtil.java
d0b90d30d86679fe52cb1af383900a70fc44cb2a 24-Sep-2012 Kristian Monsen <kristianm@google.com> Hiding a method for JB-MR1

This one got left out in the last round of method hiding.

This got lost in the last round of method hiding.

Change-Id: I3c6aa234dd29933cb32d0cd91830d47289e7e639
ebSettings.java
37563c5249c21b899f254521bc4c06b4f27b13a3 21-Sep-2012 Victoria Lease <violets@google.com> Get your own cursor Drawables, WebViewClassic!

These are shared resources! You can't just animate *everyone's*
cursors!

This is a hand-merge of Icdc86af4fba427a352019cd3e2017f97a3b9fdba
from jb-dev branch. I'm not sure why it wouldn't automerge, as it
seemed pretty straightforward...

Bug: 7110290
Change-Id: I131a611b9e16699a51d3769658f079c2ae4cf262
ebViewClassic.java
9f9d34552f53c534141584a5ad4a8a49ad7939dc 20-Sep-2012 John Reck <jreck@google.com> Use less static synchronized

Bug: 6482144

Change-Id: I86161e3298101c10a112add406615001561e649e
ebViewDatabase.java
ebViewDatabaseClassic.java
ebViewFactory.java
b6610d8289f5c682a7f66d419afcfbd6541d0367 20-Sep-2012 John Reck <jreck@google.com> Merge "Fix DPI scaling on TVDPI" into jb-mr1-dev
6013d8c25b19149de1f57b3a413e3fbd23329d9f 20-Sep-2012 John Reck <jreck@google.com> Fix DPI scaling on TVDPI

Bug: 6891214
tvdpi has a density of 1.3312501 which we fail on as we assume
you can take density and multiply by 100, cast to an int, and
divide by 100f to get back to the original density. Force this
assumption to be true by truncating density

Change-Id: I0caeb7768ee002f935b41c77a5579ffeed491f82
ebViewCore.java
oomManager.java
55bc7efaf9ec91c226bd0d5fe5904f2efa9322d7 19-Sep-2012 John Reck <jreck@google.com> Revert "Test aggressive throttling"

Bug: 7182109
This reverts commit c7c85b34dad5ee722bd9f14318c1e0e4237d529e.

Change-Id: Ibc8837b97450ec6e77a0e9dd509280ff780bb22b
WebCoreJavaBridge.java
ebViewCore.java
c3ff72f5bd5896ad2584e0cc0582cbd2ad8191f2 15-Aug-2012 Elliott Hughes <enh@google.com> Use icu4c for CLDR "yesterday", "today", and "tomorrow" strings.

(cherry-pick of 47a0539ecaf7d7a15008704bd89f748aebf85d47.)

Conflicts:

core/res/res/values/public.xml

Bug: 6811501
Change-Id: Ifb2e030a9fda85a7f664feac812b63e67780e68f
ateSorter.java
4cb846b8defa298fe62e6420d1dcd7d8f65a1d74 14-Sep-2012 Kristian Monsen <kristianm@google.com> Merge "Hiding some of the deprecated android.webkit API's" into jb-mr1-dev
b4c02e6ffd8e7099f925f1b286be5c3a0a8ebb48 12-Sep-2012 Selim Gurun <sgurun@google.com> Minor update to addjavascriptinterface documentation

Change-Id: I67525673e3d061e00fbe8989c08050ad84e78920
ebView.java
4f8da32ffaf7aaf1f670e74caa7cd8a70ddb63c6 12-Sep-2012 Selim Gurun <sgurun@google.com> Merge "Make JavascriptInterface annotation public." into jb-mr1-dev
0efca17105d112a0ff568602831b22bdafa00433 05-Sep-2012 Brian Carlstrom <bdc@google.com> Tracking upgrade to bouncycastle 1.47

Change-Id: I4a3c508c5e65dd46a2df22935b5351092550fad5
ertTool.java
bd0fe8783407bc760b8e9a9952cb96a600d26ea9 12-Sep-2012 Kristian Monsen <kristianm@google.com> Merge "Deprecating methods (and a constant) for JB MR1" into jb-mr1-dev
e91d5bee241f30513b82263bc71b56abfde8ad8d 12-Sep-2012 Selim Gurun <sgurun@google.com> Make JavascriptInterface annotation public.

Bug: 7073422

This change makes @JavascriptInterface public and it requires
using this annotation to allow javascript access to public java
methods for API level JELLY_BEAN_MR1 and above. The behavior
does not change for API levels JELLY_BEAN and below.

Change-Id: I4108b17cf71b9ac273d7b61b1c8f7f5581e922ee
avascriptInterface.java
ebView.java
ebViewClassic.java
79ccb1e8a94eec580eea54db05a7ba246dbf6d92 12-Sep-2012 Selim Gurun <sgurun@google.com> Merge "Deleting the defunct SearchBox interface." into jb-mr1-dev
a7094734ae89e5edf6240f7b7ef9b69b0a49d757 11-Sep-2012 Selim Gurun <sgurun@google.com> Deleting the defunct SearchBox interface.

Change-Id: Iecb698dbe942d3c9680ad1135ba0d604aa211856
earchBox.java
ebViewClassic.java
faed98a161f58441ebce3dcb08cd8bf76a76da4e 11-Sep-2012 Selim Gurun <sgurun@google.com> Merge "Added annotations for injected accessibility objects" into jb-mr1-dev
2fa10c675b42d22e73492154ca0ca1cbdbceaa3a 11-Sep-2012 Selim Gurun <sgurun@google.com> Fix build break

Change-Id: Ib5415bbebb849de23b3ff8533a7c1a98f6ae38f4
earchBox.java
0e9292b94a3cb47374a8ac17f6287d98a426b1a8 11-Sep-2012 Selim Gurun <sgurun@google.com> Remove defunct searchbox implementation from webview.

The search box implementation has not been in use since ICS. This
removes dead code from webview.

Change-Id: I8a28eeeec556619abc4a902a3abec2ac52bad319
rowserFrame.java
allbackProxy.java
earchBox.java
earchBoxImpl.java
ebViewClassic.java
b743a23fc5bce9965c1539c3c8611614424a5aff 11-Sep-2012 Selim Gurun <sgurun@google.com> Added annotations for injected accessibility objects

Bug: 7073422

Provided @JavascriptInterface to methods that are accessible from
js.

Change-Id: If3bf8f5aa2b6ff38fe5358aad534ea31f6f546ae
ccessibilityInjector.java
94740e6c333a109be7516abbd17dd418f23b4f0c 05-Sep-2012 Selim Gurun <sgurun@google.com> Control access to inherited methods of jsinterface objects

Bug: 7073422

Create the plumbing to use an annotation to allow access to
inherited methods of jsinterface objects. The default webview
behavior has not changed yet. However internally an a flag is
introduced to restrict javascript access to methods that have an annotation.

Change-Id: I41927248e6bc4b09d17c0707c60fe5e6ab681e66
rowserFrame.java
avascriptInterface.java
ebView.java
ebViewClassic.java
ebViewCore.java
095e8aa02b02011521183adfa81b6da1a698f42a 11-Sep-2012 John Reck <jreck@google.com> Fix some destroy bugs

Bug: 6961494
Don't call clearHelpers in destroy(). It is already called
in onDetach, which is where it needs to be. It can't be
called by the finalizer

Switch onCancel listener to onDismiss listener. Fixes an issue
where destroying can live the webcore thread hung because onCancel
won't be called, but onDismiss is

Change-Id: I669c389c8c9a81d92c27f88d83bcb711c6c0a5ee
ebViewClassic.java
f4912580e6adc90ab37b07b8108c7334f359e317 16-Aug-2012 Kristian Monsen <kristianm@google.com> Hiding some of the deprecated android.webkit API's

Change-Id: I1775a2ff615d1633fe9a20a5af49623222d3d27b
acheManager.java
ebHistoryItem.java
ebSettings.java
ebView.java
ebViewDatabase.java
5cc2351ded6a13fadcc3bb14fdaf31ac66c05b2d 09-Aug-2012 Kristian Monsen <kristianm@google.com> Deprecating methods (and a constant) for JB MR1

Change-Id: I3eb0eaff5ea5d8984ad143f801efa19e25bd0685
ebSettings.java
ebView.java
4db5d23deab9ea8de34cdb1c56af31e6e3cff79b 07-Sep-2012 Teng-Hui Zhu <ztenghui@google.com> Merge "Back key to dismiss full screen video" into jb-mr1-dev
5558eacfbfb1294912c5dde2179793ccfe2b7324 06-Sep-2012 Teng-Hui Zhu <ztenghui@google.com> Back key to dismiss full screen video

Also cleanup some warnings.

bug:6722752

Change-Id: Ib612cf79e9546d40a048c5f09a1be6ca37ce51f8
TML5VideoFullScreen.java
TML5VideoInline.java
TML5VideoView.java
TML5VideoViewProxy.java
18e876806718e28edaa3cd9bb0262a9b400bc82b 06-Sep-2012 Selim Gurun <sgurun@google.com> Merge "remove defunct javascript interface" into jb-mr1-dev
d773ca8ff2a7a5be94d7f2aaa8ff5ef5dac501a8 05-Sep-2012 Selim Gurun <sgurun@google.com> remove defunct javascript interface

Bug: 7073422

The feature that is using search box implementation was removed from
browser after Honeycomb. This is to remove the js interface that
is added for this feature.

Change-Id: I9441d461caf189467e4ad45de958c13b81f4ff17
rowserFrame.java
1027ed2aca423101b61256b84776008441253221 01-Sep-2012 Adam Powell <adamp@google.com> Make WebView track focal points more accurately

Change-Id: I6683edee6933b1dd026453935d72119320ab3c81
ebViewClassic.java
oomManager.java
fef288b01cdb4cabb651c0fc0434a97bd40f12f6 30-Aug-2012 John Reck <jreck@android.com> am 8f58dfa9: am da5cd308: am ae03afda: Merge "onSavePassword dialog can leak when WebViewClassic is destroyed."

* commit '8f58dfa975d01c5c50de513848a6aa8a4460d32c':
onSavePassword dialog can leak when WebViewClassic is destroyed.
da5cd308028f8f6863bbe3631de91b96802695ec 30-Aug-2012 John Reck <jreck@android.com> am ae03afda: Merge "onSavePassword dialog can leak when WebViewClassic is destroyed."

* commit 'ae03afda41ace0721e48ed15ce35345bfa033116':
onSavePassword dialog can leak when WebViewClassic is destroyed.
8655e9085c30988f9bb8f9b1ec1f102e3d1c199f 30-Aug-2012 Johan Redestig <johan.redestig@sonymobile.com> onSavePassword dialog can leak when WebViewClassic is destroyed.

The AlertDialog creates in onSavePassword method leaks if
WebViewClassic is destroyed when the dialog is shown.

Change-Id: I81f20e1dd138467a6413766c0a081b389b334ae0
ebViewClassic.java
8506ce1a3f427d4c3495d6ec13c1b644aa4701fe 30-Aug-2012 Selim Gurun <sgurun@google.com> Merge "Provide referer to browser on download request." into jb-mr1-dev
a36dcfdfe0e93cf18ae2c98f92625a593d624bb7 29-Aug-2012 Selim Gurun <sgurun@google.com> Provide referer to browser on download request.

Bug: 6662557

Provide a private API to provide referer to browser for download
requests.

Change-Id: I6ff393caa43e16db12fb5dab38f1f26cd76bf232
rowserDownloadListener.java
rowserFrame.java
allbackProxy.java
25b86b6bf01500ecbe686b9cce6872ee3346af47 29-Aug-2012 John Reck <jreck@google.com> Remove dead code

Change-Id: Ice4bf3a94743019a8fc8ab04ee3de19f27a9e2c3
ebViewClassic.java
f920271828f654dec2a72240e73a940247f25315 28-Aug-2012 John Reck <jreck@google.com> Merge "Protect against focus changes after .destroy()" into jb-mr1-dev
1612fab07b36959fe02fa13616f08413abf598ae 28-Aug-2012 John Reck <jreck@google.com> Protect against focus changes after .destroy()

Bug: 7026042

Change-Id: I656b612a4b5304225863d3100a98bf2b97d9890d
ebViewClassic.java
c98b34608b23bf9208520b969d20518253881743 28-Aug-2012 alanv <alanv@google.com> Reload page when A11y is on and the JavaScript state changes.

Bug: 6910403
Change-Id: I85af7d2019a02c1a6cc17b0c4930276b7fb69e33
ccessibilityInjector.java
ebSettingsClassic.java
ebViewClassic.java
5385752829fb9ff791426c26179ff062b763ed29 23-Aug-2012 Ben Murdoch <benm@google.com> Make SslErrorHandler ctor public/@hide.

Allow WebViewProvider implementations to subclass SslErrorHandler
but at the same time maintain API compatibility by @hide'ing the
constructor.

Bug: 6238802
Change-Id: I5de268364ed74e59f62439b8612ab682656a7906
slErrorHandler.java
2433fe9f04caa4257f7313a41d3bbae90ca2fe23 22-Aug-2012 Ben Murdoch <benm@google.com> Make HttpAuthHandler ctor public/@hide.

The Chromium WebView Provider needs to subclass HttpAuthHandler
so that we can adapt a ChromHttpAuthHandler into an
android.webkit.HttpAuthHandler. Currently the constructor (that
does nothing) is package private. So to satisfy the subclass
requirement, make it public, and to satisfy the API, make it
@hide.

Bug: 7034995
Change-Id: I9846aecacce078696db5be709394afb980eb25a6
ttpAuthHandler.java
92b81a3e4b793aa139c002c110dae4285240412f 22-Aug-2012 Selim Gurun <sgurun@google.com> Fix onFindResultReceived API

This is to fix open source bug 36509, i.e.
http://code.google.com/p/android/issues/detail?id=36509
the parameters are swapped.

Change-Id: I6245d254943c7c97e847a241d0069d85118763f7
ebView.java
a6d16993eb6b8834095b8e308523b2d28259e430 22-Aug-2012 Selim Gurun <sgurun@google.com> Merge "Small tidy up to getDefaultUserAgent. DO NOT MERGE" into jb-mr1-dev
951fcabef694ce3a78c1e7a8d03a27bd337db021 21-Aug-2012 Jonathan Dixon <joth@google.com> Small tidy up to getDefaultUserAgent. DO NOT MERGE

- no need for WebSettings to bounce via WebView to get to the factory
- move this static (non-factory) method into the Statics inner class.

Bug: 6329117

Clean cherry pick: d1c4faa5a4c2be71d529d35572c5f807beee7ddc

Change-Id: I96807df0171c7308421ca8811cfcb1bf710cb007
ebSettings.java
ebView.java
ebViewFactoryProvider.java
9d5e7aa38d5945b98aa9e193a37242cc1db35422 07-Aug-2012 Mikhail Naganov <mnaganov@google.com> Implement WebSettings.{get|set}TextSize via {get|set}TextZoom. DO NOT MERGE

TextSize is deprecated, so we wouldn't expect from WebViewProvider
implementations to re-implement it in some other way than Android WebView does
it. This also makes recently added TextSize.getValue method redundant.

Clean cherry pick: 1202d66f78fb24850b997e37f0ce3cb3b36e4bbf

Change-Id: Ib6aecb187f10ac3ec5d12cb839cb814ec0c564fe
ebSettings.java
ebSettingsClassic.java
c2cb8d226399c3cb93bad7008b4049d493d4f1d2 21-Aug-2012 John Reck <jreck@google.com> Merge "Support scrolling layers with the mousewheel" into jb-mr1-dev
f2e6115404dbd211ddef223e2b380cefd999aac4 21-Aug-2012 John Reck <jreck@google.com> Support scrolling layers with the mousewheel

Bug: 6635437
Fix onGenericAction to support scrolling layers.
Calling startScrollingLayer detects if there is a layer under
the mouse pointer, and if so switches to DRAG_LAYER_MODE. Then, calling
doDrag will correctly handle scrolling the layer in DRAG_LAYER_MODE,
switching out of DRAG_LAYER_MODE when we hit the end of a layer, and
scrolling the page if there isn't a layer. It is the method used
by the touch drag path.

Change-Id: I00be09a63c40caa8fce94134c57db0894a62fef0
ebViewClassic.java
9af67e8f6c7dd98baa6232ff2cda97510b827637 20-Aug-2012 George Mount <mount@google.com> Merge "Add getDefaultUserAgent to WebSettings." into jb-mr1-dev
98365d7663cbd82979a5700faf0050220b01084d 20-Aug-2012 Jeff Brown <jeffbrown@google.com> Refactor for multi-display support.

Split WindowManagerImpl into two parts, the WindowManager
interface implementation remains where it is but the global
communications with the window manager are now handled by
the WindowManagerGlobal class. This change greatly simplifies
the challenge of having separate WindowManager instances
for each Context.

Removed WindowManagerImpl.getDefault(). This represents the
bulk of this change. Most of the usages of this method were
either to perform global functions (now handled by WindowManagerGlobal)
or to obtain the default display (now handled by DisplayManager).

Explicitly associate each new window with a display and make
the Display object available to the View hierarchy.

Add stubs for some new display manager API features.

Start to split apart the concepts of display id and layer stack.
since they operate at different layers of abstraction.
While it's true that each logical display uniquely corresponds to a
surface flinger layer stack, it is not necessarily the case that
they must use the same ids. Added Display.getLayerStack()
and started using it in places where it was relatively easy to do.

Change-Id: I29ed909114dec86807c4d3a5059c3fa0358bea61
ebViewClassic.java
9f410c540ad593dd83e34266ccffd70867a600ab 11-Aug-2012 George Mount <mount@google.com> Add getDefaultUserAgent to WebSettings.

Bug 6329117
Add ability to get the default user-agent without creating
a WebView. The method is implemented for WebSettingsClassic.

Change-Id: Id15fb57f65875752ccf644481a22b88644635f5d
ebSettings.java
ebSettingsClassic.java
ebView.java
ebViewClassic.java
ebViewFactoryProvider.java
b5622dad6561482ddd331bd826689634b5fa2c4f 17-Aug-2012 John Reck <jreck@google.com> Remove checkThread() from findAddress

Bug: 6811978
This doesn't need checked thread safety - static util methods should
be thread safe.

Change-Id: Ib652d74ced66e3fa332464106a38522cd941a4cd
ebView.java
7bf70dd1ac9f1e6968a34d44f7e546a92b08cb58 16-Aug-2012 Steve Block <steveblock@google.com> Merge "Fix alpha value for device orientation" into jb-mr1-dev
d5be055f79615e2b80fb3fe92a35db2bc84c023d 15-Aug-2012 Steve Block <steveblock@google.com> Fix alpha value for device orientation

This seems to have been incorrect since this code was first written for HC. I
can only think that the error was made due to confusion between portrait and
landscape mode as development switched from phones to tablets.

Tested on stingray and prime.

A similar fix will be required for Chrome.

Change-Id: I5da13c489fdb9de340b9e6ea8868c9f1adc15bb2
eviceOrientationService.java
524c878e7ee8aba1a4e1be0d2cc76ef42e8fcda1 16-Aug-2012 Michael Jurka <mikejurka@google.com> Revert "Merge "Reload page when A11y is on and the JavaScript state changes." into jb-mr1-dev"

This reverts commit 6d00c724330702c6bfd2bba2b7b2501fa3ab62ff, reversing
changes made to 41bfb75f7c76588239ed5d2d4e38aeb1762ff348.
ccessibilityInjector.java
ebSettingsClassic.java
ebViewClassic.java
6d00c724330702c6bfd2bba2b7b2501fa3ab62ff 16-Aug-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Reload page when A11y is on and the JavaScript state changes." into jb-mr1-dev
41bfb75f7c76588239ed5d2d4e38aeb1762ff348 16-Aug-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Only inject accessibility when speaking service enabled." into jb-mr1-dev
21029db15769c9d57ffb972fb846e574ef2376ad 15-Aug-2012 George Mount <mount@google.com> Merge "Number and telephone inputs -- use "Go" instead of "Next"" into jb-mr1-dev
68c0c12631276a9dbb9040b4cd4b0b6e9ff3e8c9 15-Aug-2012 George Mount <mount@google.com> Number and telephone inputs -- use "Go" instead of "Next"

Bug 6988736

Change-Id: I36e85832bdd53ea0f7eb422104966b403b8fbcdd
ebViewClassic.java
c723e35336e764a1e708f1a4a8ee3f7bff711c0f 14-Aug-2012 Steve Block <steveblock@google.com> Clean up JavaDoc for CookieManager

Bug: 5461416
Change-Id: I0ae09943007cf3866daad97a76f5008e61c471ed
ookieManager.java
ebView.java
27f3e32ee181ccd809fbe74ec5f7fb43aea197f7 23-Jul-2012 Steve Block <steveblock@google.com> Clarify JavaDoc for WebView.loadData()

Bug: 5461416
Change-Id: I3f0955677ea64bb4073c97aabea34096298cd710
ebView.java
fdfd0d853539399429119a013985ef024254f4dc 10-Aug-2012 alanv <alanv@google.com> Only inject accessibility when speaking service enabled.

Bug: 6922883
Change-Id: I48d03a2da9bcf7375156c84219802bf20af4ddc6
ebViewClassic.java
92a5be96d8af6a47e31b8db9467123292ea73fb0 10-Aug-2012 alanv <alanv@google.com> Reload page when A11y is on and the JavaScript state changes.

Bug: 6910403
Change-Id: I0965d76e76282736d053947eb96be0af32fd6001
ccessibilityInjector.java
ebSettingsClassic.java
ebViewClassic.java
daceb30bf5e54aeb73a3909a26f51322d3f8efdc 03-Aug-2012 George Mount <mount@google.com> Merge "Cancel handler for JS unload handler prevents hang." into jb-mr1-dev
df9cae4de32039d518974794641b301ee3406a1b 03-Aug-2012 George Mount <mount@google.com> Cancel handler for JS unload handler prevents hang.

Bug 6803309
When the alert dialog raised by the JS unload handler was pressed
outside the alert region, it was canceled and no response was
sent back to WebViewCore. This captures the cancel event so that
WebViewCore doesn't hang.

Change-Id: I0c125e759a252a803c2c77aa9533adef7fa82d3d
allbackProxy.java
a99dbde643da3c89ea08f65a82c454b9c21fe717 02-Aug-2012 George Mount <mount@google.com> Don't restart input in the middle of a batch.

Bug 6854156
setComposingText is in the middle of a batch and it was resetting
the InputConnection. When the batch ended, it was closing a
batch that wasn't open on the new InputConnection. The reset
turns out not to be necessary anymore -- the LatinIME respects
the content when setComposingText fails to change anything.

Change-Id: If3352b32ed7b3c90c8dcb3d5ff8d308e82849d85
ebViewClassic.java
778029e5c62c414c958d2bc15e35c301a92c95cd 01-Aug-2012 Teng-Hui Zhu <ztenghui@google.com> Add license info to the HTML5Video files.

Change-Id: I44775bcdcc48d2c024b086098e140dae92f53339
TML5VideoFullScreen.java
TML5VideoInline.java
TML5VideoView.java
75bea2e8d35044233ba892bedf102ed08406d653 26-Jul-2012 Scott Main <smain@google.com> am 7c00f816: am 2f5b61a7: Merge "docs: fix a bunch of links from javadocs to api guides and add some attributes to Spinner and Switch" into jb-dev

* commit '7c00f81606de1880c3f28e54cea064c3b90da3e7':
docs: fix a bunch of links from javadocs to api guides and add some attributes to Spinner and Switch
500b003ff14b8a5aee2927bb577ab68d71ccfc12 25-Jul-2012 Mikhail Naganov <mnaganov@google.com> Improve JavaDoc for cache mode constants.

Bug: 5461416
Change-Id: I26c48a6428ff1afb5346eeaa02c5ca74ec95173c
ebSettings.java
4c359b76f9a030f92a302ba74a528faa170bad4e 25-Jul-2012 Scott Main <smain@google.com> docs: fix a bunch of links from javadocs to api guides
and add some attributes to Spinner and Switch

Change-Id: If015ad000c1a36e19904c132e98ebff1ceaf718b
ebView.java
85d28a00043e5985b11f517031d7b2317ac19e10 24-Jul-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Replace left/right with start/end for Gravity / LayoutParams / Padding"
46ce1db6ff3290b82b12f11715fbe82734a44322 17-Jul-2012 Steve Block <steveblock@google.com> Improve JavaDoc for HTTP basic authentication methods

Bug: 5461416

Change-Id: Ie3bfbf6acde34ea184aa8c8b1d3841e2a2aa8a22
ttpAuthHandler.java
ebView.java
ebViewClient.java
ebViewDatabase.java
219dfa4d392851c1ffd7147cb78d4236658a79d8 20-Jul-2012 Steve Block <steveblock@google.com> Improve JavaDoc for saved form data

Change-Id: I962df5678081920c30f8a2b1fe79389f702ef3fb
ebView.java
ebViewDatabase.java
32fe410a5d750096dfb902fda384e58e513f53e4 17-Jul-2012 Steve Block <steveblock@google.com> Improve JavaDoc for saved username/password pairs

Change-Id: Ief079666eb1250f0a57089c778669b638a259194
ebView.java
ebViewDatabase.java
e09e976dad1d974ca28381451b0bbbeafbb872d5 19-Jul-2012 Ben Murdoch <benm@google.com> Allow switching to the Chromium WebViewFactoryProvider at runtime.

Currently, WebViewFactory is hardcoded to always load
android.webkit.WebViewClassic$Factory. This change allows us to
load the Chromium powered WebView by setting the
"webview.use_chromium" system propery to true.

Change-Id: Icebfc4d5c4a61230c5e5dccac1ec5eca59f650ac
ebViewFactory.java
0e5b160418dad25b9e7125d2533cc8770b1cd9c6 18-Jul-2012 Teng-Hui Zhu <ztenghui@google.com> add a webview API to support media play without user gesture

bug:6806306

webkit change: https://android-git.corp.google.com/g/#/c/208568/
Change-Id: Ic70e5d3f152a7e8d8fdfa1d6f89f96c8cd3c7075
ebSettings.java
ebSettingsClassic.java
aac0d4ed026d1cfbcf3fa81c6e4eb96f4347ca17 20-Jul-2012 Fabrice Di Meglio <fdimeglio@google.com> Replace left/right with start/end for Gravity / LayoutParams / Padding

- see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)

Change-Id: Id9af5375fb9b0edeae5232c77e52ecd497bd2e67
oomControlEmbedded.java
4635dc23dc14ad6d67be711c463ca60d850bac2d 20-Jul-2012 John Reck <jreck@google.com> Bump PREVIOUS_VERSION

Change-Id: Idf2586a7062726f60d3a6c1b75f75fde8fc9c550
ebSettingsClassic.java
60620a23996d7e6de72834bebde3b3c57981e219 19-Jul-2012 Steve Block <steveblock@google.com> Merge "Update JavaDoc for PictureListener after fix to capture layers"
b077e243ba18fcd1eea3d3e88bc72a9a86728b96 19-Jul-2012 John Reck <jreck@google.com> Merge "Test aggressive throttling"
72498edd88557218f1b72454c84ec2a2630beab6 17-Jul-2012 Steve Block <steveblock@google.com> Update JavaDoc for PictureListener after fix to capture layers

Bug: 6389297
Change-Id: I970942f926effbb072ae306c994d25c0e77e3810
ebView.java
f6468ca4dc66c48098874d12f605e14ba77b93e5 18-Jul-2012 Jonathan Dixon <joth@google.com> Merge "Remove deprecated methods from webview provider interface"
6bcb45934e41f7e207c3b3ae819cd6783f765595 17-Jul-2012 Steve Block <steveblock@google.com> Merge "Improve JavaDoc for WebView.restoreState()"
42499061be34c6173aa3a55b1acf59d876114030 17-Jul-2012 Steve Block <steveblock@google.com> Improve JavaDoc for WebView.restoreState()

Change-Id: I01b3f8ac78b08ef0a6f563fa63978934a23fd183
ebView.java
19274f5a86d30c5ec8bc94bdcc2454f84e17c87e 13-Jul-2012 Jonathan Dixon <joth@google.com> Remove deprecated methods from webview provider interface

As these methods are a no-op, no need to foward it to the provider.
Also fixed some missing @Override annotations.

Change-Id: I6ba87cea49d95499de3f62db85c6f6947634bb6f
ebView.java
ebViewClassic.java
ebViewProvider.java
d442aaeb46ea0496611eca8510fa5bf92f306a94 13-Jul-2012 Chris Craik <ccraik@google.com> Merge "Don't attach functor for SW layers"
793b7f84541206600fd7792446b75716b046099e 12-Jul-2012 Chris Craik <ccraik@google.com> Don't attach functor for SW layers

Change-Id: I60fec1629bf1e343a0d69e0ce13a3d632c3f713d
ebViewClassic.java
5a9bb64eaf9672032caf2c4b276477ae9002f07a 11-Jul-2012 Teng-Hui Zhu <ztenghui@google.com> Merge "Release the media player when trimming memory"
156f97b6c8580b790600b09b679b9dab8b271c5d 10-Jul-2012 Teng-Hui Zhu <ztenghui@google.com> Release the media player when trimming memory

Change-Id: I2bb2880546311761fc38d6208de080a66216fa2f
TML5VideoView.java
TML5VideoViewProxy.java
ebViewClassic.java
f27ac09501dfcf12668c8144fbc8cc041b872388 28-Jun-2012 Selim Gurun <sgurun@google.com> Update documentation to clarify AppCache usage

Bug: 5869022
Change-Id: I5830583b6c68128cbfda0e61cd6f031702faebf5
ebSettings.java
3b2fb7b2d13bbd9fba9ee3a8e07aa89d9eb7b15f 10-Jul-2012 Selim Gurun <sgurun@google.com> Merge "Fix onReachedMaxAppCacheSize callback"
b632adfaf445ff6f0c07bfc54671d204ad0e5a67 28-Jun-2012 Selim Gurun <sgurun@google.com> Update documentation to clarify AppCache usage

Bug: 5869022
Change-Id: I46abecfb0e8975cc924458f444f95cdabaa3f712
ebSettings.java
ebStorage.java
c86bec97279c4a5872d78fe371577748ddf43dcf 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: Iee11f40aa9635eaa22e237d4ddfb98792c977497
ebChromeClient.java
ebViewCore.java
a64c779cdb0150732b1c914fc39117845c24b68b 03-Jul-2012 Jonathan Dixon <joth@google.com> Merge "Make WebHistoryItem constructor public and hidden"
c3a2858de909145a382e7932d5fb044e1388c0b3 01-Jun-2012 Teng-Hui Zhu <ztenghui@google.com> Avoid redundant reload in inline mode after exit from full screen.

bug:5710646

First, if we exit the full screen mode while playing, we can continue to play
in inline mode.

If it is paused, then we can avoid a reload if user try to play the same video
again after the full screen mode.

webkit change:
https://android-git.corp.google.com/g/#/c/202138/

Change-Id: Ia69fa22a50d916cd8dd2b995cf3531fe9b637531
TML5VideoFullScreen.java
TML5VideoInline.java
TML5VideoView.java
TML5VideoViewProxy.java
ebViewClassic.java
ebViewCore.java
5048cd77dc439446fe3da2a8186bceb25a84e9b3 22-Jun-2012 George Mount <mount@google.com> Merge "Remove unused ENABLE_ANDROID_INSTALLABLE_WEB_APPS"
d594047f8f9e64cf9307a49e41ededd4d4fe0f5a 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.
WebKit change: I16d8c457a3f08996bc66401b241fe0db5a118975

Change-Id: Ibf046337cdabb9bee9cff8e3d77d9f69a59ecb15
allbackProxy.java
ebChromeClient.java
ebViewCore.java
f360ae50706218ffbbc2ada93b849512ccab1a31 21-Jun-2012 George Mount <mount@google.com> Remove password change from updateTextfield.

Password field change is no longer needed as it was used
previously in WebTextView and is not needed without it.

Change-Id: I7d5dc39825ee9eae77733d2a9560669cfe70ecf2
ebViewCore.java
5b0c36ab3062d160328faaa6075324378985f7cc 19-Jun-2012 Jesse Greenwald <jgreenwald@google.com> Make WebHistoryItem constructor public and hidden

The Chromium WebView implementation needs to be able to extend this
class.

Change-Id: I2496f6ab5e3eda13d8e1b39e48ef5a420e9db4ca
ebHistoryItem.java
880c5f5aea737aee885bc4abee76c11db565f9d7 19-Jun-2012 Steve Block <steveblock@google.com> Merge "Document missing default values in WebSettings"
b0e0f334422e25542e48901c8451e51c8efab590 13-Jun-2012 Steve Block <steveblock@google.com> Document missing default values in WebSettings

Bug: 6641511
Change-Id: I21e02a8467ee5efd104ec9da5751785284369b9d
ebSettings.java
d4387106850f26ecf593aa2abedc628ee5d339b7 19-Jun-2012 Steve Block <steveblock@google.com> Merge "Clarify JavaDoc for setting database paths in WebSettings"
3281c38ec4bf53731df2ccc18f65b469ee52720b 15-Jun-2012 George Mount <mount@google.com> Broaden allowed selection criteria so selection doesn't disappear.

Bug 6675572

Change-Id: Ic69caac431539247d440c6bac08a3038e8641e99
ebViewClassic.java
ce252553fdb4f142f24931d83399b5a59fc93775 18-Jun-2012 Svetoslav Ganov <svetoslavganov@google.com> am 05fa21fa: am 4cb3b76c: Merge "Ensure WebViewClassic calls super.onHoverEvent()" into jb-dev

* commit '05fa21fa77962d302b040f66a1785e0dd84f3e0a':
Ensure WebViewClassic calls super.onHoverEvent()
eaef0d8bb53f6ebe3977c535578e0e634f169a55 18-Jun-2012 Teng-Hui Zhu <ztenghui@google.com> am c1d3b23b: am 2075f2d3: Merge "Notify Java side to start when transition into full screen mode without a reload." into jb-dev

* commit 'c1d3b23b54bb044bc2fbff83f1a3816b3a0f276b':
Notify Java side to start when transition into full screen mode without a reload.
b90ed58f61f4a8dcbdb0c39a8fdb3875c23c36a4 18-Jun-2012 George Mount <mount@google.com> Merge "Don't rely on focus change to detect edit-type selection."
4cb3b76caa004867bac43f0001072e24bfa8c120 18-Jun-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Ensure WebViewClassic calls super.onHoverEvent()" into jb-dev
eebebc9ff66808d738fbbaec6c3f1b16dc07d362 16-Jun-2012 alanv <alanv@google.com> Ensure WebViewClassic calls super.onHoverEvent()

Bug: 6679763
Change-Id: I9b182f25fa1c4050ea3a046c896e82ffbb4651ad
ebView.java
ebViewClassic.java
2075f2d3e486b565c9abd2556d81dfb1449f6efb 15-Jun-2012 Teng-Hui Zhu <ztenghui@google.com> Merge "Notify Java side to start when transition into full screen mode without a reload." into jb-dev
6a9586bc57b162a2d68dd3e417f0fd43d8932fd0 15-Jun-2012 Teng-Hui Zhu <ztenghui@google.com> Notify Java side to start when transition into full screen mode without a reload.

When video start in inline mode, and then transition into full screen mode, the
video is still playing, so we need to notify the player, such that the controller
can get the state correctly.

bug:6675847

Change-Id: Ib5f712ca91fe1c374dcc20de996dac6ff7b9e983
TML5VideoFullScreen.java
TML5VideoViewProxy.java
c7c85b34dad5ee722bd9f14318c1e0e4237d529e 15-Jun-2012 John Reck <jreck@google.com> Test aggressive throttling

Change-Id: Idebb269ae2c619db626aa5dfcf8443e731b27895
WebCoreJavaBridge.java
ebViewCore.java
4212a188906a1bcf06fccfe53eef8550d0a51213 15-Jun-2012 George Mount <mount@google.com> Don't rely on focus change to detect edit-type selection.

Bug 6675316

Change-Id: Ib263a2d6c0a24c9c51363e42c0b44385d8afbc1d
ebViewClassic.java
c0c66d33a81c5368929b76ac84a285154efe0ddb 15-Jun-2012 John Reck <jreck@google.com> Merge "Remove unused"
9bec724d9049d9106ea68af5668a4081cb5f4d1b 15-Jun-2012 Svetoslav Ganov <svetoslavganov@google.com> am 42fb511f: am 2657a59f: Merge "Add support for NEXT_HTML_ELEMENT to WebViewClassic." into jb-dev

* commit '42fb511f1b5dd399bda3cd9fb3896bfe428a7837':
Add support for NEXT_HTML_ELEMENT to WebViewClassic.
2657a59f54e316ca11d7d9adf648e7001960f469 15-Jun-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Add support for NEXT_HTML_ELEMENT to WebViewClassic." into jb-dev
c0dc36d19e91d83a23114f7cc3f9976c7d1593bb 15-Jun-2012 John Reck <jreck@google.com> Remove unused

Change-Id: If75de601f2fcf6309897f2005d505082e8cd4934
ebViewCore.java
6df7343222298ed733385eea3383e4a84a52762c 15-Jun-2012 Svetoslav Ganov <svetoslavganov@google.com> am b6b2af3c: am 9add5654: Merge "AccessibilityInjector should return false on a failed action." into jb-dev

* commit 'b6b2af3cd182141030d6ffa8540d99058978e2d8':
AccessibilityInjector should return false on a failed action.
0777558f0365d8020693109118bd92994b0ec8b1 15-Jun-2012 George Mount <mount@google.com> Merge "DO NOT MERGE Respect the "Make password visible" setting." into jb-dev
dcd3f3757c69f48e9cd932789097300f6e8087c6 15-Jun-2012 John Reck <jreck@google.com> Merge "Fix doc link"
f2361156c4aee3dad26f25c410fcf255656922d1 15-Jun-2012 John Reck <jreck@google.com> Fix doc link

Change-Id: I5d2e6f04ed0ece6bf66b0b969c345108a1d372c5
ebView.java
8bab6de6e2c3af2d6fac0ebd06bcdb71a5d65b03 15-Jun-2012 alanv <alanv@google.com> Add support for NEXT_HTML_ELEMENT to WebViewClassic.

Bug: 6663344
Change-Id: Ieb48998e3af12916fe499a12d5bf7a767df8d05b
ccessibilityInjector.java
ccessibilityInjectorFallback.java
89654a8f69579225f4848a64c0cb7d3f264b5c70 14-Jun-2012 George Mount <mount@google.com> DO NOT MERGE Respect the "Make password visible" setting.

Bug 6667146

Webkit Change: I95ffcfa6fa47baad60b1af55f84bee35dfcc7972

Change-Id: I7fc107b02f73f4c54e8fe66484038ea9d7b69d61
ebSettingsClassic.java
e579f4b78171b41e74810a3745a40c0476d5f831 15-Jun-2012 George Mount <mount@google.com> Merge "Respect the "Make password visible" setting."
e526f14e3bc6b82e7977708c13683b21a0df7935 14-Jun-2012 John Reck <jreck@google.com> Merge "Show WebView layers in hierarchyviewer"
94c1d843cb85917ef47a3f2da374156269316d9f 14-Jun-2012 George Mount <mount@google.com> Respect the "Make password visible" setting.

Bug 6667146

Webkit Change: I95ffcfa6fa47baad60b1af55f84bee35dfcc7972

Change-Id: I7fc107b02f73f4c54e8fe66484038ea9d7b69d61
ebSettingsClassic.java
926cf56676d760579573470c7848dbf119a86779 14-Jun-2012 John Reck <jreck@google.com> Show WebView layers in hierarchyviewer

Change-Id: I373e084d236baafe17982cfc367d167b81ca3e20
iewStateSerializer.java
ebView.java
ebViewClassic.java
ebViewProvider.java
72ca7a45ac4a911435a60361964a15045515eaf5 13-Jun-2012 Steve Block <steveblock@google.com> Clarify JavaDoc for setting database paths in WebSettings

Bug: 6641511
Change-Id: Id6a78440c1b7a4a69140be878bfa22b9cd8631fd
ebSettings.java
1cc2374f289a6316a907d5e90ee1ba89130fced9 14-Jun-2012 John Reck <jreck@google.com> am d6bcfeb5: am d54d7cfe: Merge "Call WebView.performLongClick instead of performLongClick()" into jb-dev

* commit 'd6bcfeb5e9bd5d198d81d48bf817e7f028e4e384':
Call WebView.performLongClick instead of performLongClick()
d8058ca556bc999a10b3da2008b1cc97856f75cc 14-Jun-2012 Svetoslav Ganov <svetoslavganov@google.com> AccessibilityInjector should return false on a failed action.

1. AccessibilityInjector was returning true even if the underlying
JavaScript was not loaded/failed. This may lead to TalkBack getting
stuck in a web view. To avoid this TalkBack requires gran1ularity
change when getting into web view. This is neither advertised nor
shown in the tutorial and which is worse it is inconsistent with
the traversal of the app.

Now if the action fails, false is returned and also the timeout for
handling the action request is increased to 5s. Upon the completion
of this timeout TalkBack may decide to show a wait dialog or just
skip the web content. We are treating this as an ANR.

bug:6663344

Change-Id: Idf3d08fe928c495bb974a127f853de6f938e2f77
ccessibilityInjector.java
a8ae3e94c4b26ec0f1ee6deb1e41abe1a0697a94 13-Jun-2012 John Reck <jreck@google.com> Call WebView.performLongClick instead of performLongClick()

Bug: 6656538
Due to the WebView/WebViewClassic refactor we need to call
WebView.performLongClick instead of performLongClick directly
to allow subclasses to override performLongClick

Change-Id: I9b580217fbafc82d03e63eabfdda9f5bad98db0f
ebViewClassic.java
9b6eb6939e894df3a7a7bea3a41dfd7e2e91cbae 05-Jun-2012 George Mount <mount@google.com> Hide handles when clipped by layer or edit region.

Bug 6590742
Separated base and extent handle alpha so that they can
be hidden individually. Added visiblity check and animations
to show and hide the handles.

Change-Id: I08ce7f870bbb8e059550797afa18c2db39394caf
ebViewClassic.java
7c79dd674a26d0f890352b66b9df224af692eae6 12-Jun-2012 George Mount <mount@google.com> Merge "Move handle into view after using it for scrolling."
ab70020137465dc2d4cf21bd9eac690fefe11722 12-Jun-2012 George Mount <mount@google.com> Merge "Fix caret handle offset"
ca2ef2cbb1cba81b86ae19401b4ec38854a5a354 11-Jun-2012 Steve Block <steveblock@google.com> Merge "Fix style for Geolocation mock mechanism"
65ae8d87051d3b718b1095c5312e58a5958b7e30 08-Jun-2012 Jonathan Dixon <joth@google.com> Merge "Extract WebView Classic details from API classes."
57217f238e0d2df8cd1a03fe4b1ca30fafa392c9 08-Jun-2012 Jonathan Dixon <joth@google.com> Merge "Separate interface and implementation of 2 more WebView classes"
73eeb7b5ed5f88750156b787c665f7d3769fc56a 08-Jun-2012 Jonathan Dixon <joth@google.com> Extract WebView Classic details from API classes.

Last remaining bits:
- push JNUUtil.setContext call down into WebViewDatabaseClassic
- remove references to hidden ClientCertRequestHandler from the public API classes.

Change-Id: I9605dc2493b73fe8f22c7bb38c73d36632e0c7fa
allbackProxy.java
ookieSyncManager.java
ebViewClient.java
ebViewClientClassicExt.java
ebViewDatabaseClassic.java
8d79d2727565034aa472b890f05be1ccada1e612 08-Jun-2012 John Reck <jreck@google.com> am b4760127: am 839fd414: Merge "Eliminate gap between finalize() and destroy()" into jb-dev

* commit 'b47601279f8d5170d2beaaf7c1e8c9a713a972da':
Eliminate gap between finalize() and destroy()
5c25762bcf6508a1cb3d9bbcfa7a968ede00005a 08-Jun-2012 John Reck <jreck@google.com> am 13b9d282: am 0e0ce11e: Merge "Stay in layer scroll if nothing to scroll" into jb-dev

* commit '13b9d28268d76b886be0a8cbd15a1d059c276d6b':
Stay in layer scroll if nothing to scroll
839fd4144e369a9bde4fff4a5a2b6cc9e078cef8 08-Jun-2012 John Reck <jreck@google.com> Merge "Eliminate gap between finalize() and destroy()" into jb-dev
919c89e2045357e028e633e8b60c9872edb4cb99 07-Jun-2012 John Reck <jreck@google.com> Stay in layer scroll if nothing to scroll

Bug: 6628376
The issue here is that contentX & contentY can both be 0 if we are scrolling
slowly enough as they are adjusted by the page's scale and can thus round down.
However, this would result in us falling out of layer drag mode even though
we haven't tried to scroll past the edge of the layer. Detect this case, and
stay in layer scroll mode.

Change-Id: I3c655d0d03e8f89887abbe718bd24699c133ee1a
ebViewClassic.java
1461a7c11990f410ecf9ac4c24376d13ee88d6b3 07-Jun-2012 George Mount <mount@google.com> Move handle into view after using it for scrolling.

Bug 6623236

Change-Id: Ic9f9983cdfb58303ab497be0c33169c7785c0047
ebViewClassic.java
d5e2937933c67d379fa2cf9e00b349acfd38872e 07-Jun-2012 John Reck <jreck@google.com> Eliminate gap between finalize() and destroy()

Bug: 6569073
Only nativeDestroy and nativeStopGL need to be called on the UI thread,
so split up destroyImpl into 3 functions, and only have the native
destroy be pushed to the UI thread if necessary. Also make the work that
is delayed be static without references to the finalizing WebView to allow
it to be fully deleted immediately after finalization.

Change-Id: I4e424051e69df0bc409af95ca3f3d2b9e58a6b75
ebViewClassic.java
d2ce0bc72384118387145eaee75a81be2d4dd684 07-Jun-2012 Chris Craik <ccraik@google.com> am 0df6d579: am 37e0c368: Merge "Revert "Add temporary functor detach logging"" into jb-dev

* commit '0df6d579dbe509c2d520c6f163ff2bafbd801208':
Revert "Add temporary functor detach logging"
37e0c3681ef403e5a43a4f3dbca954ec8a4bfb5d 07-Jun-2012 Chris Craik <ccraik@google.com> Merge "Revert "Add temporary functor detach logging"" into jb-dev
aa3b7d88ef14b93df12904b3aa958c1d937fdaff 07-Jun-2012 Chris Craik <ccraik@google.com> Revert "Add temporary functor detach logging"

bug:6608646

This reverts commit f98851ab37c07b243c485168cca201b07a22e6c7
ebViewClassic.java
6b1e614f7022fe3487ec0250883a41f20c10f6f4 07-Jun-2012 George Mount <mount@google.com> Merge "Fix scrolling behavior for text input and textarea."
c6c83ce475c534402d86144adaf906e3eb8ee46d 05-Jun-2012 George Mount <mount@google.com> Fix scrolling behavior for text input and textarea.

Bug 6614784

Change-Id: I562a20e4cb07250794fc017e6d8b3885f7e8d6b8
ebViewClassic.java
ebViewCore.java
fcc1f75bdf21a89f0a40c323efae4d6a817cced5 30-May-2012 Jesse Greenwald <jgreenwald@google.com> Separate interface and implementation of 2 more WebView classes

WebBackForwardList
WebHistoryItem

Bug: 5626244
Change-Id: Ia7f4b4487a103d8c897ac60d9f01a94e2458b034
allbackProxy.java
ebBackForwardList.java
ebBackForwardListClassic.java
ebHistoryItem.java
ebHistoryItemClassic.java
ebViewClassic.java
ebViewCore.java
c1892e0c29fa26a3a1ad46449734ca8f264bd2a3 06-Jun-2012 Mangesh Ghiware <mghiware@google.com> am f8e99204: am b215726a: Merge "Remove transient and unnecessary update density message." into jb-dev

* commit 'f8e99204c901d1d05960ed9a11c6af4a4e7dccd8':
Remove transient and unnecessary update density message.
c7ad10201bfd72c83baab270c4a59a25ca7cab0b 06-Jun-2012 Mangesh Ghiware <mghiware@google.com> Remove transient and unnecessary update density message.

On a page load, the (viewport) metadata settings for the main frame are
reset. Reloading a page with viewport meta tag specifying target density
dpi will result in 2 back to back update zoom density messages to be
sent from WebViewCore to UI thread.

In setupViewport(), remove update density messages in flight. If the new
density is indeed different from WebView's default scale, queue another
message.

Bug: 6509512
Change-Id: I195e40277bf1bcccb0e61d84ed84db1e34556243
ebViewCore.java
1f1f21aaa84d4bacb2b360c1cc88f10f84592db3 06-Jun-2012 John Reck <jreck@google.com> am f671e430: am 804e822c: Merge "Fix logspam" into jb-dev

* commit 'f671e430159425ea1ce323f5eb0f59452b1a6fe1':
Fix logspam
eba5e7ddfb0752ad84f9a18c6550a3274c9ccec1 05-Jun-2012 John Reck <jreck@google.com> Fix logspam

Bug: 6508832

Change-Id: I3061917ae7eba31723c006b1d30d20b7134890b8
oomManager.java
9ab695be7695bd8f3ac4a504137015c3d1bb0f0d 05-Jun-2012 George Mount <mount@google.com> Fix caret handle offset

Bug 6614416

Change-Id: I610b0ac564a2e936731d36c7f7b0ee1bb9be6a99
ebViewClassic.java
fe952ba0313ad56e6a29d68f45cf0e9694dd8362 05-Jun-2012 Chris Craik <ccraik@google.com> am 9238e5b9: am ca5a1489: Merge "Add temporary functor detach logging" into jb-dev

* commit '9238e5b9dbfaedd9dbaac9aff1f96bb190220c45':
Add temporary functor detach logging
a419a06e53ad20fa4cd3ca592c46f5e5b4292ff9 04-Jun-2012 George Mount <mount@google.com> Merge "Support selections within scrollable text areas."
6787dd2747ac56d5ee411711176435bc8e0431d2 04-Jun-2012 George Mount <mount@google.com> Merge "Change from left/right to base/extent for selection handles."
f98851ab37c07b243c485168cca201b07a22e6c7 04-Jun-2012 Chris Craik <ccraik@google.com> Add temporary functor detach logging

bug:6596807
Change-Id: I22342079cdf238a933d62e9cbef58bc5af80522b
ebViewClassic.java
f1c00f90216e0b574cf523946a0e26c8c5ef13d6 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.

Webkit Change: I9a08633160eeb14d5c45246c6128aa02c1642e8d

Change-Id: I355b21e9062b5d364cfb278fda239a4ecdff16d1
ebViewClassic.java
ebViewCore.java
b49f2bb5dd82b692ea3272df01cb79e79e70605f 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.

Webkit Change: I5609d07ea2ee67fc08d15cfcad31f49302f33297

Change-Id: I2f9b963e93bb1ab86a9b26518fca52449b56d5d9
ebViewClassic.java
078b5913799610c3853675508e7ccc02c45f56ba 01-Jun-2012 Ben Murdoch <benm@google.com> Get a WebViewDatabaseClassic instance lazily. Do not merge.

Rather than caching the WebViewDatabaseClassic instance in a member,
grab the instance when we need it.

In the case of WebSyncManager - neither it or it's subclass uses
the WebViewDatabaseClassic (and it's subclass is final) so remove
it's initialisation. We must leave the member declared however
to satisfy the published API.

Bug: 6482144
Change-Id: Ibf5186a2851d17f5ad62b35ad543aeadff5618d9
rowserFrame.java
ebSyncManager.java
35ec6b7b30298c16c350cd45e4369f1266778c40 01-Jun-2012 Chris Craik <ccraik@google.com> am 7d4c2ec0: am 53913ed5: Merge "Force webview invalidates on unsuccessful functor attach" into jb-dev

* commit '7d4c2ec0f4dc1843ed5e3f6768d55cc9506052c6':
Force webview invalidates on unsuccessful functor attach
41ee465734d0006797a8fd36e88976c1e85d161c 01-Jun-2012 Chris Craik <ccraik@google.com> Force webview invalidates on unsuccessful functor attach

Functor attach should always be successful, but adding a fallback just in
case. Also invalidates the WebView on initial content arriving.

bug:6511995
Change-Id: Ibca16505afec9f693ea4a7cc4966cd6d7353725c
ebViewClassic.java
9c8d63f48e550f48b8bf7fe1b0397ef2c425f950 30-May-2012 George Mount <mount@google.com> am acd796b1: am 20c15a42: Merge "Fix monkey NPE in AutoCompletePopup" into jb-dev

* commit 'acd796b1a6f217e0798d008ba88dc101b5ace34e':
Fix monkey NPE in AutoCompletePopup
20c15a4271ea3a7fb2210430bfc53f611603cf76 30-May-2012 George Mount <mount@google.com> Merge "Fix monkey NPE in AutoCompletePopup" into jb-dev
4c11a92b62bddfa9caf15cbadbd980f4b96cd59f 30-May-2012 John Reck <jreck@google.com> am 4a53b519: am 2cd50c9d: Merge "Don\'t long press if preventDefault is called" into jb-dev

* commit '4a53b51955e6d166a81ac09bdb1633b9224839ab':
Don't long press if preventDefault is called
2dc3ffd31a9cf445817e868db6dee14569623c08 30-May-2012 John Reck <jreck@google.com> Don't long press if preventDefault is called

Bug: 6554060

Change-Id: Iad263c78a0e1504dd10e9ef5b92505bca6991cbc
ebViewInputDispatcher.java
7a2cb35513b1016a5042f0a48d7008455f24a479 30-May-2012 George Mount <mount@google.com> Fix monkey NPE in AutoCompletePopup

Bug 6554866

Change-Id: I2942e55d98bc768f5c5c563240c1841c7e869b3c
utoCompletePopup.java
b56ed30666596e70b577c9b937362e246f229a11 29-May-2012 Steve Block <steveblock@google.com> Fix style for Geolocation mock mechanism

See I6d88d5dce5c2148812b191a5b452718bf0854aeb

Change-Id: I1179319f066664393aa5f7324df89f8057a9e922
ockGeolocation.java
1bd37b176e65fddd04d7412ef05f905bd81f8e95 28-May-2012 Ben Murdoch <benm@google.com> Deprecate WebChromeClient.onJsTimeout

This method was only supported with the JSC JavaScript engine.
V8 became the default JavaScript engine in Froyo and this method
has not been invoked since. Support for building JSC was removed
in b/5495373.

Bug: 6295376
Change-Id: I3dbe83f375b88ebbbb713d3c3fa5a2fa323a0d45
ebChromeClient.java
83a40e8e64bc0ee96b3339fc281b313bf2520ca5 26-May-2012 John Reck <jreck@google.com> am 2611f1ec: am 7cbe6457: Merge "Copy over the scroll position for the scrolling layer" into jb-dev

* commit '2611f1eced80db74d07563e03bb99a146aa461b6':
Copy over the scroll position for the scrolling layer
7cbe645730286eb7e5ff7339ce8c6a2ee181f2eb 26-May-2012 John Reck <jreck@google.com> Merge "Copy over the scroll position for the scrolling layer" into jb-dev
ec1b71adc6c882b6cef3ad8c985d7e7d475e9c0f 25-May-2012 John Reck <jreck@google.com> Copy over the scroll position for the scrolling layer

Bug: 6557664

Change-Id: I9b1257ee0a4d75f5b445e9f72455d51e4add1c77
ebViewClassic.java
092642402807e3eba381c5ed4c1c3661c1a25ba6 25-May-2012 Teng-Hui Zhu <ztenghui@google.com> am 314745cd: am 65e08329: Merge "Better support for HTML5 audio loop." into jb-dev

* commit '314745cd5661db8672505ec753a6f88b9e80e609':
Better support for HTML5 audio loop.
65e08329ee57f2c4cda679885db700ceaca6c842 25-May-2012 Teng-Hui Zhu <ztenghui@google.com> Merge "Better support for HTML5 audio loop." into jb-dev
fcf4c34545e69eb0d1cb6e075ca066116ebf8ac0 25-May-2012 John Reck <jreck@google.com> am 731327a9: am f7388102: Merge "Support skipping a touch stream due to lack of handlers" into jb-dev

* commit '731327a93a9e5f1550effaf48fb944d8cae507d5':
Support skipping a touch stream due to lack of handlers
f738810247b887082dbf4ca3a867f8d9e1955001 25-May-2012 John Reck <jreck@google.com> Merge "Support skipping a touch stream due to lack of handlers" into jb-dev
c1e80a360a43ea52092dda79138c9d55a5588fc0 25-May-2012 John Reck <jreck@google.com> Support skipping a touch stream due to lack of handlers

Bug: 6317798

Change-Id: Ia1652e9030e877e270326e9e8a8b040810b89f09
ebViewCore.java
ebViewInputDispatcher.java
6f62ef32e2dd4e7935f5a2d201ad5f3b78b4a203 24-May-2012 Teng-Hui Zhu <ztenghui@google.com> Better support for HTML5 audio loop.

Loop is trigger by a seek to 0 when ended on native side but there is no play
call. So on java side, we detect this and call into native side to trigger a
play after completion.
This fixed the UI problem and keep in sync with the native mode.
Beyond that, we don't need to reload for looping and we don't have the seek
to play artifacts.

bug:5461143

webkit change:
https://android-git.corp.google.com/g/#/c/193750/

Change-Id: I779f3e1fbc789832a1a99d1f17823db6b57b35df
TML5Audio.java
a893591ff6ca281ba66eab27bbde013f61e7ac22 24-May-2012 George Mount <mount@google.com> am 4f313676: am 222f5613: Merge "Use setCustomSelectActionModeCallback to disallow action bar." into jb-dev

* commit '4f3136768038398e109a66d393d74858d2754a34':
Use setCustomSelectActionModeCallback to disallow action bar.
b9fcb1334da057a99df61289a8cf12a38b536fac 24-May-2012 Ben Murdoch <benm@google.com> resolved conflicts for merge of cde7efde to master

Change-Id: I44433670a897c23b3bd388cbba9cfacf80e3345f
222f56135026627637e9db4801d6532b1ff16657 24-May-2012 George Mount <mount@google.com> Merge "Use setCustomSelectActionModeCallback to disallow action bar." into jb-dev
7e9f62ef486af98ce6fbb3e2918a45c68c0b551f 24-May-2012 George Mount <mount@google.com> Use setCustomSelectActionModeCallback to disallow action bar.

Bug 5993716
Use setCustomSelectActionModeCallback rather than
setLongClickListener to disallow custom action block so
that long press can bring up the paste window.

Change-Id: I916e77dcea7914c02191f0ecda37cd126318807d
indActionModeCallback.java
2b5d66824be331cf35dbbb1aed267544b2186660 24-May-2012 Ben Murdoch <benm@google.com> Make the WebCore thread watchdog opt in.

Add a setting on WebViewCore to control whether we monitor
the responsiveness of the WebCore thread. Default is not
to monitor.

Bug: 6447214
Change-Id: Ia95e5c769d458dcd24ae50660b2f22e93851956f
ebViewClassic.java
ebViewCore.java
cf73e52825f39d25737684825e6929616eb70b3c 24-May-2012 George Mount <mount@google.com> am 5354a327: am 8871403a: Merge "Show caret handle when clicking in the middle of text." into jb-dev

* commit '5354a3277736b57daa0003409ce37c5b5f3b2236':
Show caret handle when clicking in the middle of text.
c2813fa7598284527d25748b885e9133f280bd60 23-May-2012 George Mount <mount@google.com> Show caret handle when clicking in the middle of text.

Bug 6545325

Change-Id: Ibea6daca1da12eec38b05f7f451561d31bb3c983
ebViewClassic.java
7d35738a2d2c64fe1afd7a857737f730b79a3a6d 23-May-2012 Chris Craik <ccraik@google.com> am 9970bbac: am 3534e134: Merge "Avoid crash if onDetachedFromWindow called after destroy" into jb-dev

* commit '9970bbac1f4951f5910aa5148e189a0a284f9e46':
Avoid crash if onDetachedFromWindow called after destroy
3534e13486a0081b1229e698f13bd3a37efa3fb0 23-May-2012 Chris Craik <ccraik@google.com> Merge "Avoid crash if onDetachedFromWindow called after destroy" into jb-dev
9e08012869f77f212186a5d5856831a85fb73d40 23-May-2012 Chris Craik <ccraik@google.com> Avoid crash if onDetachedFromWindow called after destroy

This also removes the temporary logging from commit
f8dafa14e058cdc2f408b59be7911abaceb73c47.

bug:6535911
Change-Id: Icf1d0438b349a0e92e7d9cefed57a252eed2b9b0
ebViewClassic.java
727242f96053dc64f017f726e7468d273a9a0b0f 23-May-2012 Svetoslav Ganov <svetoslavganov@google.com> am ecd2fe57: am 956f28ed: Merge "Always reference injector using get method." into jb-dev

* commit 'ecd2fe5796061f98656088dc1ce0621cc12d9a62':
Always reference injector using get method.
956f28edae64268a67af22baee2ef873264921b4 23-May-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Always reference injector using get method." into jb-dev
b3e1de71bafd0252046e648d43ea1fa4de42dee6 22-May-2012 Chris Craik <ccraik@google.com> am 49413bcc: am 7a9328a3: Merge "Add temporary functor lifetime logging" into jb-dev

* commit '49413bcccbd735be4e8ad4cf98b3ab2f892225e4':
Add temporary functor lifetime logging
7a9328a3118725389564fe2a9b926837fa3d58a9 22-May-2012 Chris Craik <ccraik@google.com> Merge "Add temporary functor lifetime logging" into jb-dev
f8dafa14e058cdc2f408b59be7911abaceb73c47 22-May-2012 Chris Craik <ccraik@google.com> Add temporary functor lifetime logging

bug:6535911

Change-Id: Ida5cc1def7fe1fc314317bbc5df50e1465753deb
ebViewClassic.java
500b91ebac92ad3430a36091a2f43057b47260a5 22-May-2012 alanv <alanv@google.com> Always reference injector using get method.

Bug: 6535301
Change-Id: If1d55c3229603d12c568213bd2f271c7cb6ab139
ebViewClassic.java
9bc26c0d8e0e3601d7556b621127f1c456925432 22-May-2012 Steve Block <steveblock@google.com> Merge "Remove unused WebViewCore::isPaused() and setIsPaused()"
12221d154023032d41d38dff5ee899aa485c43dd 21-May-2012 George Mount <mount@google.com> DO NOT MERGE Consider current scroll position to move text field into view.

Bug 6530008

Change-Id: I6542dab70b64f809ec5dd4deb3511f8aa38278e1
ebViewClassic.java
b999b22eca779b283ceb2132371d2d3ecc88514e 18-May-2012 George Mount <mount@google.com> DO NOT MERGE Consider fixed layers when scrolling the edit box.

Bug 6147580
Webkit Change: I810891decf0bad682e90f29f0f65c6b765b7d6d6

Change-Id: Idaa538824e611acd64eb5a4ccb7866d3c978a077
ebViewClassic.java
1866b3fe5d3a23ae79c67fd21118a4161eda3248 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 WebKit change Ie645cb657407c34a63e5df6b0ade050f1780a7f0.

Change-Id: I9e5c0fd914f53d11e130ffcdc0e749f45dfe4013
ebViewCore.java
43857a8ddb3066982a8ce58f36fb54dd041de2f8 22-May-2012 George Mount <mount@google.com> Merge "Consider current scroll position to move text field into view."
7c22b1810cce5738f026eec801f4ec11a8df40f6 22-May-2012 Steve Block <steveblock@google.com> Merge "Switch Geolocation DRT methods to control client-based mock"
f3f60d9328d8acfedf987a73631fc90c39bf5447 16-May-2012 Steve Block <steveblock@google.com> Switch Geolocation DRT methods to control client-based mock

Note that we plumb DRT Geolocation mock calls via WebView. This is required
because the WebCore client-based mock is not a static but is tied to the Page.

See WebKit change Ib74a3c05991593e75c3138415d4ac0bf0c9aefa9.

Bug: 6511338
Change-Id: I6d88d5dce5c2148812b191a5b452718bf0854aeb
ockGeolocation.java
ebViewClassic.java
ebViewCore.java
56cb79416a438f34c56120aa9ba5152ac465d7dc 21-May-2012 Michael Kolb <kolby@google.com> am d4755c95: am ab68bbaf: Merge "add flag to websearch intent" into jb-dev

* commit 'd4755c952985c60b3b376a198e30bdee01048f9f':
add flag to websearch intent
f7a1a84d85671636f5071223eb27558479bb63a1 21-May-2012 George Mount <mount@google.com> Consider current scroll position to move text field into view.

Bug 6530008

Change-Id: I6542dab70b64f809ec5dd4deb3511f8aa38278e1
ebViewClassic.java
85712e61804c58d43d93c24d88378135a36b8f2e 21-May-2012 John Reck <jreck@google.com> am 1f00a987: am 88b756cd: Merge "Don\'t show the touch highlight for double taps" into jb-dev

* commit '1f00a987ac693a81cbd3739b903e981465451305':
Don't show the touch highlight for double taps
828328489eda598a5605cc145bd22fa5bf5001d2 21-May-2012 Charles Chen <clchen@google.com> am a48374db: am c6015df1: Merge "Add actions to non-JavaScript accessibility handler." into jb-dev

* commit 'a48374db17a04f12a60e9363721769dbfff01e65':
Add actions to non-JavaScript accessibility handler.
2e19d34137ed4cd7e79d99f6fecfcf0091aee152 21-May-2012 Charles Chen <clchen@google.com> am 4d39ba26: am 9a9a041c: Merge "Add movement actions to JS accessibility." into jb-dev

* commit '4d39ba269c890e2746f439ac52d91704744c25f3':
Add movement actions to JS accessibility.
0bbce0e8fb47269285047c565dc99d377743eec6 21-May-2012 John Reck <jreck@google.com> am ce619a96: am 3d6f7ead: Merge "Tweak show/hide of touch highlight" into jb-dev

* commit 'ce619a9675bcb2278bf9a078fb44bb4b1d728dd3':
Tweak show/hide of touch highlight
314fcc396fc8cad9f2c5340a64fd9e4ca864c0c3 21-May-2012 George Mount <mount@google.com> am aa5f8581: am ea1603de: Merge "Update the IME with selection and composing region changes." into jb-dev

* commit 'aa5f858176c903e94fa8ce07f5777d4935ef3a4e':
Update the IME with selection and composing region changes.
8d47082d8f76e21670b94e81acd8d3a4a948b6a7 21-May-2012 George Mount <mount@google.com> am e0df34f6: am bb8549db: Merge "Sync the selection cursor when adjusting caret handle." into jb-dev

* commit 'e0df34f60374ce94b409b4360504fc7d2680db53':
Sync the selection cursor when adjusting caret handle.
d47ddda1ce40c1c604d2e2b420074221bcbda9d2 21-May-2012 Svetoslav Ganov <svetoslavganov@google.com> am 91408aae: am 308904dc: Merge "Refactor WebView accessibility code into a separate class." into jb-dev

* commit '91408aae7ad61c2c38145ba1da235fffcb826544':
Refactor WebView accessibility code into a separate class.
a12712f83642ad67f236030bf22565811de8ea3b 21-May-2012 John Reck <jreck@google.com> am 5653f280: am 76c0c612: Merge "Don\'t send an ontouchmove until slop is exceeded" into jb-dev

* commit '5653f28030ef9ed5d457216cec67e1082c6b7ec4':
Don't send an ontouchmove until slop is exceeded
1b4aab664073c2c92a69b7e116017fa65a2d30d7 21-May-2012 George Mount <mount@google.com> am 23542062: am 3c814072: Merge "Only clear the caret when in caret selection mode." into jb-dev

* commit '2354206216f13ace061c5000f045db066f6e074d':
Only clear the caret when in caret selection mode.
2a210491170dc82be08d19481cb4f40d61a4def7 21-May-2012 George Mount <mount@google.com> am 45240cb3: am 84c4b08b: Merge changes Ia5729aaf,I91584b7d into jb-dev

* commit '45240cb33ac88c5839df2e9c7e55c18b0aa7b517':
Remove selection highlight when replacing/deleting.
Don't do character add/delete when there is a selection.
82a83da301decd7fb2f1f2d9883e5ed56f6f1639 21-May-2012 Ben Murdoch <benm@google.com> am d36bde24: am 93e3bf12: Merge "Fix up the WebCoreThreadWatchdog" into jb-dev

* commit 'd36bde2494a8635bc633d4bbd02f82bbfb72b7db':
Fix up the WebCoreThreadWatchdog
3fe0bca0c34d5f33690fa365918cbaa4a7e3dd8e 21-May-2012 Michael Kolb <kolby@google.com> add flag to websearch intent

Bug: 6372537

Change-Id: Ia3f8577ffdde2df5234016dd8d9ca83265b53e5e
electActionModeCallback.java
4527a8d641c418437039f54fc28e0d4d7e1db602 18-May-2012 George Mount <mount@google.com> Consider fixed layers when scrolling the edit box.

Bug 6147580
Webkit Change: I810891decf0bad682e90f29f0f65c6b765b7d6d6

Change-Id: Idaa538824e611acd64eb5a4ccb7866d3c978a077
ebViewClassic.java
88b756cd249d1dd4aefb92a73a65fa76cd8ef0d5 18-May-2012 John Reck <jreck@google.com> Merge "Don't show the touch highlight for double taps" into jb-dev
aa5af8d004a0846cf111c954cfcdf799157f16d6 18-May-2012 John Reck <jreck@google.com> Don't show the touch highlight for double taps

Bug: 6490959

Change-Id: I5a6cfa3d36f1df28d9c3b03e120f59581ee22c01
ebViewInputDispatcher.java
c6015df128811a52faf918bd34d0d7296c8a6834 18-May-2012 Charles Chen <clchen@google.com> Merge "Add actions to non-JavaScript accessibility handler." into jb-dev
9a9a041cb75a803856b22191db7e6bde7f1412e8 18-May-2012 Charles Chen <clchen@google.com> Merge "Add movement actions to JS accessibility." into jb-dev
3d6f7eadb27d37f3c1e2a9505526c5f4a6cf990e 18-May-2012 John Reck <jreck@google.com> Merge "Tweak show/hide of touch highlight" into jb-dev
ea1603de2a364cd857b800579e5b90f3c03b030a 18-May-2012 George Mount <mount@google.com> Merge "Update the IME with selection and composing region changes." into jb-dev
e41dfd9759cf5c337ab793ab440670ccee9c082e 17-May-2012 George Mount <mount@google.com> Sync the selection cursor when adjusting caret handle.

Bug 6512357

Change-Id: Ie8b0c6a17ea668b2c4ba9f3de404fdc0c2d319f8
ebViewClassic.java
eb11f47353102deb13c73b9c1106ed34761cd784 17-May-2012 John Reck <jreck@google.com> Tweak show/hide of touch highlight

Bug: 6490959
Fixes the issue where we will show the old tap highlight
if webkit isn't quick enough to respond

Change-Id: Icd9864d276b6ad311e3f3dc4deaa7085e3769006
ebViewClassic.java
ebViewInputDispatcher.java
cdd48a70dfeaed670bd56f203824c7f78f760d23 17-May-2012 George Mount <mount@google.com> Update the IME with selection and composing region changes.

Bug 6507332
The IME must be informed whenever the selection or composing
region changes so that it can adjust its replacement regions
and suggestions.

Change-Id: I484b112a2fede6528b0bc506711284b59bd886d1
ebViewClassic.java
308904dcd01c7bdadd183f262ead408856822a0e 17-May-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Refactor WebView accessibility code into a separate class." into jb-dev
76c0c612cdd5eeef8ff2f7a4478f6320a713d7a3 17-May-2012 John Reck <jreck@google.com> Merge "Don't send an ontouchmove until slop is exceeded" into jb-dev
3c8140723f67b63163ed1a3d6b0569ecbe46068c 17-May-2012 George Mount <mount@google.com> Merge "Only clear the caret when in caret selection mode." into jb-dev
84c4b08bd424151f3fa84029b55573022562fd23 17-May-2012 George Mount <mount@google.com> Merge changes Ia5729aaf,I91584b7d into jb-dev

* changes:
Remove selection highlight when replacing/deleting.
Don't do character add/delete when there is a selection.
74d37b965345cfe9c4ac65271cc2658dcc1f5350 16-May-2012 Ben Murdoch <benm@google.com> Fix up the WebCoreThreadWatchdog

Make the WebCoreWatchdog aware of the WebViews it is monitoring
(rather than the Activity context which may become stale) and
ensure that the code for the prompt dialog is run on the UI
thread.

Bug: 6420310
Change-Id: Ied003938edb04858c85bcc2491c4b2c4c0ede6eb
ebCoreThreadWatchdog.java
ebViewClassic.java
ebViewCore.java
94c478e9e59683fd552fd11b2b7b27fac78b90b4 17-May-2012 John Reck <jreck@google.com> Don't send an ontouchmove until slop is exceeded

Bug: 6490959

Change-Id: I0f447f65c84f9ce208ce52caba05e7dcb2f76bc5
ebViewInputDispatcher.java
6a62b77dfb95364e863b44662c13d6deec47f7d2 17-May-2012 alanv <alanv@google.com> Add actions to non-JavaScript accessibility handler.

Bug: 5932640
Change-Id: I302cfc6410d716ac46e1adb922de3079c4e4b4f3
ccessibilityInjector.java
ccessibilityInjectorFallback.java
448902d757bb5d5f0284a06b0193549f1e1f369f 17-May-2012 alanv <alanv@google.com> Add movement actions to JS accessibility.

Bug: 5932640
Change-Id: I80e210adbef266b1ec9bc1cad7eeacb70529bdba
ccessibilityInjector.java
ebView.java
ebViewClassic.java
ebViewProvider.java
525823a7548d73c9ec9ba3ae84663ab286b20205 17-May-2012 alanv <alanv@google.com> Refactor WebView accessibility code into a separate class.

Bug: 5932640
Change-Id: I52ab57f51c5904cbcf56307f17f406b2a30d6b91
ccessibilityInjector.java
ccessibilityInjectorFallback.java
ebViewClassic.java
b27a4f9b0e29d4fd4722c9152a39269aba527ef6 17-May-2012 John Reck <jreck@google.com> Merge "Remove custom scrollbar logic" into jb-dev
7c2e329ef23ea9b4e55cc51970ff52e506affa45 17-May-2012 John Reck <jreck@google.com> Remove custom scrollbar logic

Bug: 6505722
When we scroll the base layer we do so by calling scrollTo on the view,
which handles all the scrollbar logic for us. Remove the custom keep alive
code which floods the handler queue, as well as remove the unnecessary
invalidate and awakenScrollbar calls (View does that for us)

Change-Id: Ia2503c549a22ec71d99295fe62b676fecc367ea3
ebViewClassic.java
c4c3bc9b83f48c1e718fd0d7cfdb25c2fb55404f 16-May-2012 George Mount <mount@google.com> Remove selection highlight when replacing/deleting.

Bug 6506101

Change-Id: Ia5729aafa30cbb502e94adf92f7534cb552199a6
ebViewClassic.java
0925a76bb940a97ca2ea016d7fbf9e207f8e6ad7 16-May-2012 George Mount <mount@google.com> Only clear the caret when in caret selection mode.

Bug 6506761

Change-Id: I5772691053bff30c25870e6068f5d85b850b7b81
ebViewClassic.java
435e6f5fd217faef001480fae1936da4cfb9ff29 16-May-2012 John Reck <jreck@google.com> Fix android:focusableInTouchMode support

Bug: 6448106

Change-Id: I17161754eaf08145623466a6db25893e3e5b2e16
ebViewClassic.java
5d09bf69e28a7e6c92577e811ee42a82d1b3fbdb 16-May-2012 George Mount <mount@google.com> Don't do character add/delete when there is a selection.

Bug 6506644

Change-Id: I91584b7df23951bc5e735b25161ed6e0bcdbc2b7
ebViewClassic.java
7a59c5aebc5506319deea8fd40d5d308192b8052 16-May-2012 John Reck <jreck@google.com> Merge "Always do a HIT_TEST" into jb-dev
6675f691ed952d37232a36a6e6f15e02fb419f9c 16-May-2012 Chris Craik <ccraik@google.com> Merge "Invalidate on new picture if scale/content size changes" into jb-dev
02c2f45ea21fefe2449bfb95c85df746b3a88bdc 15-May-2012 Chris Craik <ccraik@google.com> Invalidate on new picture if scale/content size changes

bug:6497496
Change-Id: Id6de6f83f7bf8a9a4ebcfed61e6b3985d7f19efe
ebViewClassic.java
oomManager.java
899f609f78d43299c729cb4cfe936d496c12a288 11-May-2012 George Mount <mount@google.com> Only open CAB for long-press.

Bug 6182286

Change-Id: I18590c457548e63cf45f5f7b626f5e8bd855f521
ebViewClassic.java
ebViewCore.java
41f73bdf4d915305152ba2053b7523bf5f90ffa8 15-May-2012 John Reck <jreck@google.com> Always do a HIT_TEST

Bug: 6490959
The issue here is that if the page calls preventDefault on a
touchstart handler WebViewClassic will not do a HIT_TEST as it
doesn't get the ACTION_DOWN. This means that the mouse is in the
wrong position when the click ultimately fires.

This changes it so that WebViewInputDispatcher will always do a
HIT_TEST at the start of a touch stream, which ensures that the
mouse is positioned correctly.

Change-Id: I1aaca7692e2c7aeedeb21fa3592cd4cb3223ea25
ebViewClassic.java
ebViewCore.java
ebViewInputDispatcher.java
dbd98bfecb34eb3f7101994a6026c7a68ea1e8a9 15-May-2012 Chris Craik <ccraik@google.com> Merge "Remove unused native method" into jb-dev
8230231c8858d52ab9b6ce03084f6696c85a7158 15-May-2012 Chris Craik <ccraik@google.com> Remove unused native method

depends on external/webkit change: https://android-git.corp.google.com/g/#/c/190468/

bug:6486310
Change-Id: Id1c1eabf27135c73e45a489ab4c7cfa26e0c9def
ebViewClassic.java
647827a5d3915d26be0447aca0558485f4fdcfa3 09-May-2012 George Mount <mount@google.com> Change selection to use left/right instead of base/extent.

Bug 5859620
Simplify text selection to use left/right rather than
base/extent. In combination with webkit change, this
fixes RTL selection. The handle directions are properly-
facing when the text direction is the same for both
sides of selection.
Webkit Change: I3362c5034ce08ce1517a86882c13b78aff35fe3f

Change-Id: Ib88ed2327182ba5b47b3e41584cbe944d05c8ada
ebViewClassic.java
05efb04c381e91980c68bcfd409d2994ce849b19 13-May-2012 Mangesh Ghiware <mghiware@google.com> Merge "Maintain the anchor at top/left on orientation change." into jb-dev
cf034e37733645e166736a383d062ba73a8f9687 12-May-2012 Mangesh Ghiware <mghiware@google.com> Maintain the anchor at top/left on orientation change.

Bug: 5291151
Change-Id: Id1d5c157668440fe4d0d1214477ba31e8f02d6b6
ebViewClassic.java
dee9d9ab9f8843bdbc1fc5d29e92c12a2d0407b2 11-May-2012 John Reck <jreck@google.com> Merge "Prevent updateStateTrackers from being affected by preventDefault()" into jb-dev
387c2e8d425651475c674018951a4047bf4f3cb4 11-May-2012 John Reck <jreck@google.com> Prevent updateStateTrackers from being affected by preventDefault()

Bug: 6477996
Calling e.preventDefault() on a javascript touch handler is apparantly
not supposed to prevent the default gesture detector, who knew?

Change-Id: I6ee36e2fbc485b289b6dbb3464d8562c88e3be49
ebViewInputDispatcher.java
422400f92d56d42bb234c7f9407a00b3bc836907 11-May-2012 Teng-Hui Zhu <ztenghui@google.com> Fix a crash.

End can happen when error happens, but media controller may be not ready yet.

bug:5340224
Change-Id: I94607dfdf26d2dc4c7bbc9c2a62f98deccb8d198
TML5VideoFullScreen.java
9ac320406bcd0212923bfc0b4068df0b022fd4f7 11-May-2012 Teng-Hui Zhu <ztenghui@google.com> Merge "Keep the controller when video ended." into jb-dev
6df5ca08f192e2b831c6cf216f3a2cfe63456ad0 11-May-2012 Teng-Hui Zhu <ztenghui@google.com> Merge "Avoid inline->fullscreen reload for html5 video." into jb-dev
4dd9dc8204105a25e37dacbc392ea3c7212a8063 11-May-2012 Teng-Hui Zhu <ztenghui@google.com> Keep the controller when video ended.

Use the media controller as a reminder to the user when the video ended.
We don't quit the video here b/c user may want to replay the video.

bug:5340224
Change-Id: I6d5fdb54bb614277b75e1a18ebe0a7dadd47017e
TML5VideoFullScreen.java
TML5VideoView.java
TML5VideoViewProxy.java
c2b06d5a83f8f118eaf46f093126da08a28715eb 09-May-2012 Teng-Hui Zhu <ztenghui@google.com> Avoid inline->fullscreen reload for html5 video.

Now when a user start inline play and then switch to full screen, there is no
reload any more.
Basically, we change mediaplayer as a static member, and detect possible
situation to skip the prepare work.

bug:5710646

Change-Id: Ida34cf2e919a6cc8e0d52cd1175d51b5f5d527f7
TML5VideoFullScreen.java
TML5VideoInline.java
TML5VideoView.java
TML5VideoViewProxy.java
55c68f14e1cdf31a9961aaaf24429455ee0d8dbc 09-May-2012 John Reck <jreck@google.com> Fix locking for skip draw

Bug: 6469098

Change-Id: I3e6903072994a5a0437c40dcf211ddb707883a69
ebViewCore.java
b010601c41423e80eaf20297073a4ad56787bd1c 09-May-2012 Chris Craik <ccraik@google.com> Merge "Pass webview instance when getting base layer / color, and prevent null value" into jb-dev
5602d02389c2b945e8d78ea34990933a8e1ddc8b 09-May-2012 George Mount <mount@google.com> Merge "Scroll edit text into view when keyboard shows." into jb-dev
b5dc215a190eddaa622f6fe641ed5e511b347736 08-May-2012 Chris Craik <ccraik@google.com> Pass webview instance when getting base layer / color, and prevent null value

Depends on external/webkit change: https://android-git.corp.google.com/g/#/c/188470/

bug:6429897
Change-Id: Ic948f102034dbe57c61d7fc6de73a4ddd062f686
ebViewClassic.java
aa9972943cab627db9b10e5c9c4bb80f99f8a4bd 08-May-2012 Chris Craik <ccraik@google.com> Merge "Revert "Add temporary functor lifetime logging"" into jb-dev
12d434a9be03214e9c673580a6f55128eec9b3f9 08-May-2012 Chris Craik <ccraik@google.com> Revert "Add temporary functor lifetime logging"

bug:6445573

This reverts commit 2fe99801e81bb7c0ff846b536cbb7a12707410ed
ebViewClassic.java
312cad6e2fbe5bf800c83ccaf3fa624d34295a0e 08-May-2012 George Mount <mount@google.com> Scroll edit text into view when keyboard shows.

Bug 6445642

Change-Id: Iaf08b7e441b7abc07499b731575ab0a60c5175a2
ebViewClassic.java
87156c96f5f2a761b8d05318f8ae82ce26aa16b4 08-May-2012 Teng-Hui Zhu <ztenghui@google.com> Merge "Replace tree observer with a JNI call at draw time" into jb-dev
7c38077edf73e3313bceccdbde1f78ed1bd14be2 08-May-2012 John Reck <jreck@google.com> Merge "Fix inval issue" into jb-dev
0bb0198d5bc3647f8fe10ba34b9de7bd8b75d79e 08-May-2012 John Reck <jreck@google.com> Fix inval issue

Bug: 6323847

Change-Id: Ibe9fc46af597cd97ae76339533faacfaa6d952fc
ebViewClassic.java
975b9b787aa01c2e1540797987137d92dc2b8f14 08-May-2012 John Reck <jreck@google.com> Merge "Delay creating Java objects for WebHistoryItem" into jb-dev
658e99908a9d387fd1aebfc4e5a2f99ba972cd7d 08-May-2012 Teng-Hui Zhu <ztenghui@google.com> Replace tree observer with a JNI call at draw time

webkit change:
https://android-git.corp.google.com/g/#/c/188148/

bug:6447729

Change-Id: I8062583751cc10fc65b30d10277b2f2271b58661
ebViewClassic.java
69adc539e2aa0d89b82143aae1b371b492c71981 07-May-2012 John Reck <jreck@google.com> Delay creating Java objects for WebHistoryItem

Bug: 6447632

Change-Id: Ia326f12d0b64ebed10b9647b78ff01a1916533d3
ebHistoryItem.java
a09b06effff87f9c073cdc7729884adc41286fe1 07-May-2012 John Reck <jreck@google.com> Merge "Remove heldMotionless disabling native scroll mode" into jb-dev
ee00b31a54cc186cb53fe30d7834361791baab20 07-May-2012 Selim Gurun <sgurun@google.com> Merge "Use private key context when necessary" into jb-dev
ff0e8cd8b60aa8372b06edecb2e754b0905c4d31 07-May-2012 John Reck <jreck@google.com> Merge "Drain any pending touch events immediately if possible" into jb-dev
3ea7f216d9a865a1a7d15e2a58ebbae0eb7914c0 07-May-2012 John Reck <jreck@google.com> Remove heldMotionless disabling native scroll mode

Bug: 6448030

Change-Id: I9c673208eb2302ea772931e15266e02cb0129ce5
ebViewClassic.java
e666b10dff4eebca49bc52154da5573e40591908 05-May-2012 John Reck <jreck@google.com> Drain any pending touch events immediately if possible

Bug: 6317798

Change-Id: Id343801cf80817f587414224cc67c13d34efed04
ebViewClassic.java
275fce8a2ca45e640abf451552dd1bdbbc0cb54c 04-May-2012 Selim Gurun <sgurun@google.com> Use private key context when necessary

Bug: 6249185

Due to recent changes to keystore, we cannot rely on encoded key
format anymore. Rather we receive the key context (a pointer to
private key really) and pass it to native openssl. We also keep
the original logic however.

Change-Id: Iefe9f0336dd5f47eec4222fcb6fec58807e7cac0
rowserFrame.java
lientCertRequestHandler.java
slClientCertLookupTable.java
df35aa457ec275422b1695f6a3293aae35f99a22 04-May-2012 John Reck <jreck@google.com> Merge "Verify attached before showing a dialog" into jb-dev
d4717b8b6f51e6a2395211de5f4d4cfd60b977ae 04-May-2012 John Reck <jreck@google.com> Verify attached before showing a dialog

Bug: 6372828

Change-Id: I7f3360ab8a0cdcaf20829e6e2c9181c7af73586e
ebViewClassic.java
a2c213080d26c08235f11829fb2bbcf07cdfdd46 04-May-2012 George Mount <mount@google.com> Merge "Limit when auto-complete popups attach to WebView." into jb-dev
90673b9d0e33de1162a671995796171ba953d35d 04-May-2012 John Reck <jreck@google.com> Merge "Monkeys are touching my destroyed stuff" into jb-dev
026bb684beb57fb30887164f8d6e232d151fadaf 04-May-2012 John Reck <jreck@google.com> Monkeys are touching my destroyed stuff

Bug: 6443402

Change-Id: I4e992d8d0f53958f0cbeb405f30635e0d172009f
ebViewClassic.java
57bd51713e7923cad9ad9fc9ac9bfd339cb6bb9c 03-May-2012 George Mount <mount@google.com> Limit when auto-complete popups attach to WebView.

Bug 6401222
Only create the anchor view when the popup window
is ready to show and detach it when it is dismissed.

Change-Id: Ic16485e9970b00744c07b470df5420568332c8f0
utoCompletePopup.java
ebViewClassic.java
0008f736471dca879b87028b892172689ff3534c 04-May-2012 Teng-Hui Zhu <ztenghui@google.com> Merge "Unify the rect names according to the coordinates" into jb-dev
84fa241f6c6f8b9f72371dd540515ba8041dd6b7 04-May-2012 John Reck <jreck@google.com> Fix tap highlight annoyingness

Bug: 6108346
Highlight now correctly doesn't show up unless it is a click, and
no longer has any weirdness with sticking around unusually long

Change-Id: I06f6eae45d970085232466f17cbbd9ebaefc4d69
ebViewClassic.java
ebViewInputDispatcher.java
508d7053ff08c894d7c875dbfa5bdaaa3a37ff1b 03-May-2012 Teng-Hui Zhu <ztenghui@google.com> Unify the rect names according to the coordinates

This is a pure refactor, no functional change.
bug:6338456

Change-Id: Ib40af53f4e2ff8ce5c9f82f3472989b2d3f2007c
ebViewClassic.java
eaca069aff710eb8776669bd5d8016d10b7d2467 03-May-2012 John Reck <jreck@google.com> Merge "Fix clicking on a fake element (address, phone number, etc..)" into jb-dev
9155cbac78a2f9a8b081a505595f4f8805048096 03-May-2012 John Reck <jreck@google.com> Fix clicking on a fake element (address, phone number, etc..)

Bug: 6426909

Change-Id: Ic45deea2423dbeb2bcb4ecbcaac32ec194f7511e
ebViewClassic.java
aac5066dbf17987887dc46d90df1ce465d0c4c50 03-May-2012 George Mount <mount@google.com> Merge "Add intercept path for UI touch handling." into jb-dev
d4796461ee29c2d2560412dbb51e0c931aa22db5 03-May-2012 John Reck <jreck@google.com> Fix accessibility drawing

Bug: 6407623
If script injection is disabled, the accessibility injector works
by modifying the text selection. However, this would cause WebView
to go into text selection mode, showing the CAB and such, which
we don't want. Add a flag saying WHY text selection is being changed
so that we can respond accordingly in WebViewClassic.

Change-Id: Ia509def3fcdb022b93fbbc7ed89bc9558663afd3
ebViewClassic.java
ebViewCore.java
7a33acf123ad27aad21bd517fca68a64eb8fe434 03-May-2012 George Mount <mount@google.com> Add intercept path for UI touch handling.

Bug 6410164

Change-Id: Ia3907a9a57321d0f25763c88fd0c0a7617d5da48
ebViewClassic.java
ebViewInputDispatcher.java
3421f9fd6847faa0bbf3f1d8e1c8424bce52a9a4 03-May-2012 Chris Craik <ccraik@google.com> Merge "Add temporary functor lifetime logging" into jb-dev
2fe99801e81bb7c0ff846b536cbb7a12707410ed 02-May-2012 Chris Craik <ccraik@google.com> Add temporary functor lifetime logging

bug:6405861

Note: revert once the above bug is verified fixed

Change-Id: Iae04ec6ffa73a2711f96e128d60011bcb5864b5c
ebViewClassic.java
9a793c91b6cdd4b78a574e1fe5e701dc76fc78e5 03-May-2012 John Reck <jreck@google.com> Merge "Add missing null check" into jb-dev
2f612bdfbd7bf94111015d06ba3fa4e864d0972b 03-May-2012 John Reck <jreck@google.com> Merge "Rewrite PictureSet" into jb-dev
33b019b183c8fad8c684967f8d81a2c1897f29e0 28-Apr-2012 John Reck <jreck@google.com> Rewrite PictureSet

Removes no longer supported splitPicture
Removes unnused code

Bulk of the change is in webkit CL: https://android-git.corp.google.com/g/#/c/185850/

Change-Id: I4eca363ba3cb4a6d6fccc82bf5ea8588df780a4b
ebViewClassic.java
ebViewCore.java
273b8c2e7f94eed4ccebb0c000603303775f24b8 02-May-2012 John Reck <jreck@google.com> Add missing null check

Change-Id: I05e288762c00d80f4c0842584daa88c205196b6f
ebViewClassic.java
ad759f958a8bd87982b3f34d8424d1ac69c20342 02-May-2012 Chris Craik <ccraik@google.com> Merge "fix monkey scrolling crash" into jb-dev
5f3c08a4118276db820707c8e191b129d34addd2 02-May-2012 Chris Craik <ccraik@google.com> fix monkey scrolling crash

bug:6336994

Depends on external/webkit change: https://android-git.corp.google.com/g/#/c/186186/

Change-Id: Ib019ca68f6e57f98e30b022949c624bab4695294
ebViewClassic.java
8072976d7aefa15b2f4918d7e334eefce901cb65 01-May-2012 George Mount <mount@google.com> Fix flicker while selecting text.

Bug 6413113

Change-Id: I5c8d2cda1eae9d5670c757711c49ccc9e47b4127
ebViewClassic.java
1266692b307e1496b31dfc3c1f7e202babf7eb41 30-Apr-2012 Chris Craik <ccraik@google.com> never attach null functor

bug:6412902

Change-Id: I26a5f80ae13cc19df3daa4d4e7e5401778f76dbb
ebViewClassic.java
3ea8761974a530218a246dc73583c8820b12bf0b 30-Apr-2012 John Reck <jreck@google.com> Merge "Fix crash in setNewPicture" into jb-dev
a59558f476fc04b1f30fba466051718503009977 30-Apr-2012 Chris Craik <ccraik@google.com> check for null ViewRootImpl

bug:6412902
Change-Id: I36b5ee48fb94ed0f8222f9ec41ee9fc3730ceed0
ebViewClassic.java
579f4e93fb1d69b20ef0439b9e1bb70f2130ca61 30-Apr-2012 John Reck <jreck@google.com> Fix crash in setNewPicture

Bug: 6412902

Change-Id: I65d8f65839c6e84440cb9d0393c35a8c488c9781
ebViewClassic.java
7658e53073ff96e737401e5a20efa29c985ad0b4 28-Apr-2012 John Reck <jreck@google.com> Revert "add null check on ViewRootImpl"

This reverts commit 67a1c8e3d5a88f776f09b6e61410ebcd5615a46b
ebViewClassic.java
67a1c8e3d5a88f776f09b6e61410ebcd5615a46b 28-Apr-2012 Chris Craik <ccraik@google.com> add null check on ViewRootImpl

bug:6412902
Change-Id: I688a54731ed34283bc039a7967f472af131f458d
ebViewClassic.java
7e279bc91ae1d9a59f00724a2c28ab840bd73423 27-Apr-2012 Steve Block <steveblock@google.com> Merge "Tweak JavaDoc for WebSettings.setAllowUniversalAccessFromFileURLs() and setAllowFileAccessFromFileURLs()" into jb-dev
c6911d47d193d76a40938f56854ca06c00edab68 27-Apr-2012 Ben Murdoch <benm@google.com> Merge "Create WebViewDatabaseClassic from WebViewDatabase." into jb-dev
ef163150805625a148a9715eff6693277f79dcef 23-Apr-2012 Steve Block <steveblock@google.com> Tweak JavaDoc for WebSettings.setAllowUniversalAccessFromFileURLs() and setAllowFileAccessFromFileURLs()

Bug: 6212665
Change-Id: Ifc5c83cfee7cf63edbe2c65c55617eb01ea9eced
ebSettings.java
a75fbc3c76dfe6a1c678b66f83cef878e3f3cdf4 26-Apr-2012 John Reck <jreck@google.com> Merge "On new content, attach functor directly" into jb-dev
85973212e9a63590118c2ad8937798bc1aa62687 26-Apr-2012 Teng-Hui Zhu <ztenghui@google.com> Merge "DO NOT MERGE:The visiblerect calculation should take view's scaling into consideration" into jb-dev
ff35000ce1d7b0416c42ba1054a193fb5cfe8e8e 26-Apr-2012 Steve Block <steveblock@google.com> Merge "Fix JavaDoc style for several WebView classes" into jb-dev
99c12e8d5f12f239c28644a837937810299e5e3f 25-Apr-2012 Ben Murdoch <benm@google.com> Create WebViewDatabaseClassic from WebViewDatabase.

WebViewDatabase has a getInstance() method, so similarly
to WebStorage, WebIconDatabase etc we refactor it into a
proxy class, and move the current implementation into
WebViewDatabaseClassic.

Also clean up some JavaDoc in touched files.

Bug: 6234236
Change-Id: I71cbd8f78e60f396e96e8546073ad634797cce15
rowserFrame.java
ebViewClassic.java
ebViewDatabase.java
ebViewDatabaseClassic.java
ebViewFactoryProvider.java
13d7c03eb8e8272d0f1741d8505c769daefa4438 26-Apr-2012 Michael Kolb <kolby@google.com> Fix NPE in isPrivateBrowsingEnabled()

Bug: 6393286

Change-Id: I1fd9c57b7bd68a9c495cbb0df45a406f83b22b5f
ebViewClassic.java
4e584df4cee8334bc371c04a67bcd0a32e2f9480 25-Apr-2012 Steve Block <steveblock@google.com> Fix JavaDoc style for several WebView classes

This fixes the JavaDoc style for the following classes ...
- CacheManager.java
- CookieManager.java
- GeolocationPermissions.java
- WebResourceResponse.java
- WebSettings.java
- WebStorage.java
- WebView.java

In particular, this applies the guidelines at
https://wiki.corp.google.com/twiki/bin/view/Main/APIDocumentation

This should help to ensure that future JavaDoc comments use correct style,
rather than using incorrect style for consistency.

Note that this change does not attempt to improve the content of the JavaDoc
comments. This will be done in later changes.

Bug: 5461416
Change-Id: I79e9b15a8cf3597195d58e154a7eb1bcc462944c
acheManager.java
ookieManager.java
eolocationPermissions.java
ebResourceResponse.java
ebSettings.java
ebStorage.java
ebView.java
c2c9543c135ffc4e18c7db0e817112ac03e3e97a 26-Apr-2012 Chris Craik <ccraik@google.com> On new content, attach functor directly

bug:6323847

depends on external/webkit change: https://android-git.corp.google.com/g/#/c/184314/

Change-Id: Ibdf997f3ee4f5c5c1ea5a320556813f175fea93f
iewStateSerializer.java
ebViewClassic.java
ebViewCore.java
9d2815786687dbf1141933f91aa8ccccf87ada40 25-Apr-2012 Teng-Hui Zhu <ztenghui@google.com> DO NOT MERGE:The visiblerect calculation should take view's scaling into consideration

bug:5684832
Change-Id: I9d29b1f32b19ad73aeae6a5c0873ec04722ff1ac

cherry-pick from master:
https://android-git.corp.google.com/g/#/c/183798/
ebViewClassic.java
912507928ca54ed614b70ee87936a8f334aa148c 24-Apr-2012 Chris Craik <ccraik@google.com> Merge "Support picture listener correctly in HW webviews"
4961295d19e27dd0854f2b07ae126f79ce935c8c 24-Apr-2012 John Reck <jreck@google.com> Merge "Use the right timeout"
d7156d3f471976490bdc7c76f714aedbfa3e1682 24-Apr-2012 John Reck <jreck@google.com> Use the right timeout

oops

Change-Id: I667b849af4c5d4fece42e9bcbc5b6b9951b955bb
ebViewInputDispatcher.java
3aa800b9f93a99d6f25623ed24ab5f6fec213c15 24-Apr-2012 Steve Block <steveblock@google.com> Add tests for reflection and improve JavaDoc for Java Bridge

Bug: 5461416
Change-Id: Ic339b97a9424d8848f8afd47ba00cbbee4d60c9d
ebView.java
f03f64d81036cb453345462714beb4298eac32a9 24-Apr-2012 Steve Block <steveblock@google.com> Merge "Update WebViewClassic JavaDoc to refer to WebView"
406aeb2a9da867f2f5211bc20fa4d6faff3efae8 23-Apr-2012 Steve Block <steveblock@google.com> Update WebViewClassic JavaDoc to refer to WebView

Change-Id: I5152ce82111dc661e5dc723d5c3402f2765b7312
ebView.java
ebViewClassic.java
26ed99f3f5ec812083a4788fe5f7781fc8b43c96 24-Apr-2012 Jonathan Dixon <joth@google.com> Merge "static methods in CookieManger call via instance"
be58c40646ed5694136970cf0e88ffd6087a3c2a 24-Apr-2012 Jonathan Dixon <joth@google.com> static methods in CookieManger call via instance

This allows CookieManager subclasses to correctly override all behvaior
in the base class.

Bug: 6379925
Change-Id: Ife02db24bc192bc1eabf09e0d64668716786d237
ookieManager.java
ookieManagerClassic.java
d4caee0e50ed1bb53b8c084dcce86e631f64ab5a 24-Apr-2012 Romain Guy <romainguy@google.com> I broke the build after all... here's a fix.

Change-Id: I970715fcff5a74a0ce272654c2ea79e4ab3684bf
ebViewClassic.java
ba6be8a62dcdb3ffd210cd36b9af4e3a658eac47 24-Apr-2012 Romain Guy <romainguy@google.com> Prevent WebView from crashing when detached from the window
Bug #6365056

WebView enqueues a functor in the hardware renderer to handle
animations and this functor is called at a later time by the
hardware renderer. However, the functor was not removed from
the queue when WebView was removed from the window. This could
cause the hardware renderer to attempt to execute an invalid
functor and lead to a crash.

Change-Id: I9d38e80f3fdc5e29d4d0cdfa1e893c251a954508
ebViewClassic.java
003952ba33f711963ad26588b2aca293deb8d50a 23-Apr-2012 Jonathan Dixon <joth@google.com> Merge "Fix dumprendertree crash"
03b433c031f6a691bf5d9e606cb3c04f03ca0eb2 23-Apr-2012 Jonathan Dixon <joth@google.com> Fix dumprendertree crash

This is a quick workaround to get tests running again, will follow up with full fix tomorrow.

Bug: 6379925
Change-Id: I96d6e27bfb8f8cd41ec08845ab0fb1e584dbc9da
ookieManager.java
b838aef488b4bb7b1cd6f4c0055476b2afdfd468 23-Apr-2012 Steve Block <steveblock@google.com> Fix use of API level in android.webkit JavaDoc

Bug: 5461416
Change-Id: Id17b10fec6bebc46260db6abe6df5f7d44a711ae
ebView.java
1579a67ee9a53740a09e606e071fd571ee627449 23-Apr-2012 Ben Murdoch <benm@google.com> Merge "Pause the WebCore thread watchdog at the right time."
cba778dc21ed13711ec020c12a64836bce3c2742 23-Apr-2012 Ben Murdoch <benm@google.com> Pause the WebCore thread watchdog at the right time.

There are times when we deliberately put the WebCore thread
to sleep (i.e. waiting for a user to complete a JS prompt or
dismiss an alert). In this case, we don't want the WebCore thread
watchdog to fire. Pause the watchdog before we put the WebCore thread
to sleep and resume it again when the thread wakes up.

Factor out the repeated send/pause/wait/resume code into it's own
function.

Bug: 6366520
Change-Id: I17ecf9d466ce21b25a9e5cb8ff4cb0e5fab7605b
allbackProxy.java
d3101b1d300f5942fdb7dfa323dc8830c4edc007 12-Apr-2012 Jonathan Dixon <joth@google.com> Seperate interface and implementation of 4 WebView classes

GeolocationPermissionsClassic
CookieManagerClassic
WebIconDatabaseClassic
WebStorageClassic

Also creats a WebViewFactory top level class - this remains hidden
for now, as it's currently only used implicitly by the other
public WebView classes to create the provider instances.

Bug: 5626244

Change-Id: Id0ca1c16d8058f31a86414bbc0e8a55db4b907ba
ookieManager.java
ookieManagerClassic.java
eolocationPermissions.java
eolocationPermissionsClassic.java
ustOverrideException.java
ebIconDatabase.java
ebIconDatabaseClassic.java
ebSettings.java
ebStorage.java
ebStorageClassic.java
ebView.java
ebViewClassic.java
ebViewCore.java
ebViewFactory.java
ebViewFactoryProvider.java
9e5936bc534c646f7009bf197217607955b150a6 12-Apr-2012 Chris Craik <ccraik@google.com> Support picture listener correctly in HW webviews

Change-Id: I0e2c5d8cdf788b3a409efa9ced5d37abb1d169c0
ebViewClassic.java
ebd477518f10d61b1164c0df6c14cb2d0e59ecf0 20-Apr-2012 John Reck <jreck@google.com> Merge "Support fallback action if unhandled key event"
70c8723e63e2c58115c356bd4e9525b823b7bf28 20-Apr-2012 George Mount <mount@google.com> Merge "Add fade-in and fade-out for selection handles."
30d773f9605c2483bc4be0e6ff61b5440201b463 20-Apr-2012 George Mount <mount@google.com> Add fade-in and fade-out for selection handles.

Bug 6083041

Change-Id: Ie48cc2da3cb05df82644d8f3c0a3f1d36ca67162
ebViewClassic.java
d6b1098e1f46530528dfea415655468ec994bbb6 20-Apr-2012 John Reck <jreck@google.com> Support fallback action if unhandled key event

Bug: 6023055

Change-Id: Ib802c4b9d1b606f9ea7a5081e30c50b5bd78e30c
ebViewClient.java
caf7f3d1fc28f74f0782438cd5a91aef7a9dedb5 20-Apr-2012 Selim Gurun <sgurun@google.com> Merge "Add websettings API for file origin policy."
0ea6dad65eb77f9347a59704b1f8a019cfc9e01f 30-Mar-2012 Selim Gurun <sgurun@google.com> Add websettings API for file origin policy.

Bug: 6212665

Add the API and change the default behavior for Jelly Bean+.

Change-Id: I9a83f510675023c36e2e72c4a69ad082d8124a23
ebSettings.java
ebSettingsClassic.java
9dd4a6c7a4ed45ce8ffae73ce9ac6dac51943581 20-Apr-2012 John Reck <jreck@google.com> Merge "Save and load snapshots async"
ee3b562d8641299a64dfe3a96089e04ed7b79bdb 20-Apr-2012 John Reck <jreck@google.com> Save and load snapshots async

Bug: 5416822
The overload of webkitDraw is temporary, but this gets the plumbing
in place and works correctly

Change-Id: Ib3e23b9a4a1862dd445c8dc68a3936590787a62b
iewStateSerializer.java
ebViewClassic.java
ebViewCore.java
675035d77403080e65308e2d37db624d4c4b8c78 19-Apr-2012 John Reck <jreck@google.com> Merge "Remove code preventing scrollTo(0,0)"
cada1ae71781795c10a359f1e11ad5a3f125cf67 19-Apr-2012 John Reck <jreck@google.com> Merge "Allow removing messages before EventHub created"
a60a18965e5f671905172f2e05d31201a1b2f421 19-Apr-2012 John Reck <jreck@google.com> Remove code preventing scrollTo(0,0)

Bug: 5677901
Also remove a bunch of unnecessary logic around delaying the
scroll until the page load has completed, as Browser will keep the
URL bar visible itself

Change-Id: I4b175f4ff1d741b7027a4c98f676764707f57342
ebViewClassic.java
e3e26c41c3248b1552e78c74990fbf37cb06dcb7 19-Apr-2012 George Mount <mount@google.com> Allow long press to work on text.

Bug 6351196

Change-Id: I7604ebe70ab58d17b916f92e364343776b66aa3c
ebViewClassic.java
fd6ad0444174f03c8df95f82a35322c4dd3c2352 19-Apr-2012 John Reck <jreck@google.com> Allow removing messages before EventHub created

Bug: 5421676

Change-Id: Id15b669947bd01d3cc3ba3e9b93175120fa518e8
ebViewCore.java
23a2ce1fad31fc8467f3f53d39428e2d1f0a000e 18-Apr-2012 Michael Kolb <kolby@google.com> Merge "Prevent dialog from invalid context"
dfceaf2cdbc9355b10fd9c17777808fb65e61851 18-Apr-2012 Michael Kolb <kolby@google.com> Prevent dialog from invalid context

Bug: 6346748

Change-Id: Ia65ecc1ecb882b480127aca0034db25a9e51ed3c
ebCoreThreadWatchdog.java
6849e4dd450e7c598b1d5e5bb4559efc466451e3 17-Apr-2012 John Reck <jreck@google.com> Merge "Add destroyed check"
8a7e177bb546eff9cff0617471e55d012ece6190 17-Apr-2012 John Reck <jreck@google.com> Add destroyed check

Bug: 6350066

Change-Id: Icf077bcf9678a036a669124c27e56e191a935960
ebViewCore.java
48ca060e65fba6728c33fa1d615fc14215443cf2 17-Apr-2012 John Reck <jreck@google.com> Merge "Minor cleanup"
cf6960ed153e5e6342156e87155eb6f286155b63 17-Apr-2012 Steve Block <steveblock@google.com> Merge "Clean up JavaDoc for WebView.getZoomControls()"
06d268e3ad1129814829af5d3b84752d84c1acf2 16-Apr-2012 Steve Block <steveblock@google.com> Clean up JavaDoc for WebView.getZoomControls()

Bug: 5461416
Change-Id: I4f2b5c9e4b4c2b1a38d678cb6756f128670ee490
ebSettings.java
ebView.java
533e69f0bedcf59cdf960ad5aeecedef6983d929 17-Apr-2012 John Reck <jreck@google.com> Minor cleanup

Change-Id: Ide35e6cf2abe2b723e6d45e796a21ae135706bf5
allbackProxy.java
eolocationPermissions.java
32f038deabc516cb9e1420eee300a581c5692460 16-Apr-2012 George Mount <mount@google.com> Merge "Check for null mWebViewCore in selectText"
9c6b01a753ff0193054ab2e7207ae19164a6ca6e 16-Apr-2012 Steve Block <steveblock@google.com> Merge "Clean up JavaDoc for WebStorage"
9f7296af049028c28aeb3382c03f0c314346d19d 16-Apr-2012 Mikhail Naganov <mnaganov@google.com> Fix javadoc breakage by not linking to now hidden WebView.getZoomControls method.

Change-Id: I770a647b2e6068687530813133847a624ed5aa0d
ebSettings.java
d099935c5276e73e1cd4e6b93aeb65396607f8fc 16-Apr-2012 Steve Block <steveblock@google.com> Merge "Clarify WebSettings comments related to zooming."
caf97c7db9c5279eb4802121ff2cc1995c27363b 16-Apr-2012 Jonathan Dixon <joth@google.com> Merge "Two WebView API cleanups"
a12e1fe16f6310ae5a869d1a96466957f1b1f5a1 13-Apr-2012 John Reck <jreck@google.com> Merge "Set initial focus"
07c9e296e6a01a04329ec7cc477168623765b6d9 13-Apr-2012 George Mount <mount@google.com> Check for null mWebViewCore in selectText

Bug 6306770

Change-Id: I83e70aef45ff6519e4e9eb70edae44efcecf6de8
ebViewClassic.java
8b0d90ee5768a30fbf69e8fe3e7067c33f307903 10-Apr-2012 George Mount <mount@google.com> Wait for zoom manager to update before sending new picture event.

Bug 6315070

Change-Id: I80be7680499705f7865abc8ef753db1bb63ef44f
ebViewClassic.java
a4eddb577ce2d71ad72cc978010df103abf1881c 13-Apr-2012 John Reck <jreck@google.com> Set initial focus

Bug: 6108927

Change-Id: I8f9356c41700b05ca36d106b1db34e3a7630b125
ebViewClassic.java
ebViewCore.java
3f1679cba0fc33ef8054d89e41d6716d0a260f9b 13-Apr-2012 John Reck <jreck@google.com> Remove an unnecessary sanity check

This is causing issues with MotionEvents built by various tools such
as DRT. The check itself doesn't seem strictly necessary, and it is
easier to remove the check than fix all the tools and tests

Change-Id: I74bf85307956b5858042fbe23f87ed2b87132f17
ebViewInputDispatcher.java
939e5040b51539be561db1d18dec18196f201f5c 12-Apr-2012 Jonathan Dixon <joth@google.com> Two WebView API cleanups

- remove final from classes which we will need to provide subclasses
in future: CookieManager, GeolocationPermissions, WebIconDatabase
and WebStorage. None of these have published constructors,
so applications cannot subclass them anyway.

- Also convert some protected members of JsResult to private, as its of
no use to legal subclasses, and applications cannot subclass it.

Change-Id: Iaca9d2db31e25853b6c55feae41d9e7774087479
ookieManager.java
eolocationPermissions.java
sResult.java
ebIconDatabase.java
ebStorage.java
f804ba131b4f543ece1973126c0ae5d4b919ee8b 13-Apr-2012 Ben Murdoch <benm@google.com> Merge "Add support for HTML Media Capture "capture" attribute."
285ddfc8abfcdd252c50477b34c13f8173f9f3f4 28-Mar-2012 Steve Block <steveblock@google.com> Clean up JavaDoc for WebStorage

Bug: 5461416
Change-Id: Ice7a2ca1e346ae80f53b477d236ff8c20032cf2f
allbackProxy.java
ebChromeClient.java
ebStorage.java
ebViewCore.java
b533fb4eef92b62cc26c4d9a901689e8f079fb73 05-Apr-2012 Mikhail Naganov <mnaganov@google.com> Clarify WebSettings comments related to zooming.

1. It wasn't clear that SupportZoom doesn't affect WebView's
zoomIn / zoomOut methods.

2. It was easy to misread that to enable "pinch to zoom" one
needs to hide zoom controls.

Bug: 5461416

Change-Id: Ic8afd22ae0f36e53b9f4724e95ac55c766f58af5
ebSettings.java
c2401d094a66abd2fa07f9a162738b715bf0c75a 13-Apr-2012 Jonathan Dixon <joth@google.com> Merge "Add deprecated tag and note StrictMode violation"
b36584042e3e0e15883c6c0a71996ecfc134f79b 13-Apr-2012 Jonathan Dixon <joth@google.com> Merge "Hide the public constructors for singleton classes"
f2e103623b79d2c395eefcdbd8a56a354f997ed1 13-Apr-2012 Jonathan Dixon <joth@google.com> Merge "Decouple JsResult from the WebViewClassic impl"
be716920e70541c9b334c9389d335f1aa1ed7124 11-Jan-2012 Ben Murdoch <benm@google.com> Add support for HTML Media Capture "capture" attribute.

Plumb the value of the "capture" attribute through the framework
down to the embedder.

Requires a change in WebKit
(I0a921be31fda79a43c05da4fe22d9c808d92709c)

and Browser (I38dfe2df043fdba1388384dbd3b5370737eb38e5).

Bug: 5771207

Change-Id: I494adc1274ca21ce8fe52a6c7b6b758217927e66
allbackProxy.java
ebChromeClient.java
ebViewCore.java
ff3940759580a0bbfede1711235cedfa927e5e9d 13-Apr-2012 George Mount <mount@google.com> Merge "Use selection handle to scroll edit text"
557748dfbda7e94a970bc6a3334b4102f98b7960 04-Apr-2012 George Mount <mount@google.com> Use selection handle to scroll edit text

Bug 6293151

Change-Id: I4362717a101cc297e9e8734aa975091a814aab1c
ebViewClassic.java
d855ffd514af5d4e2d495251468b05737da5f766 12-Apr-2012 John Reck <jreck@google.com> Remove debug log

Change-Id: Ia76103b2a0225df2637af917c5ac352497ca0cf6
ebViewClassic.java
2d8c13bd1cf17842747b5e293e940169a26fa0d2 12-Apr-2012 John Reck <jreck@google.com> Improve when highlight rects are shown

Bug: 6319429

Change-Id: I8eb989d94433c01406cdb32e01034c644078a133
ebViewClassic.java
ebViewInputDispatcher.java
a3dc86e637873be115e68be50bd1b281beff7994 28-Mar-2012 Jonathan Dixon <joth@google.com> Hide the public constructors for singleton classes

WebStorage and GeolocationPermissions are not intended for direct use
by application code. Existing APKs using this will still work (as well
as they ever could have), but this change will cause a compile break if they
move to SDK >= 16, which should be fixed by using getInstance() instead.

Bug: 6238010
Change-Id: I75789cc260c8fe005c42942bc81483193cc54f17
eolocationPermissions.java
ebStorage.java
2377b99f6c6f8dba94c28089330e29933b04d601 12-Apr-2012 Jonathan Dixon <joth@google.com> Decouple JsResult from the WebViewClassic impl

The majority JsResult and JsPromptResult are simple data-carrying &
callback classes. Extract the WebViewClassic specific parts dealing
with WebCore thread and CallbackProxy and decouple via abstract interface.

Bug: 6238755
Change-Id: Ibafd18910725f0875e3b59c1b2078173c102cdec
allbackProxy.java
sPromptResult.java
sResult.java
b187d52f8adaad068997595118f32cb02d7a9013 12-Apr-2012 Steve Block <steveblock@google.com> Merge "Minor clean-up in DeviceOrientation and DeviceMotion"
a3fab1cbd24df50d219be3b1b8531c156fee6274 12-Apr-2012 John Reck <jreck@google.com> Merge "Cleanup unused code"
9f21c1c73fccd21fa2f7be566f2ca863b3ece27f 12-Apr-2012 Jonathan Dixon <joth@google.com> Add deprecated tag and note StrictMode violation

This method is already @deprecated in docs anyway.
StrictMode.noteSlowCall can help apps discover the error.

Change-Id: Ie131d938b0dd32f85ec1886e2139ce3c3f511209
ebView.java
5ba2efeb9faaf7db9da205102b9a7f40b4b89f27 03-Aug-2011 Steve Block <steveblock@google.com> Minor clean-up in DeviceOrientation and DeviceMotion

No functional change.

See corresponding external/webkit change
https://android-git.corp.google.com/g/#change,125700

Change-Id: I2693328cb058820587ac43dd3121818959efd2d0
eviceMotionAndOrientationManager.java
eviceMotionService.java
eviceOrientationService.java
ebViewClassic.java
ebViewCore.java
39edeeefe7778162e3b0c4c584a43b4bb6c0c788 12-Apr-2012 Jonathan Dixon <joth@google.com> Merge "Hide WebView.getZoomControls()"
a511bbf8727716efac12d07aad243911acb22555 12-Apr-2012 John Reck <jreck@google.com> Cleanup unused code

Bug: 6317798

Change-Id: Ibf38d680fabacb2987cd26fac464875dd8ebad2e
ebViewCore.java
c2676102d269038234f7018090d70af0ba754e83 12-Apr-2012 John Reck <jreck@google.com> Merge "New WebView input dispatcher."
9d3bdbd6b8f9eda5f67212b06185cd59adcda6c8 21-Mar-2012 Jeff Brown <jeffbrown@google.com> New WebView input dispatcher.

Bug: 6317798

Stuff that's better:

1. We maintain two queues in a way that ensures that WebView and
WebKit both see consistent streams of events, even in cases
where WebKit times out. We send ACTION_CANCEL if necessary, etc.

2. All pointer events go through the same channel, including
hover and click ("touch up") events, to ensure correct ordering.

3. Given that the input events are in a separate queue, we can
force execution of all of these events whenever we like, making new
latency optimizations possible.

4. The entire history of each touch event is sent to the web
application to enable smoother interaction.

5. The web application may choose to intercept a touch event stream
at any time by issuing "prevent default". Previously, it could only
prevent default on the initial down event. The new behavior is more
standards compliant.

Change-Id: I42d2d045e7d44af7c54b29570f188b7400d91d4e
ebViewClassic.java
ebViewCore.java
ebViewInputDispatcher.java
cae80b2563bb25c8f39a18937ccca3e56c2f2c93 11-Apr-2012 Chris Craik <ccraik@google.com> Merge "Unify composited layer/base layer draw path"
518e83b8c6408752a15d6c834230c431de23c1a4 11-Apr-2012 Mangesh Ghiware <mghiware@google.com> On double-tap, simply zoom in if content is too wide.

Bug: 6257654
Change-Id: I6963476300619d6f0d6af46630f9a86d95ad0dfc
ebViewClassic.java
00ed0fd27fda19be18bbabe831e5a1efc42e34d0 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 external/webkit change: https://android-git.corp.google.com/g/#/c/179965/

Change-Id: I1c355510f6edda4631190f2d26df8171e795a6ac
ebViewClassic.java
ebViewCore.java
2a854c13f864d5493846a7fc66bb6aefeaac8c8b 11-Apr-2012 Dianne Hackborn <hackbod@google.com> Merge "Some small tweaks to improve memory management."
162bc0ea0d7862b92f18d0ce47310a85304205f7 09-Apr-2012 Dianne Hackborn <hackbod@google.com> Some small tweaks to improve memory management.

We now allow processes that currently have stopping activities to
be managed as if they were done stopping, so that memory trimming
can be done before the process goes to the background. Hopefully
this will reduce cases where the processes goes to the background
and immediately gets killed, but wouldn't have had to be killed if
it had a chance to trim its memory.

Also change window memory trimming to always do the aggressive
trimming when memory is critical, even if not on a low-end device.

And tweak web view trimming to not trim for foreground UI events.

Change-Id: I241b3152b52d09757bd14a202477cf69c9b78786
ebViewClassic.java
1bee28f4c8a429bba1d82fe778aadbe29b80ba61 10-Apr-2012 George Mount <mount@google.com> Merge "Revert "Revert "Keep selection handles in edit fields."""
7102eb2d3068e0b7e5a3b44b61044de20910eca0 10-Apr-2012 George Mount <mount@google.com> Revert "Revert "Keep selection handles in edit fields.""

This reverts commit 90c08eafad72454a31282fd887ec23d357c904a4
utoCompletePopup.java
ebViewClassic.java
ebViewCore.java
f5711ab0fee749ba665cab59c482151af4bc3ec6 10-Apr-2012 George Mount <mount@google.com> Merge "Revert "Keep selection handles in edit fields.""
90c08eafad72454a31282fd887ec23d357c904a4 10-Apr-2012 George Mount <mount@google.com> Revert "Keep selection handles in edit fields."

This reverts commit 5d84368a7577c5d53ce885cd2d095cc5ba40d924
utoCompletePopup.java
ebViewClassic.java
ebViewCore.java
ad0ef210113f8337f56940962baaf2d19a33871e 10-Apr-2012 George Mount <mount@google.com> Merge "Keep selection handles in edit fields."
5d84368a7577c5d53ce885cd2d095cc5ba40d924 31-Mar-2012 George Mount <mount@google.com> Keep selection handles in edit fields.

Bug 6264769
Webkit Change: Ie937a8c55da0f8aef66cfcee11beb961669b7168

Change-Id: I9ee89f8b1d4e6954092b8c4d677fb75b79354b36
utoCompletePopup.java
ebViewClassic.java
ebViewCore.java
d408048641ec42f8b15e47c135af788b0c6ca5ef 03-Apr-2012 George Mount <mount@google.com> Remove composing span after setting text.

Bug 5070241

Change-Id: I8cf7e5f119c7a828df603e91ba4bcf0f571bbc72
ebViewClassic.java
63b81472a33b0bccf38a23c07661f7bcb4c119f7 09-Apr-2012 Victoria Lease <violets@google.com> Merge "Make WebView.findAllAsync() and WebView.setFindListener() public."
0b8413bbeb528c854e28c5ba1550239867da5c2e 26-Mar-2012 Victoria Lease <violets@google.com> Make WebView.findAllAsync() and WebView.setFindListener() public.

Deprecate WebView.findAll() while we're at it.

Bug: 6052412
Change-Id: I2f7116786109b4d6a01d24ac892c13b5d1f498f4
indActionModeCallback.java
ebView.java
ebViewClassic.java
ebViewCore.java
4e2032b5fefcea6f6e51adb55f1a1a0c7fcd5676 05-Apr-2012 Bart Sears <bsears@google.com> Update WebSettings.PREVIOUS_VERSION

Now that we have released ICS MR1.1, update the PREVIOUS_VERSION
to 4.0.4.

Change-Id: I3c4d6abfa679f20776d2676c57af4c0347e41c7b
ebSettingsClassic.java
c69be70afecdd1094da279a4543a151388a27537 03-Apr-2012 Jonathan Dixon <joth@google.com> Hide WebView.getZoomControls()

This was deprecated and the replacement provided in API level 3.
Hiding it in API 16 as a step toward removing support for it in 17.

Bug: 5012841

Change-Id: Ice66a0fc1031c0d6705973dae7cbc11b028e14c9
ebView.java
73975e06e36f075910226a1e152bd0b105dd1bd0 03-Apr-2012 Michael Kolb <kolby@google.com> Merge "Remove embedded titlebar rendering"
8116da5ff64c293cba376dc9551cf81dd00cb6bd 03-Apr-2012 Michael Kolb <kolby@google.com> Remove embedded titlebar rendering

Bug: 5032345

During the zoom, the embedded titlebar doesn't get rendered
in the correct spot. Browser renders the titlebar differently
now, so the old code can be removed

Change-Id: I6affc9e6119dc17e89d15dad77e14e1cdf139662
ebView.java
ebViewClassic.java
ebViewProvider.java
a7a1d5f8daec3e160e83bdddc585496efa4c96c7 02-Apr-2012 George Mount <mount@google.com> Merge "Don't show keyboard on focus change."
20c19f47a1f418c92cd1f5558e1dbb324bb4a1de 02-Apr-2012 George Mount <mount@google.com> Merge "Remove unused FORM_DID_BLUR hooks."
c3cbeddcb528b1c44d3ae3534e9680ed5249d61e 02-Apr-2012 George Mount <mount@google.com> Remove unused FORM_DID_BLUR hooks.

Bug 6111763
Webkit Change: I015e1a57e81e897c124af5d96ba76b4d07a381fc

Change-Id: I56a862a6c0f0d7799f4e935bb7f5103bb2edbb9b
ebViewClassic.java
ebViewCore.java
55cd3b85f305959a0540c085e91fb9db154d8be7 02-Apr-2012 George Mount <mount@google.com> Don't show keyboard on focus change.

Bug 6270400
Webkit change: I1f06b7220e22665f5932928855c81eca6534bf2f

Change-Id: I2aa65b405b3a394b55821a4d688afeb22244c2c7
ebViewClassic.java
ebViewCore.java
7784d151c1a8ba78b4ebb8b16a572c1c5f96f940 31-Mar-2012 Michael Kolb <kolby@google.com> Merge "Prevent message being sent twice in onSavePassword"
5ee329f0da0d320f0d116e2bce4a1c60992acd7d 31-Mar-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Set class name for WebView on A11y events and infos."
ea0772122f39591fb858341d7d247a448473a1af 30-Mar-2012 alanv <alanv@google.com> Set class name for WebView on A11y events and infos.

Bug: 6209073
Change-Id: I08b2b0010e619ed9b3afaeb4f4fc92e3afbcffd1
ebView.java
7a52f265434b089a0fb62708b197640a46229144 30-Mar-2012 Victoria Lease <violets@google.com> java-side enable/disable switch for link prefetch via WebSettings

Bug: 5218987
Change-Id: Id59324ad372df76cff8d2cae8606201db6e8d636
ebSettingsClassic.java
d2bfdfdd3e766062a40ddcd6cf30ddc8e3136d1b 30-Mar-2012 Michael Kolb <kolby@google.com> Prevent message being sent twice in onSavePassword

Bug: 6256107

Change-Id: I1cdc7d49b6e479532385c29d759b8d4e4ab7aaa3
ebViewClassic.java
e72620c2ff049422aecf127c7ccf3bdb92d70c49 30-Mar-2012 John Reck <jreck@google.com> Fix typo preventing layers from scrolling to top

Bug: 6215597

Change-Id: Ie58e3aef29444d1c8dea424953d1b8e71ddf770b
ebViewClassic.java
54e1553df69350130df5e4518abf14a9a64931bb 29-Mar-2012 George Mount <mount@google.com> Merge "Enable scrolling page while editing text."
fcff68f87d517924b204bc4381d2fd4ba5f99079 20-Mar-2012 George Mount <mount@google.com> Enable scrolling page while editing text.

Bug 6194113

Change-Id: I27841bcf0635b9c8579e6db081612fd9e506d4ca
ebViewClassic.java
c11547cdf470e24de47487004b99ee3210894bd7 29-Mar-2012 George Mount <mount@google.com> Merge "Support batching input changes to remove flicker."
f3fda6962a4bf0d9defebb648065e502b0c10737 29-Mar-2012 Jonathan Dixon <joth@google.com> Merge "Minor code tidying up in WebStorage & GeolocationPermission"
dbef1c5f4566708cab9b313f9a213413b697c87b 28-Mar-2012 George Mount <mount@google.com> Support batching input changes to remove flicker.

Bug 6245151

Change-Id: I642d1487d488ac69a9dedf5c8099d14db559dc0a
ebViewClassic.java
ebViewCore.java
36196b6d4a413b65c9f1f82112ae34a46dcedfc6 28-Mar-2012 Jonathan Dixon <joth@google.com> Minor code tidying up in WebStorage & GeolocationPermission

remove unused imports and constants.

Change-Id: I5007b270b2cabb55624d85546bfc84f10189e618
eolocationPermissions.java
ebStorage.java
f9c1f9935b349fe1a3f27be4462026dd212f8b78 22-Mar-2012 George Mount <mount@google.com> Snap selection handles to text

Bug 6198286
Webkit Change: I55604f3ec28586beaec5fd98a27c9f4b8a59a8a5

Change-Id: I3c51ed5f6988d58440badfbe8b076fd83d48ae2a
uadF.java
ebViewClassic.java
7de2ae25642f1ff64e9011b860d4b5c37d2cc676 28-Mar-2012 Steve Block <steveblock@google.com> Merge "Remove superfluous code after removal of Android HTTP stack"
c53471cf4dae3e5fe23b301435507df912115d6c 28-Mar-2012 Jonathan Dixon <joth@google.com> Merge "Tidy up usage of URLUtil constants"
0fa72ef10e08e35c28176837c733bd085b17e0ff 27-Mar-2012 Jonathan Dixon <joth@google.com> Tidy up usage of URLUtil constants

Several of these are duplicated; referring to a single source makes the code
paths using them easier to track down.
(also removing a spurious import)

Bug: 6237833

Change-Id: Ibdacc124c047e37c7f0ced9ecc6f26ae3e6b4326
rowserFrame.java
niUtil.java
imeTypeMap.java
RLUtil.java
834f66b6a4950351da2424ca46e8b4df74faba62 27-Mar-2012 John Reck <jreck@google.com> Do pause painting better

Change-Id: Ia58bbb19cea899c8826d74d7afcbd7e7c541d9c6
ebugFlags.java
ebViewClassic.java
ebViewCore.java
ca835dbda1bb32df4eaace41d88417551b53c4ba 27-Mar-2012 John Reck <jreck@google.com> Workaround issue of getting 0,0,0,0 inval rects

Bug: 6142700
WebKit is sending an empty inval rect for some reason, which results
in WebView not being invalidated. Assume an empty inval means a
full inval

Change-Id: Ib93b806f8f8fd2039e2a0e43de2372c3e6be2433
ebViewClassic.java
f2bfe2bc05322a754c5a5d4e16ca182303ca72aa 26-Mar-2012 Steve Block <steveblock@google.com> Remove superfluous code after removal of Android HTTP stack

See b/5495616.

Bug: 6228353
Change-Id: I16cfd7b37973919d5bf14d2d80954caede264961
acheManager.java
ookieManager.java
ookieSyncManager.java
d405a433e66a7bff086c5ba5653ae4268b2b994d 22-Mar-2012 Victoria Lease <violets@google.com> move FindListener into WebView

Also took advantage of the opportunity to adjust the javadoc.

Bug: 6052412
Change-Id: I3de2cc6f2b5af20acb87d6e0a105ac12b1be679b
indListener.java
ebView.java
ebViewClassic.java
ebViewProvider.java
19c9d98e90a45fb50caf68a0dc4ad699f2af6c37 23-Mar-2012 Jeff Brown <jeffbrown@google.com> Merge "Do not enable WAL mode for the WebView database."
9ac2d3bcde40abce8ab8af56560ea6b3ee5f9941 23-Mar-2012 Jeff Brown <jeffbrown@google.com> Do not enable WAL mode for the WebView database.

There is no need to enable WAL for the WebView database because it
does not require high throughput.

Enabling WAL increases memory usage and can also cause problems if
the same database is opened in multiple processes, which can happen
if an application has UI code running in multiple processes. Normally,
we would use a content provider to ensure that the database is only
opened within one process (and then accessed remotely view RPC), but
we can't do that for WebView because it is part of the framework.

Deleted the call to setLockingEnabled. It does nothing.

Bug: 6124556
Change-Id: Ic397c74872fe6b1246da0c859eab0d5147045c86
ebViewDatabase.java
b909b6a1481b9832ede549d17e2e4478bbdd2efe 22-Mar-2012 Michael Kolb <kolby@google.com> Merge "Monkey protection"
87a435a69d2d13f6d393a792ff21e986f68722f6 22-Mar-2012 Michael Kolb <kolby@google.com> Monkey protection

Bug: 6191709

Change-Id: I0bc16f7970bda6b3f5ae3b5d59e3fbdee09a4956
ebViewClassic.java
cd93e15c09d790308b1cfc929e375fc413ca7e6b 02-Mar-2012 Jonathan Dixon <joth@google.com> Remove spurious @hide comments.

The whole class is now hidden, so these are no longer needed

Change-Id: Id110915778346daf9f58e100d5b81cf8382ef3db
ebViewClassic.java
fd2467d779ae38e5edb7aba976752019cd07008c 02-Mar-2012 Jonathan Dixon <joth@google.com> Remove spurious checkThread() method

This is now handled in WebView.java

Change-Id: I44343a72d993598267deaa6a9e1900b963bf3cb3
ebViewClassic.java
20a75451d10dbb6efdfb6a2bb3a4903f87ff58ec 22-Mar-2012 Steve Block <steveblock@google.com> Remove superfluous @hide annotations from WebSettingsClassic

This entire class is now hidden

Change-Id: Idb6c49b2e66e515e0979ac73e95dacfef8d18d23
ebSettingsClassic.java
b6f3339a8dc9558a5967de999aea82be183dc970 21-Mar-2012 George Mount <mount@google.com> Fix location of selection handles on rotated text.

Bug 6206177

Change-Id: If4509b75aa2f71f80e44e3820f69e1844534bed2
ebViewClassic.java
8dc8a435a123414b058799b3df2b567f22dc518c 21-Mar-2012 George Mount <mount@google.com> Fix merge error

Change-Id: Ia48e1f064b697fa328e5d582862dbe723f7ffd5d
ebViewCore.java
f3616da6a8f5576c99a0cf1884f2c6be758f63f7 21-Mar-2012 George Mount <mount@google.com> Merge "Make paste window and caret handle show up at the right time."
a6c4d8e018e39ff94263ce8f2a31b768104d1bb6 08-Mar-2012 Jonathan Dixon <joth@google.com> Rename getWebView() to getWebViewClassic

Interdepends on https://android-git.corp.google.com/g/170037
Tidys up a TODO from my webview proxy patch.
This allows me to re-introduce getWebView(), but now returning the
actual WebView instance which is needed by my upcoming change to WebKit
linked above.
Also moves sendPluginDrawMsg() to WebViewCore for convenience in the
MediaTexture code that calls this.

Change-Id: I57b72504a792de58d15f386abf4a9d821449ab0a
rowserFrame.java
TML5Audio.java
TML5VideoViewProxy.java
ebViewClassic.java
ebViewCore.java
9a5f56563f2a46ea6d1991dd1819bb9240f2dab1 21-Mar-2012 John Reck <jreck@google.com> Don't contentInvalidate when changing a WebView property

Change-Id: I629671f1edffed945395eef182eeb6e8617e32de
ebSettingsClassic.java
f796fdfe6d5ebc4f22b5cb167f866c7a74d71260 19-Mar-2012 George Mount <mount@google.com> Make paste window and caret handle show up at the right time.

Bug 6194009
Webkit Change: I7f8bc7266df52a67245b0a971826fd14e0d715c5

Change-Id: I460db436bd79d8ff72b457b5878ffe468400031f
ebViewClassic.java
ebViewCore.java
3a382b58c89090a0051a58a8255e681f7266835d 20-Mar-2012 John Reck <jreck@google.com> Merge "Pipe down isHardwareAccelerated"
146786800480ba322fca71d150e19a48fc980cdd 20-Mar-2012 John Reck <jreck@google.com> Merge "Include MotionEvent on ACTION_MOVE's TouchEventData"
2b64c5a6f70bfae7db95f763441b52a506d6f630 19-Mar-2012 Teng-Hui Zhu <ztenghui@google.com> Don't allow enter full screen while still in full screen mode.

bug:5504581
Change-Id: Ib4922ce2cdb89b24120f87177658ce94c483f118
TML5VideoViewProxy.java
3869fa22949e1484d724376767f39403f313658e 17-Mar-2012 John Reck <jreck@google.com> Include MotionEvent on ACTION_MOVE's TouchEventData

Change-Id: Iaf2aa284d0e794d0d9fa430b7c0da2aedd196ce1
ebViewClassic.java
9e4fdfae11b921b57d5e12cbc1ad0fbc8daab41e 16-Mar-2012 George Mount <mount@google.com> Merge "Move the selection handles vertically to match TextView."
f5124e39b84b6b718e5cf42a3fc3510f8167dc9a 16-Mar-2012 George Mount <mount@google.com> Move the selection handles vertically to match TextView.

Bug 6185758

Change-Id: I4165f216b5e02cab5b19f10666f28abbb956de03
ebViewClassic.java
abeb6a791501151308d06db6aebb438e16c1a784 06-Mar-2012 Victoria Lease <violets@google.com> proposed public API for asynchronous find-on-page

Bug: 6052412

Change-Id: I63bff3bfda50eede958cb885f5068ae94bdcfe7d
indActionModeCallback.java
indListener.java
ebView.java
ebViewClassic.java
ebViewProvider.java
a5408e619a0d9f4b516d76ee053da05a5d94227d 16-Mar-2012 John Reck <jreck@google.com> Pipe down isHardwareAccelerated

Change-Id: I19285ea03409279aea09f9e44a1870364762f877
ebView.java
ebViewClassic.java
ebViewProvider.java
c6c549d8d2eb30c66e43d6559a35ee1a07c58e68 16-Mar-2012 George Mount <mount@google.com> Update edit text size when the text changes so scroll works.

Bug 6176413
Webkit Change: I487322ca9578c003f937b92ca4e8d46d34ea8c78

Change-Id: I6b8f244cd747d6d19c261d685a3cfb9ef4d71ec3
ebViewClassic.java
ebViewCore.java
f63c52ac87c07ca37b9681a949b1bb5febce3e43 15-Mar-2012 George Mount <mount@google.com> Merge "Add scrolling editable text with a finger drag."
f70276a2590fd456c1eb3180f86a4a80fc38497f 12-Mar-2012 George Mount <mount@google.com> Add scrolling editable text with a finger drag.

Bug 6156451

WebKit change: Ie08712fb17b237fbb2d520d745ef8a2e489fd728

Change-Id: I1a16c708e5ea2ef8bd1f99197dacbc7831764ef4
utoCompletePopup.java
ebViewClassic.java
ebViewCore.java
146059898b45755ca11439324d701306d05eefd4 15-Mar-2012 Selim Gurun <sgurun@google.com> Merge "Fix file path calculation for asset files."
658dcd87db14935275d5cbabdd63662c41062ed2 15-Mar-2012 Selim Gurun <sgurun@google.com> Fix file path calculation for asset files.

Bug: 6019611
filter out query params and URI fragments from file path.

Change-Id: Ia5892490a5ffa89d82b52c2a5e6956a244566a4a
rowserFrame.java
5a080e2207df7e50d22cbdb78ed89c33127a6bd4 14-Mar-2012 Teng-Hui Zhu <ztenghui@google.com> Live streaming video may not have the right size at prepared

The fix is add the OnVideoSizeChangedListener.
bug:5420327

Change-Id: I1e0b371b8b95b86a1c0903f4bdb1d8f38de793b7
TML5VideoFullScreen.java
e5359373e039c2a30a655d4d5ad82ab08a4715cd 13-Mar-2012 George Mount <mount@google.com> Merge "Support "prev" for IME input."
60c7bcbd13ccc42f2fa2dc2b66448e388d6f9553 12-Mar-2012 George Mount <mount@google.com> Remove Logs inadvertently added to AutoCompletePopup.

Change-Id: If5062ad8485a8f7ce66dd5b2196c8559bc6ff3e9
utoCompletePopup.java
a34a5ed95191cbe1cdf7fa59dc005d65b3595887 10-Mar-2012 George Mount <mount@google.com> Support "prev" for IME input.

Bug 6152403
WebKit change: I09e5f63d41bb88a632f70b010e8ab4851bf90bab

Change-Id: I6d339d724616b9f156458dd4223d3b991191b13d
ebViewClassic.java
ebViewCore.java
c4ffe77a710880416a7cf7c20277311bab2d7abc 12-Mar-2012 George Mount <mount@google.com> Merge "Add back auto-completion and auto-fill."
c419610477a1e8ff4d83c47b049a127f99ffec14 10-Mar-2012 John Reck <jreck@google.com> Merge "Remove wrong nativeSubtractLayers"
559c4841a631321efc2284de9187dbaccce50550 10-Mar-2012 Ken Wakasa <kwakasa@google.com> Merge "Fix obvious typos under frameworks/base/core"
bcd5dd7c9a6d5fb5add4041dbd62d1670a69d526 01-Mar-2012 George Mount <mount@google.com> Add back auto-completion and auto-fill.

Bug 5993316

Webkit Change: I9d09a924a579d2d4551bff0489670de71d04757e

Change-Id: If00d42c0cb4f2c207f0d502e297741e1d6a68bf4
utoCompletePopup.java
ebViewClassic.java
ebViewCore.java
d09666cbf0ae52043a8d41938526a726d69207bf 10-Mar-2012 John Reck <jreck@google.com> Remove wrong nativeSubtractLayers

Bug: 5338388

Change-Id: I6b40d29d53df67bc04e8e52627b5d0c2769c28a5
ebViewClassic.java
d78ad29b0929b86d6084b618fbec83027294fff1 09-Mar-2012 Michael Kolb <kolby@google.com> fix callback NPEs when WebView is destroyed

Bug: 6141489

change destroy flow for WebViewCore and block callback
messages
Change-Id: Ib15a0e016508bc6df031996adde150dd37c195c4
allbackProxy.java
ebViewClassic.java
ebViewCore.java
c9a390811e03c40dcff4e15bfdeb2c68edd969a2 09-Mar-2012 Victoria Lease <violets@google.com> Merge "finalise scrolling before checking scroll position"
9776ed7b944ab6d8a37af7ac95d77077d8750019 09-Mar-2012 Victoria Lease <violets@google.com> Merge "scroll relative to visibleRect in spawnContentScrollTo()"
3beeb1c6da955efde39a71a73175e6f4f7a98609 09-Mar-2012 Victoria Lease <violets@google.com> finalise scrolling before checking scroll position

Bug: 5470588

Change-Id: I09435875895452d0b015a641b471b113b84f9bf5
ebViewClassic.java
f76a50ce8fdc6aea22cabc77b2977a1a15a79630 09-Mar-2012 Ken Wakasa <kwakasa@google.com> Fix obvious typos under frameworks/base/core

Change-Id: Ia5fc3db1bb51824e7523885553be926bcc42d736
RLUtil.java
ebViewClient.java
16e25e6ad8659f8b22f4dc0cb9f6ea95a9e7493f 09-Mar-2012 Victoria Lease <violets@google.com> scroll relative to visibleRect in spawnContentScrollTo()

WebKit calculates its scrolling destination coordinates relative to the
visibleRect that WebCoreViewBridge provides it. That visibleRect is stored
in WebViewClassic as mScrollOffset. When a titlebar is displaying, the
coordinate conversion from content to view fails. This conversion is used
in many other places and seems to function perfectly fine for them, so I've
concluded that while it may be the wrong tool for this particular job, it is
the correct tool for many others. As a result, I've left the conversion as it
is and simply fixed the function that WebKit calls to programatically scroll
the content. This fixes all of the programmatic scrolling issues I've been
seeing with find-on-page without breaking anything else.

Bug: 5470588

Change-Id: I50d3af4dd8a7fbd2d04bbb41e38f3e6947fbb46a
ebViewClassic.java
ffb66ec254d8266c03cf37b2937fe0570a3e8e24 08-Mar-2012 Jonathan Dixon <joth@google.com> Merge "Remove duplicated comments from WebViewClassic"
39aae0cefbcc4e30076b9c393e64bcab4eb36805 07-Mar-2012 John Reck <jreck@google.com> Merge "Don't draw the focus ring if we don't have focus"
28ae199eee06e57b5fc3fd173344a7c91ebb5d06 07-Mar-2012 Chris Craik <ccraik@google.com> Merge "reenable webkit paint pausing"
07b201194a6cc297f15d1e6c80f1a3414178e00c 07-Mar-2012 Chris Craik <ccraik@google.com> reenable webkit paint pausing

bug:6016196

Change-Id: I4fcab8d84b39f033724c45845ef6c67b3071c509
ebViewClassic.java
413fab3f4410e3aebf0fd2268f3854163b656434 07-Mar-2012 John Reck <jreck@google.com> Don't draw the focus ring if we don't have focus

Change-Id: Icb03060a03caf817ea39935bb56e14b5c86ed57b
ebViewClassic.java
afeecb0740938d295083335950ea901d832a794c 07-Mar-2012 John Reck <jreck@google.com> Merge "Fix focus rings for buttons"
ef109b0b7023b665a60cdf2b51f0bbea6c5be473 07-Mar-2012 John Reck <jreck@google.com> Fix focus rings for buttons

Bug: 6124914

Change-Id: I8cb63de2636afc297756de7733de7bdda920b694
ebViewClassic.java
e6725bcba58146688960631b0d925a1fe1f39772 07-Mar-2012 John Reck <jreck@google.com> Merge "Fix unhandled navigation path"
4fa40371b3d284e9112838ac64cb4b44e0627f55 06-Mar-2012 John Reck <jreck@google.com> Fix unhandled navigation path

Bug: 6109044
Tab keys are handled via canTakeFocus & takeFocus (new path)
Arrow keys are handled by seeing if the keyDown was unhandled (similar to old path)

Change-Id: I825de102de31443b1383a8126992c65a4957dcce
ebViewClassic.java
ebViewCore.java
18e98863421d7596902d6c8d20b62af1ac4ef1da 06-Mar-2012 Nicolas Roard <nicolasroard@google.com> Pass the version down to native

Change-Id: Ie240ea9875862288cf09fcfa1113b8e6cb3a7b1d
iewStateSerializer.java
b2676f76b6dd078604754b0a7b3fc3095835570e 02-Mar-2012 John Reck <jreck@google.com> Delete more navcache stuff

Change-Id: Ic32559948b90abb3e8e755c5eb533dd9e83b3190
ebTextView.java
ebViewClassic.java
ebViewCore.java
oomManager.java
02b693ecd4d13e75b2bae5972242c1c23cf98764 05-Mar-2012 Michael Kolb <kolby@google.com> Merge "fix race condition in WebViewClassic.destroy()"
6ddf44d81538fbcc8c0732ea53770bc23a6d7cf7 03-Mar-2012 Michael Kolb <kolby@google.com> fix race condition in WebViewClassic.destroy()

Bug: 6088940

Change-Id: If2cf26d4aab73d2d8689e4e3f9ec8e91193c966d
allbackProxy.java
ebViewClassic.java
ebViewCore.java
f72a4464e60b72a05af66f69b6bec1aff8574c50 02-Mar-2012 John Reck <jreck@google.com> Fix flash

Bug: 6110088

Change-Id: Ic7ecb9d773021a0cde803a3920ad716496ccc9ae
ebViewClassic.java
19b8011f8a6f627b2c13e099a423960bc6829274 02-Mar-2012 Jonathan Dixon <joth@google.com> Remove duplicated comments from WebViewClassic

Instead, just reference the authoritative docs in WebView
Also add @Override for all WebViewProvider overriden methods.

Change-Id: I02adf5dffed9dca3934c03c5cd93f005773e406e
ebViewClassic.java
9a676bfb5ff3eff5c1814e8eeaea9e0f2e29aae6 02-Mar-2012 George Mount <mount@google.com> Quick fix for Monkey NPE.

Bug 6097462
If paste window is shown before the insert thumb, an NPE
would be thrown. This will be fixed fully later when the paste
window is showing up only at the proper times rather than every
time the insert thumb is shown.

Change-Id: I91eec7c28fc64a2274f5c3cd36784fedcae055ca
ebViewClassic.java
3c90952036a5ff7ddb2946c643f1a0bf1c31d53a 28-Feb-2012 Jonathan Dixon <joth@google.com> Refactor WebView to be a thin proxy class

Splits interface and implementation; all client calls are forwarded
to an abstract WebViewProvider interface, and the existing implementation
moved into the WebViewClassic implementor of this interface.

Originally taken from a snapshot from the development branch, by:
git diff HEAD 9a4c328a54cc05e5 | git apply
- but then rebased to keep up to date with master

Interdepends on webkit and Browser changes:
https://android-git.corp.google.com/g/158979
https://android-git.corp.google.com/g/167911

Change-Id: I91403f32654ff308934e95c832d17b292a7d9b2e
ccessibilityInjector.java
rowserFrame.java
allbackProxy.java
indActionModeCallback.java
eolocationService.java
TML5Audio.java
TML5VideoFullScreen.java
TML5VideoView.java
TML5VideoViewProxy.java
WebCoreJavaBridge.java
verScrollGlow.java
luginFullScreenHolder.java
luginManager.java
electActionModeCallback.java
iewManager.java
iewStateSerializer.java
ebSettings.java
ebSettingsClassic.java
ebTextView.java
ebView.java
ebViewClassic.java
ebViewCore.java
ebViewFactoryProvider.java
ebViewProvider.java
oomControlEmbedded.java
oomControlExternal.java
oomManager.java
0dc0da67d9775b2364a38d015e0610492708a02e 23-Feb-2012 Jonathan Dixon <joth@google.com> change WebView to remove use of base class fields

This is done as its own step to make follow up patches easier on the eye.
(mostly implemented with eclipse refactor magic)

Change-Id: I23a9c1cbc5bba9a492e7e2ef1ddd275d84bec057
ebViewClassic.java
ded37ed9a5558aa5528b90de6066729656cbe71c 14-Feb-2012 Jonathan Dixon <joth@google.com> Add new WebViewClassic files

Done as its own step, to make the subsequent diff easier on the eye

Change-Id: Ib81eba5c7c26f2e0c9a60792bb0f7cd10e4c78bc
ebSettingsClassic.java
ebViewClassic.java
148c5dadf44cf14a2fb617ce1e3a9e71ee0ce0bc 01-Mar-2012 Teng-Hui Zhu <ztenghui@google.com> Merge "Clean up Surface Texture on Java side"
fdd646b2b105e23cdc8517ac055448340a667e37 01-Mar-2012 Teng-Hui Zhu <ztenghui@google.com> Clean up Surface Texture on Java side

bug:6079959

Change-Id: I5869d4fe4dc6eb12a117937b95a8277897d71ebb
TML5VideoInline.java
ebView.java
b290caafa7ea4e13aae8af7877df4e4891ef46b3 29-Feb-2012 George Mount <mount@google.com> Merge "Add support for maxlength text fields to WebViewInputConnection."
6012edec287cf081a1aacafd55aac1adfbd90b19 29-Feb-2012 George Mount <mount@google.com> Add support for maxlength text fields to WebViewInputConnection.

Bug 6083776
While WebKit limits the length of a field with maxlength, the
InputConnection can get out of sync with it when it doesn't
recognize that the characters haven't been changed. Adds
maximum field length to WebViewInputConnection to limit the
characters typed.
WebKit Change: Ie02f82a3f5b3527c378938d93bac2dece802af26

Change-Id: I135871db7809e8dc28a3ad8d3aa852976a274555
ebView.java
ebViewCore.java
42fb45588f9fc469a9217c06ef0241b3de657922 28-Feb-2012 John Reck <jreck@google.com> Merge "Fix cursorRingBounds NPE"
5528d7ccd1a02798af076ff07717f1f2dab4e11a 28-Feb-2012 John Reck <jreck@google.com> Fix cursorRingBounds NPE

Bug: 6083657

Change-Id: I0aa30bc1df266b2f74b0fedfb635b71d63638fdb
ebView.java
79d99bebc19cf20cb486953ef2e9f6d96b27ab18 28-Feb-2012 John Reck <jreck@google.com> Fix NPE

Bug: 6083360

Change-Id: I8d4a4cfb4ca0bbefd848a6ed7a628bc3838e4f91
ebView.java
e7b57be185422a136fa2ba6b78c0a08497cdd4bc 28-Feb-2012 George Mount <mount@google.com> Merge "Perform action when action button pressed during text input."
e12dd8fd969e0664bfaee457567f654ac937461d 27-Feb-2012 George Mount <mount@google.com> Perform action when action button pressed during text input.

Bug 6059576

Change-Id: Ia87f323873b86b22930a2a39bf1c20756f06beec
ebView.java
1023aa44ef23067c9660e782e9b48d63bf65d1a2 23-Feb-2012 George Mount <mount@google.com> Paste window instead of action bar when cursor shown.

Use the paste window shown with TextView when the
cursor is shown rather than use the action bar.

Change-Id: I47d0bc2d5cba066399532a9e75171a75628ac7ed
ebView.java
1d7b856a970777aed7cbe0aa1ad075e24bc0b860 27-Feb-2012 Ben Murdoch <benm@google.com> Merge "Fix looping HTML5 Audio."
b98a81f86ab87f1d718f329f03256111fdabd8d1 24-Feb-2012 Adam Powell <adamp@google.com> Add support for optional titles in action modes

Optional titles will only be displayed in the CAB if they entirely fit
instead of ellipsizing.

Fixes bug 5821883

Change-Id: I0cfd6d4fd34a4fa9f520499d577706da30606811
electActionModeCallback.java
0d4134834eeceffa6b75e02d2c8a1ffce1deffea 24-Feb-2012 John Reck <jreck@google.com> Merge "Fix HitTest type detection"
59265e896a87502d07c981d26e93ad078920999c 24-Feb-2012 John Reck <jreck@google.com> Fix HitTest type detection

Change-Id: Ide3d137de18302d2bb83437c3709a31afcdef9ff
ebView.java
374d243a1a1eb79b7fbccc55f1b3f5715e81f6ab 24-Feb-2012 George Mount <mount@google.com> Merge "Disable selection when nothing selected."
0168bef13ff08e100845c7a4b26e37fcc6b5f8af 23-Feb-2012 Ben Murdoch <benm@google.com> Fix looping HTML5 Audio.

When an <audio> tag has the loop=true attribute,
Webkit tells us to seek back to 0 before we are supposed
to have stopped the stream. But by the time that the message
gets back to the Android MediaPlayer java side, it's already
stopped. So after seeking, we play() again if the player is in
the COMPLETED state. Change the code to do this and handle
the case that we call play on a COMPLETED stream
(resetting internal state, etc).

Note that this has the side effect that we will start playing
the stream after any seek on a COMPLETED stream - e.g. dragging
the slider thumb on the progress track after the stream is
finished.

Bug: 5461143
Change-Id: I6cf4d46d9a1985caf9f9ab85dbcf65535c8dcd77
TML5Audio.java
5d5b378383cfcdb70efb94c6d6c66ed5623141ec 24-Feb-2012 John Reck <jreck@google.com> Merge "Support email and phone types"
3a0e011fac50212c98b298e59615ac325671377f 24-Feb-2012 John Reck <jreck@google.com> Support email and phone types

Change-Id: I16571048954495aaaa11f25bf658dc128430460e
ebView.java
9a6077e22eeb0364b6b66d92f594f30cfdf5448c 24-Feb-2012 George Mount <mount@google.com> Disable selection when nothing selected.

Bug 6059606

Change-Id: I2c9acaa601e38a2cd0eec516709aa63f31ce0e29
ebView.java
583e885bef9891f582d19b06d575fc0cd96620a0 23-Feb-2012 George Mount <mount@google.com> Merge "Add javascript key events for special characters."
4d0a8cf06797cd596c0f1f35b295ce001c41eef5 23-Feb-2012 John Reck <jreck@google.com> Support mIntentUrl for addresses

Change-Id: I61abf7f333608fa91629ce62e348dda83a795e45
ebView.java
ebViewCore.java
53519eacacbd238a0030bacdda3d31fa5b12af67 23-Feb-2012 George Mount <mount@google.com> Add javascript key events for special characters.

Bug 6033096

Change-Id: I6c10db405266eee3e25f7446a43f4d7a566f3ef7
ebView.java
ebViewCore.java
2eb7309388644db2ad3be18986804422611fd90e 23-Feb-2012 Steve Block <steveblock@google.com> Merge "Drop support for Android HTTP stack"
6420ec4cd559065f494ef443d73ec161b741e5f6 23-Feb-2012 George Mount <mount@google.com> Characters sent directly to InputConnection treated as changes.

Bug 6045123

Change-Id: Iab8c1e3c307ec84c4f6934abfa2d0cea726d9efe
ebView.java
49cc3d98e296d115f1816b8a96b8ff713cf7abe3 23-Feb-2012 George Mount <mount@google.com> Merge "Changes that don't map to keys sent as text changes."
29cc47e62e1372f020c0488592c0bb1747f9a1f2 23-Feb-2012 John Reck <jreck@google.com> Merge "Fix drawing focus node rect in touch mode"
7bc111cc9ddec303b64990c80b98824420c45f88 14-Feb-2012 George Mount <mount@google.com> Add caret thumb following selection handle logic.

Webkit Change: I3cb0499c5fa3a7de241025d9be04ff44f54f2a74

Change-Id: I669653ca6890fe1136fdd42e24f4c3a34c00d1e4
ebView.java
ebViewCore.java
3c30d145602261a1c33f39ab143146b511e8b564 23-Feb-2012 George Mount <mount@google.com> Changes that don't map to keys sent as text changes.

Bug 6033096

Change-Id: I61da4d398ac140fdacfdd344dc0e2885da907ce0
ebView.java
2b3d842a1c4bdbbc9ada932bbaac5561cede17ea 22-Feb-2012 John Reck <jreck@google.com> Fix drawing focus node rect in touch mode

Change-Id: I5981d038e48a7218cb5f6dcd09ef909746de158d
ebView.java
0b2cfd8cb168481dbdc674e066e477bc555c9d32 15-Feb-2012 George Mount <mount@google.com> Use input type for IME options.

Bug 5987568
Get the text type from webkit when initializing the field for
text entry and use that type to specify the IME input type
and options.
Webkit Change: I7eceafdbede8b7b463590a2e875a237241479ad1

Change-Id: Ic8c14687a70727148dfc8115c46f09530ca0c0f6
ebTextView.java
ebView.java
ebViewCore.java
d3fcaa4504034e54b14c4f0413c17b30491a318e 22-Feb-2012 John Reck <jreck@google.com> Merge "Turn off the focus animation"
fbf9cf8d6bfd3ab1f0bc25675d57663f892804f3 22-Feb-2012 John Reck <jreck@google.com> Turn off the focus animation

Change-Id: I860220622415c6d3f93f526c854237ac1dd001ce
ebView.java
0acb1c32fa002a648c8090f622b0094f406d5411 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.

LoadListener, HttpAuthHandlerImpl, Network, SslErrorHandlerImpl, WebViewWorker
- Android-stack specific, removed
StreamLoader, FrameLoader
- Require LoadListener, removed
CacheLoader, ContentLoader, DataLoader, FileLoader
- Extend StreamLoader, removed

BrowserFrame
- Removed methods that create LoadListener
- BrowserFrame.startLoadingResource() is called from native
CallbackProxy, WebView
- Removed calls to Network methods
CacheManager, CookieManager, CookieSyncManager, WebViewCore, WebResourceResponse
- Removed other Android-stack specific code
JniUtlil
- Removed useChromiumHttpStack()
WebViewDatabase
- Removed all code to create cookies and cache databases for Android HTTP stack

See corresponding WebKit change https://android-git.corp.google.com/g/166327.

Bug: 5495616
Change-Id: If491675516f6eb187077af4220214bb6e6a8d045
rowserFrame.java
acheLoader.java
acheManager.java
allbackProxy.java
ontentLoader.java
ookieManager.java
ookieSyncManager.java
ataLoader.java
ileLoader.java
rameLoader.java
ttpAuthHandlerImpl.java
niUtil.java
oadListener.java
etwork.java
slErrorHandlerImpl.java
treamLoader.java
ebResourceResponse.java
ebView.java
ebViewCore.java
ebViewDatabase.java
ebViewWorker.java
1e17ecae25c8b56db6d168851b858aa3ef9a3b6a 22-Feb-2012 Steve Block <steveblock@google.com> Remove unused cache methods

These were added in https://mondrian.corp.google.com/changelist/19077-p9.

CacheManager.setCacheDisabled() has been unused since
https://mondrian.corp.google.com/changelist/20678-p9 (see change to WebView),
so the WebKit cache is always enabled.

BrowserFrame.setCacheDisabled() has been unused since
https://mondrian.corp.google.com/changelist/33679-p9, so the WebCore cache is
always enabled.

BrowserFrame.CacheDisabled() has been unused since
https://mondrian.corp.google.com/changelist/32803-p9 (see change to WebView).

See WebKit change https://android-git.corp.google.com/g/167298.

Change-Id: I68bf334f4a34df1b88d2b5204e50c2eb04db7e69
rowserFrame.java
acheManager.java
8352e51db3e92a6fb50fa1714f2e3516bb538be1 22-Feb-2012 John Reck <jreck@google.com> Merge "Improved keyboard navigation cursor rings"
47d0ee9766fb972f49d5116d2d7d3a23b5321211 14-Feb-2012 Victoria Lease <violets@google.com> async find-on-page implementation via WebKit

Change-Id: I63c6f8fc97bf452ea4456c77a89c5d2540c3d1ea
indActionModeCallback.java
ebView.java
ebViewCore.java
37c4a9f99a32748682b56d501cbc03c4b3c5b3cf 18-Feb-2012 John Reck <jreck@google.com> Improved keyboard navigation cursor rings

Change-Id: I77b974bb9eae0f9dc8e57320632e5915e8295839
ebView.java
ebViewCore.java
4c69fc575e3bc76536c167969a098e776ba53143 21-Feb-2012 Martin Kosiba <mkosiba@google.com> Merge "Update the JavaDoc on getVisibleTitleHeight."
303bc083c5a158ff240be658ac30d201cad56a18 20-Feb-2012 Steve Block <steveblock@google.com> Clean up JavaDoc for CacheManager

Clean-up only, no functional change.

Bug: 5461416
Change-Id: I272b1456e797f398014a6a4159319e5519fcaf64
acheManager.java
ffefba15e3a011836f037c185d4909a59995ff32 21-Feb-2012 Steve Block <steveblock@google.com> Fix CacheManager.getCacheFile() with the Chromium HTTP stack

We need to populate the headers map with both the Android and Chromium HTTP
stacks.

Change-Id: I2df0aa2fce917ad43a1cac1426a324e49b2950f9
acheManager.java
2601dccdc0145a24edcfc9949dc1eff83ceff3c6 21-Feb-2012 Steve Block <steveblock@google.com> Merge "Don't try to use Network timing with the Chromium HTTP stack"
35067317a46c5a99e900379c4300f85690795dfa 21-Feb-2012 Steve Block <steveblock@google.com> Merge "Clean up JavaDoc for WebResourceResponse"
dd409dfbc44b11028f354d7b01a890f4bc7d6c29 20-Feb-2012 Martin Kosiba <mkosiba@google.com> Update the JavaDoc on getVisibleTitleHeight.

Changed 'titlebarview' to 'embedded title bar' and added information
about the return value of the method.

Change-Id: I970ab76282bfed4949f1d738f34359d8c1950aba
ebView.java
acd7e2eb8b896bf69f78e41b21719912efb898f9 20-Feb-2012 Steve Block <steveblock@google.com> Don't try to use Network timing with the Chromium HTTP stack

Change-Id: Ibba20a13e1389c2a7b1cc0cc45d3ef012894cb99
allbackProxy.java
938d2fbc57f05cc9bab9b551d7a454644208ee07 21-Feb-2012 Steve Block <steveblock@google.com> Clean up JavaDoc for WebResourceResponse

Clean-up only, no functional change.

Bug: 5461416
Change-Id: Iec37d5f67674b0fb9b5521c179773b7d09a3985c
ebResourceResponse.java
e5602e057e7e302771c02a0d5aafce4c3c72ca50 21-Feb-2012 Steve Block <steveblock@google.com> Merge "Clean up JavaDoc for CookieManager"
77db9990777efd100bee4ec47568414ea039e99b 20-Feb-2012 Steve Block <steveblock@google.com> Clean up JavaDoc for CookieManager

Also fix naming of CookieManager.pendingCookieOperations.

Clean-up only, no functional change.

Bug: 5461416
Change-Id: Ia129c4535b8ef6a5a314e588c34ee6db2fe5b386
ookieManager.java
28e0390da2d3d85fb800bbc9eab151ab914dccc8 21-Feb-2012 Steve Block <steveblock@google.com> Merge "Make LoadListener.willLoadFromCache() private"
b1affa174700fad775b2938e0c3aca107c19a12d 20-Feb-2012 Steve Block <steveblock@google.com> Make LoadListener.willLoadFromCache() private

This is only called only via JNI. Clean-up only, no functional change.

Change-Id: I8d4ef85ac7634333b3b2283ff12afd7b6a99095f
oadListener.java
93ba4fedebb78ba47c24e8472c8960ea8fdc933a 14-Feb-2012 Selim Gurun <sgurun@google.com> Act on credential storage updates.

Bug: 6009802

Cherry pick fcd93b72a3dde2b20fa0d8b04d3f47311b0856a1
Listen to credential storage updates and clean state when necessary.

Change-Id: I2c63e6771e9373da8b39781fdcf3d21583c4e3b2
ebView.java
ebViewCore.java
d8d6afdc068e8aa31fddd06f5946311d2b961026 16-Feb-2012 Selim Gurun <sgurun@google.com> Merge "Revert "Act on credential storage updates.""
43e41580e4c700e970cc5e62180a767ab424da6d 16-Feb-2012 Selim Gurun <sgurun@google.com> Revert "Act on credential storage updates."

This reverts commit fcd93b72a3dde2b20fa0d8b04d3f47311b0856a1
ebView.java
ebViewCore.java
d22bf4b09a819a342e87ac5c2ac881cda31e8e27 16-Feb-2012 John Reck <jreck@google.com> Merge "Initial support for keyboard navigation"
e83b83fe20aa89f9bf730bb07006890f6c65e89c 16-Feb-2012 Selim Gurun <sgurun@google.com> Merge "Act on credential storage updates."
9b24dad746718df41f6260e36f2e824868896d02 14-Feb-2012 John Reck <jreck@google.com> Initial support for keyboard navigation

Bug: 6019693

Change-Id: I8d29a5cb46fc59bb2f53e8d334bc767b5ed16901
ebView.java
ebViewCore.java
fcd93b72a3dde2b20fa0d8b04d3f47311b0856a1 14-Feb-2012 Selim Gurun <sgurun@google.com> Act on credential storage updates.

Bug: 6009802

Listen to credential storage updates and clean state when necessary.

Change-Id: I48f2e7d6e036882c2b4a29fbd357ca018fd4e4c7
ebView.java
ebViewCore.java
d658c024ea35ec267be98f1d0b9b3cec7cbde888 15-Feb-2012 Chris Craik <ccraik@google.com> Merge "disable webkit paint pausing"
644b7d95f0baf077e4b228bf72defec29b5ff3e5 15-Feb-2012 Chris Craik <ccraik@google.com> disable webkit paint pausing

Temporary measure for investigating potentially related bug:5964385

Change-Id: I6eb0ba25991bdf7eab506b51a9eae71e9ddd436b
ebView.java
728f1ed5e35c7191bcf9fd57d09e380f4e89930f 14-Feb-2012 Teng-Hui Zhu <ztenghui@google.com> Merge "Update the scale while updating the drawGL functor"
7e2346d51a4511879d92a73fd35c30c71d0f3003 14-Feb-2012 Teng-Hui Zhu <ztenghui@google.com> Update the scale while updating the drawGL functor

bug:6008955

webkit change:
https://android-git.corp.google.com/g/#/c/165734/

Change-Id: I5ba7998a6b8f33b44582b0158ba966054aaad2a8
ebView.java
8d3836c11efa6a33520720b4a3e5caf9d2c01a7f 14-Feb-2012 Mangesh Ghiware <mghiware@google.com> Fix regression in default zoom setting

Bug: 6000309
Change-Id: I4255c847c0e7d2a5ab654014f6f4b5d32b5fdf67
oomManager.java
0777d2df89e4c5269fce6054ee1a0446043ce112 09-Feb-2012 Steve Block <steveblock@google.com> Merge "Clarify comments for WebSettings."
605a491c281da79aa1e2aa740f38ab5c0bdb138e 03-Feb-2012 Mikhail Naganov <mnaganov@google.com> Clarify comments for WebSettings.

setLoadsImagesAutomatically
getLoadsImagesAutomatically
setBlockNetworkImage
getBlockNetworkImage
setBlockNetworkLoads
getBlockNetworkLoads

Change-Id: Ic1486266a77254044425cdb51cce5c982ea0617c
ebSettings.java
5bd41b2949fe25e19ba8ec62da7e204403c51061 07-Feb-2012 Mangesh Ghiware <mghiware@google.com> Merge "Use WebKit hit testing result for centering on double-tap zoom."
5fe6f951ac0b013be76f2b34b8e87ca6d11010b3 03-Feb-2012 Mangesh Ghiware <mghiware@google.com> Use WebKit hit testing result for centering on double-tap zoom.

Iterate over the bounding boxes and find one large enough to fit the
screen width at reading scale. Align to left edge of said box.

Bug: 5175030
Bug: 5768421
Change-Id: Iac01e145336918b0a2b21d2864f46ba532aaf18f
ebView.java
ebViewCore.java
oomManager.java
d5544ac710f5ae9ee023c850e4490ccb5ebdf74b 06-Feb-2012 Chris Craik <ccraik@google.com> Merge "Pause webkit painting when UI tile painting queue is full"
4390c6b4a6b38b1c25fdf6b10b1310ff73c4f9ce 03-Feb-2012 Chris Craik <ccraik@google.com> Pause webkit painting when UI tile painting queue is full

Change-Id: I8836d7951f8f02d7f966dc22d807ea785ac9e637
ebView.java
ebViewCore.java
3debfa68c4bbccfd9112a0e3d2b7ad30195fbb4a 03-Feb-2012 George Mount <mount@google.com> Merge "Enable webkit text entry for all fields"
0caa4cef2224243a6b8dc0d990a3aa7ad57d331f 01-Feb-2012 George Mount <mount@google.com> Use a node pointer to identify content-editable fields.

Bug 5946645
Webkit change: I915b49c6161fc0604e584699ec96cc86ba96ac79

Change-Id: I0b1c52a6c78f2a2bc16a69fa97f21655af3209d3
ebView.java
ebViewCore.java
71d3641d4e337e4804bb0590c8bb77ca18fdaf2d 02-Feb-2012 George Mount <mount@google.com> Enable webkit text entry for all fields

Change-Id: Ie0385e93ac6ebb1834277b6e6cedfee77dbb4f58
ebView.java
9cf84627512cb87f9c664bff0763b6ad457ca9d7 01-Feb-2012 John Reck <jreck@google.com> Fix NPE

Change-Id: I9c05a11f971f033322b8988abf852c95cbaba8a5
ebView.java
540643bff56eb1283eb2804b592fad37221710ca 31-Jan-2012 John Reck <jreck@google.com> Support select all

external/webkit CL: 161648

Change-Id: I9cdff2e2e9a1e986ef10946924da85c7b577352b
ebView.java
ebViewCore.java
2bb2323d6361cb7f8cb625caa17c6b0b9e9a626f 31-Jan-2012 John Reck <jreck@google.com> Merge "Webkit text selection"
145b340773b4675df5eff586b137627c6c38369b 31-Jan-2012 Ben Murdoch <benm@google.com> Merge "Remove code that quits the webcore watchdog thread."
74ffdc30e01f21d49bef8ce1f96d12950b4311f3 25-Jan-2012 John Reck <jreck@google.com> Webkit text selection

Change-Id: Idec1ea19b773f100a88ebdb903a250ab923651d9
ebView.java
ebViewCore.java
b5622b60085086b753ae3ab64168099d0c1471bf 30-Jan-2012 Ben Murdoch <benm@google.com> Remove code that quits the webcore watchdog thread.

The WebCore thread lives forever ergo so should the
watchdog.

Bug: 5920210
Change-Id: I2596a4cc4720c4e09265b9a875680bb7891bd919
ebCoreThreadWatchdog.java
ebViewCore.java
5e61331da59921413a8e2a144146a8451a054020 30-Jan-2012 Jeff Sharkey <jsharkey@android.com> Move away from deprecated NetworkInfo extra.

Because the NetworkInfo included in CONNECTIVITY_ACTION broadcast
extra does not reflect the state applicable to the calling UID, and
the last sticky broadcast may have stale state, transition to calling
ConnectivityManager.getActiveNetworkInfo() directly.

Change-Id: I86b316fbedd0273585ad5f1248b091bc3a3a5520
etwork.java
913917449d4b5da28056a02b81fb49e73f98d9a1 27-Jan-2012 Teng-Hui Zhu <ztenghui@google.com> Merge "Revert "Hack to workaround the fact that the EGL context can be""
096f5579cb6d02f6d1cd4b66123452c26a0c09f1 25-Jan-2012 Teng-Hui Zhu <ztenghui@google.com> Revert "Hack to workaround the fact that the EGL context can be"

This reverts commit 2bc0b01ffe481af877de312f3a87fa769642d2f4.

A hack no longer needed.

Change-Id: Ia5162535e6683919c368f93428bac0fb258af506
ebView.java
fbcd98305ec8a99bd5b412577b7f8e6bcdff9b21 20-Jan-2012 George Mount <mount@google.com> Fix auto-complete for content-editable fields.

Bug 5608192
Text content for content-editable fields is
retrieved and given to the WebViewInputConnection
so that suggestions will work appropriately.
Edits with WebViewInputConnection uses
replaceTextfieldText just like WebTextView.

Webkit Change: Idcf8d99d9e844669ea68122a7509990f5ce8dcca

Change-Id: I5f1fcc13a0abe204db301e027954dc47c3a48db0
ebView.java
ebViewCore.java
50aca29a0b00c3f8f09b0c246da022df482ca56d 24-Jan-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug # 5863709 API request: Change param names of deleteSurroundingText to "before" and "after""
0c95dd3f4f02564fab9b86a221bbcbb4aafc2981 24-Jan-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix bug # 5863709 API request: Change param names of deleteSurroundingText to "before" and "after"

Change-Id: I727fad9a59cda915899674569bfabd29b9f5da60
ebView.java
7aa7ba1ce65650b3c4ee5aadaa40e6d7a13c9e5d 23-Jan-2012 John Reck <jreck@google.com> Fix crash when scrolling a layer

Change-Id: I6e61f3b38c5d1291ceb36c9dfa87fcd78480c2f4
ebViewCore.java
699ed8003877e14c72944461e5143e807e183558 23-Jan-2012 George Mount <mount@google.com> Merge "Add cut and paste to ContentEditable."
de9f0036ef58a55ca89a3c427a462bd84b5751c3 19-Jan-2012 Teng-Hui Zhu <ztenghui@google.com> Merge "Support full screen back to back playing using javascript"
96fae5e088916e1da8d4afaf40758ceec6e7187a 19-Jan-2012 Teng-Hui Zhu <ztenghui@google.com> Support full screen back to back playing using javascript

bug:5766427

Change-Id: I0117e50a3e547ac8c33cf966bef18e6d75f98660
TML5VideoFullScreen.java
TML5VideoView.java
TML5VideoViewProxy.java
3d09531f89238953be9065e0e2c1a755d424d392 10-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.

Webkit change: I194c6d9e2add67151b97092a1a54f5c081296000

Change-Id: I56543d17670a8c98484314c89c7fa6a94cb809e4
electActionModeCallback.java
ebView.java
ebViewCore.java
d9fdd9fd7862b0d56094fa9846fb7c730ec305a8 18-Jan-2012 Michael Kolb <kolby@google.com> Merge "Prevent IME from popping up on startup"
17146c7cc007c21b3ec36f8dec76aded15e7a53f 18-Jan-2012 Michael Kolb <kolby@google.com> Prevent IME from popping up on startup

Bug: 5869028

Change-Id: Ie5c7004def16eeac4147d19fb00fc9631a17579e
ebView.java
955fdda057363dbf1ae95ffeb542cde8ace28b54 18-Jan-2012 John Reck <jreck@google.com> Add tapHighlightColor support

Change-Id: I419eb3d8f1050efd05bb989a6b353ad45ee77acf
ebView.java
ebViewCore.java
48592a3d212b64dabb4b4b6fdf52c68fc857e721 18-Jan-2012 Teng-Hui Zhu <ztenghui@google.com> Merge "Support javascript to exit full screen video."
d7678a1684966cac10717b34b161b5241b9865c5 17-Jan-2012 Teng-Hui Zhu <ztenghui@google.com> Support javascript to exit full screen video.

When javascript request exit full screen, WebViewCore need to handle the
message from webkit thread and hide the custom view.

Webkit part:
https://android-git.corp.google.com/g/#/c/158652/

Change-Id: I9edbb5a4059f330fb29df116ae076ec52f81a1af
TML5VideoViewProxy.java
ebView.java
ebViewCore.java
01cc1d1e8c917ef2e63f0bd3ac38232d41820ad0 17-Jan-2012 Teng-Hui Zhu <ztenghui@google.com> Merge "Document update for WebView user to support HTML5 video"
c83a666fe6f808f99a88a34f3fe00ee16ed48fd9 17-Jan-2012 John Reck <jreck@google.com> Merge "Expand WebKitHitTest and do some preliminary caching"
06e09f6928ee50835ea156f55e95a3ccb4047f16 13-Jan-2012 John Reck <jreck@google.com> Expand WebKitHitTest and do some preliminary caching

Change-Id: Id9e9cc11f1482f434133e70b14970d7248a39008
ebView.java
ebViewCore.java
4695e20aa50845ccb8470b4fcd74229503d81d49 14-Jan-2012 Michael Kolb <kolby@google.com> fix layer scrollbar updates

Bug: 5868791

tell webkit the layer has been scrolled

Change-Id: Ib12963340d950be992fbe5f9520c9a33c04404e8
ebView.java
ebViewCore.java
50ba5a26e6d48928b94e44fc67f057d29f40b261 12-Jan-2012 Teng-Hui Zhu <ztenghui@google.com> Document update for WebView user to support HTML5 video

Change-Id: I299d2f2b3ec8dbf640e613b28635972e0a707903
ebView.java
b123e96059d9ed1aee19144bd1cce4b47cb5c3f1 12-Jan-2012 John Reck <jreck@google.com> Merge "Initial NavCache removal support"
4eda105cdb3ac0c33fee0deb3b6eb15be2672f30 20-Dec-2011 John Reck <jreck@google.com> Initial NavCache removal support

Change-Id: I927005093b620a1b1b60703bc8a58de539bdf3c8
ebSettings.java
ebView.java
ebViewCore.java
f8f4b69a28383ce430483f047234111349840599 11-Jan-2012 Teng-Hui Zhu <ztenghui@google.com> Merge "Query the native side to decide to play when going into full screen mode"
81754949e0110b9db44bef421d6282a3bf831138 11-Jan-2012 Narayan Kamath <narayan@google.com> Merge "Write unit tests for android.speech.tts."
e4c89e321c7a33a7baf1a90237d21220d637e966 11-Jan-2012 Teng-Hui Zhu <ztenghui@google.com> Query the native side to decide to play when going into full screen mode

Previously we save the state in Java side, but it is better to check with
native side since the exact state is already there.
This will help to get the updated state from javascript too.

bug:5765848

Webkit side change:
https://android-git.corp.google.com/g/#/c/157866/

Change-Id: Id0316b694c1597b50a1c3b123b31efc6b0fac706
TML5VideoFullScreen.java
TML5VideoInline.java
TML5VideoView.java
TML5VideoViewProxy.java
2ddb4c85093384f55d74a58a8bc0b7ebf6b6b265 10-Jan-2012 Mangesh Ghiware <mghiware@google.com> Merge "Fix issue with site-specific display density getting stuck."
6f2db8e75579ab562a8f97ec851198b404e336e8 07-Jan-2012 Mangesh Ghiware <mghiware@google.com> Fix issue with site-specific display density getting stuck.

This issue was found while investigating b/5328288.

After navigating to a page that specifies target-densitydpi in the
viewport meta tag, this density value wasn't reset to the default value
for a page that didn't.

Change-Id: I1a66dab769026367224ecf4cc28bc033ee97e475
ebViewCore.java
3d00578529966ba3ad8d6440d47d6c506e1fe0fe 09-Jan-2012 Ben Murdoch <benm@google.com> Merge "Prompt the user to terminate unresponsive pages."
c0c3025cf2b887b4eb7020c1b7e6f0db69a51aef 28-Dec-2011 George Mount <mount@google.com> Fix delete key with ContentEditable fields.

Bug 5806859
Bug 5795341
Add a custom InputConnection to capture the deleteSurroundingText
command and use it to send delete key codes to the WebView for
single deletes or calling into WebViewCore to delete contents for
more complex changes.
Also makes the IME options "normal text" for webkit-based text
entry.
Webkit change: Ic938d6fa

Change-Id: I18606014a034194928a61981dc3e2400a7db5fac
ebView.java
ebViewCore.java
e2e20835835c1ef214e72d9874671aba212e0a94 20-Oct-2011 Ben Murdoch <benm@google.com> Prompt the user to terminate unresponsive pages.

Run a background "watchdog" thread that will check for
the WebCore thread stopping processing messages (this
can happen if a piece of JavaScript goes into an infinite
loop, for example) and offer to close the WebView app when
it detects such a case, much like the normal system ANR.

Bug: 2563868
Change-Id: Ic74813b1e630d657c340a7017a4b0814071eb041
ebCoreThreadWatchdog.java
ebView.java
ebViewCore.java
c60aad2a8ab519a9f9ac03f4f9f929ded7ba2db5 06-Dec-2011 Narayan Kamath <narayan@google.com> Write unit tests for android.speech.tts.

Change-Id: Ie5b3b4cdd13be2babee9a44bae00da179b372d12
ebView.java
1986ed76d25d7c38049df4125c9d19d6626d03a8 07-Jan-2012 John Reck <jreck@google.com> Merge "Update WebSettings.PREVIOUS_VERSION"
5755d01d2cb017e19fed94ffde6122301460133f 06-Jan-2012 George Mount <mount@google.com> Merge "Remove GET_NATIVE_VIEW from WebViewCore to reduce JNI."
427f2e5ac56e810d55e4fdd70f01a975ca0ad64e 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.

Webkit Change: I02004fe1

Change-Id: I49c7ecfd598826ffe78067aab393a24860ce10ef
ebViewCore.java
d88f26e3aa11e09706211c88babbf09b5a214e93 06-Jan-2012 George Mount <mount@google.com> Merge "Clean up code using eclipse's automatic cleanup feature."
5883520fd7c9b3426d0fcc107f647f999a0a3232 06-Jan-2012 Jonathan Dixon <joth@google.com> Merge "Make WebView.HitTestResult static"
fab67a1532f228871a7b6b36d1318503b21928ea 05-Jan-2012 George Mount <mount@google.com> Clean up code using eclipse's automatic cleanup feature.

Bug 5826249

Change-Id: Iacd233625e144cdc522644aafee424aabd6a7f5d
ebView.java
ebViewCore.java
a4ad2928eb47974e922191dd008dfa98e3711ca0 05-Jan-2012 Teng-Hui Zhu <ztenghui@google.com> Merge "getDuration can be only called after prepared."
777710e50410bb1cd2c438afa494f941d94608ae 05-Jan-2012 John Reck <jreck@google.com> Update WebSettings.PREVIOUS_VERSION

Bug: 5825937

Change-Id: Idb0982e13ad6790ca71b16ff322864fca135f14e
ebSettings.java
0d1d30b330de30e7a1ca64ecc1c2d3cfc20a2f36 05-Jan-2012 Teng-Hui Zhu <ztenghui@google.com> getDuration can be only called after prepared.

bug:5816130
Change-Id: I4f264ef612995bc4f7bc3e378893ed9491423fdc
TML5Audio.java
430b1b9b3ca95e15a25c9d908a129eb2e771dc7b 04-Jan-2012 John Reck <jreck@google.com> Fix Apache stack

Change-Id: Iec7d0d8bdaaa5594fa7412db79943ab0ccdf594c
rowserFrame.java
7b061309fabb6fdf9e40a48dd4feaac6ffa29710 04-Jan-2012 Steve Block <steveblock@google.com> Merge "Fix AppCache when either no path or an invalid path is supplied"
2853041e6a5b848824a4e518a5d41cb334855302 03-Jan-2012 Ben Murdoch <benm@google.com> Merge "Do not allow file:// access when it is disabled."
02630bfe40d9f8505b4469e4b5b110772566c6b6 21-Dec-2011 Jonathan Dixon <joth@google.com> Fix silly comment order error

Incorrectly resolved rebase of my previous two commits...

Change-Id: Ie778774deb7ee0979568ca0a8963db2d72bc7a1a
ebView.java
19644b613ef14434abe11e6cd16eb9e06057c9c6 21-Dec-2011 Jonathan Dixon <joth@google.com> Make WebView.HitTestResult static

- we can do this, because HitTestResult never had a published constructor
so the only code that can create it has always lived in this package.
- doing this makes the class design cleaner, and smooths the way for allowing
the new WebView implementation to deal in these results in contexts where
the appropriate WebView instance is not readily available.

Change-Id: I9e1f1c0faeb16436b1861aab3c2871a5851dfb54
ebView.java
e230e54f09116056e34c7fedd50838ad551c24df 21-Dec-2011 Jonathan Dixon <joth@google.com> Minor WebView docs improvement

Change-Id: Ib0389be456755fac24ad130edd0dd091d9acfaae
ebView.java
4cde13a3bbf29e065a278dc6c31c2cd9fd16f7f6 16-Dec-2011 Jonathan Dixon <joth@google.com> Remove misleading API council comments

Most of these APIs have no intention of being published, at least not in anything like the current form.

Change-Id: I1df3ae00320f909caea8a0d42d50ee7400577635
ttpAuthHandlerImpl.java
earchBox.java
ebSettings.java
ebStorage.java
ebView.java
2c18ede18edf6539c42d9406943576f0251f7059 16-Dec-2011 Ben Murdoch <benm@google.com> Do not allow file:// access when it is disabled.

If WebSettings is configured to disallow access to file://
URLs, then block them.

Bug: 5773763
Change-Id: If2793f31cb37e0d3af15cb18e818bfa4058167fd
rowserFrame.java
92f30c3d5f39bd33dcab8c3d31e156ea3188a67a 15-Dec-2011 Steve Block <steveblock@google.com> Fix AppCache when either no path or an invalid path is supplied

The bulk of the change is in to external/webkit:
https://android-git.corp.google.com/g/155448

This part of the change simply adds some optimizations to avoid syncing to
native when not required, and cleans up the JavaDoc.

Bug: 5745181
Change-Id: I0009c1868755fe211ec2dc31bd007d393aabfbe3
ebSettings.java
4d8ea3bcc60d25e74e79bc9e97496b6795d36587 15-Dec-2011 Victoria Lease <violets@google.com> URL-decode tel: URIs.

bug: 5688406

Change-Id: I2e3906c22d02b6333ccad7dba529d44ae572a368
ebView.java
4f433d53c9cfe850103b33dfbc2a36fa246f8d96 13-Dec-2011 Selim Gurun <sgurun@google.com> Merge "Move ssl callbacks to webcore thread."
38f3610a29c75c3bb16408a911e3365a71b6524c 08-Dec-2011 Selim Gurun <sgurun@google.com> Move ssl callbacks to webcore thread.

Bug: 4586251

Original CL was for ics-mr1. We decided it should be in master
instead. Original CL
https://android-git.corp.google.com/g/154083

Current ssl cert logic makes callbacks to webkit from the
UI thread. This is not right. Move the callbacks to proper thread.

Change-Id: Ie3de7dbaed7780dbb6cf537ca1d29686d867b784
rowserFrame.java
lientCertRequestHandler.java
ebViewCore.java
09a71e073aaa8566d3ca5c4881a1411841189858 13-Dec-2011 Chris Craik <ccraik@google.com> Update tilebenchmark to work with current drawing infrastructure

bug:5062896

depends on external/webkit change: https://android-git.corp.google.com/g/#/c/154840/

- directly discard textures, instead of sending an invalidate through webkit
- better ui on smaller screens
- pass native pointer through jni calls

Change-Id: Icadbf8944edc5a2b1f8dc27bab53ac665c975462
ebView.java
2ff8cc2438866f791d8fe888573b5fba103e2cd0 12-Dec-2011 Ben Murdoch <benm@google.com> Merge "Clear the WebView picture when a new load starts."
66b2ff818bdc58465e54d7fc42772857c07fa262 08-Dec-2011 Mangesh Ghiware <mghiware@google.com> Update computation of reading level scale.

Fixes bug 5726043 (Extra double-tap needed to zoom out to overview mode
on nytimes.com on a Stingray)

Change-Id: I54dc303f4aa81ddc38c234228adc915b9f6749dc
ebView.java
ebViewCore.java
oomManager.java
ba621bd3595b7238df8cfc4ad2f456eedecdb87f 07-Dec-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "Make the URL for the JavaScript based screen-reader used by WebView configurable."
3ca5a74c17a27e44ce13b39bc2f63edaa88c3ef5 07-Dec-2011 Svetoslav Ganov <svetoslavganov@google.com> Make the URL for the JavaScript based screen-reader used by WebView configurable.

The URl from which to inject a screen-reader for WebView accessiblity support should be
configurable because: 1) The accessibility engineering team should be able to point
devices to a staging build of the screen-reader; 2) We would like to be able to change
this URL via the Google services mechanism.

bug:5718543

Change-Id: I3d4d343f1c93e0e0173f04b2912949fe8a3566b9
ebView.java
63051d71ef3da31c9764f6998e275adedbbcd9f5 07-Dec-2011 Bart Sears <bsears@google.com> am 654ac45c: am b56076ac: Merge "Fix WebTextView rings" into ics-mr1

* commit '654ac45c21b257613957c8c172a3fdff79903fcd':
Fix WebTextView rings
a62b9632c84ecfdffec2753f52ceaec2f7598139 05-Dec-2011 Ben Murdoch <benm@google.com> Clear the WebView picture when a new load starts.

Clear the old picture set when we have confirmed a new
page load.

Bug: 5701197
Change-Id: Id96fb7d8e75a0b54a448d35239a69ba1774cffae
rowserFrame.java
ebViewCore.java
8463c88ddf654d35b55b859a55133fad4c7c0a75 07-Dec-2011 John Reck <jreck@google.com> Fix WebTextView rings

Bug: 5718531
Don't scroll the rings and fix the border's alpha

Change-Id: I5e629d2b3b1b2bf4760c01d0f927e3f81949e9bd
ebTextView.java
419204c8fb77ead7bac1523487bc40202f460215 06-Dec-2011 George Mount <mount@google.com> Merge "Remove inFullScreenMode JNI call during drawGL call."
5d3f6e6d25f98af2dd158bac8da7516bd976a8a5 06-Dec-2011 George Mount <mount@google.com> Remove inFullScreenMode JNI call during drawGL call.

Bug 5629367
Corresponding WebKit change: Ia6f11636

Change-Id: Icc2fb6b778ce1c9bb4dc216a558652de544028b1
ebView.java
7d6d55a69cd27a4240d9556da1e4bd1e33084b42 06-Dec-2011 Michael Kolb <kolby@google.com> am cda010d5: am 3124e6f9: Merge "Remove debug log messages" into ics-mr1

* commit 'cda010d556552b533191d8bc90454c99c133549f':
Remove debug log messages
e4e5fef75ef3da64e1f64834d6874f6d6d6d7baf 05-Dec-2011 Michael Kolb <kolby@google.com> Remove debug log messages

Bug: 5713163

Change-Id: Id8d9845f6ecb7dd90ae4cf42bc82d39a148a5700
ebTextView.java
58915ce9222b18064b4de0be7c23c488b52eaee5 05-Dec-2011 Michael Kolb <kolby@google.com> am 32e914fc: am 277cbe5a: Merge "set System UI visibility based on MediaController state" into ics-mr1

* commit '32e914fc0366401b896f34d60119f92f625e6973':
set System UI visibility based on MediaController state
277cbe5a951840558166020568fb1510285e2594 05-Dec-2011 Michael Kolb <kolby@google.com> Merge "set System UI visibility based on MediaController state" into ics-mr1
4b747570f72b703aee5c502a400e82d4f81e1193 03-Dec-2011 John Reck <jreck@google.com> am 6d3e51d4: am 43bc6b09: Merge "Fix updateDoubleTapZoom logic" into ics-mr1

* commit '6d3e51d4c453b43b1f1950884c3d08c285d2ce90':
Fix updateDoubleTapZoom logic
c07b678522b46e77a2817e9749fe6d32b28af700 03-Dec-2011 Michael Kolb <kolby@google.com> set System UI visibility based on MediaController state

Bug: 5494143

still doesn't remove the buttons in dimmed state,
but at least dims them correctly

Change-Id: Idcfc10616d31f6ccf8cd84b706a17d048bf505a1
TML5VideoFullScreen.java
059832790df137796c14371b3cbd19b6263c8280 02-Dec-2011 John Reck <jreck@google.com> Fix updateDoubleTapZoom logic

Bug: 5698099

Change-Id: I83578e57cf809cbe7781d988302f0925dfddec80
oomManager.java
9c8fc9c62015382a9369f983a7ac6c655d9bbaaf 01-Dec-2011 Ben Murdoch <benm@google.com> am fc00b6aa: am 90ea4c4d: Merge "Fix crash with HTML5 video." into ics-mr1

* commit 'fc00b6aac4a5f9222d36b7db5209bca9b63b55d6':
Fix crash with HTML5 video.
d3f18b805e19251a188476415bc18818e247f555 01-Dec-2011 Ben Murdoch <benm@google.com> Fix crash with HTML5 video.

Add missing check for native HTTP stack inside
CookieManager.getCookie(WebAddress) and
CookieManager.setCookie(WebAddress) - private APIs that now
will throw an exception as the legacy cookie table no longer
exists with WebViewDatabase version 11.

Bug: 5690908
Change-Id: I51ae848d03b04d6021d314dda4a199675e38ab02
ookieManager.java
51340e0fb74a11885b667dc16c9d21a9199211c9 01-Dec-2011 Bart Sears <bsears@google.com> am 5a4e807a: am 41a5774a: Merge "fix position of WebTextView on scrolling layers" into ics-mr1

* commit '5a4e807af8661d35e27157fa224a8e4db0e66f7c':
fix position of WebTextView on scrolling layers
5da91bd6740ef910350edb2ed1df127da445a785 30-Nov-2011 Michael Kolb <kolby@google.com> fix position of WebTextView on scrolling layers

Bug: 5677828

depends on CL: 152845

Change-Id: Ia6fce3ef64954d99fe044e801d7f083055c8b880
ebView.java
267a4b0627f98b020725e860b0a3c128067131b1 30-Nov-2011 Chris Craik <ccraik@google.com> am c649180d: am f296ee69: Merge "Send animation start notification back to webkit from ui thread" into ics-mr1

* commit 'c649180d7c12b0b4bc3c183a6431da26cff74819':
Send animation start notification back to webkit from ui thread
6a8c48f6aaead268a517573d7cd0199ee5677a52 30-Nov-2011 Steve Block <steveblock@google.com> Merge "Clean up JavaDoc for GeolocationPermissions"
7351adf76a97b07bb2d777c56e78752cb7834bb0 30-Nov-2011 Steve Block <steveblock@google.com> Clean up JavaDoc for GeolocationPermissions

Much of the current JavaDoc for GeolocationPermissions exposes implementation
details which are of no interest to a Java developer. Move these comments out
of the JavaDoc and clean up the text.

Bug: 5461416
Change-Id: I95a68fe15016fadc729d8d857fd69b2c927a5ea9
eolocationPermissions.java
alueCallback.java
ebChromeClient.java
0e9f0c3e13d49a044835a05cf514b9f81dd7b28a 30-Nov-2011 Teng-Hui Zhu <ztenghui@google.com> am e9dc400c: am d3788b97: Merge "WebView animation support" into ics-mr1

* commit 'e9dc400c080577b74a59085f9c2428c92ee21e16':
WebView animation support
f296ee697409b4b55bef17d534edbc24a4619f0f 30-Nov-2011 Chris Craik <ccraik@google.com> Merge "Send animation start notification back to webkit from ui thread" into ics-mr1
d0051c06c2585398ca4ae54efb673d4a2d24aa5d 29-Nov-2011 Chris Craik <ccraik@google.com> Send animation start notification back to webkit from ui thread

bug:5239801

depends on external/webkit CL: https://android-git.corp.google.com/g/#/c/152559/

Change-Id: I647b5a82680f570c918227dbf57521b862dcfe25
ebView.java
ebViewCore.java
d3788b97c9a28e8cbfa4432389a5de04073a333b 29-Nov-2011 Teng-Hui Zhu <ztenghui@google.com> Merge "WebView animation support" into ics-mr1
31825c119907af5b24dc916df56a3efd2715af79 28-Nov-2011 Narayan Kamath <narayan@google.com> am be1b5ce4: am a6f8ebc6: Merge "Fix TTS instantiation from webview accessibility handlers." into ics-mr1

* commit 'be1b5ce498a68e28d47a167495f47787d6461e88':
Fix TTS instantiation from webview accessibility handlers.
376690c00f05c3a8c414c671428e3537ed0c577e 28-Nov-2011 Derek Sollenberger <djsollen@google.com> am aceb7f8b: am 425c595a: Merge "Update Webkit with the zoom level after double tap gesture" into ics-mr1

* commit 'aceb7f8b29bdcf8bf7fdc14ec9b99f54f2a2a3d2':
Update Webkit with the zoom level after double tap gesture
a6f8ebc616cfe3185ae2513ef2f846e8d32b551e 28-Nov-2011 Narayan Kamath <narayan@google.com> Merge "Fix TTS instantiation from webview accessibility handlers." into ics-mr1
e189f0c6db60021251f688ed76874ad1d1e1d962 28-Nov-2011 Ben Murdoch <benm@google.com> am b11387a6: am 2ffc9ec3: Ensure we dismiss the <select> option dialog.

* commit 'b11387a6e51c424e421b0951de20db46a5f5c992':
Ensure we dismiss the <select> option dialog.
425c595acb798ed9652b5a1f0e5412cbd8e3873d 28-Nov-2011 Derek Sollenberger <djsollen@google.com> Merge "Update Webkit with the zoom level after double tap gesture" into ics-mr1
68e2af55d65d2e61fbf8096eccaa2e4ca02b6c5a 28-Nov-2011 Narayan Kamath <narayan@google.com> Fix TTS instantiation from webview accessibility handlers.

The TTS instantiated from here shouldn't clobber any
existing TTS objects opened within the same package context.

Ideally, the TTS API should work fine with multiple TTS object
instances within the same package context but making that happen
correctly is a larger change.

bug:5659758
Change-Id: Ia1f63c61b9f12ac92ff42a427a004d414e42a759
ebView.java
8fae09d575161a54f2b5863d996e7acd7390e5a0 28-Nov-2011 Derek Sollenberger <djsollen@google.com> Update Webkit with the zoom level after double tap gesture

In the hardware accelerated case we were not updating webkit
with the new zoom information. This was causing plugins to
render at the old zoom level.

bug: 5663981
Change-Id: I3cb18ad9ca4f185f384ea9fb68780f29160391ad
oomManager.java
2ffc9ec3d69d8ee95bce1ccf17163a70b0bd9003 28-Nov-2011 Ben Murdoch <benm@google.com> Ensure we dismiss the <select> option dialog.

When the WebView is paused, or another action (such as navigating to
a new URL) occurs, cancel any ongoing <select> tag dialog that is open.

Bug: 5666545
Change-Id: Ifc35a239b729ed93cbf82b2096334f7d63f8993d
ebView.java
7ae9f3ab5517a3d58cc1f462d4a920cbe42a4213 14-Nov-2011 Teng-Hui Zhu <ztenghui@google.com> WebView animation support

Fix the jumping issue when double tapping

bug:4982054
Change-Id: Ifb67030a3132fe3820a1fcc8ffc97a1ab474c223
oomManager.java
90998b4962b483634b6943ff93da9b4c1d9e9782 22-Nov-2011 Teng-Hui Zhu <ztenghui@google.com> am b8ee50ee: am 7257a32b: Merge "HTML5 Video runs into super full screen mode" into ics-mr1

* commit 'b8ee50eece1481110721cb4e93a54c03fbf77d27':
HTML5 Video runs into super full screen mode
7257a32b9ac7cbbb47659ed7bea4ab47e74ac3ec 22-Nov-2011 Teng-Hui Zhu <ztenghui@google.com> Merge "HTML5 Video runs into super full screen mode" into ics-mr1
07679d191e9ae03b8ad78020968a79ad89e6cde0 22-Nov-2011 Mangesh Ghiware <mghiware@google.com> am d7b06977: am 8d03007f: Merge "Update zoom (aka display) density from WebView thread." into ics-mr1

* commit 'd7b06977e927557923a6101493c0af1aa857271b':
Update zoom (aka display) density from WebView thread.
8d03007f80d74abadfc96926e7cca40d38380bc0 22-Nov-2011 Mangesh Ghiware <mghiware@google.com> Merge "Update zoom (aka display) density from WebView thread." into ics-mr1
7b0fdc100e1dd711ba5534534b9405475c57566b 22-Nov-2011 John Reck <jreck@google.com> am 786513ab: am 0507ac4d: Use isHighEndGfx to determine texture pool

* commit '786513aba608d958e69deee3fbdf003bdf5d9632':
Use isHighEndGfx to determine texture pool
31f263db65552106d9290da740c50e6918c1eaea 22-Nov-2011 Mangesh Ghiware <mghiware@google.com> Update zoom (aka display) density from WebView thread.

Fixes bug 5639675.

Change-Id: I982ca0787f5c050c5d1a288cd8751299ee351214
ebView.java
ebViewCore.java
f45aa7da2b02ff97e9832228bd5f6d4adc4816b9 18-Nov-2011 Teng-Hui Zhu <ztenghui@google.com> HTML5 Video runs into super full screen mode

bug:5569146

Browser change
https://android-git.corp.google.com/g/#/c/151035/

Change-Id: Ib8449a670caf4aa2b540a170ed5e9f6adea2b12e
TML5VideoFullScreen.java
0507ac4d94fc0ecb775391a7e80c921614f88a58 21-Nov-2011 John Reck <jreck@google.com> Use isHighEndGfx to determine texture pool

Bug: 5639612

Change-Id: I0ccbf74c2638b61b7eb0769c851e74700f0aa191
ebView.java
38bc731875fec30d1a39f50cf3bf7234656f6698 20-Nov-2011 Kristian Monsen <kristianm@google.com> am 376e93fc: am 7859c184: Merge "Improving PictureListener deprecating comments" into ics-mr1

* commit '376e93fcea19cd491af59631f3934ab036e1e846':
Improving PictureListener deprecating comments
7859c1842c1f2e3c43415dfb5337a0b005bdb1c4 20-Nov-2011 Kristian Monsen <kristianm@google.com> Merge "Improving PictureListener deprecating comments" into ics-mr1
3f6114164f87567d069fe37962b3d1952f5905e5 19-Nov-2011 Bart Sears <bsears@google.com> am cb513ba7: am e6a96560: Merge "Content and viewport rects set in one step." into ics-mr1

* commit 'cb513ba7f14fdf08b5729edef5baf22e302e3e08':
Content and viewport rects set in one step.
e6a96560ed96e5121db2e22168698f14338c8f1d 18-Nov-2011 Bart Sears <bsears@google.com> Merge "Content and viewport rects set in one step." into ics-mr1
4aad1022eb0c364c204caafb6ebc977aa23449bf 17-Nov-2011 Kristian Monsen <kristianm@google.com> Improving PictureListener deprecating comments

Change-Id: If189823962c49db9681845996e97eec31fedcca6
ebView.java
778f146cf422edabf140a18afa8746e542a49ebd 18-Nov-2011 Michael Kolb <kolby@google.com> am 5397bb52: am 852585c0: Merge "Draw input field focus ring in WebTextView" into ics-mr1

* commit '5397bb52fba04e8dc8496d731611210213847308':
Draw input field focus ring in WebTextView
a93a7d6d15295e36b54b928bc57f0b5ca239714a 17-Nov-2011 John Reck <jreck@google.com> am 0551287f: am 775e986e: Merge "Fix add single character check" into ics-mr1

* commit '0551287f6ed06511feae2a6b3700a9bca4cfc3cd':
Fix add single character check
6810017f6a7108449a8c08fcf15e1305dcba96f3 17-Nov-2011 John Reck <jreck@google.com> am 2c6afef8: am 1da3d656: Merge "Undeprecate LayoutAlgorithm" into ics-mr1

* commit '2c6afef8766371bf933f8675c80687802ce045e0':
Undeprecate LayoutAlgorithm
852585c034d383ea6afe1b484afa57cbf4d04f95 17-Nov-2011 Michael Kolb <kolby@google.com> Merge "Draw input field focus ring in WebTextView" into ics-mr1
131ed03f30ff85b00ee4f3cd01108f9742c356c2 17-Nov-2011 Ben Murdoch <benm@google.com> am e6269f79: am fead0e14: Merge changes I59323dc5,I31a01aa3 into ics-mr1

* commit 'e6269f7988a2ec0d1f9ea37d92d6b0ca2f3dc3b8':
WebViewDatabase v11 for ICS.
Fix a bug in the database upgrade process, and refactor slightly.
0ecd89bce353e2d25047628eca7ffa3c79cd5c7b 17-Nov-2011 Nicolas Roard <nicolasroard@google.com> am e788fa84: am e88ca718: Merge "Hack to workaround the fact that the EGL context can be removed from under us by framework in low memory condition." into ics-mr1

* commit 'e788fa84f1fac845e50922fc536694ce1cc2fbdb':
Hack to workaround the fact that the EGL context can be removed from under us by framework in low memory condition.
edb39ce5b4770c6f53c9b30aeae4589969607e17 17-Nov-2011 Michael Kolb <kolby@google.com> Draw input field focus ring in WebTextView

Bug: 5628053

Change-Id: I1a3d5402e7925e71877be2c278e95f25e75746f3
ebTextView.java
ebView.java
775e986ece16b90d3260fe8c7f8e18fc3d0cf492 17-Nov-2011 John Reck <jreck@google.com> Merge "Fix add single character check" into ics-mr1
1da3d656358ab577f285d06e9db249dfb21cb8e3 17-Nov-2011 John Reck <jreck@google.com> Merge "Undeprecate LayoutAlgorithm" into ics-mr1
82ed95f41007391adc1676c745b0642d32870b95 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.

Wekbkit Change: I05d68dcc

Change-Id: I1b0978eeb27d9f1deddfeba3ede869f735f74394
ebView.java
163994c1d4206813f621bad04b808d08f753fb7d 17-Nov-2011 Mangesh Ghiware <mghiware@google.com> am 55116350: am 4fdfdeed: Merge "Revert change to setInitialScale() to take display density into account." into ics-mr1

* commit '5511635090072ce02a4fb07ec25a7c279a7bbc8a':
Revert change to setInitialScale() to take display density into account.
fead0e14b437e80b1c2b0578ec33fc5cbf910ddf 17-Nov-2011 Ben Murdoch <benm@google.com> Merge changes I59323dc5,I31a01aa3 into ics-mr1

* changes:
WebViewDatabase v11 for ICS.
Fix a bug in the database upgrade process, and refactor slightly.
e88ca718ed9af788f2dc46b5f2db494906bbf41d 17-Nov-2011 Nicolas Roard <nicolasroard@google.com> Merge "Hack to workaround the fact that the EGL context can be removed from under us by framework in low memory condition." into ics-mr1
2bc0b01ffe481af877de312f3a87fa769642d2f4 17-Nov-2011 Nicolas Roard <nicolasroard@google.com> Hack to workaround the fact that the EGL context can be
removed from under us by framework in low memory condition.

bug:5627977
Change-Id: I3c138985e3e6c16f7c15497a1a11ffed93cd8e78
ebView.java
4fdfdeedc64eef2efe3811198e8fad40aa1b8fc3 17-Nov-2011 Mangesh Ghiware <mghiware@google.com> Merge "Revert change to setInitialScale() to take display density into account." into ics-mr1
f9a6c91f75a4f08543b045435fd795f475e7e879 17-Nov-2011 John Reck <jreck@google.com> Fix add single character check

Bug: 5618801

Change-Id: I42a19855b188c9175b8f7a293faa96027685052c
ebTextView.java
e832b63c97c18c8170643c5a1c565e07893c5368 16-Nov-2011 Mangesh Ghiware <mghiware@google.com> Revert change to setInitialScale() to take display density into account.

Updated WebView documentation to clarify this behavior.

Additionally, if target-densityDpi is specified in the meta viewport
tag, update the display density in ZoomManager.

Bug: 5477652
Bug: 5327492
Change-Id: I176e87489f76a2ee6595d76a006e302b07595de1
ebSettings.java
ebView.java
ebViewCore.java
oomManager.java
9a77be5dace13bcd5965a88f4fecb8112e5c5894 16-Nov-2011 Kristian Monsen <kristianm@google.com> Fix fix for bug 2816327

Remove native methods define for ANDROID_INSTRUMENT calls.

Need to that after the native registering is done in CL:
https://android-git.corp.google.com/g/#/c/148917/

Change-Id: Ic91aec54cb052c29aa06aee028cf8023cd69ed15
ebView.java
ebViewCore.java
cd0dd93d13c6442beafe15552dee623ad6016f1e 16-Nov-2011 Ben Murdoch <benm@google.com> WebViewDatabase v11 for ICS.

Bump WebView database version to 11. This has the following effects:

- Removes the old webview cookie table on GB devices. Cookies are now
managed by the Chromium stack.
- Removes the old webview cache database on GB devices. Cache is now
managed by the Chromium stack.
- Autocomplete form data is now stored/retrieved based on
the URL minus the query string/fragment. Upgrade any existing
form URLs in the database to match this format, so we can
still use them. This will impact GB and HC devices.

This has an unfortunate side effect that we may end up with
duplicate URLs in the formurl table (say we had two URLS for the
same host but with different query strings). Currently we only take
the first url from the table - which is fine when they were
unique. The simplest way to work around this is just iterate all the
rows returned and use all the values we find.

Bug: 5560410
Change-Id: I59323dc5e523969e0a1c268b5936d6fa998d625c
ebViewDatabase.java
5a1ef4132f93f57940a5cc49d32991674d014841 26-Oct-2011 John Reck <jreck@google.com> Undeprecate LayoutAlgorithm

Bug: 5533078
There is no alternative and this is still useful and used. It should
not have been deprecated.

Change-Id: I641026cf76ea87738909827b7c48a556d9021d11
ebSettings.java
f10daf647004e84235d240bb6471aa0dab61a493 16-Nov-2011 Ben Murdoch <benm@google.com> Fix a bug in the database upgrade process, and refactor slightly.

During upgrade from v9 -> v10 the database version was not
being updated.

Also remove conditionals based on what are effectively hardcoded
truth values to simplfiy the logic greatly.

Bug: 5560410
Change-Id: I31a01aa35a109a951d4e4c6d5b884bb666668b28
ebViewDatabase.java
a952f8abfddef8744245e93024314b01f6bfd0fb 15-Nov-2011 John Reck <jreck@google.com> am 6a622c56: am a0c6bf5a: Merge "Call onScrollChanged when scrolling layers" into ics-mr1

* commit '6a622c5608e3f67efb7ba6a346ea4d8cfa5267ec':
Call onScrollChanged when scrolling layers
83b9e1d99d85091bd4f22be0dba1e634e40a1fb7 02-Nov-2011 John Reck <jreck@google.com> Call onScrollChanged when scrolling layers

Bug: 5533389
Treat layer scrolling as a no-op scroll by calling
onScrollChanged with old scroll == new scroll

Change-Id: I1dc2b94b37c65bf088806b8d28be32883e3b8bee
ebView.java
e1d2f3cf8574bc99b44c450da9603b1c3c874411 14-Nov-2011 Kristian Monsen <kristianm@google.com> Fix build

Change-Id: I8198f7a8470e7c9500ab2f6512162bbb55ea6ee7
ebView.java
ebViewCore.java
10a09dc16387db216d5756309e3695096aedd9d0 14-Nov-2011 Kristian Monsen <kristianm@google.com> Merge "Removing the ability to get native instrumentation as part of nav dump"
a3c157eef0521e1d0b288b07f5c79aa942b9b135 09-Nov-2011 Kristian Monsen <kristianm@google.com> Removing the ability to get native instrumentation as part of nav dump

This is to be able to remove ANDROID_INSTRUMENTATION code.

Note that it would only print useful information if webcore
was compiled with ANDROID_INSTRUMENTATION on.

There is an open bug for problems with ANDROID_INSTRUMENTATION:
http://b/issue?id=2816327

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

Change-Id: Ie8c3c3a08a8bb15936831e25faac3155906bae70
ebView.java
ebViewCore.java
1333742bedc9b462024302f302e3a7f27053df66 11-Nov-2011 Akwasi Boateng <akwasi.boateng@ti.com> am cb0db030: Merge branch \'ics-mr1-plus-aosp\' of ssh://android-git:29418/platform/frameworks/base into ics-mr1-plus-aosp

* commit 'cb0db0306b5849a35d3d99eea1b34ce019c6f0d8':
Make the overridden ImageView#setVisibility remotable
Clamp non-monotonic stats instead of dropping.
DO NOT MERGE. Fix leak in LayoutTransition
Fix lastVisible/global rects
Fix Wimax-less build.
Fix leak in LayoutTransition
Deferring wallpaper update to improve workspace scrolling (issue 5506959)
Terminate EGL when an app goes in the background
boot animation is dithered and scaled
Fix NdefRecord byte-stream constructor.
PopupWindow dismiss() can get into a recursive loop.
Fold WiMAX state into the mobile RSSI.
Remove dedicated wimax icon to fix RSSI layout.
9f9fac0ad227941950efd8d09617064e5d4a37be 11-Nov-2011 John Reck <jreck@google.com> Fix lastVisible/global rects

Bug: 5601629
References tend to always be equal to the things they are referencing,
use copies instead.

Change-Id: I0827878e91ef1fa6e0abe2d6499d55f4a211d890
ebView.java
2c7db013bc002316c654e5384aaa36015cea5313 10-Nov-2011 John Reck <jreck@google.com> am 0f077739: am 843e04d9: Merge "Pause drawing when not visible" into ics-mr1

* commit '0f0777399defe6bca965d9c33e9dfe256eb56fee':
Pause drawing when not visible
843e04d977fd348ed474da1d3c6a62e7dc837444 10-Nov-2011 John Reck <jreck@google.com> Merge "Pause drawing when not visible" into ics-mr1
c60baec7a737d3c3cd596c5c4378a6e12450da3d 10-Nov-2011 George Mount <mount@google.com> Merge "DO NOT MERGE Set the initial scroll position for RTL." into ics-mr1
e9a291e781dd280cc385f8e2b4ac3e863a682734 10-Nov-2011 John Reck <jreck@google.com> am 0e17f653: am 36a7f2a9: Merge "Fix determining find on page overlap" into ics-mr1

* commit '0e17f65312e57c7f1489010284987c505142b778':
Fix determining find on page overlap
5f1c549132150c85edfa8982c4da5c0fd41d8919 10-Nov-2011 John Reck <jreck@google.com> Pause drawing when not visible

Bug: 5594608
If onPause is called or if the view or view's window is no longer
visible, pause webview drawing. Calls to onDraw will continue to work,
but animations and other continual drawing will stop

Change-Id: I11640f087852d1a9a33b945ff72297fab1d25b94
ebView.java
331493085d7afd88158c83d0f1f9605da671049c 31-Oct-2011 George Mount <mount@google.com> DO NOT MERGE Set the initial scroll position for RTL.

Bug 5268793
Webkit knows about the correct initial position for web pages.
On initial show, scroll to the webkit position.

Cherry-picked from master CL: I2537b84a

External WebKit CL: I6a91b97f

Change-Id: I2537b84a30a26a79a8a0f23fe62b9ed757f9c5a4
rowserFrame.java
ebView.java
ebViewCore.java
a2c9f2707bc129ad79694972c7b433154cd1db29 10-Nov-2011 George Mount <mount@google.com> Merge "Set the initial scroll position for RTL."
e263bc1a36c539d0d0f16a17b23cb862742e0bf0 31-Oct-2011 George Mount <mount@google.com> Set the initial scroll position for RTL.

Bug 5268793
Webkit knows about the correct initial position for web pages.
On initial show, scroll to the webkit position.

External WebKit CL: I6a91b97f

Change-Id: I2537b84a30a26a79a8a0f23fe62b9ed757f9c5a4
rowserFrame.java
ebView.java
ebViewCore.java
35d17ec7c10be8db87dccd0a9e70b2de6b45b494 09-Nov-2011 Michael Kolb <kolby@google.com> am 3a77503c: am a4293ba1: Merge "Remove flicker from WebTextView" into ics-mr1

* commit '3a77503ca16253a702977a11406aec7a332837cb':
Remove flicker from WebTextView
d9514738593ff2e96dcdeff98516c57bab09e9bf 09-Nov-2011 Steve Block <steveblock@google.com> Merge "Clean up JavaDoc for WebView.addJavascriptInterface()"
36a7f2a9adfa21ec31f00d496fef82e68931c860 09-Nov-2011 John Reck <jreck@google.com> Merge "Fix determining find on page overlap" into ics-mr1
4cd73c5bfd441be8dec53f8fc7ad726fddd80413 09-Nov-2011 Steve Block <steveblock@google.com> Clean up JavaDoc for WebView.addJavascriptInterface()

Bug: 5461416
Change-Id: Ic83e0e4035f6230134e4f36938e53f106c468876
ebView.java
b69ce803837f6cb369c974e028cec1166f213aee 09-Nov-2011 Kristian Monsen <kristianm@google.com> Merge "Part of fix for bug 5584571 Add HTTP request header with app name"
008c37d8f43fb07e60696acbed1123be13af5c86 09-Nov-2011 Kristian Monsen <kristianm@google.com> Part of fix for bug 5584571 Add HTTP request header with app name

Need the context to get the package name, adding it method here
that can be called from JNI.

Change-Id: I530d81d9d922ea73a3f9d185618a5c4cfde0aca7
niUtil.java
d6ac727234b9be45c3df4021dc83584e9849c00a 09-Nov-2011 John Reck <jreck@google.com> Fix determining find on page overlap

Bug: 5572138

Change-Id: Ie528e1cf9df363307018e01a898e8d9dfff1cd45
indActionModeCallback.java
ebView.java
39036ace768cc3304e4c28b11822c84338a201c7 08-Nov-2011 Michael Kolb <kolby@google.com> Remove flicker from WebTextView

Bug: 5522186

Update LayoutParams when position changed only

Change-Id: I54beb489c261090d7ba258354449501b771fd98e
ebTextView.java
aefc28a1b666f3e9b19eb5a8955e70297119f03d 08-Nov-2011 John Reck <jreck@google.com> Remove unnecessary memory allocations

Bug: 5581637
Also delete some dead, unused code

Change-Id: If6efd11f5032141dadbfcd0b3215e89b464e5f35
rowserFrame.java
WebCoreJavaBridge.java
oadListener.java
erfChecker.java
ebView.java
99f7b7b7b2295e6b919b773fc68ed719376d9ce9 07-Nov-2011 John Reck <jreck@google.com> Remove nativeRecordButtons

Bug: 5572238
Bug: 5558699

Change-Id: I8e275849f4f04c094a93528dd1fb59683d30e9cc
ebView.java
69957172fa8336e01a9ff07ab34deca2c553f0b4 03-Nov-2011 Mangesh Ghiware <mghiware@google.com> Merge "Update fix to restore view and text wrap scales." into ics-mr1
e59e301ca0e28d88439c626b7d177e7eeac06456 03-Nov-2011 Mangesh Ghiware <mghiware@google.com> Update fix to restore view and text wrap scales.

Fixes bug 5544556: All email content is wrapped prematurely.

Previous change (I5a22dd20) didn't take a few other cases of
mViewScale>0 into account.

Change-Id: I4f9578f3558f026c472492ac07d19004416dc228
ebViewCore.java
oomManager.java
76b067590b2e9dc403c9edac58e414468c5e1104 03-Nov-2011 Teng-Hui Zhu <ztenghui@google.com> Merge "Create GL texture when it is missing for video layer" into ics-mr1
1f5467338115c7e5ad1cfa54c362be86028bd6ea 02-Nov-2011 Teng-Hui Zhu <ztenghui@google.com> Create GL texture when it is missing for video layer

In any case that the HTMLVideoView is recreated with no GL texture, we should
recreate the GL texture to make sure we always have a valid texture ID.

bug:5530006
Change-Id: I703a987a7530dbeef74e502f3c9ff329beca8c4e
TML5VideoInline.java
274133dfef84f93de349fcd34919f4df32279e8a 01-Nov-2011 Mangesh Ghiware <mghiware@google.com> Merge "Fix setInitialScale() to take display density into account." into ics-mr1
00ef15b98ac0579ebd5f81a1753bc18384e88b8b 01-Nov-2011 Mangesh Ghiware <mghiware@google.com> Merge "Clamp initial scale between minimum and maximum values." into ics-mr1
e9841bb45d32685cf1371659fbf5ce4a3b88e782 01-Nov-2011 Mangesh Ghiware <mghiware@google.com> Fix setInitialScale() to take display density into account.

Reverted changes made to fix bug 4982074 (Book text display is limited
to about half the available screen.) The Books app sets initial scale to
100%, and since display density for Crespo is 1.5, initial scale was
actually being set to a smaller value in Device Independent Pixel units.

The correct fix is to take display density into account. This fixes bug
5477652: webview scale factor wrong on prime in reddit app.

Change-Id: Ie09172629add7fb28ca6b47d0fd8f6450c5df569
oomManager.java
ca4d54c486176fec32400217e2dc0e3091dab858 31-Oct-2011 Mangesh Ghiware <mghiware@google.com> Clamp initial scale between minimum and maximum values.

Fixes bug 5515454: web page is not optimized (gmarket)

Initial scale is used to detect mobile sites
In ICS, mobile site detection based on whether the URL included m.,
mobile., wap., etc. has been removed in exclusive favor of the meta
viewport tag.

Within meta viewport tag, mobile site detection uses width (set to
device-width), initial-scale (set to 1.0 or default scale), etc. Make
this logic more robust by clamping initial scale between minimum and
maximum values, if specified.

Change-Id: I663c50ce20b35279d37a8c812e91d6bc4c16c1d3
ebViewCore.java
d763c2cbe8d9e7eb2a83ba00c5c33f226bd02122 27-Oct-2011 Marco Nelissen <marcone@google.com> Make MediaController use low profile system UI

This makes the MediaController iused by the full screen html5 video
view copy the system ui visibility of its owner. Some issues remain.
b/5494143

Change-Id: I6b157226974befbee5ba685d42d1ef72c113664d
TML5VideoFullScreen.java
ade26e2e383cd0041f8aa94467d119c2bd1ee5e8 28-Oct-2011 Mangesh Ghiware <mghiware@google.com> Merge "Fix restore of view and text wrap scales." into ics-mr1
f0e96d54b6fb05bf0b4c40a9e918beb2e52bc819 27-Oct-2011 Mangesh Ghiware <mghiware@google.com> Fix restore of view and text wrap scales.

Fixes bug 5507881: Open pages in overview doesn't stick on initial
browser load.

Update the fix for bug 5230909: Zoom not restored on Back.

Added a boolean to indicate that scales have been restored. In the case
of restored scales (view and text wrap) being zero, set them to overview
and reading level respectively.

Change-Id: I5a22dd2040a22ee3b48c5903b586a65a4fa320f2
ebViewCore.java
oomManager.java
effabe8d8b23b44bb68663082f66aa98b9cf13a2 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: I9ac637d793f2bd88d5315aa1483a4513d2496716
ebView.java
c0e9fb91c8f7ac0e8dd007f00808aae283a79fb0 21-Oct-2011 John Reck <jreck@google.com> Fix rebuildWebTextView issues

Bug: 5488135
Cherry pick from MR0

Change-Id: I2df047b6de42dbe716008f69d720fa5fad3fe19d
ebTextView.java
ebView.java
930b5654a3b64f18004db1d1fb3635b0b6cef0f9 21-Oct-2011 George Mount <mount@google.com> Merge "Fixed spell check failing to change word."
760bf7de06a83f07d5bad6d2e934daa2332b17e2 21-Oct-2011 Mangesh Ghiware <mghiware@google.com> Merge "Fix issue# 5492404: Reading level check thread error."
bb99e28cd69c7a3ab355873130242373282295a5 21-Oct-2011 Mangesh Ghiware <mghiware@google.com> Fix issue# 5492404: Reading level check thread error.

Remove access to WebSettings from getReadingLevelScale() by saving the
double-tap zoom scale factor in ZoomManager. WebSettings can only be
accessed in the UI thread.

Change-Id: Ic7289bf3c14d800797f2e85546a088a9071e0468
ebSettings.java
ebView.java
oomManager.java
43abfe1be2ba6558b6f6f555ba7d646acb40040c 21-Oct-2011 Kristian Monsen <kristianm@google.com> Merge "WebView part of fix for bug 5307956"
f23e1679a284b33d29434e80cbacd0e988f31129 17-Oct-2011 George Mount <mount@google.com> Fixed spell check failing to change word.

Bug 5387838
On WebView.rebuildWebTextView, setTextAndKeepSelection was
being called, erasing the selections. Changed it so that
when text is replaced with the exact same value, no replace
is done. Also, on the Google search, when a spelling change
was made, the final character was placed improperly. When
a single character is added, the javascript events for the
character are sent. When multiple characters are changed,
the entire value is replaced with no javascript key events
sent.

Change-Id: I791eeb3c96354cfe3cbfda7e8d05c81fcdeb152f
ebTextView.java
0d491c1dce964ee94a805c595fbf589dbbb2902e 18-Oct-2011 Kristian Monsen <kristianm@google.com> WebView part of fix for bug 5307956

JniUtil now returns empty string instead of crashing
when the OS can't find/create a cache directory. Have only
seen this happen when the whole file system was broken.

Change-Id: I867017d62dce83cae3e83959eac9e974433bbdc9
niUtil.java
29a15a237aa9a0ee0af594fbf23cf999415f2390 18-Oct-2011 Mangesh Ghiware <mghiware@google.com> am 2bd3c2f7: Merge "Fix null ptr exception in getReadingLevelScale()" into ics-mr0

* commit '2bd3c2f7e89eb02f2b240672631c57bc912a9575':
Fix null ptr exception in getReadingLevelScale()
1698d45ef83b26d2d4e9914c2fea19be6819f207 18-Oct-2011 Mangesh Ghiware <mghiware@google.com> Fix null ptr exception in getReadingLevelScale()

Handle the case where WebView settings might be null.

Bug: 5472493
Change-Id: I6b1c2e5e5e56a517910a330ae9d40a4adc99d75a
oomManager.java
08eaa9de7637a634f65d943582583699855ef20c 18-Oct-2011 John Reck <jreck@google.com> am 7788c51d: Merge "Fix onFirstLayout path for saved pages" into ics-mr0

* commit '7788c51d82963a8645655675c675424db694ad85':
Fix onFirstLayout path for saved pages
23a446cf270b1df8fe0e013a4328cd6b0ed9dde1 18-Oct-2011 John Reck <jreck@google.com> Fix onFirstLayout path for saved pages

Bug: 5464993
Saved pages are taking the onFirstLayout path in
onConfigurationChange incorrectly. Fix that by clearing out the
view state after actual first layout.

Change-Id: I61578f35ee6be349df49a63c464f532e0a87df28
ebView.java
b29553e5b00c0ef4cde959783ac5563d178537d3 17-Oct-2011 Bart Sears <bsears@google.com> am b227cce3: Merge "Check MediaPlayer state, do not teardown() from UI thread." into ics-mr0

* commit 'b227cce31641c39a1a586739561b4776019945a4':
Check MediaPlayer state, do not teardown() from UI thread.
b22a69f2caa4805159027ac06f540da3714d99f0 17-Oct-2011 Steve Block <steveblock@google.com> Build fix

Fix after https://android-git.corp.google.com/g/#/c/125775

Bug: 5461416
Change-Id: Ifee29b287c9fcd2a35b0b676db00ef2a4fc8c5a8
ebChromeClient.java
cfece91c1eb79cc0b686129ed622fe1d839e421e 17-Oct-2011 Steve Block <steveblock@google.com> Merge "Improve documentation for WebChromeClient.onCreateWindow()"
35934148635e6c5f4dce75c305a54f741f991085 17-Oct-2011 Steve Block <steveblock@google.com> Merge "Clean up documentation for WebView.loadUrl()"
f71dea025a6212a238fdcfa0d56104def2a97d29 01-Aug-2011 Steve Block <steveblock@google.com> Clean up documentation for WebView.loadUrl()

Bug: 5461416
Change-Id: I3bb6ac4abab7def8e06de087c5ae7be906bc962e
ebView.java
b227cce31641c39a1a586739561b4776019945a4 15-Oct-2011 Bart Sears <bsears@google.com> Merge "Check MediaPlayer state, do not teardown() from UI thread." into ics-mr0
817d6d5e8efa30082ce4b31d7da73cee20fc664a 14-Oct-2011 Ben Murdoch <benm@google.com> Check MediaPlayer state, do not teardown() from UI thread.

The teardown() function should only be called from the native
thread when WebCore is happy for us to release the media player.

When we lose audio focus, simply stop playback. Also be careful
not to check the playing state of the MediaPlayer if we are in
the error state.

Bug: 5461143

Change-Id: Iba03bdad5c39b104b3071129430d7ef2177e9358
TML5Audio.java
61d3449d1a135f17f8aa664f39f6cafcf595ba29 14-Oct-2011 John Reck <jreck@google.com> am d82cc1de: Merge "Fixup JNI" into ics-mr0

* commit 'd82cc1de848a678fa4bcaefdbc763307f3df4a75':
Fixup JNI
d82cc1de848a678fa4bcaefdbc763307f3df4a75 14-Oct-2011 John Reck <jreck@google.com> Merge "Fixup JNI" into ics-mr0
89e00a90d5a25f2e6e36684a58d10fbe7db7a284 03-Aug-2011 Steve Block <steveblock@google.com> Improve documentation for WebChromeClient.onCreateWindow()

Bug: 5461416
Change-Id: I9beac56374fb3ce97da4b20fa5646b5b5f05bad9
ebChromeClient.java
b61bfed7b102bbb7a8b4159b9bf013861619742b 14-Oct-2011 John Reck <jreck@google.com> Fixup JNI

Bug: 5459736

Change-Id: Iefb5daaf52eb56f2a4c3aaeedc977a16a1cfa086
ebView.java
0272df85061304683a1fa9aa5825ba8dbf102841 14-Oct-2011 Bart Sears <bsears@google.com> am bcfe4152: Merge "Improve JavaDoc for WebView.loadData()" into ics-mr0

* commit 'bcfe41529b7bd9f572a2eff31375dc9fdf35b518':
Improve JavaDoc for WebView.loadData()
33f962b22ec4ce30368a1b2847a868205ad6b99b 11-Oct-2011 Steve Block <steveblock@google.com> Improve JavaDoc for WebView.loadData()

Make clear that the charset specified in the mediatype portion of a data URL
overrides that specified in the HTML or XML document itself.

Bug: 5418915
Change-Id: Iff7305b6ac9e656d0fb7ed1b2ffe6fd0e21be49b
ebView.java
64f93d4f91df8830d3d6cd4490ac2f157a7f0325 13-Oct-2011 Ben Murdoch <benm@google.com> Merge "Don't redraw when not scrolling, even if finger is held down."
a6708c6a462d2a30e51e7ded2559a4054cb651fc 13-Oct-2011 Mangesh Ghiware <mghiware@google.com> Merge "Add setting for configuring zoom level on double-tap." into ics-mr0
fd8d3dede2f3d1b22e1c69d4c14d392d0aa2b2ab 13-Oct-2011 Ben Murdoch <benm@google.com> Don't redraw when not scrolling, even if finger is held down.

Signal the native side that we are not scrolling when a drag is
held motionless to stop screen updates.

Additionally, in the case that a drag is being held motionless,
send a timed message to keep the scroll bars on screen otherwise
they fade in and out, again causing repaints that shouldn't be
necessary.

Bug: 5440335
Change-Id: I94db0323879885fa48924b41d29e8af03e3b5e7f
ebView.java
edb528ef52fd9b0148d559c5e596cf9bb9a6d2f9 12-Oct-2011 Mangesh Ghiware <mghiware@google.com> Add setting for configuring zoom level on double-tap.

In overview mode, text wrap is done at reading level scale. If user
changes double-tap zoom in overview mode, reflow text at the new scale.
In any other mode, a double-tap will take user to overview mode, at
which point, the text will be reflowed at the updated reading level
scale.

Bug: 5312461
Change-Id: I29be34a32246019101a9a875e1758e22b5af2bd3
ebSettings.java
ebView.java
oomManager.java
c0c394ee053c1b62da58247c431c20d5939c4ada 12-Oct-2011 Steve Block <steveblock@google.com> Merge "Modify BrowserFrame.requestClientCert() to take the host and port as a String" into ics-mr0
8eb83b96ac75bf1d83147b2f2708a4398bae78bb 12-Oct-2011 Steve Block <steveblock@google.com> Modify BrowserFrame.requestClientCert() to take the host and port as a String

Currently we get the host and port from Chromium as a std::string, convert to a
jbyte array to pass over JNI, then convert to String. It's simpler to convert
directly to jstring and to pass that over JNI.

Requires https://android-git.corp.google.com/g/141234
in external/webkit.

Bug: 5442710

Change-Id: I5480471a841c24481ef09d836a8b0c778251b119
rowserFrame.java
64b4f16adf8a46a848e864200d9f7f4f90441d32 11-Oct-2011 Michael Kolb <kolby@google.com> Support spellcheck attribute in WebTextView

Bug: 5267547

set no suggestions for WebTextView when spellcheck attribute is
false
depends on CL: https://android-git.corp.google.com/g/#/c/141326/2

Change-Id: I4ad476270607e9d600567bbb4d9fd321893707b1
ebTextView.java
ebView.java
1d805c2b90f67a394016a138995c4c1eeb855ff7 10-Oct-2011 Derek Sollenberger <djsollen@google.com> Merge "Delay sending Plugin Draw event until the surface is ready."
281432c4672ddcce762cd4964d613f6b7cf2a27a 22-Aug-2011 Derek Sollenberger <djsollen@google.com> Delay sending Plugin Draw event until the surface is ready.

bug: 5436630
Change-Id: Ib66859b94b60fc5ea2a8db5e2e40690a084d5b0a
ebView.java
ebViewCore.java
cca606d7c33e6cfd7f67e96e5229f676703b150a 07-Oct-2011 John Reck <jreck@google.com> Improve loadData JavaDoc

Bug: 5425567

Change-Id: I2feff8ac69b2bb790aec8c5f710af0df257e28fb
ebView.java
b19c7878cc48746b7dda7ebdf1c85f6a7e6996a3 10-Oct-2011 Steve Block <steveblock@google.com> Improve documentation for WebView.loadUrl() to specify charset

Bug: 5435233
Change-Id: I69a8e0c551b58f284cfa95dccfc0ea49b0bbf05f
ebView.java
b762d1e5eaae9f04f1141feaa402e3f8939d28cc 08-Oct-2011 Michael Kolb <kolby@google.com> Merge "Handle audio focus in HTML5 audio"
889453b892d46b8ba1a3714e3fb1a4d94c7ea6a4 07-Oct-2011 Michael Kolb <kolby@google.com> Handle audio focus in HTML5 audio

Bug: 5416191

Video will follow later

Change-Id: I51da05aa0e3c8c0f33151df84d84a65cb7003080
TML5Audio.java
25d888b5ff23acf1a9d41bef3e74ee897baf5ad7 07-Oct-2011 John Reck <jreck@google.com> Merge "Fix calc visible to account for action bar"
fe33a75cc8883dc5d50dd5a2fb0eac702f2a6992 04-Oct-2011 Steve Block <steveblock@google.com> Add WebViewClient.onProceededAfterSslError()

This is used to notify the host application that an SSL error occurred while
loading a resource, but the WebView but chose to proceed anyway based on a
decision retained from a previous response to onReceivedSslError().

Bug: 5403366
Change-Id: I51a25b93d7824b7eb7b6d5a961cba948e37c85db
rowserFrame.java
allbackProxy.java
ebViewClient.java
fffce6fe99f7ae80f448790371b8c0fa90277d1a 07-Oct-2011 John Reck <jreck@google.com> Fix calc visible to account for action bar

Bug: 5425892

Change-Id: I15bc1779013dbb33511d9c5bff9b678115dec102
indActionModeCallback.java
ebView.java
98a5fcd895cce64a879982acd17c9ca52e6177ee 07-Oct-2011 Nicolas Roard <nicolasroard@google.com> Merge "Trigger a full screen repaint when touching layers, as webkitDraw() may not generate the correct invalidations."
dee7b1ba968a2e8dd420783c04a9b49f014232e3 07-Oct-2011 Nicolas Roard <nicolasroard@google.com> Trigger a full screen repaint when touching layers, as webkitDraw()
may not generate the correct invalidations.

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

bug:5425608 bug:5218173
Change-Id: I4a958a6fac4054a1040cb077cdfa2aff076e3fad
ebViewCore.java
7853c579fa52e4365c6e44ba38aeb3299d776f44 07-Oct-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "Fixing errors in position information of scrollable views reported for accessibility."
d9ee72fddb8be40e414a831fb80458dc48699613 06-Oct-2011 Svetoslav Ganov <svetoslavganov@google.com> Fixing errors in position information of scrollable views reported for accessibility.

1. ScrollView/HorizontalScroll view were reporting only the scroll X and Y but
failed to convey the max scroll along X and Y so the position can be determined.

2. WebView was not reporting correctly its scroll position for accessibility.

3. Some descendants of AdapterView were reporting incorrect position information.

4. Updated the accessibility docs with some details about the scroll information.

5. Cleaned up duplicated code.

bug:5412132
bug:5412265

Change-Id: I165e73ecde027dad811425b9f395a3f758c923ba
ebView.java
16721242556a5e41b81ae07bdd212bff066d50ee 06-Oct-2011 Steve Block <steveblock@google.com> Merge "Improve a warning message in WebViewCore's EventHub"
923154914d7afa5b434d10daa3da10353109754c 06-Oct-2011 Ben Murdoch <benm@google.com> Merge "Pass correct units for text size in autocomplete drop down."
68b9074a60a8b20235c1887c09eb7073d48c9902 06-Oct-2011 John Reck <jreck@google.com> Merge "Prevent adapter flickering"
3475ebfab28fbecc22841c692dbd0cbdba48417d 06-Oct-2011 Steve Block <steveblock@google.com> Merge "Fix SslError.getPrimaryError() to return -1 if the set of errors is empty"
7b65a3eb29198632d74df22582835d3399da5b85 30-Aug-2011 Steve Block <steveblock@google.com> Improve a warning message in WebViewCore's EventHub

These warnings appear occasionally and this will help track them down.

Also removes an unused method.

Bug: 5421676
Change-Id: I5ba3f146449623e3457aafc91fd2e7edc367a9d9
ebViewCore.java
f88a56e2b1e54883c021bd2b2497e12710fb77e3 06-Oct-2011 Ben Murdoch <benm@google.com> Pass correct units for text size in autocomplete drop down.

We need to set the size of the text used in the autocomplete
drop down in pixels, as we do when setting the size of the
EditText itself.

Bug: 5420125
Change-Id: Ife6d8c108c57106ffaa8706fa9e4e537a73a1733
ebTextView.java
a607060bbd985560a9fa0218906eddabf522d734 06-Oct-2011 John Reck <jreck@google.com> Prevent adapter flickering

Bug: 5403763
Prevent rapidly switching between a null adapter and a valid
adapter by only clearing if the node pointer changes or the text view
is no longer autocompletable.

Change-Id: Ie594396db807b5ad5e1a5a0e68ec0c7677364aaf
ebTextView.java
ebView.java
67f9d32e5ed55b15b84be4d0bdff828d48abe2eb 06-Oct-2011 George Mount <mount@google.com> Merge "Fix monkey NullPointerException"
518f72ca38f4a5e1dfcfade6b40e4fd082dd9fd8 05-Oct-2011 Steve Block <steveblock@google.com> Fix SslError.getPrimaryError() to return -1 if the set of errors is empty

Also fix a couple of buggy asserts.

Bug: 5416594
Change-Id: I0e7e2548886af5fc0b8c20f70a3040d2c5bc68ea
slErrorHandlerImpl.java
cfb753a641781425b6ef04a503271108fbce8bd0 05-Oct-2011 Steve Block <steveblock@google.com> Merge "Fix SslCertLookupTable to correctly determine whether we have a valid cached decision"
f270a1521c39bb6f47ebd29c1a14d9a33f14d87f 05-Oct-2011 Nicolas Roard <nicolasroard@google.com> Merge "Streamline the layers update codepath. Directly update the layers transform and position. This makes updates faster and less dependent on other webkit work."
f219f23aec8ef65cca70cd038cb9b77212cf9435 04-Oct-2011 Steve Block <steveblock@google.com> Fix SslCertLookupTable to correctly determine whether we have a valid cached decision

We should only re-use a cached 'allow' decision if the decision ...
- is for the same host
- is for an error which is at least as severe as the current error

Bug: 5409251
Change-Id: Id8516f58c8d23de44e80539ffeaf945be3d2914a
slCertLookupTable.java
bf52c0ea10482ad761e4fbc8ce07e9517b8541f6 04-Oct-2011 Steve Block <steveblock@google.com> SSL-related cleanup in BrowserFrame and SslCertLookupTable

- Fix a comment in BrowserFrame.certificate()
- Simplify SslCertLookupTable by not storing 'deny' decisions.
We only need to store 'allow' decisions, as we don't re-use 'deny' decisions.

No change in behaviour.

Bug: 5409251
Change-Id: I447cd1966fbb6c2dea8088b2e4c4e2de22405cb9
rowserFrame.java
slCertLookupTable.java
270a3c806224403dd48cb7c721693f565d9a0595 04-Oct-2011 Steve Block <steveblock@google.com> Clean up SslErrorHandlerImpl

- Use assert rather than junit.framework.Assert
- Add some comments
- There's no need for checkSslPrefTable() to call handleSslErrorResponse() as
we'll never update the table. Instead call
LoadListener.handleSslErrorResponse() directly.

No functional change.

Bug: 5409251
Change-Id: I0c6cdae43fa966f86f4a6c43b74c2f2a01f60319
slErrorHandlerImpl.java
fa03f9a3460a695337231df3195271060a1b4a06 05-Oct-2011 Steve Block <steveblock@google.com> Fix BrowserFrame to construct SslError using the full URL, rather than the host

https://android-git.corp.google.com/g/#/c/133348 changed BrowserFrame to
construct the SslError using only the host. This was done so that we match on
just the host component of the URL when re-using previous decisions in case of
an SSL error. It also means that the browser displays only the host when it
shows the SSL error dialog.

This change fixes BrowserFrame to pass the full URL to SslError. We modify
SslCertLookupTable to keep the existing behaviour regarding matching on only the
host component. There's no need to change Browser to continue displaying only
the host as I think this change was an unintentional side-effect.

Also remove dead code-path in BrowserFrame.reportSslCertError(). This
method is used only with the Chromium HTTP stack. This code was added
in https://android-git.corp.google.com/g/#/c/121023.

No functional change.

Bug: 5410252
Change-Id: Ief2dbf4558095fb6fa7ab0caac7d37fa4f640b66
rowserFrame.java
slCertLookupTable.java
dc221e01ff25ecf404ed945e1899be1e03a5462f 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.

bug:5218173
Change-Id: I5f784ef64eda1be3cee406aa23702e5378c8de9e
ebViewCore.java
213478b8587c693782ec4f02f554047df9f18412 04-Oct-2011 John Reck <jreck@google.com> Merge "Hardware accelerated button focus rings"
1fa26cbfc883ef76a46234d104906a1a9a515fc5 03-Oct-2011 George Mount <mount@google.com> Fix monkey NullPointerException

bug: 5385775
Check mWebViewCore has been destroyed
Remove mWebTextView from WebView when WebView is destroyed
Clear WebTextView's handler when it is removed from WebView

Change-Id: I9c62292d693109e692c341e3e4dba3e04af81fe4
ebTextView.java
ebView.java
bdfb3c5a69af0ae8ee725efff405ac13a66070bf 22-Sep-2011 John Reck <jreck@google.com> Hardware accelerated button focus rings

Bug: 5353510

Change-Id: Ie6a2c509b5890d3d091465a36804648999228553
ebView.java
f8419a0299680ed580975b0fcb758990b4367db8 03-Oct-2011 Adam Powell <adamp@google.com> Fix bugs around overlay action modes.

Multiple focusable windows cause undesired behavior around selection
modes. TextView isn't sure how to behave when it loses window focus
with regard to selection handles and action modes need to be focusable
for WebView find on page since it uses an EditText as a custom view.

For now:

* Use a layered window decor for overlay action mode when there is no
action bar requested. This eliminates an extra window and avoids the
issue described for full-screen UIs.

* Disable WebView's find-on-page mode when the action mode's UI will
not be focusable. This only affects WebViews in floating windows.

Also remove the "Text Selection" title for WebView's selection mode at
UX's request, as it is inconsistent with TextView's selection mode and
the string does not fit on phones in portrait even on wide
devices. This now uses the same mechanism used in TextView to decide
whether to use title text.

Change-Id: I80caeecea9b47728cf26bb0a388153ca0bdeafe1
indActionModeCallback.java
electActionModeCallback.java
b76b3b1c815eea62220ba8a148074897ffb92acf 29-Sep-2011 Russell Brenner <russellbrenner@google.com> Center box text vertically

Apply Gravity.CENTER_VERTICAL for single-line editable text

Bug: 5267547
Change-Id: Ie81354214e6eb97554d1f9e8e47377a2b0e73df6
ebTextView.java
ebView.java
293fe949207df0b7d1867ca3575d924b7ad5349b 30-Sep-2011 Mangesh Ghiware <mghiware@google.com> Merge "Force a WebView pictureset reset on screen rotation."
e8b05e858a95c900c1bebb993857ed0ff8770e4e 29-Sep-2011 Mangesh Ghiware <mghiware@google.com> Force a WebView pictureset reset on screen rotation.

This fixes some stale content issues when rotating the screen.

Bug: 5357237
Bug: 5361852
Change-Id: I574dac15dbb1a35a8830377848f38ba2b766f095
ebView.java
29af07443607b21c943c9adc0ffb34331135ad3e 29-Sep-2011 Steve Block <steveblock@google.com> Merge "Fix HTML5Audio to call WebView.isPrivateBrowsingEnabled() on the UI thread"
55b039f1b7ecb0439e095082e82c4d4fa2627921 28-Sep-2011 John Reck <jreck@google.com> Merge "Support for correctly scaling text selection handles"
0a20d6a4c3474ec6582b7cd9db3d996563403a71 28-Sep-2011 Steve Block <steveblock@google.com> Merge "Always call WebView.onPageStarted(), regardless of whether a WebViewClient has been set"
85aa944888089852cf144c18f8fb6869e1a39d32 28-Sep-2011 Steve Block <steveblock@google.com> Fix HTML5Audio to call WebView.isPrivateBrowsingEnabled() on the UI thread

Bug: 5384494
Change-Id: I2587cf0e898f67becb9dbc2067fb1b0a6a37e124
TML5Audio.java
ebViewCore.java
aae19fb90c9af3be4b0ef956940b7ef8afc37b0f 28-Sep-2011 Steve Block <steveblock@google.com> Merge "Hook up WebView.clearSslPreferences() for the Chromium HTTP stack"
a0d767c8226babdc23c84d685d89d279b48f6c7e 27-Sep-2011 Steve Block <steveblock@google.com> Always call WebView.onPageStarted(), regardless of whether a WebViewClient has been set

This makes sure that the page's SSL certificate is cleared when the page load
starts.

Follows on from https://android-git.corp.google.com/g/#/c/138147.

Bug: 5287216
Change-Id: I40f74a72dc495c48d7167b7b70a845a8481feb85
allbackProxy.java
d9151bf1ccd9bc726ba2c252919503f8968649cc 14-Sep-2011 Kristian Monsen <kristianm@google.com> Hook up WebView.clearSslPreferences() for the Chromium HTTP stack

Note that this is an incomplete fix, as we do not clear the responses for
connections currently in use, as they maintain their own cache. See
http:/b/5324235.

Bug: 5287216
Change-Id: I18f6638efeff0bee1e7ffed606be1444d683bebd
slCertLookupTable.java
ebViewCore.java
1cfe8ddf620b269d998fe37b1eeb0d090312770c 28-Sep-2011 John Reck <jreck@google.com> Support for correctly scaling text selection handles

Bug: 5367280

Change-Id: If32fdc9cd82d1a66bc96446a123c44d9edd9d340
ebView.java
a3b06ff933132f149be18035f4f8e14ba6355b07 27-Sep-2011 Steve Block <steveblock@google.com> Merge changes If97c4d76,I1cd975b1

* changes:
Always update the WebView's SSL certificate, regardless of whether a WebViewClient has been set
Remove superfluous synchronized modifier on SslCertLookupTable.getInstance()
9a0cd15eec572e1322c2c328b2e5acea9f2d9210 27-Sep-2011 Steve Block <steveblock@google.com> Always update the WebView's SSL certificate, regardless of whether a WebViewClient has been set

This looks like a copy-paste error from other CallbackProxy methods which call
back to the WebViewClient or WebChromeClient, rather than the WebView.

Also remove '@hide' annotations. These are superfluous as the class is not
public.

Bug: 5287216
Change-Id: If97c4d769cf82563b9c182ba09fc742fbb7e08e9
allbackProxy.java
200ff0a7b1ab14a9a1dfb6ac5bbc7b72e0b14273 27-Sep-2011 Steve Block <steveblock@google.com> Remove superfluous synchronized modifier on SslCertLookupTable.getInstance()

Also fixes style in SslCertLookupTable and WebViewcore.reportSslCertError().

Bug: 5287216
Change-Id: I1cd975b1c8cecf1ca1dad0643be8ab62f7a950bc
rowserFrame.java
slCertLookupTable.java
fb2fd5f52c3de68ea8395eb0b5e5543e8ab26763 27-Sep-2011 Teng-Hui Zhu <ztenghui@google.com> Double check the permission before setting the Wake Lock

bug:5361732
Change-Id: Ia9092b25d62c4a14cba885f5e3fac0326d0fde1c
TML5VideoInline.java
2cdbe2f1cf0157bf49913c46cc806169e0f9ecc6 26-Sep-2011 Steve Block <steveblock@google.com> Merge "Update the error for WebView thread violations to make clear that it's not fatal"
7a01d94c5e54f4e24ec88c0a26bdf08477ee86d0 26-Sep-2011 Steve Block <steveblock@google.com> Update the error for WebView thread violations to make clear that it's not fatal

- Update the description
- Use Throwable rather than RuntimeException
- Log as a warning rather than an error

Bug: 5313494
Change-Id: If13ce2088e7080122db14e5e0565f64e6d6f4320
ebView.java
e0b0578a1efe6dc3ed259835ce0ceb939a0ecee6 26-Sep-2011 Ben Murdoch <benm@google.com> Merge "Force a WebView pictureset invalidation on screen rotation."
9bb55bf01558ebe2fefa1c7eee5a335cb4a92588 23-Sep-2011 Ben Murdoch <benm@google.com> Force a WebView pictureset invalidation on screen rotation.

This fixes some stale content issues when rotating the screen.

Bug: 5357237
Change-Id: Ib41a659ec99419cdf94ad5321c224a33b1f21359
ebView.java
2df8f425f64173bf7866e49804e84683746d28a7 23-Sep-2011 John Reck <jreck@google.com> Add detail to restorePicture deprecation

Bug: 5361506

Change-Id: I4bf6583170df50b218051f4700700ff1b8874d17
ebView.java
faab93d1acb9738c8e2d90e20e19facc0e3eea6e 21-Sep-2011 Mangesh Ghiware <mghiware@google.com> Use overview scale when restored scale is 0.

If restored scale and text wrap scale are set to 0 (meaning the previous
scale wasn't saved), set them to overview and reading level scale
respectively.

Bug: 5230909
Change-Id: If7724e9a0cd948c88d0a001728266a3282083bdc
ebView.java
ebViewCore.java
oomManager.java
f9580d594a489aab2a3bbaf8ffc1bdbbe3aaf8b6 20-Sep-2011 Ben Murdoch <benm@google.com> Merge "Cleanup for bug 5278763"
2210fff475e2d4ef6f5cf20eaa0a183058bfb68a 19-Sep-2011 John Reck <jreck@google.com> Merge "Bringing back the 'cache"
0966dd22ec196e5fca0b5f4533d2a44aeb47ba93 18-Sep-2011 John Reck <jreck@google.com> Bringing back the 'cache

Bug: 5333083

Change-Id: I9b693ad0a0d4ee2979a7dabad6575ffada962b16
ebView.java
c99e447ea7202baed5e516102d780dae1863f03d 16-Sep-2011 John Reck <jreck@google.com> Don't switch to handle drag mode when starting selection

Bug: 5327408

Change-Id: Ibda37b1a661d9cdc80a86bc16488178b69fac4a2
ebView.java
5dd1916c247f27284e4af8be5125633fddae6452 16-Sep-2011 John Reck <jreck@google.com> Merge "Fix text selection drawing on SW"
57efcffc7f7290a5510bd1f4f1880a32cc37ad6d 15-Sep-2011 John Reck <jreck@google.com> Fix text selection drawing on SW

Bug: 5312770
Helps if you actually draw stuff...

Change-Id: I5ab8cd0726cac77a91fb476c7db0873132ba91d9
ebView.java
5540abcdef5f2e7037fc4a1fd525ca823b6a1a58 15-Sep-2011 John Reck <jreck@google.com> DO NOT MERGE Fix finalization

Bug: 5321358
Destroy does run with this. Ideally we should get rid of the need
to run this on the UI thread at all. GL destroy should instead
take place when the view is detached or something like that.

Cherry picked from master

Change-Id: I693ce83cd607186173d8cf58485c5df28004e52c
ebView.java
ad804e34b94a05382f8806f2b5e83481ecbaade5 15-Sep-2011 Adam Powell <adamp@google.com> Fix bug 5321195 - Starting WebView text selection with long press does
not invoke haptic feedback

Change-Id: I6ba6b7e5b0ecedf721ab6d1bf87d7d2a92dc7200
ebView.java
f4f520ae9fcde928ba66d533012ca17fc0bfd66a 14-Sep-2011 Adam Powell <adamp@google.com> Fix bug 5314559 - Slow menu scrolling in browser on some devices

nativeSetIsScrolling has other side effects. Just pause picture
updating when WebView loses focus.

Change-Id: I917851c806f35a91a12a25c7457712123669384f
ebView.java
d4fdc0f5621098d89c686a0edbfc22247005c46c 14-Sep-2011 John Reck <jreck@google.com> Merge "Prevent pause/resuming a destroyed WebViewCore"
911d63d1598b4e8105e9a14d8e1c120f54548cbc 14-Sep-2011 Adam Powell <adamp@google.com> Merge "Fix bug 5309557 - Monkeys and SIGSEGV do not mix!"
cc2264fe470440febe979da468abecf287a013ee 14-Sep-2011 Adam Powell <adamp@google.com> Fix bug 5309557 - Monkeys and SIGSEGV do not mix!

Make sure that the native component of WebView has been initialized
before any native-level optimization involving window focus occurs.

Change-Id: I24ca5fe21657aeb1a1faf5bc36fba5ea11064f86
ebView.java
2f4d30a2a6df349d2af59c161548a285a536b98a 14-Sep-2011 John Reck <jreck@google.com> Prevent pause/resuming a destroyed WebViewCore

Bug: 5246901

Change-Id: I697cd26b74ffb0584bb992d8caa6bae1e6eee0fd
ebViewCore.java
b9376464ab3bbbf1c97aa6675987d4555c8c51e9 13-Sep-2011 John Reck <jreck@google.com> Make sure the finalizer destroy runs on the UI thread

Bug: 5208786
The finalizer runs on its own thread, but destroy must be called
on the UI thread

Change-Id: I01ddd675b8aea49aa4e212693551e808a83e45d5
ebView.java
e00e8a78374cdcf01a25bd6327d2b94944b2bc3f 12-Sep-2011 Adam Powell <adamp@google.com> Pause WebKit drawing when WebView loses window focus.

This prevents animations and other live page content from consuming
too many resources while the user is interacting with a popup window.

Bug 5300522

Change-Id: I40fb6d16d56b540c431172052a1ae7fead7109be
ebSettings.java
ebView.java
ebViewCore.java
fa0d2316f98ab787ff26383ff651dc31aac60ffd 12-Sep-2011 Mangesh Ghiware <mghiware@google.com> Merge "On zoom to overview, reflow text, if necessary."
87af7314d4319a0ccaaf466a25e3fe4f416cc953 09-Sep-2011 Kristian Monsen <kristianm@google.com> Cleanup for bug 5278763

Variable is not needed, and removing unneeded check

Also throwing an exception if sContext gets set to null.

Change-Id: Ic61ba4c88a162eb730e166f0e9f477e809b51f42
ookieSyncManager.java
niUtil.java
ebView.java
886b372b52d122d25f95ef39833254197bebba69 10-Sep-2011 Mangesh Ghiware <mghiware@google.com> On zoom to overview, reflow text, if necessary.

Reset the text wrap scale to the correct value (i.e., reading level
scale) on zoom to overview. This addresses the scenario where text is
wrapped at a larger scale following a pinch zoom and double tap to
reflow.

Bug: 5254253
Change-Id: I57f706ef4254dd3f194cc35f109dd48b61b72f73
oomManager.java
2376f8253f59e70e733bdf338e9cb49535f3d50f 09-Sep-2011 Ben Murdoch <benm@google.com> Relax form autocomplete conditions

Use the URL host and path rather than the complete url to store
form autocomplete data. This helps in the situation that a site
uses some dynamic query string on the page that contains the form.

Also set the autoocmplete threshold to 1 so that we don't flick the
autocomplete options up and down as you type the first few characters.

Bug: 5265606
Change-Id: I7b372400062ae34f70a78b786007910dc179b101
rowserFrame.java
ebTextView.java
ebView.java
a4248f6932750ac8a472a02fb9d3927194ba59b6 09-Sep-2011 Teng-Hui Zhu <ztenghui@google.com> Merge "Don't sleep when inline video start"
690ad5409000ba8a40046e29516cfd4c7612b320 08-Sep-2011 Teng-Hui Zhu <ztenghui@google.com> Don't sleep when inline video start

bug:4563692

Change-Id: I0174403e3f78b5a637500fbaaf7f9219efe0cbc8
TML5VideoInline.java
606ce48ba23c42af793a52b61731da87027e4766 08-Sep-2011 John Reck <jreck@google.com> Merge "Register to receive onTrimMemory callbacks"
d5417040be69a0e2a48e4a61605d6a60b13cce8e 07-Sep-2011 John Reck <jreck@google.com> Merge "OnTrimMemory plumbing"
34a676bd083ecbff6f5ddc0157723b3f543ad358 07-Sep-2011 John Reck <jreck@google.com> Register to receive onTrimMemory callbacks

Bug: 5269460

Change-Id: Ic2429af1ba0b6e86157f6ba16d420d10c17920e5
ebView.java
faa42dbede4d839dc52957bb984be70df682adea 07-Sep-2011 John Reck <jreck@google.com> OnTrimMemory plumbing

Bug: 5269460

Change-Id: I012e2eb077c3671b856d0163de6b10ad7bd4d577
ebView.java
9041d9254ee491df60a35237febf71089bf082ff 07-Sep-2011 Kristian Monsen <kristianm@google.com> Fix for bug 5100096 Repeated Security Waring

Only giving the host to SslError.

Change-Id: I6112643cf25293348ff20193e67da5f52063ffa2
rowserFrame.java
e2f3aee9d5d8b4aa70950bef98ba688e29e27a8c 03-Sep-2011 Chris Craik <ccraik@google.com> Notify native that scrolling has stopped correctly

bug:5255022
bug:5218838

When the view starts scrolling, we tell native so it can block updates until the
view stops scrolling. This change fixes an issue where wouldn't tell native that
we stopped scrolling because the view didn't have room to move.

Change-Id: I5f2eec31493570937f7b8b2992a85283de06fb60
ebView.java
5afd2bd02ae44d5a38f9e560047723ddab176405 02-Sep-2011 Mangesh Ghiware <mghiware@google.com> Merge "Set reading level scale to display density instead of a fixed minimum."
ff7130288f5df81f654cc008cfea33c263882722 02-Sep-2011 Kristian Monsen <kristianm@google.com> Merge "Close idle connections on pause timers"
64decc60823441a40e9376c98163c993bc934088 25-Aug-2011 Kristian Monsen <kristianm@google.com> Close idle connections on pause timers

Part of fix for bug 4487538 Current Drain

Change-Id: Ie957321d11ee3a94a5549aebb5be6e3cb444ebcf
ebViewCore.java
f9fa8be5e37b47d01ae37afb08f68428072e4aa3 01-Sep-2011 John Reck <jreck@google.com> Merge "Prevent serialization after being destroyed"
b71fe052ab39f1adc5a1a559432b803679a2a027 01-Sep-2011 John Reck <jreck@google.com> Merge "Fix destroy race condition"
0aadeca6cc05367faae1eacda6be580df41c17ee 01-Sep-2011 John Reck <jreck@google.com> Merge "Partial rollback of I9ebc92dc"
45576fae46bae16bbd703b26f8cd99457a4ca138 01-Sep-2011 John Reck <jreck@google.com> Fix destroy race condition

Bug: 5246901

Change-Id: I97a211b23afb17314d7a37779593556529be7e32
ebViewCore.java
90afe21dbb3cbed56a67e17b2260622e501255ea 01-Sep-2011 John Reck <jreck@google.com> Prevent serialization after being destroyed

Bug: 5246900

Change-Id: Ic0be139b26e1b52203b8d0286c12175df6a1a46c
iewStateSerializer.java
ebView.java
39bb698cd255962fb69c99bc5179b9590b6efbb3 01-Sep-2011 John Reck <jreck@google.com> Partial rollback of I9ebc92dc

Bug: 5239166
Turns out nativeRecordButtons is necessary even if we are not
using the native selection rings.

Change-Id: I8e7713928b77c0098640b51ce8e8815dad0c9545
ebView.java
b5f9fc32ec3972694b626ab93991b0b9de97749a 01-Sep-2011 Mangesh Ghiware <mghiware@google.com> Set reading level scale to display density instead of a fixed minimum.

On a double tap, zoom to either reading level scale or 0.5f more than
current (overview) scale, whichever is greater. This addresses the
scenario for large screen devices where overview and reading level scale
are the same.

Bug: 5165527
Change-Id: I50216d60f98b2904f06742336b9c8c7c512328a6
ebView.java
ebViewCore.java
oomManager.java
ea24a4015a86e8c461a594abe042ade3271bbb2c 01-Sep-2011 Ben Murdoch <benm@google.com> Merge "Preload libchromium_net in addition to libwebcore."
6c859576ad5ae5e870e3e96b650f015024b6c49e 01-Sep-2011 John Reck <jreck@google.com> Merge "Draw text selection in Java"
492bbe3f7b42860dafe5435203ea30278bf76b6c 01-Sep-2011 Ben Murdoch <benm@google.com> Preload libchromium_net in addition to libwebcore.

To improve WebView app startup time, preload libchromium_net which
was recently split from libwebcore into its own shared library.

Bug: 5112647
Change-Id: I4417d5a4f8c7783e8fa7b8eaddf89aaeb3693fac
niUtil.java
ebViewCore.java
086a514e6bc25b4cacd41802b12ca0d05aca70aa 01-Sep-2011 John Reck <jreck@google.com> Draw text selection in Java

Bug: 5208328
Bug: 5224394
Also use framework assets

Change-Id: If704fd7df5aa95648d78e615571d4a2658d29534
ebView.java
89935e41c593a599e8955388b27fb926e60e5e94 31-Aug-2011 Adam Powell <adamp@google.com> Make EdgeEffect public API.

This enables apps to make use of the system's visual edge effect used
during overscroll in 2D content.

Also un-@hide the getCurrVelocity methods from Scroller/OverScroller,
without which it becomes cumbersome to obtain values to pass to the
EdgeEffect#onAbsorb method.

Change-Id: I40e452455f5cb5d45d1fb3687f739fc8eae65560
verScrollGlow.java
8d102eb6720deccfb8b5872fde531ef6ca580077 30-Aug-2011 Jamie Gennis <jgennis@google.com> Merge changes I33f59705,Ia4c8c822,I2fb695ab,I2e587afc

* changes:
MediaDump: use the MediaPlayer#setSurface method
HTML5VideoView: switch to MediaPlayer#setSurface
MediaPlayer: unhide the setSurface method
Surface: unhide the SurfaceTexture ctor
30cca6020df6fede4043a9f6715be470d3132c57 30-Aug-2011 John Reck <jreck@google.com> Merge "Fix contentInvalidateAll NPE"
fd8feeef498be4adf4830b8f39d55a2653ecc21b 29-Aug-2011 Jamie Gennis <jgennis@google.com> HTML5VideoView: switch to MediaPlayer#setSurface

This change updates HTML5VideoView to use the new MediaPlayer#setSurface
method rather than MediaPlayer#setTexture, which is going to be removed.

Change-Id: Ia4c8c822bd4735caf95f3f295485d60f016577c1
TML5VideoInline.java
c87b7705a0207798b3dc9168f4e91ebbe21f08a7 29-Aug-2011 John Reck <jreck@google.com> Fix contentInvalidateAll NPE

Bug: 5220835
It is possible to call setProperty before webcore has initialized.
In that case, the content invalidate is unnecessary as there is no
content to invalidate, so just ignore the request.

Change-Id: I52471a1739443ba8f1e514a5908678552246d80b
ebView.java
0ba72ad45b724dfe8ce6fd5c0702e5da95dae514 29-Aug-2011 John Reck <jreck@google.com> Tap highlight fix + small perf increase

Bug: 5229717

Change-Id: I9ebc92dc96d77ff9051517b717d203686b574f7a
ebView.java
2c5423da4e3b23c0381952da2671f05a7501f9af 27-Aug-2011 John Reck <jreck@google.com> Merge "Better touch rects"
335f4547530b58d60003b844139ba25de9486124 26-Aug-2011 John Reck <jreck@google.com> Better touch rects

Bug: 5164486
Get the focus rings from webkit instead of the navcache
and draw them in Java.

Change-Id: Ib44d3f6972b3cdbca4d2f0a3034f53d9ae5bb2a8
ebView.java
ebViewCore.java
f4565a91a514dc9e1105b6955a4c9aa3bc3e7a7b 26-Aug-2011 John Reck <jreck@google.com> Merge "After calling loadData invalidate the content"
fb2b9b2695ab9efebe8641160a99db85cd599605 26-Aug-2011 John Reck <jreck@google.com> After calling loadData invalidate the content

Bug: 5205296

Change-Id: I7470faf0b71a769926c007b964987e8bc7a61efb
ebViewCore.java
58d94af5395c5d72b7f284837cf33ff59f3e18ed 18-Aug-2011 Chris Craik <ccraik@google.com> actually pause webkit thread, remove costly invalidate

pass isScrolling info to glwebviewstate
pause webkit in a way that doesn't require full inval on resume

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

bug:5106313
Change-Id: Icbe57e3a163c17c99bd1ea49ab42e40f9d41cc6d
ebView.java
ebViewCore.java
fc8f2ca6216181e95e30ad96be842e0b12b3d46d 19-Aug-2011 Nicolas Roard <nicolasroard@google.com> Merge "Modify nativeSetProperty to return a boolean indicating if we need to invalidate the content or not."
872cf224f30c8d083f1f8f14633fa029c9d3866b 18-Aug-2011 Nicolas Roard <nicolasroard@google.com> Modify nativeSetProperty to return a boolean indicating if we
need to invalidate the content or not.

corresponding C++ CL: https://android-git.corp.google.com/g/#/c/129130/

bug:5167645
Change-Id: I48a3dd252e2a7ef24f3828e1e2955f86867423dd
ebSettings.java
ebView.java
cb4184790184a086ddd840f52d22b4667b7905d4 18-Aug-2011 Chris Craik <ccraik@google.com> Removed setExtendedTileBounds

bug:5178457
for real this time
Change-Id: I4f40206d66feb8ddf6fd844e9fe5cce2096317bc
ebView.java
deed89a8d54070888d2c6ba06343d213efe01093 17-Aug-2011 Kristian Monsen <kristianm@google.com> Merge "Fix for bug 3429537 Google voice (web version) does not play messages on HC"
f1142b051b973707055b5aafb93c22e7e2dfd7fd 17-Aug-2011 Ben Murdoch <benm@google.com> Merge "No need to pass an AssetManager to native when creating a WebView"
3a81ac4a21bc2391fd80492523e3d222eb700317 17-Aug-2011 Huahui Wu <hwu@google.com> Merge "b/5080166 Enalbe multi-touch on external touch escreen."
9a1b3c9c99e5853a655c88ea785e6cf00820bdd6 12-Aug-2011 Kristian Monsen <kristianm@google.com> Fix for bug 3429537 Google voice (web version) does not play messages on HC

Sending cookies to the MediaPlayer

Depends on external/webkit CL: https://android-git.corp.google.com/g/#/c/128457/

Change-Id: Ic4929a73eb6eb857a21fe7e745ae15e92420d3d8
TML5Audio.java
4d830071fa0e447a5b7fc694886204bc820897a8 28-Jul-2011 Ben Murdoch <benm@google.com> No need to pass an AssetManager to native when creating a WebView

See external/webkit change:
Ia6c17634f535ed75b2a0757ac4d53f1a0befb78a

Bug: 5084146
Change-Id: I5a2e87d03d73fa74ebb00c33567783225ed97d3a
ebView.java
2fd1f816cd6911145af5f60476108cd088168ba6 16-Aug-2011 Ben Murdoch <benm@google.com> Merge "Add a function to query the available memory on the device."
8b84ac955328d2c5175d29fcbbf615719f1c17ef 12-Aug-2011 John Reck <jreck@google.com> Merge "Remove WebDriver"
62e55fc77bb1f507f90f9fb9d88b595756f42af1 12-Aug-2011 John Reck <jreck@google.com> Remove WebDriver

Bug: 5155997

Change-Id: I66413032d0be90971fcca2278d96a40d6e221b89
ebdriver/By.java
ebdriver/WebDriver.java
ebdriver/WebDriverException.java
ebdriver/WebElement.java
ebdriver/WebElementNotFoundException.java
ebdriver/WebElementStaleException.java
ebdriver/WebViewClient.java
ebdriver/WebchromeClientWrapper.java
84029a8e06c072c6e504ec8c3fe19b56e410cf82 10-Aug-2011 Ben Murdoch <benm@google.com> Add a function to query the available memory on the device.

This function is called over JNI to determine wheter a particular
size of memory allocation will leave us in a low memory state.

Bug: 5142892
Change-Id: I3d0f85075497c2a374cd866b0223eecaaa4b5f46
niUtil.java
adf096c85259af2f7e8b42766989d1e195c00831 12-Aug-2011 Ben Murdoch <benm@google.com> Increase WebView.TAP_TIMEOUT to 300ms to account for trackpad taps.

Track pad taps will have a duration of 300ms, so we need to take this
into account when handling touch events in the WebView.

Bug: 5076008
Change-Id: Ia0d7ad88637b1f6b85440283ab29086a5f60fdba
ebView.java
3882486dcdd914b5feb4da35af4f804fb2180e5c 11-Aug-2011 Ben Murdoch <benm@google.com> Allow fractional and signed input for number fields.

Bug: 5150575
Change-Id: I36f8dd59f630d77ea3f4ef6271f4cbaaaa3df0ad
ebTextView.java
a7f0ed46208bf1658624e22dc061e20e97d30481 05-Aug-2011 Ben Murdoch <benm@google.com> Add a flag to force suppression of the auth dialog.

Requires external/webkit change:
If8c6f22e8307e1e13b8f7ad29f79305ce24b3255

Requires packages/apps/Browser change:
Id901855830bbe17ede8a18293cff2bbc0aad4ba8

Bug: 5094761
Change-Id: Ida5708aad7cbe5633106e9ae2997c9231aaf95b8
rowserFrame.java
ttpAuthHandler.java
cb484804e0303ef978b19c5b2a848b6e02ddf7e2 03-Aug-2011 Steve Block <steveblock@google.com> Merge "In DeviceMotionService, handle the fact that we may receive updates from SensorManager after unregistering."
d09001fea476ca6c6eaff5e29a1bb6f3aebe5bd5 03-Aug-2011 Steve Block <steveblock@google.com> In DeviceMotionService, handle the fact that we may receive updates from SensorManager after unregistering.

Bug: 5110230
Change-Id: I9be502538517a094c83d2d1a9073dfaee3b436e7
eviceMotionService.java
eviceOrientationService.java
555c55ed65056e2236430f92e81c1fb6acd05dcd 29-Jul-2011 Chris Craik <ccraik@google.com> Added automated performance test to TileBenchmark

bug:5062896

Depends on external/webkit change:
https://android-git.corp.google.com/g/#change,125566

Loads pages from SD card, and scrolls through them reporting results. Added
contentInvalidateAll hidden WebView method, and made pageSwapCallback
extensible.

Change-Id: I9f7377aad6fd7c101177dde552a72357c8b4e400
ebView.java
ebViewCore.java
abecca9c60cecf03f308c85969b92fd43852bf43 29-Jul-2011 Kristian Monsen <kristianm@google.com> Merge "Part of fix for bug 4997380: Some error types unknown to SslError"
ecfeebebfff639ba4b66a334bd46dc37b1ab25da 29-Jul-2011 Derek Sollenberger <djsollen@google.com> Merge "Add a runtime switch between Raster and Ganesh rendering modes."
0d6c6a73c6e274ab847f7b1f648361b5e2d28f8c 13-Jul-2011 Kristian Monsen <kristianm@google.com> Part of fix for bug 4997380: Some error types unknown to SslError

Use the new SslError chromium error codes parser.

Change-Id: I0b5584bd3f3e042600caebe72f4e41989318cd6a
rowserFrame.java
5cf78f7bd87d1382fde42bf81fef6b16fe130985 28-Jul-2011 Chris Craik <ccraik@google.com> use pageswap callback to sync WebTextView with drawing of page

bug:5008210

Redraw the WebTextView when the page swaps (and thus the background is updated)
That way it updates at (approximately) the same time as the page. In software
rendering, do as before.

Depends on following external/webkit change:
https://android-git.corp.google.com/g/#change,124606

Change-Id: I59d7266a49d0ba734efdb88fef5fafe68aecfbce
ebView.java
24f2936d352e8938a02ec10ace57cac8671fc68f 28-Jul-2011 Chris Craik <ccraik@google.com> Merge "Use WebTextView overlay to render text fields/areas much faster"
e3e7a88b4d83d46be5a6c766dc4340cd1687d693 25-Jul-2011 Chris Craik <ccraik@google.com> Use WebTextView overlay to render text fields/areas much faster

bug:5008210

Still has the following issues:

* colors are always black & white

* ignores centering, word wrap from text area

* gray background text (such as with instant search) and other textfield effects
aren't shown

The DebugFlags.DRAW_WEBTEXTVIEW can still be used to overlay red text over the
input box.

Change-Id: I7f22321c31b9edbc5351cac13f2e17b0ee19d563
ebugFlags.java
ebTextView.java
ebView.java
3e066c35e8a9f1a77b815791aac02e6a7f4e0808 26-Jul-2011 Huahui Wu <hwu@google.com> b/5080166 Enalbe multi-touch on external touch escreen.

Change-Id: I49d44528283a6b47a4caa95bec3c1837f500b004
oomManager.java
63d050034df5eedc9586e393d56444cd34681bd1 25-Jul-2011 Ben Murdoch <benm@google.com> Merge "Add a System.Secure setting for the Autofill server URL."
50799a99484d50d79edab2ec6d64ad3287ed03f8 25-Jul-2011 Ben Murdoch <benm@google.com> Fix for Autofill calling WebView.getSettings on background thread.

Autofill was reading the WebView's WebSettings on a background thread.
Move it to the UI thread to conform to the WebView API and get rid of a
Strict Mode violation.

Bug: 5072283
Change-Id: Ib0ac60697f1e629ac1ef1743545b5cf0ac2cf52a
ebView.java
8afdd412acc4e5a544074b2d1509d0db36409679 22-Jul-2011 John Reck <jreck@google.com> Merge "Fixup handling destroy"
b4cd566767f736e723acb5444cbfb26117a2fbb8 22-Jul-2011 Chris Craik <ccraik@google.com> Merge "New log format, Manual log generation, plus logging of invalidates"
21555abad7ba5f5377052e2644974d3ce8c37869 21-Jul-2011 Chris Craik <ccraik@google.com> New log format, Manual log generation, plus logging of invalidates

bug:5062896

Added features to TileProfiler, updated jni interface to allow querying of
arbitrary log data via strings. Depends on the following webkit change:

https://android-git.corp.google.com/g/#change,122779

For new logging jni interface, and logging of invalidates.

Change-Id: I80ba6702b87e86ec76e5b0eafde45f4ef3a80ad3
ebView.java
00d5bf7e44d44510d0828c473619c95a9ea783e3 21-Jul-2011 John Reck <jreck@google.com> Fixup handling destroy

Bug: 5002925
White list certain messages that can be handled after WebViewCore
was destroyed (specificially pause/resumeTimers, which are per process)
and reject all other messages. This avoids using the undocumented
removeCallbacksAndMessages(null) trick, as well as makes sure PAUSE_TIMERS
and RESUME_TIMERS are processed in the correct order the correct number
of times.

Change-Id: I8c51172e015f923ffeb0816a8ee2ab63219d0f96
ebViewCore.java
598b6fe86b213d65668928f575a9688ac7c6061b 21-Jul-2011 Huahui Wu <hwu@google.com> Merge "b/4070489 Jumpy motion when switching fingers during zoom gesture."
9999c1d97730e33751ae5a94331797d6850701c6 19-Jul-2011 Ben Murdoch <benm@google.com> Add a System.Secure setting for the Autofill server URL.

The Autofill server is now configured as a system setting. Add
that setting and a method to be called over JNI from the chrome
stack to retrieve it.

See also external/chromium change I3a22ae42402f52207eee2d0d9df64700cb7c9f45

Bug: 4515820
Change-Id: I0aa85c5bef834b1120baaabdc2dd2e4e607a63b6
niUtil.java
5f4835af72418cd13a746b5b7677ae130c20d46a 21-Jul-2011 Huahui Wu <hwu@google.com> b/4070489 Jumpy motion when switching fingers during zoom gesture.

Change-Id: Ia7845cef5e58b4922e4475e48085b7b95e15bea2
ebView.java
oomManager.java
50c5d2be631612d283b1d1809ca41ab5f6643cf1 19-Jul-2011 Shimeng (Simon) Wang <swang@google.com> Merge "Change log msg since viewport can be changed before first layout."
a6c5d383a820cb97785846b96c0fc56b30b62018 19-Jul-2011 Shimeng (Simon) Wang <swang@google.com> Change log msg since viewport can be changed before first layout.

Change-Id: I137a897844953bf6b8510b6ee5d6eb89b4b78a6a
ebViewCore.java
6dd005b48138708762bfade0081d031a2a4a3822 18-Jul-2011 Dianne Hackborn <hackbod@google.com> I. Can. Not. Stand. ViewAncestor.

It was done so we would have the name "ViewRoot" available for a
public API. However, the name "ViewAncestor" just makes no sense.
So instead, change it to ViewRootImpl.

Change-Id: If9599ca67896f339f6fefa7d1dde121201171d97
rowserFrame.java
9a3d51f596e2fcf6630592aa76b9e078c74f3603 15-Jul-2011 John Reck <jreck@google.com> Merge "Add a hidden generic property interface"
637758940f784d5ec31b6c8eece022832ee705ce 15-Jul-2011 John Reck <jreck@google.com> Add a hidden generic property interface

Change-Id: Iff890d7802af00a80b0148c7cc3233c6fc4d5dad
ebSettings.java
ebView.java
e7821cd607c8fb660034ae3d158a1b17ef575159 08-Jul-2011 Mathew Inwood <mathewi@google.com> SearchBox API changes, to know when calls succeeded.

Depends on change: I5af94c8df8f24dfafb02c4052381aa547c72684c
(due to SearchBox API change).

Change-Id: If283ecdfa62aecb1fa697b1a2cd43b771b908d72
allbackProxy.java
earchBox.java
earchBoxImpl.java
ebViewCore.java
445ab74a21bae90e5ed9a4d4a5867866f1d7de13 13-Jul-2011 Chris Craik <ccraik@google.com> Tile profiling interface

Allows access to underlying WebView benchmarking calls.

Uses C++ backend from the following CL:
https://android-git.corp.google.com/g/#change,121035

Change-Id: Ib205340451aadfd40425f492afa4f2e46d314ebc
ebView.java
1d335f30f208223a70ec3e38a881f509d0c0b5d8 08-Jul-2011 Derek Sollenberger <djsollen@google.com> Add a runtime switch between Raster and Ganesh rendering modes.

There are corresponding changes in:

external/webkit -- change ID: 120660
packages/apps/Browser -- change ID: 120664

bug: 5013645
Change-Id: I4fc8ca6735a06682671ee06378c738ccf172e576
ebSettings.java
ebView.java
06da76bd2d1bfaf8000f6679ffd49d801ecf482a 11-Jul-2011 Ben Murdoch <benm@google.com> Add missing auto-fill strings.

These strings had a defintion native side, but no corresponding
definition java side which would lead to a crash. Strings taken from
chrome/app/generated_resources.grd - see
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/app/generated_resources.grd?r1=75912&r2=76117&pathrev=88489

Also note that credit_card_number_preview_format is no longer needed.

See also change Ib861245e26197938bb2c5cf0f99c1d797ab0fbf2

Change-Id: I829b5d24e6f9a04211ee91c3f670c8659c004cd9
10nUtils.java
07ac175452a4ba984a478a29416b8c4da2fce28f 11-Jul-2011 Shimeng (Simon) Wang <swang@google.com> Set mActualScale when initialScale is set.

This sets mActualScale to be correct value if initialScale is set.

issue: 4982074
Change-Id: I69d12d185710e89fc91a3a6bdf566c7092f059b7
oomManager.java
e5f5e82027f551d70eecdcbafec864ed07fb67b1 09-Jul-2011 Shimeng (Simon) Wang <swang@google.com> Merge "Prevent set mInitialScale being overridden by mDefaultScale."
1151fe78fc96e5869ec7adb437966e22c94902e0 08-Jul-2011 Shimeng (Simon) Wang <swang@google.com> Prevent set mInitialScale being overridden by mDefaultScale.

If mInitialScale is set, use it as the default scale; otherwise,
it'll be overridden by default density in case of book app where
mobile fixed viewport is used; since today the default scale is used
to calculate the mobile fixed viewport.

issue: 4982074
Change-Id: I21c2bf41478bb97351cb3fb1cc3735ab7d75e164
oomManager.java
effa7523f42cf46f8255b92dfb22db6ce1bdeb91 08-Jul-2011 John Reck <jreck@google.com> Merge "NPE guard in setupViewport"
7cec24f747ce5bc70a82b951a93ba649dfefb0e6 08-Jul-2011 Kristian Monsen <kristianm@google.com> Merge "Merge Chromium at r12.0.742.93: New autofill string"
d4324aa101a6b8729c99d00fd8f3cbe2aca6f4f0 08-Jul-2011 John Reck <jreck@google.com> NPE guard in setupViewport

Bug: 4163660

Change-Id: Ie74072094c0dbfca4391cf898420544884101c1f
ebViewCore.java
918b183295052880f41beeb632fa8f14ada81b59 08-Jul-2011 Kristian Monsen <kristianm@google.com> Merge Chromium at r12.0.742.93: New autofill string

Added a string that we now use.

Change-Id: I6df3f2b5c2f01e4d757dadb048cb53bfe9819ff9
10nUtils.java
ab5a5e6748275bbddb5e32c8990bd9e45f588d3c 08-Jul-2011 Shimeng (Simon) Wang <swang@google.com> Merge "Update viewport asap."
56bd4349fca6bb00e8ad28ff9ec514fa5d07073b 08-Jul-2011 Shimeng (Simon) Wang <swang@google.com> Update viewport asap.

Update viewport as soon as possible to make sure layout has correct viewport.

This helps fixes gmail flickering issue.

Also helps the case a mobile site is switched to desktop when the
user agent is switched.

issue: 4723800
Change-Id: I3dc9e52d912d49478d562cec3f38d653a563715e
ebViewCore.java
1d19c18f9bd66b2b4883f8ce33c04ff5c87dd881 08-Jul-2011 Huahui Wu <hwu@google.com> Merge "Revert "b/3302378 Passes touch pressures, size and timestamps to webkit.""
98933f3f6875a7327a44fca7271ae997e45d3779 07-Jul-2011 Huahui Wu <hwu@google.com> Revert "b/3302378 Passes touch pressures, size and timestamps to webkit."

This reverts commit 6e64e0c61720244894dbd1fd6b36394adc63b2de.
It introduced a null pointer crash for pinch-and-zoom.

Change-Id: I886057053b4cd2aded0f58618a806f7a67e58968
ebView.java
ebViewCore.java
b083fa61d9411e9c1f3933fd8657d86e99e7eccd 07-Jul-2011 Huahui Wu <hwu@google.com> Merge "b/3302378 Passes touch pressures, size and timestamps to webkit."
6e64e0c61720244894dbd1fd6b36394adc63b2de 29-Jun-2011 Huahui Wu <hwu@google.com> b/3302378 Passes touch pressures, size and timestamps to webkit.

Related CL in WebKit:
https://android-git.corp.google.com/g/#change,118422

Change-Id: Ibf209131a6d9ca8186c461b0c5b6286e5f669d0d
ebView.java
ebViewCore.java
bdaa1aafd590aa88e16cee166f8e78404d8023a4 04-Jul-2011 Mathew Inwood <mathewi@google.com> SearchBox API to determine if it's supported by the current page.

Change-Id: I0119243ed0e19e237c1f51de887af5c954f96693
allbackProxy.java
earchBox.java
earchBoxImpl.java
a0c26920b69a290869c44f97b1916506ee8d0a91 06-Jul-2011 Shimeng (Simon) Wang <swang@google.com> Merge "Treat restored defaultScale as overview."
1bf0456b290c9c1428d192a1134ded28b4d6c777 06-Jul-2011 Shimeng (Simon) Wang <swang@google.com> Treat restored defaultScale as overview.

Since usually restored defaultScale means previous scale is not saved.

issue: 4975315
Change-Id: Icc34469d0459fb5254567fe9f3cc5032b6349405
oomManager.java
324a1f6a125637269d3955e5a0935d3eb873b015 05-Jul-2011 Steve Block <steveblock@google.com> Merge "Clarify the documentation for WebView.loadDataWithBaseURL() when the base URL uses the 'data' scheme"
b4db3964f133629f9f396cfa4c1e0c7bc09106dc 05-Jul-2011 Steve Block <steveblock@google.com> Merge "Maintain a reference to the Java object when WebView.removeJavascriptInterface() is called"
e482d89b82feb8abc1af594c38e674c48984f0ac 01-Jul-2011 Steve Block <steveblock@google.com> Clarify the documentation for WebView.loadDataWithBaseURL() when the base URL uses the 'data' scheme

Bug: 4726284
Change-Id: If4fd3c1a6517a69e0b007f8a67563330eca04449
ebView.java
3af08a975aa1072e76692336d9fb0568beb6d4a0 04-Jul-2011 Steve Block <steveblock@google.com> Merge "Clarify documentation for WebView.loadData()"
b28b22af1316b44c1ce8a158c544f11a3c6625fe 04-Jul-2011 Steve Block <steveblock@google.com> Clarify documentation for WebView.loadData()

This method can access the network, but is subject to the usual same
origin policy.

Bug: 4985285
Change-Id: Ia3afa6ed1eeea9127d3ba5a2ecfead8149138b8e
ebView.java
2cb978e507efbf70470761cdb15ea0a9c740f3f3 01-Jul-2011 Steve Block <steveblock@google.com> Maintain a reference to the Java object when WebView.removeJavascriptInterface() is called

The Java object should remain usable until the WebView is navigated
away from the current page. The native side holds only a weak
reference, so we need to keep a reference Java-side.

Bug: 4990734
Change-Id: I40bd078f779228480cfe6f52d9feb4e60c963b4b
rowserFrame.java
fc8a3b222aa8b03bf2acbaa4db04acb5e91dc6c0 04-Jul-2011 Steve Block <steveblock@google.com> Merge "Fix WebViewFragment to avoid detroying the WebView too early"
f17bd971036384d55529d819727dde843f69b49c 01-Jul-2011 Teng-Hui Zhu <ztenghui@google.com> Merge "Release the media player when exiting the full screen"
5faaadffbfb272f6a5f686834dadaf5408cf0ed2 01-Jul-2011 Kristian Monsen <kristianm@google.com> Merge changes I7e8401a4,I412ddf36

* changes:
Merge Chromium at r11.0.696.0: New autofill strings
Merge Chromium at r11.0.696.0: Using setter instead of direct variable access
071970d9d64ddbeb77f9c7a986a98c59f0f32f0c 30-Jun-2011 Steve Block <steveblock@google.com> Fix WebViewFragment to avoid detroying the WebView too early

We must not call WebView.destroy() until after the WebView has been
removed from the view hierarchy.

Bug: 4974517
Change-Id: I33b3a9d4ec098e2ab50626cb8906da7697ff2a33
ebViewFragment.java
b1c2c1e3c7bde3c40d7510fbda4ef8112396dd22 01-Jul-2011 Teng-Hui Zhu <ztenghui@google.com> Release the media player when exiting the full screen

Once we switch out from full screen mode, the player will be re-created for the
next video, we should release the sources as early as possible.

bug:4332676
Change-Id: I4c26523b3600d3100f81e422979236fca57beb7c
TML5VideoFullScreen.java
TML5VideoView.java
56528a3546777bd6e6739b0d99d67ec7598e06ea 30-Jun-2011 Shimeng (Simon) Wang <swang@google.com> Merge "Keep initial zoom overview for non-standard load."
72a1d2e1386fcf1795621c2eeb05287d46c7278c 30-Jun-2011 Shimeng (Simon) Wang <swang@google.com> Keep initial zoom overview for non-standard load.

In case of non-standard load such as reload, currently the ZoomManager's
onFirstLayout will not be triggered, hence initial zoom overview will not
be set.

This change provides a fix to set initial zoom overview in case of
non-standard load for the new picture after first layout.

issue: 4975315
Change-Id: If2ba3e472f2bb7b6fc4c52024d18a66dc1e41a23
ebViewCore.java
oomManager.java
e58e9b8c8297dc9ae407c132d0f0983e63be46f0 30-Jun-2011 Shimeng (Simon) Wang <swang@google.com> Merge "Use default scale when restored scale is 0."
be768ee508183c7454064f5c8bb772b44634ce98 30-Jun-2011 Shimeng (Simon) Wang <swang@google.com> Use default scale when restored scale is 0.

issue: 4975315
Change-Id: I47aa09605bb245cd271932d59d4d334f1e1b732f
ebViewCore.java
6f38f0f68e51e81824daba05aa2d618b4a25b411 21-Jun-2011 Kristian Monsen <kristianm@google.com> Merge Chromium at r11.0.696.0: New autofill strings

Corresponding native change:
https://android-git.corp.google.com/g/#change,118079

Change-Id: I7e8401a4909c903ee4806825ff82a49e3cf6dacb
10nUtils.java
6e24576b6b10336e37c6447a5e2dbde5ea332da6 30-Jun-2011 Brian Carlstrom <bdc@google.com> Merge "KeyChain API for credential installation"
a00a2b33ccc6bc079c3ee57a938f62947b48a001 29-Jun-2011 Brian Carlstrom <bdc@google.com> KeyChain API for credential installation

Bug: 3497064
Change-Id: I4ac4d8b5559496b1632d63c2129e2bafd240893f
ertTool.java
3e622f5c3cdae730f213dd46d5326c288a648905 30-Jun-2011 Shimeng (Simon) Wang <swang@google.com> Merge "Initial zoom overview flag only meaningful in page overview mode."
7a1e5769eeb4aa17d74e753a7752bbd890d79338 30-Jun-2011 Teng-Hui Zhu <ztenghui@google.com> Merge "Media player should be paused while the surface is still alive"
ac3cea3b1e57113177b55db92e5d215c6e627312 30-Jun-2011 Teng-Hui Zhu <ztenghui@google.com> Media player should be paused while the surface is still alive

bug:4975014
Change-Id: Ic3ff5480c3ab18fb1037d270aa822bacdd7d6b20
TML5VideoFullScreen.java
50e04e2d45ad7eaa5305155779a8611ffb364d89 29-Jun-2011 Shimeng (Simon) Wang <swang@google.com> Initial zoom overview flag only meaningful in page overview mode.

Change-Id: I206864678e61777276468718a78e3da8de4f06a7
oomManager.java
5bb9b19c5a3f3cf292f812ff5b9f9b8bcc88e5af 28-Jun-2011 Huahui Wu <hwu@google.com> 2nd try: Gets the URL that has a cert error and carrys it in SslError.

Identical to https://android-git.corp.google.com/g/#change,117828
which was reverted since its collaborative CL broke the build.

Change-Id: I5fa7d3e9b6026639bf72530ff5b449e36f802914
rowserFrame.java
899639dd44a9bedc807be6b712c35e7300e01026 28-Jun-2011 Huahui Wu <hwu@google.com> Merge "Revert "Gets the URL that has a cert error and carrys it in SslError.""
2e029c67a8e893e91600df989bbb42272d82af21 28-Jun-2011 Huahui Wu <hwu@google.com> Revert "Gets the URL that has a cert error and carrys it in SslError."

This reverts commit 3015516a4611db23ce56ae057d281c9328cfdf24.
rowserFrame.java
fa487ca830cb150be5822d8d73c3d832672f7108 28-Jun-2011 Huahui Wu <hwu@google.com> Merge "Gets the URL that has a cert error and carrys it in SslError."
3015516a4611db23ce56ae057d281c9328cfdf24 27-Jun-2011 Huahui Wu <hwu@google.com> Gets the URL that has a cert error and carrys it in SslError.

b/2689122 SSL error shows the wrong page when triggered by an image/javascript in the page.
This change receives the URL which has a cert error from webkit and carrys it in SslError.
so the Browser app can show the URL in the dialog boxes. Related CLs are:
webkit: https://android-git.corp.google.com/g/#change,117817
browser: https://android-git.corp.google.com/g/#change,117835

Change-Id: I65c3f038a48b6386fa93cb25a9ef70dbfb982c18
rowserFrame.java
1c1e6df04ab4417b50bb06e5d4c43ecbed395e97 24-Jun-2011 John Reck <jreck@google.com> Don't resend WEBKIT_DRAW if paused

Bug: 4606210
If a WEBKIT_DRAW message came in after the WebView was paused,
it would fail to draw causing it to re-send the WEBKIT_DRAW message
which would lead to an infinite loop until the WebView is resumed.
Fix this by not re-sending the WEBKIT_DRAW message if webview is paused.

Change-Id: I3dd946e4e948cf3fd6af07ba6f7fdac2f967a631
ebViewCore.java
b30381d783f1a8849835938ea43d7edfe66a5822 23-Jun-2011 Shimeng (Simon) Wang <swang@google.com> Use local variable instead of webview method.

This removes the thread warning.

Change-Id: Id2eec46fda8413cfaed49d2a97de40491b7496a2
ebViewCore.java
452ffe7d1eba1438fbc393ae02f416e3ed291160 22-Jun-2011 Brian Carlstrom <bdc@google.com> JniUtil depends on webcore native library and should not depend on others to load it

Bug: 4584468

Change-Id: Ib553cda843669d40cc52ff0bc84bea2c626c5045
niUtil.java
fbb1560d6e2fa2305f33d65a7447a99631f721d6 22-Jun-2011 Svetoslav Ganov <svetoslavganov@google.com> Touch exploration hover events don't map coordinates correctly on scrollable WebViews.

1. While mapping Android hover to WebKit mouse events I was not
taking into account the horizontal and vertical scroll.

bug:4807087

Change-Id: Ie24a8a30ce6a20d27b627ae7c7fbff1b74d140c8
ebView.java
caeb120170477f52516cd9d12469c582e7dec8fe 17-Jun-2011 John Reck <jreck@google.com> Make textZoom public

Deprecate textSize (enum based) in favor of textZoom (percentage based)

Change-Id: Ibb4c25b461bcb57e5c2cdf709485d255db20a43c
ebSettings.java
ff56bcde857c1ea15a9d4bc7fc10653c409b89bd 17-Jun-2011 John Reck <jreck@google.com> Add textZoom setting

Replaces the limited textSize (enum) with a more flexible
textZoom (percent)

Change-Id: I443757841910f5cbe1c9078166361d1686005f14
ebSettings.java
9b90d553bb0a404ab62305bbedaab97b07d90e03 15-Jun-2011 John Reck <jreck@google.com> Support for getting the background color

Change-Id: I58a52f79e5a50dbb2cd1ba81d13e95ed9a1b7095
ebView.java
3f71cfc14990e28c0de1af81933bf3f6e25c00f9 14-Jun-2011 Steve Block <steveblock@google.com> Merge "Fix thread violation in WebView.getViewHeight()"
7abf5a62158aa38a95fafbec5c07b30abca05d2a 13-Jun-2011 John Reck <jreck@google.com> Merge "Tweaks for webview snap"
2664d85f58823c95c5046e799047bf73892cf70d 13-Jun-2011 John Reck <jreck@google.com> Tweaks for webview snap

Changed weighted average
Increase horizontal snap

Change-Id: I7ed50e13b0b0ba409a8e655d38c704f72a3f2f78
ebView.java
592b2a65b00f699f133e6fc898cbe76dd91e03ac 11-Jun-2011 Teng-Hui Zhu <ztenghui@google.com> Fix a NPE if the Chrome Client is not setup

This can happen when applications are using WebView to show HTML5 video in
full screen mode while not setting up WebChromeClient correctly.

Change-Id: I6575e3364f04f6eaf800f854d60992fe6c3be651
TML5VideoFullScreen.java
4e6c1da41cbb804bfefe792f33c0fc44c96ddc87 11-Jun-2011 Teng-Hui Zhu <ztenghui@google.com> am 5a9bbc34: am b5141a9f: am 90bdb69b: Merge "fix one NPE when webChromeClient don\'t have progress view support" into honeycomb-mr2

* commit '5a9bbc34cb2a83188b7407c4f7bae47e40593c34':
fix one NPE when webChromeClient don't have progress view support
b0e81da4b85b0a6a0c354616e3ff23ea2e666c34 10-Jun-2011 John Reck <jreck@google.com> Merge "Tweak snap settings"
75738725e73838cb14993f067aea6da922f94a8e 10-Jun-2011 John Reck <jreck@google.com> Tweak snap settings

Different settings for horiz vs. vert snap
Snap angle increase in snap mode

Change-Id: I105e79b0c6fae239beef0c311cddd748def2ad8b
ebView.java
5a9bbc34cb2a83188b7407c4f7bae47e40593c34 10-Jun-2011 Teng-Hui Zhu <ztenghui@google.com> am b5141a9f: am 90bdb69b: Merge "fix one NPE when webChromeClient don\'t have progress view support" into honeycomb-mr2

* commit 'b5141a9fc7e841167c3e07f8797d8aef9a787d25':
fix one NPE when webChromeClient don't have progress view support
a8ed4ad80d419d95cfd3121268ad8ea63a4fac41 10-Jun-2011 Shimeng (Simon) Wang <swang@google.com> Merge "Fix reflow for mobile sites."
e86cdeb86c1158c00986ea700109c289e7686853 10-Jun-2011 Shimeng (Simon) Wang <swang@google.com> Fix reflow for mobile sites.

1. use correct mDefaultScale instead of 1.0f.
2. ignore mMinZoomScaleFixed in case of using wide viewport since
sometimes mobile site will impose a min scale while the web content
will make it bigger than overview scale.

issue: 4257815

Change-Id: Ib4ca9b4dab8585827081a32432076eeeaedecd38
oomManager.java
2302fe522624b0b10d5beea4670f7269a57cda89 10-Jun-2011 Teng-Hui Zhu <ztenghui@google.com> fix one NPE when webChromeClient don't have progress view support

Change-Id: I5a88365f216d5dea38ab2eac9562d26b00a2d617
TML5VideoFullScreen.java
4bfd6f0fe52a6e839f725605ae6b3e175224e857 10-Jun-2011 John Reck <jreck@google.com> Expose hook for crash backup

Allows browser to know when to update the crash state in response
to a textfield's contents changing

Change-Id: Idda7a2931f4c9ae01418b91bbabb1e237f118664
ebView.java
82a077043fe8ea8b7bc3575afc3f0f68b7fc193b 10-Jun-2011 Shimeng (Simon) Wang <swang@google.com> Consider default zoom scale for mobile viewport.

issue: 4482888
Change-Id: I6a100700b7a7e9464b397f219217225f3ada0f63
ebViewCore.java
b924ab5bdaf9b29faaf4714ad2bb553fa61f29f6 10-Jun-2011 Shimeng (Simon) Wang <swang@google.com> Merge "Fix height measure state."
e7c2ee75e935f056b25992d100d0a8d45c7bd817 10-Jun-2011 Shimeng (Simon) Wang <swang@google.com> Fix height measure state.

issue: 4257815
Change-Id: I6fc164767f805cfd13cf31707f3d53aa2714f9fc
ebView.java
d169d3cb65c35c456dfb1416678808f1cdcf8b3e 09-Jun-2011 Shimeng (Simon) Wang <swang@google.com> Merge "Better handle double tap for smooth reflow and zoom."
136c20b88e14fffe570cdbd67fa7d227ab34bf1f 09-Jun-2011 Shimeng (Simon) Wang <swang@google.com> Better handle double tap for smooth reflow and zoom.

In case it's the first time to reflow or the page is in zoom overview
mode, let the reflow and zoom happen at the same time to avoid the
need of double tapping twice.

Also fix the viewport width to webview's original width for mobile
site.

issue: 4482888
Change-Id: Ic7c73a9eb3f75fd68322f7f4da14141126e75ad8
ebViewCore.java
oomManager.java
d496da46a8ad1d7fdf57929e116230e2f786ccbf 09-Jun-2011 Brian Carlstrom <bdc@google.com> Merge "Implement android.webkit.BrowserFrame.requestClientCert"
6d70fcf83070f9e632b8236d029627a82f86ea19 09-Jun-2011 John Reck <jreck@google.com> Merge "Don't cut velocity"
7c272964c2f7a83f6c314df5dffa559500911fcd 09-Jun-2011 John Reck <jreck@google.com> Don't cut velocity

Bug: 4545016

Change-Id: I0ebad82c1cc54c2e4e29f3827c3755edda9f47a5
ebView.java
430ad4733472592a7bb3ff3f88db7385a7728edb 09-Jun-2011 Steve Block <steveblock@google.com> Merge "Fixes WebView.loadData() to avoid constructing invalid URLs."
0fbf20703f02836073567e9ad3bae401be8b3efc 09-Jun-2011 Romain Guy <romainguy@android.com> am 34e9f249: am fbef58fa: am 258f32e2: Merge "Disable plugins if setPluginsEnabled(false) called."

* commit '34e9f249a9b36ebe64476b997bca0edf990fbc0d':
Disable plugins if setPluginsEnabled(false) called.
a14775949c97a616196f5293209b092ee3d4e9a9 11-Feb-2011 Brian Carlstrom <bdc@google.com> Implement android.webkit.BrowserFrame.requestClientCert

Following the example of reportSslCertError, implement requestClientCert

ERROR CASE CLIENT CERT CASE
<... From external/webkit ...> <... From external/webkit ...>
android.webkit.BrowserFrame.reportSslCertError android.webkit.BrowserFrame.requestClientCert
CallbackProxy.onReceivedSslError CallbackProxy.onReceivedClientCertRequest
WebViewClient.onReceivedSslError WebViewClient.onReceivedClientCertRequest
<... See packages/apps/Browser ...> <... See packages/apps/Browser ...>
SslErrorHandler.proceed (with SslCertLookupTable) ClientCertRequestHandler.proceed (with SslClientCertLookupTable)
android.webkit.BrowserFrame.nativeSslCertErrorProceed android.webkit.BrowserFrame.nativeSslClientCert
<... To external/webkit ...> <... To external/webkit ...>

Change-Id: I2ba6007ad9b2ee520a0a6b17f3a767679b1664de
rowserFrame.java
allbackProxy.java
lientCertRequestHandler.java
slCertLookupTable.java
slClientCertLookupTable.java
ebViewClient.java
f95d490b787f88dbd848a15f2a24b9ea929874db 09-Jun-2011 Steve Block <steveblock@google.com> Fixes WebView.loadData() to avoid constructing invalid URLs.

Also updates the documentation to make clear how the encoding parameter should be used.

Bug:4541798
Change-Id: I9283513fbd8bcc3dc54056cfa2d0ab2425681824
ebView.java
21ac7a84fc4fc98793fe9a4ecd955f16a862ae9f 09-Jun-2011 Steve Block <steveblock@google.com> Merge "Fix some poorly worded API documentation for WebView.loadDataWithBaseURL()"
ae32857ebd3ef427f4fbcb98b4d1f66b434f7c83 08-Jun-2011 Steve Block <steveblock@google.com> Fix some poorly worded API documentation for WebView.loadDataWithBaseURL()

See https://mondrian.corp.google.com/changelist/110819-p9

Change-Id: I35fc65752687322ddfec39f5e2d7e5e5b89951e7
ebView.java
ebViewCore.java
60c84d67c5dc6e1895d49f1050fc6ea55cebef8a 09-Jun-2011 John Reck <jreck@google.com> Fix initial zoom with loadViewState

Change-Id: I06ee6a44c6e102ed84b44c68a83ab7db29d9f160
ebView.java
48076da85cfd0c68214b719167c958dae6a25ebd 08-Jun-2011 Jeff Brown <jeffbrown@android.com> am c3709f25: am 277bfd7c: am c1830a77: Merge "Improve browser scrolling when using the mouse wheel." into honeycomb-mr2

* commit 'c3709f2509bfc15d13a590b8342503f858ee67e2':
Improve browser scrolling when using the mouse wheel.
34e9f249a9b36ebe64476b997bca0edf990fbc0d 08-Jun-2011 Romain Guy <romainguy@android.com> am fbef58fa: am 258f32e2: Merge "Disable plugins if setPluginsEnabled(false) called."

* commit 'fbef58faad5a31faf36294e4d160cbd148ed5458':
Disable plugins if setPluginsEnabled(false) called.
c3709f2509bfc15d13a590b8342503f858ee67e2 07-Jun-2011 Jeff Brown <jeffbrown@android.com> am 277bfd7c: am c1830a77: Merge "Improve browser scrolling when using the mouse wheel." into honeycomb-mr2

* commit '277bfd7cdd889e4f59e57925b90d1899f7312c4e':
Improve browser scrolling when using the mouse wheel.
7f5b99676f2fda710c2182cae16f6b9094a1d98c 07-Jun-2011 Jeff Brown <jeffbrown@android.com> Improve browser scrolling when using the mouse wheel.

The way that smooth scrolling is implemented in the Browser,
repeated requests to scroll by a certain amount do not add up
to one large scroll by the cumulative amount. This makes
the mouse wheel unusable on large pages because the Browser
will scroll at a more or less constant rate no matter how often
the wheel is turned.

The fix is to not animate scrolls when using the mouse wheel.

Change-Id: I23c05cdd2383944b8730deb225b7f3f57f1729df
ebView.java
83e5929d4cee2d69ff98d1656d91c7f408ea0afb 04-Jun-2011 John Reck <jreck@google.com> Delay set picture if necessary

Normally this wouldn't happen as a new picture should come after
webcore has initialized. However, now that a view state can be loaded,
setting a new picture needs to be delayed until after everything has
initialized.

Change-Id: I823bc17eb939eab0436d7a398ebcbe849c0fb945
ebView.java
95b7d6f9c236b348c1df0dd5ad6c443d08cc756b 04-Jun-2011 John Reck <jreck@google.com> Prevent WebKit updates in loadViewState case

Change-Id: I466f10c308b43f8683e537620e1c3e922a2cd465
iewStateSerializer.java
ebView.java
5e02e09565a8aef720a73b2d3e49a94f9bbe557e 04-Jun-2011 John Reck <jreck@google.com> Merge "Initial support for view state serialization"
816c0defc73b6604a12c3f409b24ca3823897af5 03-Jun-2011 John Reck <jreck@google.com> Initial support for view state serialization

Framework for serializing the view state
Still needs to prevent sending messages to webkit (pinch
zoom doesn't work correctly as a result)

Change-Id: Ic3f8fe19b27ff1f841b556e87f582dab2a6d903b
iewStateSerializer.java
ebView.java
df0d966d673a71faf093f274cd3174d354f80be4 03-Jun-2011 Derek Sollenberger <djsollen@google.com> Merge "Add API to allow plugins to lock their orientation in full-screen mode."
ebf762777af9169bc8c4027375714e309f587c6a 02-Jun-2011 Shimeng (Simon) Wang <swang@google.com> Make sure scale will not go beyond overview scale after rotation.

Change-Id: If8f7fe131814102e6abf5c8d59888d17a7200003
oomManager.java
29086e46bedc145ebd34dc99538f61af8a2cdc5a 02-Jun-2011 Tero Saarni <tero.saarni@gmail.com> Disable plugins if setPluginsEnabled(false) called.

Old deprecated method for enabling/disabling plugins was
ignoring flag parameter and causing plugins always to be loaded.
Fixes issue 17242.

Change-Id: I1da10a3ee7f3041e59b43641169c3935a05aa347
Signed-off-by: Tero Saarni <tero.saarni@gmail.com>
ebSettings.java
7ab3d673ba341db5a44a9c754a25961cfd16f8cd 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 browser and webkit.

bug: 3398386
Change-Id: I09eee11e3a22ba3ce0af67e2a068dc7331dc49c2
luginFullScreenHolder.java
ebChromeClient.java
ebView.java
ebViewCore.java
b145112effca63e770f52c5573980a204035b23a 02-Jun-2011 Teng-Hui Zhu <ztenghui@google.com> Merge "Correctly detect when switching back from full screen"
1a88acbed9cd04d7c8ddd0c33a15926238157a07 01-Jun-2011 Teng-Hui Zhu <ztenghui@google.com> Correctly detect when switching back from full screen

In full screen mode, the play message can be trigger, that means we can't
assume that the play message only comes from inline mode.

bug:4498120

Change-Id: Ibf85bb74778df207a6ce786dc63b0845356a281c
TML5VideoFullScreen.java
TML5VideoView.java
TML5VideoViewProxy.java
19e6a16f68fb31af1d55097737d416c3792a8565 01-Jun-2011 Shimeng (Simon) Wang <swang@google.com> Merge "Fix overview scale setting for mobile sites."
73bb5734f06adc3b61a102fcb2f5295caa9e4886 01-Jun-2011 Shimeng (Simon) Wang <swang@google.com> Fix overview scale setting for mobile sites.

This fix will only set the overview scale in case the screen
is rotated from landscape to protrait, since in this case
the overview scale will be smaller and need explicit setting.
For the other way around, there's no need to set and it has wrong
effect for mobile sites.

issue: 4343683
Change-Id: I92cbf848bc2ed4184bd0c6b67992ff5cbc633c9f
oomManager.java
3fafd39d0776a15c3613795183043a2c28277691 01-Jun-2011 Teng-Hui Zhu <ztenghui@google.com> The screen shot support for inline video on Java side

Basically, the GL texture bound with Surface Texture is not a singleton any
more. And the Surface Texture will be recreated every time a new video starts.
This can help to recycle the decoder's memory while using the GL texture to
show the screen shot.

The corresponding webkit change is: 112500

Change-Id: I3c35f6a0abc70b9039c316ca82b236c797d81c7e
TML5VideoInline.java
TML5VideoView.java
TML5VideoViewProxy.java
2032eee0c178a15fd41cebbdec71c7622d2aab23 23-May-2011 Kristian Monsen <kristianm@google.com> Fix for bug 4144936: [Proxy setting]: traffic to a bypass domain doesn't bypass proxy

This is the WebView part, passing the bypass list to
the native side.

Moved some code to JWebCoreJavaBridge.java because
because sendStaticMessage only takes one argument.

Needs CL in external/webkit:
https://android-git.corp.google.com/g/#change,112401

Needs following CL in external/chromium:
https://android-git.corp.google.com/g/#change,111832

Change-Id: Ib548bdcbc9eb22bbb8f2754808840052bd3ec80e
WebCoreJavaBridge.java
ebView.java
ebViewCore.java
d555e5dccc41174893475d484d0f202d1956c430 28-May-2011 Tadashi G. Takaoka <takaoka@google.com> Fix input type judgment of WebTextView

Bug: 4490948
Cherry-pick: I232b8f13
Change-Id: I09a7e829edd7ca8d54fa109dc14b4a3946de0f1b
ebTextView.java
6d1b8995a6e10a3107fd585fc4bae8b2dde24196 31-May-2011 Tadashi G. Takaoka <takaoka@google.com> am 69a48776: am 8ede6274: Fix input type judgment of WebTextView (DO NOT MERGE)

* commit '69a487763812d2c0fb3c9900b12862997bc77f4d':
Fix input type judgment of WebTextView (DO NOT MERGE)
8ede62745faa02265f927941d1195b6c1bf05ebb 28-May-2011 Tadashi G. Takaoka <takaoka@google.com> Fix input type judgment of WebTextView (DO NOT MERGE)

Bug: 4490948
Change-Id: I232b8f1301128f1c77d72d92777a45c63f215a9c
ebTextView.java
ccb2bc6c155c09e88e4fbbbd30382ae58c087ce5 27-May-2011 Tadashi G. Takaoka <takaoka@google.com> am e0a82fcc: am 241c000c: Merge "Fix InputType determination of WebTextView (DO NOT MERGE)" into honeycomb-mr2

* commit 'e0a82fcc6058e6297d11a040aae13e37a2439c14':
Fix InputType determination of WebTextView (DO NOT MERGE)
4fdf396219c8b38ffbaa3c53a3d5784dd262960a 27-May-2011 Brian Carlstrom <bdc@google.com> Merge "Tracking merge of dalvik-dev to master"
f7145d5d664fac27146180e4087e84a920182226 27-May-2011 Tadashi G. Takaoka <takaoka@google.com> Fix InputType determination of WebTextView (DO NOT MERGE)

The InpuType from <input type="email" /> has been broken.

Change-Id: Ie37de69682410cdd58c29910d483e924f5b614b6
Related-Bug: 4490948
Cherry-pick: Ibd7f2977a177f1d97e3a29ac44220e5136bbd653
ebTextView.java
2c0a80931538a9959007fb6a7c44d8d23731f6b2 27-May-2011 Tadashi G. Takaoka <takaoka@google.com> Fix InputType determination of WebTextView

The InpuType from <input type="email" /> has been broken.

Related-Bug: 4490948
Change-Id: Ibd7f2977a177f1d97e3a29ac44220e5136bbd653
ebTextView.java
a7284f0e72745d66155e1e282fc07113332790fa 27-May-2011 Brian Carlstrom <bdc@google.com> Tracking merge of dalvik-dev to master

Adapt to change in the way MockWebServer sets up CONNECT proxies.
git cherry-pick --no-commit c7e2feee5e7908a019a0de91123c1feb9bdc38bc

React to move of Base64 in libcore
git cherry-pick --no-commit 119f7ebdd1f8df3a8ff8e3b8056bff725d569253

Expose and document android.net.HttpResponseCache.
git cherry-pick --no-commit 7b73f0fdb8c032a65c55610541d66385bd8bcbe6)

make update-api

Change-Id: Ieb48b304ea38ee8c2ec01e860d99b1404583889e
ataLoader.java
09cb64bcd1183fe83d3abd7af00424f9ed9cc699 27-May-2011 Shimeng (Simon) Wang <swang@google.com> Fix zoom overview width and postscale for non-wide-viewport mode.

issue: 4396010
Change-Id: I90aefac9fdf53834c0774d5c1b37693413798689
oomManager.java
1fae3cf246e109b7081bd199cf6a92065d008291 25-May-2011 Kristian Monsen <kristianm@google.com> Merge "Merge Chromium at 10.0.634.0: Add autofill fax string"
0d74112eed94c98ccaf4b192d933bc1f931675f1 25-May-2011 Russell Brenner <russellbrenner@google.com> Merge "merge from honeycomb mr2"
a014db7f0b14e0a68a2ddef36b603b204a9f0499 25-May-2011 Kristian Monsen <kristianm@google.com> Merge Chromium at 10.0.634.0: Add autofill fax string

Introduced here:
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/autofill/fax_field.cc?view=diff&pathrev=70875&r1=70709&r2=70710

Change-Id: I20130029e26f2d9ef6ea4828921b070c887ccb69
10nUtils.java
70ecf978040383bfcb35ec310712f845d0f108c5 24-May-2011 Russell Brenner <russellbrenner@google.com> merge from honeycomb mr2

Refire the redraw event if webkit wasn't ready

If webkit wasn't in a drawing mood, post a WEBKIT_DRAW event to
assure that the update is not lost.

bug: 4474358
Change-Id: I70fcf652cc854f995885c58b55d58ecf75734ab8
ebViewCore.java
dd36e1bde1e05cc9ece468693ea286536efad180 25-May-2011 Russell Brenner <russellbrenner@google.com> am 8b98284b: am 64796477: Merge "DO NOT MERGE-Refire the redraw event if webkit wasn\'t ready" into honeycomb-mr2

* commit '8b98284b97b81a4cc85d9fc26e79160e9c38ff1c':
DO NOT MERGE-Refire the redraw event if webkit wasn't ready
64796477f61f2fb5435e5043820c67dead4ec577 25-May-2011 Russell Brenner <russellbrenner@google.com> Merge "DO NOT MERGE-Refire the redraw event if webkit wasn't ready" into honeycomb-mr2
2221e34ba539c3dea16f48659afaf100ca0c477f 25-May-2011 John Reck <jreck@google.com> am 00bcea1a: am dc8a53a7: am 2959916b: Merge "Update the Desktop UA to Chrome" into honeycomb-mr2

* commit '00bcea1ac3be490e2730d15a6406541341dd3853':
Update the Desktop UA to Chrome
1d87cbf6029838da9f979a2a879fde4993730f08 24-May-2011 Russell Brenner <russellbrenner@google.com> DO NOT MERGE-Refire the redraw event if webkit wasn't ready

If webkit wasn't in a drawing mood, post a WEBKIT_DRAW event to
assure that the update is not lost.

bug: 4474358
Change-Id: Ib0c4cedb10f58821f95c439824c30043a906f8b8
ebViewCore.java
24a252e634d4658df32abef3b258785c5e1ae819 25-May-2011 Shimeng (Simon) Wang <swang@google.com> Simplify viewport logic in webviewcore and zoom-manager.

As using wide viewport implies fixed viewport.

Also fixed an issue for mobile page viewport calculation.

issue: 4343683
Change-Id: I669618f8522377ff97317bb1b78700ad40e51bb3
ebViewCore.java
oomManager.java
994156053b25ece9641f521dc9853975c1857c7d 24-May-2011 Shimeng (Simon) Wang <swang@google.com> Use fixed viewport for all devices in wide viewport mode.

This will simplify viewport logic; and currently Clank behaves
the same for phones.

issue: 4343683
Change-Id: Icddc23cd5b12f9820c611dbf66c9772f147baf4b
ebSettings.java
bc533dd3201afdcf421070cc47250dd7471b77aa 24-May-2011 Kristian Monsen <kristianm@google.com> am 18a259fe: am 36ac304c: Merge "Fix for bug 4144936: [Proxy setting]: traffic to a bypass domain doesn\'t bypass proxy DO NOT MERGE" into honeycomb-mr2

* commit '18a259fe37861a78632a0667d746ea7d06356ced':
Fix for bug 4144936: [Proxy setting]: traffic to a bypass domain doesn't bypass proxy DO NOT MERGE
36ac304c6e62dbb1caaf729c70d7aa956aff63be 24-May-2011 Kristian Monsen <kristianm@google.com> Merge "Fix for bug 4144936: [Proxy setting]: traffic to a bypass domain doesn't bypass proxy DO NOT MERGE" into honeycomb-mr2
00bcea1ac3be490e2730d15a6406541341dd3853 24-May-2011 John Reck <jreck@google.com> am dc8a53a7: am 2959916b: Merge "Update the Desktop UA to Chrome" into honeycomb-mr2

* commit 'dc8a53a7db91ac23d2b213dc5cf758d64bd880be':
Update the Desktop UA to Chrome
2959916b13165f56431f3993bd6b16364032af14 24-May-2011 John Reck <jreck@google.com> Merge "Update the Desktop UA to Chrome" into honeycomb-mr2
f147b5f2a61ab0842adaa430d9a8bbe98a83e4a4 23-May-2011 Kristian Monsen <kristianm@google.com> Fix for bug 4144936: [Proxy setting]: traffic to a bypass domain doesn't bypass proxy DO NOT MERGE

This is the WebView part, passing the bypass list to
the native side.

Moved some code to JWebCoreJavaBridge.java because
because sendStaticMessage only takes one argument.

Needs CL in external/webkit:
https://android-git.corp.google.com/g/#change,111108

Needs following CL in external/chromium:
https://android-git.corp.google.com/g/#change,111107

Change-Id: Ib548bdcbc9eb22bbb8f2754808840052bd3ec80e
WebCoreJavaBridge.java
ebView.java
ebViewCore.java
5b0724d6cfb3f4019ba3692f1648af845fb0f3b4 24-May-2011 Shimeng (Simon) Wang <swang@google.com> am f55a00b1: am de60ce66: am 358d2cd9: Simplify browser pause/resume logic to avoid stuck timer.

* commit 'f55a00b1b86c58d78a4c2812d00e1b61d03f520a':
Simplify browser pause/resume logic to avoid stuck timer.
f656d95078fbcb65df7753ba8c04679c5389e15c 24-May-2011 John Reck <jreck@google.com> am 82de141d: am 4a74eb67: Merge "DO NOT MERGE Use previous version if version is a codename" into honeycomb-mr2

* commit '82de141db736b95b0e388ff060e2d2535192d769':
DO NOT MERGE Use previous version if version is a codename
5443ba43bb55c1a3e6ed846d8b5e5b5aac7dbeb4 24-May-2011 John Reck <jreck@google.com> Update the Desktop UA to Chrome

Bug: 4347787

Change-Id: I5117c7dbd4e73c39ed417113f12b517de5411e81
ebSettings.java
4a74eb679917797bf77a20773e0c079f5cc808e4 24-May-2011 John Reck <jreck@google.com> Merge "DO NOT MERGE Use previous version if version is a codename" into honeycomb-mr2
3e1aecea2e1885eef9248906be4acc8ddb26607d 28-Apr-2011 John Reck <jreck@google.com> DO NOT MERGE Use previous version if version is a codename

When the version is reported as a codename, use the previous version
in the user agent string.
Bug: 4347787

Change-Id: I4ed804a7334d6ca242446176ff042c4ac7938a0f
ebSettings.java
f55a00b1b86c58d78a4c2812d00e1b61d03f520a 23-May-2011 Shimeng (Simon) Wang <swang@google.com> am de60ce66: am 358d2cd9: Simplify browser pause/resume logic to avoid stuck timer.

* commit 'de60ce66c117ebd224b9d3181e2184ec5cfe87f9':
Simplify browser pause/resume logic to avoid stuck timer.
358d2cd96403383cfb91bb68598a4cb2fe2e170e 23-May-2011 Shimeng (Simon) Wang <swang@google.com> Simplify browser pause/resume logic to avoid stuck timer.

The current browser pause/resume logic uses an integer count to track
the pause/resume behavior, which is mostly working fine in phone. The interger
count is usually 0 when browser is paused, and its value is usually 1
when the browser is resumed and will trigger any delayed timer.

But in tablet, where tabs can be easily created/switched/deleted, this
logic will not work well and sometimes cause resources timers get stuck.
For example, in case multiple tabs are created, and you reload one of the
tabs, when it's almost finished, switch to another tab, and hit home or power
button, at this point of time, the browser will be suspended at
Controller.java::onPause, hence the integer count will be 0; but since
the other tab is also finished after the pause, the current logic at
Controller.java::onPageFinished will call pause timer again, which will make
the integer count to be -1. Before the time the browser is resumed, it's very
possible some tabs will have some resources, such as images/flashs,
scheduled to be loaded, these will be in delayed timer in
ResourceLoadScheduler.cpp's m_requestTimer.
Now when the browser is resumed, the integer count will be 0, which will not
trigger delayed timer. Then all the new timers will be stuck as well since
old timers are not executed yet.

The fix is to simplify the pause/resume logic by just using a boolean variable
instead of error-prone integer counting.

issue: 4177932
Change-Id: Id10af9298c7be1f82222d0b94c34c5dc68403630
WebCoreJavaBridge.java
92c99162ae512a68cb8364943f28b2aff0f6b54c 23-May-2011 Steve Block <steveblock@google.com> Fix thread violation in WebView.getViewHeight()

WebView.getVisibleTitleHeight() is a public method so should only be
called on the UI thread. The implementation is already threadsafe, so
this patch simply moves it to a helper method.

Bug: 4424859
Change-Id: I6d938fb1b231debfdd54f87032cb2b4acc59c1e5
ebView.java
08d584cd1cba05284ccd2d0ea128c297624f0c47 17-May-2011 Steve Block <steveblock@google.com> Log a StrictMode violation when WebView methods are called on the wrong thread

Bug: 4373919
Change-Id: I1f526e033ce316e51b3de7fe4ac88119fbc65b4e
ebView.java
ce0ce2dde2fed883779951bed3d4f7919cb58d66 13-May-2011 Jean-Baptiste Queru <jbq@google.com> Merge from honeycomb-plus-aosp

Change-Id: I66f5d4f8b703789a02f7e137235e9321fc413f5d
c51ab9b93ddf964f79cde3c2b47d6ac0a53cac2f 13-May-2011 John Reck <jreck@google.com> Merge "Adding functions to query the state of a WebElement."
858daa1fbb0d9cb6006215dcaeb8f9f38b5d84f1 13-May-2011 Teng-Hui Zhu <ztenghui@google.com> am a0e661b4: am c1a005c3: Merge "Fix the Uri parsing issue" into honeycomb-mr2

* commit 'a0e661b4e4f489fa7c5c2ebadcffc8e6f71132eb':
Fix the Uri parsing issue
64855da755e74676af49b3c7ece338acd72b2f3c 11-May-2011 Teng-Hui Zhu <ztenghui@google.com> Fix the Uri parsing issue

Switching back to use the setDataSource with Uri, which can handle both the
file and http path correctly.

Change-Id: I5bfc1d01a8de0a4f8640ffceafbc17984833097a
TML5VideoView.java
7882a7839ad6e01eaa990cb415877e6f8a1c059d 12-May-2011 Svetoslav Ganov <svetoslavganov@google.com> Propagating hover events to JavaScript in WebView

Propagating hover events to JavaScript to enable
touch exploration of web content. All hover events
are mapped to mouse move events and then WebKit
generates the appropriate mousemove, mouseover and
mouseout actions.

Change-Id: Ib96cd22baf471df045629ca9e254e5a5f7023961
ebView.java
fc77165d446520716f18cdc14e30b39a6d8b9bac 10-May-2011 Kristian Monsen <kristianm@google.com> Deprecating webkit API's that might not be supported in the future

Change-Id: I992ae207f29a95daff991768cc6fe190471978cd
ebHistoryItem.java
ebSettings.java
ebView.java
cbb59db7ee1743fdd147c5cbdb179870bf08f849 09-May-2011 Kristian Monsen <kristianm@google.com> Enable platform notifications for chrome http stack

Change-Id: I386aef25010c95b15fb6a8edc96e59e538540306
niUtil.java
ebView.java
940a198f5232d98b61541edcceb3fe06e40de429 27-Apr-2011 Dounia Berrada <berrada@google.com> Adding functions to query the state of a WebElement.

Change-Id: I85dbbfbf6b6172d6a8cf6e437f414ecef0872e36
ebView.java
ebViewCore.java
ebdriver/WebDriver.java
ebdriver/WebElement.java
ebdriver/WebViewClient.java
ebdriver/WebchromeClientWrapper.java
b109c8877139077fe25fa26ea2e0961b7cbb8341 05-May-2011 Teng-Hui Zhu <ztenghui@google.com> Exit full screen support on java side

bug:4312214

Change-Id: Id3c755db0a824d42f1f8d1a0952f63d2078d163a
TML5VideoFullScreen.java
TML5VideoViewProxy.java
bdaa3abdf264372f337cfa9236e53b1e3cfde525 09-May-2011 The Android Automerger <android-build@android.com> am 44e39d60: Merge remote branch \'goog/honeycomb-mr2\' into honeycomb-LTE

* commit '44e39d608cfddcbf56123480123822f26f20f259':
DO NOT MERGE Handle GET_POWER failures
DO NOT MERGE: Don't send pause again when coming back from full screen
DO NOT MERGE MediaScanner: Add special casing of WMP album art files to isNoMediaPath()
DO NOT MERGE MediaScanner: Fix bug in "no media" handling logic
DO NOT MERGE MTP: Implement GetThumb command
DO NOT MERGE MTP: Fix file descriptor leak in file editing extensions
DO NOT MERGE MTP: Add extended operations to support in-place editing of files
DO NOT MERGE MediaScanner: reimplement the ".nomedia" feature for hiding files from the media provider
DO NOT MERGE Fix media scanner uri handling.
DO NOT MERGE Revert "Remove permission android.permission.WRITE_MEDIA_STORAGE"
DO NOT MERGE MTP and media provider support for multiple storage devices:
DO NOT MERGE MountService: Fix running media scanner at boot.
DO NOT MERGE Fix deadlock in MountService
DO NOT MERGE StorageManager: Add getVolumeList() and getVolumeState() methods
DO NOT MERGE MountService: Add support for multiple volumes
b51cc1dd63808da505cd8beb7300f57dc98ff1d3 05-May-2011 Patrick Dubroy <dubroy@google.com> Merge "Only delay pressed feedback for Views inside a scrolling parent"
e0a799a2ac1ca78e30fbac9e4e12a063425c08d3 05-May-2011 Patrick Dubroy <dubroy@google.com> Only delay pressed feedback for Views inside a scrolling parent

Add a method on ViewGroup to determine whether it supports scrolling.
This allows us to show the pressed feedback immediately in many cases,
improving responsiveness of buttons, etc.

This patch also lengthens the timeout in order to reduce flashes
when the user is scrolling.

Change-Id: Ieb91ae7a1f8e8f7e87448f2a730381a53947996f
ebView.java
a8f6a0d90cd4aee6dd148b23598eb8c8cafdf53c 08-Apr-2011 Teng-Hui Zhu <ztenghui@google.com> DO NOT MERGE: Don't send pause again when coming back from full screen

When we enter full screen, the inline video has been paused.
When we re-play in the inline mode, we don't need to paused the previous video,
which is the full screen one.

bug:4259109
Change-Id: I577edf43563116b0d1a9266d741e6a8aabbca779
TML5VideoViewProxy.java
098b781699981a550500d2e30b4c844af63eb187 05-May-2011 Steve Block <steveblock@google.com> Merge "Log an error message if WebView methods are called on the wrong thread."
51b089103835afab5907f9b71ac7def1a92d21d0 27-Apr-2011 Steve Block <steveblock@google.com> Log an error message if WebView methods are called on the wrong thread.

All public WebView methods should be called on the UI thread. This
change adds a check to all public non-inherited methods, other than
those that have always been hidden.

Bug: 4373919
Change-Id: I573fc704faa58287a7b14a971958fa5417855d70
ebView.java
c6cc0f8c19d9eccf408a443fa2bf668af261dcd0 12-Apr-2011 Joe Onorato <joeo@google.com> Rename ViewRoot to ViewAncestor.

ViewRoot is about to be a new public class for poking at ViewAncestor.

Change-Id: Ie95d707c6d8bbb48f78d093d7b2667851812a7d5
rowserFrame.java
f5577407899aeb75f1eb206ba762f5d63136d68d 28-Apr-2011 John Reck <jreck@google.com> Use previous version if version is a codename

When the version is reported as a codename, use the previous version
in the user agent string.
Bug: 4347787

Change-Id: Ie42a2fc2f21975b59ccac5547d813d3e777da468
ebSettings.java
7818aaa14a04661bdfd7019bdd1904c4383cd40f 27-Apr-2011 John Reck <jreck@google.com> Add support for force-enabling zoom

Adds an option in WebSettings that causes WebView to ignore the
user-scalable option on the viewport metatag

Change-Id: Ia850489811a6617a8c17ec6cb17e0a65400f55f0
ebSettings.java
ebViewCore.java
77cdbc5fdd6e6e1818353f97c69870b2aafd2d25 11-Apr-2011 Dounia Berrada <berrada@google.com> Adding capability to lookup many elements.

Change-Id: I544497f010fdb723ef877e64caa15a0ed06c0fec
ebdriver/By.java
ebdriver/WebDriver.java
ebdriver/WebDriverException.java
ebdriver/WebElement.java
1854ddb6d930b95ceeb6448482e2c76a45935018 19-Apr-2011 Steve Block <steveblock@google.com> Deprecate ANCHOR_TYPE and IMAGE_ANCHOR_TYPE from WebView.HitTestResult

These constants are no longer used anywhere, so should be deprecated.

Change-Id: I1456782fbafc540148c51477dd9727b11684d5d3
ebView.java
3f7480dc400bc8cad6ec69803ecd2fac6e46a21f 28-Feb-2011 Dounia Berrada <berrada@google.com> Adding WebElement.java which provides DOM friendly API function to
lookup HTML elements in the page.

Change-Id: I9eab3f5f017ea4f1123fdbe4048f28e96883e742
ebdriver/By.java
ebdriver/WebDriver.java
ebdriver/WebElement.java
ebdriver/WebElementNotFoundException.java
ebdriver/WebElementStaleException.java
600780bb2e1f848279db67b978ba931e10a35821 23-Feb-2011 Dounia Berrada <berrada@google.com> First bits of WebDriver containing blocking function to load a page and
fetching the page source.

bug: 3457555
Change-Id: I5fbeb7f6103f1e1af04b7a6964cde5710338ee6e
ebdriver/WebDriver.java
ebdriver/WebchromeClientWrapper.java
22954d435d645d48885f653bd4ca6bc79e1bcd83 08-Apr-2011 Teng-Hui Zhu <ztenghui@google.com> Don't send pause again when coming back from full screen

When we enter full screen, the inline video has been paused.
When we re-play in the inline mode, we don't need to paused the previous video,
which is the full screen one.

bug:4259109
Change-Id: Ib951846e6c22893713b00699263f7d038bcb7353
TML5VideoViewProxy.java
280dda75f3a974a7f519c8c99ea1c56100f01677 08-Apr-2011 Nicolas Roard <nicolasroard@google.com> am 16d8de7a: am 3e37a2f3: am fcba2353: Merge "Remove uncalled function -- java counterpart of the fix for bug:4183801" into honeycomb-mr1

* commit '16d8de7a293e5d626823a59f2d8b74e0d4a75cbd':
Remove uncalled function -- java counterpart of the fix for bug:4183801
16d8de7a293e5d626823a59f2d8b74e0d4a75cbd 08-Apr-2011 Nicolas Roard <nicolasroard@google.com> am 3e37a2f3: am fcba2353: Merge "Remove uncalled function -- java counterpart of the fix for bug:4183801" into honeycomb-mr1

* commit '3e37a2f3ae3e3a777bf479a6562063922a7e44c6':
Remove uncalled function -- java counterpart of the fix for bug:4183801
fcba23536b1b432a5977e1ba4ea70ae0ff5aed4a 08-Apr-2011 Nicolas Roard <nicolasroard@google.com> Merge "Remove uncalled function -- java counterpart of the fix for bug:4183801" into honeycomb-mr1
4bae8367841fb6215c46efe0adec818588211410 08-Apr-2011 Nicolas Roard <nicolasroard@google.com> Remove uncalled function -- java counterpart of
the fix for bug:4183801

Change-Id: Icaaa83743976be180ba570158bd4016e7f53c95a
ebView.java
4e790ee1894118a1ab2032d09e5016fa9414dae7 07-Apr-2011 Teng-Hui Zhu <ztenghui@google.com> am 29fa50be: am bb55777b: Merge changes Ia44d880a,Ifbf63b24 into honeycomb-mr1

* commit '29fa50be2484ed9d7a5e8075b764caa37b6494b9':
DO NOT MERGE : cherry pick of change Ieb7ae26b from master
DO NOT MERGE : cherry pick of change I0f9f2c65 from master
c1b4d9691dad77586e9a38f857137bb6f010f254 07-Apr-2011 Teng-Hui Zhu <ztenghui@google.com> am d4e8e4bb: am b3bb6fd5: am b25181aa: Merge "Fix the issue the video can\'t start to play" into honeycomb-mr1

* commit 'd4e8e4bb3c2921ae9e15ef012bafc504b48c7efe':
Fix the issue the video can't start to play
d4e8e4bb3c2921ae9e15ef012bafc504b48c7efe 07-Apr-2011 Teng-Hui Zhu <ztenghui@google.com> am b3bb6fd5: am b25181aa: Merge "Fix the issue the video can\'t start to play" into honeycomb-mr1

* commit 'b3bb6fd5e3050b6d17bc1a58906ea04e97a29e20':
Fix the issue the video can't start to play
2fcf82aee30da977849adaaadf89d81c17afbac2 30-Mar-2011 Teng-Hui Zhu <ztenghui@google.com> DO NOT MERGE : cherry pick of change Ieb7ae26b from master

Buffering in full screen mode will show progressView

bug:4187252
Change-Id: Ia44d880ab126c2439fb13504db87492d45c90bc8
TML5VideoFullScreen.java
TML5VideoView.java
TML5VideoViewProxy.java
a9cadefde4d5f79a0f3ed093bb96d9c919ce65c3 29-Mar-2011 Teng-Hui Zhu <ztenghui@google.com> DO NOT MERGE : cherry pick of change I0f9f2c65 from master

Add the loading progress UI when buffering

bug:4187252
Change-Id: Ifbf63b248ac5f0e340be4057e0dcd80d33483662
TML5VideoView.java
TML5VideoViewProxy.java
b25181aaccb00fee405251bf3575ce1d40badf46 07-Apr-2011 Teng-Hui Zhu <ztenghui@google.com> Merge "Fix the issue the video can't start to play" into honeycomb-mr1
0504967cb05f7bbd0c17962360a5d88ace8d173f 07-Apr-2011 Teng-Hui Zhu <ztenghui@google.com> Fix the issue the video can't start to play

In full screen mode, we shall not always rely on the auto start info.
If the auto start is false, it will prevent the video from playing.

The auto start should always happen inline mode when prepared.
If we switch into full screen mode while playing, we will also do auto start.

bug:4260063
Change-Id: I4b13c30b1f2c219951dc8edd659e221a21c86c2b
TML5VideoFullScreen.java
TML5VideoViewProxy.java
63052ac7ba85b4df89286ef4f22d196732c6a682 07-Apr-2011 Michael Kolb <kolby@google.com> invalidate WebView after Title change

Change-Id: Icae5462bddd4983b83c3383e8727e16c51a42fd5
ebView.java
67ed4f547ebcec208ce3fde379562e0c610a9bb3 05-Apr-2011 Adam Powell <adamp@google.com> am 2e68ec1b: am 2bb59637: am 030b38ff: Merge "Fix bug 4207704 - Gestures can be lost when Flash is enabled" into honeycomb-mr1

* commit '2e68ec1bc6e9ab57cd884d32b08dbb389189e7a4':
Fix bug 4207704 - Gestures can be lost when Flash is enabled
2e68ec1bc6e9ab57cd884d32b08dbb389189e7a4 05-Apr-2011 Adam Powell <adamp@google.com> am 2bb59637: am 030b38ff: Merge "Fix bug 4207704 - Gestures can be lost when Flash is enabled" into honeycomb-mr1

* commit '2bb59637caa71d7e05f7c94d3da425fbfd425ea7':
Fix bug 4207704 - Gestures can be lost when Flash is enabled
3c534772de84276062eec2435f21df1dfc13a0d2 04-Apr-2011 Adam Powell <adamp@google.com> Fix bug 4207704 - Gestures can be lost when Flash is enabled

Pre-queue WebView touch events as we send them to webkit so that we
can run them through WebView later if webkit or hosted plugins go out
to lunch.

Change-Id: Id4e9f56beeb0c1d55e77233423844b15f6f00aef
ebView.java
d117428bf97ee752ac3d00b367a563c3c12645bd 31-Mar-2011 Brad Fitzpatrick <bradfitz@android.com> am 5db7fd6b: am f7a9b869: am 1e7fb7ae: Merge "Error in compound cache-control header."

* commit '5db7fd6b70f47f31fbc59f92907b9807f9c4e64d':
Error in compound cache-control header.
f4d4e9e05f7605118910739c16e493e2ab869aae 30-Mar-2011 Teng-Hui Zhu <ztenghui@google.com> Buffering in full screen mode will show progressView

bug:4187252
Change-Id: Ieb7ae26b5bfa9abc79556e2fc063b7e3ef17ab52
TML5VideoFullScreen.java
TML5VideoView.java
TML5VideoViewProxy.java
5db7fd6b70f47f31fbc59f92907b9807f9c4e64d 30-Mar-2011 Brad Fitzpatrick <bradfitz@android.com> am f7a9b869: am 1e7fb7ae: Merge "Error in compound cache-control header."

* commit 'f7a9b8691918642db74a667a71028c0a77b527ff':
Error in compound cache-control header.
c0fccd1292de4d2743fb30fef8310bcda4ce9824 29-Mar-2011 Teng-Hui Zhu <ztenghui@google.com> Add the loading progress UI when buffering

bug:4187252
Change-Id: I0f9f2c659303b391b1be896b9a30cc6bf7455da5
TML5VideoView.java
TML5VideoViewProxy.java
f7a9b8691918642db74a667a71028c0a77b527ff 29-Mar-2011 Brad Fitzpatrick <bradfitz@android.com> am 1e7fb7ae: Merge "Error in compound cache-control header."

* commit '1e7fb7aed7b00cebc8f0e501c911727af6527523':
Error in compound cache-control header.
eb0ced7a094df2c73e052a066535f4359b11a92d 16-Aug-2010 Henrik Baard <henrik.baard@sonyericsson.com> Error in compound cache-control header.

A cache control header containing both no-cache and max-age attribute does not
behave as expected.

Cache-Control: no-cache, max-age=200000

Will set expired to 20000ms seconds, ignoring the no-cache header. My
interpretation is that the no-cache header should not be ignored in
this case.

Change-Id: Iadd1900e4d2c6c0dacc6bb3e7b944cf78ca9b266
acheManager.java
1453f0926f4e0dee99963eb28c86767194ea968c 25-Mar-2011 Adam Powell <adamp@google.com> am 7dfc6a9e: am c8c78eed: am baa3380d: Fix bug 4170809 - Pages with flash lose touch events

* commit '7dfc6a9e322e9c0367a6372b25694d926d79a618':
Fix bug 4170809 - Pages with flash lose touch events
baa3380d74928baf6a5685c54c719af37171a625 25-Mar-2011 Adam Powell <adamp@google.com> Fix bug 4170809 - Pages with flash lose touch events

Fix WebView touch cancel behavior when we time out waiting for a
response from webkit.

Change-Id: I0aeeea64b156e204dbe2dda913a42df28704ed16
ebView.java
772f5bb1894710b0f0068d4f34e85ce38becc4b6 24-Mar-2011 Huahui Wu <hwu@google.com> am f440831d: DO NOT MERGE

* commit 'f440831d76817e837164ca18c7705e81d2391f87':
DO NOT MERGE
d9f68bc9e09190719c1895cf3d9c793aa7e32e4c 24-Mar-2011 Teng-Hui Zhu <ztenghui@google.com> am 842b914f: am a7605d3b: am 2d09b855: Merge "When the video is not on the front, it should be paused" into honeycomb-mr1

* commit '842b914f26633aa94f3c63fbfc6a6b521904e1b8':
When the video is not on the front, it should be paused
1e26d82ffaf983dc288152cfe8c0a821de33f2a4 24-Mar-2011 Teng-Hui Zhu <ztenghui@google.com> When the video is not on the front, it should be paused

bug:4165855
Change-Id: Icbdab81fe5beb8642841b16773b0e5350b4221cf
TML5VideoViewProxy.java
d6f8f798f256fc1f0401d1619d1485497ad5306c 24-Mar-2011 Teng-Hui Zhu <ztenghui@google.com> am fee1d146: am 50373509: am efb8eda4: Merge "Make sure the full screen playing continue when timeout" into honeycomb-mr1

* commit 'fee1d146a3285e887712150496bbf002f4945079':
Make sure the full screen playing continue when timeout
efb8eda41a2dce03db0984c490c16f6a32867ded 24-Mar-2011 Teng-Hui Zhu <ztenghui@google.com> Merge "Make sure the full screen playing continue when timeout" into honeycomb-mr1
2deec6651c5fc2f479a7d594cad00e36edf73eaf 23-Mar-2011 Teng-Hui Zhu <ztenghui@google.com> Make sure the full screen playing continue when timeout

bug:4165804
Change-Id: I5e0f4bdaecce36d074941ae6631b211227c13fcb
TML5VideoFullScreen.java
f440831d76817e837164ca18c7705e81d2391f87 22-Mar-2011 Huahui Wu <hwu@google.com> DO NOT MERGE

b/4088884 Backport "Remove content:// protocol handler in web browser"
to Gingerbread

It's a manual cherrypick of
https://android-git.corp.google.com/g/#change,87278
since a lot has been changed in bettween.

Change-Id: Ic8e3a419571f535bf983f32cd02181ca66d19319
rameLoader.java
ebSettings.java
8d2b7f350b12e8fdd2ae27787dc42ec00b9608f7 22-Mar-2011 Teng-Hui Zhu <ztenghui@google.com> am 6e5276cf: am 2c6f2816: am 5039e6da: Merge "fix for pause when loading" into honeycomb-mr1

* commit '6e5276cf001112f93b3ca811d220331cc74cd8df':
fix for pause when loading
158fbdb29b8fdda57f942ec2056d908714c326be 22-Mar-2011 Teng-Hui Zhu <ztenghui@google.com> fix for pause when loading

bug:4148903

Change-Id: Ib0b59c8c36eb5df8c6755156a5d2753f84ad9677
TML5VideoFullScreen.java
TML5VideoInline.java
TML5VideoView.java
TML5VideoViewProxy.java
fdef2cb760de2798d9832a4aaa7d8cba1f32dfd1 22-Mar-2011 Teng-Hui Zhu <ztenghui@google.com> am c81d7e0a: am f2c44a79: am 039aa81a: Merge "Fix a crash" into honeycomb-mr1

* commit 'c81d7e0ae802626e9e7a09bdc70afe4952c2ac96':
Fix a crash
217c6c7fbe82c94c5337cd7bfde7b2b4f623dc30 22-Mar-2011 Teng-Hui Zhu <ztenghui@google.com> am 67440893: am f82e5a2c: am 0b933c02: Merge "Support loading image and paused image for inline video" into honeycomb-mr1

* commit '67440893ee32f057d2695b0eea9811e289b68603':
Support loading image and paused image for inline video
cd445624556d8bd83313fed56388d4e6939ac5e9 21-Mar-2011 Teng-Hui Zhu <ztenghui@google.com> Fix a crash

bug:4139931
Change-Id: Ifc18f964d5aedb268eb0d5fa08db3ffed1de4ff8
TML5VideoFullScreen.java
TML5VideoView.java
265db32f31a9db60d4a93d59befa07c825cbe4f2 18-Mar-2011 Teng-Hui Zhu <ztenghui@google.com> Support loading image and paused image for inline video

bug:4142131

Change-Id: I28d82a8e30a2146a3380c63dcdcbd51228f23f56
TML5VideoInline.java
TML5VideoView.java
TML5VideoViewProxy.java
e4af0ed6b3853ee1bca3b52899c99ee3f933b9ec 18-Mar-2011 Derek Sollenberger <djsollen@google.com> am 0c8e22b1: am 25dad8ed: am 5750bb7d: Merge "Prevent intermediate scale updates from being sent to WebKit while zooming." into honeycomb-mr1

* commit '0c8e22b1d3dbcd4580db2a288af65fcca10cde1b':
Prevent intermediate scale updates from being sent to WebKit while zooming.
a249a93e8d7166e503992d32eaf44f9e53c16753 18-Mar-2011 Derek Sollenberger <djsollen@google.com> Prevent intermediate scale updates from being sent to WebKit while zooming.

The addition of the HW accelerated logic causes us to manipulate the
zoom scale factor in the zoom manager two additional times. These
manipulations occur after the mZoomScale has been set to zero is how we
previously tested to see if a fixed length animation was occuring.

bug: 3451126
Change-Id: If2992adbe36fa471bb1bb5013495e1adc74b5fab
oomManager.java
45a746a107b4a28c2570811809cbc36557a32092 18-Mar-2011 Huahui Wu <hwu@google.com> am f5cf85d0: am d1e89c41: am b1c43c32: Merge "b/4116658 Fix the jumpy scrolling with some flash site." into honeycomb-mr1

* commit 'f5cf85d07c99ae834d1b58bf5109982f9a4f3604':
b/4116658 Fix the jumpy scrolling with some flash site.
b1c43c32f518240fd75963ffc8e82cb13e036390 18-Mar-2011 Huahui Wu <hwu@google.com> Merge "b/4116658 Fix the jumpy scrolling with some flash site." into honeycomb-mr1
88b869a40a0eb386385a5de1f37585458c65b548 18-Mar-2011 Huahui Wu <hwu@google.com> b/4116658 Fix the jumpy scrolling with some flash site.

In the case that a touch event is passed to WebKit then back to
WebView, the coordinates will be converted from view to content
then back to view and the convertion could lose some accuracies.
For a flash content that only consumes TouchDown, all the
TouchMove events will go through this path and each time, the
data becomes more inaccurate. Even worse, the TouchMove event
updates the mScrollX/Y which will then be used for the convertion.
The effect amplifies really quick and the scrolling looks jumpy.

The fix is just to store the original view coordinates when pass
the event around.

Change-Id: Ie1424d7cfc6272348b194732e97168efe2dcf17b
ebView.java
ebViewCore.java
e92f2121a7275763898fc6238ea96575ffa473b3 17-Mar-2011 Teng-Hui Zhu <ztenghui@google.com> am 6b3c25c8: am 0318d6bf: am 73091273: Merge "Fix the aspect ratio for full screen playing" into honeycomb-mr1

* commit '6b3c25c859ef72e7f65527c6aae68e77df580b94':
Fix the aspect ratio for full screen playing
1ab0df7f5a761c580c72c96eb81997a531f25018 17-Mar-2011 Teng-Hui Zhu <ztenghui@google.com> Fix the aspect ratio for full screen playing

bug:4116475

Change-Id: I0b04ef4a6db24a9bc5c8d0f0a987783695bc3489
TML5VideoFullScreen.java
TML5VideoView.java
7270f62c1fcdf1e1133ba10f9765109c49e725ed 17-Mar-2011 Adam Powell <adamp@google.com> am 9cd93f09: am ea775ca3: am f8d1533b: Merge "Fix bug 4111271 and bug 4077526 - WebView touch event handling when WebCore is too slow" into honeycomb-mr1

* commit '9cd93f09d451afacb8fffeee5e71806e0f91cf31':
Fix bug 4111271 and bug 4077526 - WebView touch event handling when WebCore is too slow
d0197f3669efda060c7ee2069ff41bd970fd6d9c 17-Mar-2011 Adam Powell <adamp@google.com> Fix bug 4111271 and bug 4077526 - WebView touch event handling when
WebCore is too slow

Make sure that we can recover properly from a bad gesture with missing
events that never come back from webcore. Lower timeout to 1 second.

Confirm movement on touch event enqueue so that we don't get phantom
taps or long presses when webcore is slow to respond.

Add sanity check in ScaleGestureDetector to end a gesture early on a
bad MotionEvent stream rather than throwing up.

Change-Id: I69690409d7edd6b4320dbcf3b052aba4023360fe
ebView.java
607a10c5c94e1f7a657a54c9ee8a9a9f31b50e25 17-Mar-2011 Teng-Hui Zhu <ztenghui@google.com> am a13640b9: am 7a0949c6: am 7af7e00b: Merge "Support html5 video switching b/t full screen and inline mode" into honeycomb-mr1

* commit 'a13640b9efe1706ad0b6b608ccfca800166d7c01':
Support html5 video switching b/t full screen and inline mode
7af7e00b9112f15d1683ae93975a6fcd9dd34da8 17-Mar-2011 Teng-Hui Zhu <ztenghui@google.com> Merge "Support html5 video switching b/t full screen and inline mode" into honeycomb-mr1
10ab654943b386c0816a33dbd639c3b8d6260b01 17-Mar-2011 Teng-Hui Zhu <ztenghui@google.com> Support html5 video switching b/t full screen and inline mode

bug:2126902

Change-Id: I5c4b25358c76e35f0f51794d6d04fcc5098a0d70
TML5VideoFullScreen.java
TML5VideoInline.java
TML5VideoView.java
TML5VideoViewProxy.java
ebView.java
ebViewCore.java
16c4f35692902a203983b6b0e1d50bfe44fca27c 17-Mar-2011 Bart Sears <bsears@google.com> am 2983bb6a: am 247820c0: am 8e42d39f: Merge "partial inval" into honeycomb-mr1

* commit '2983bb6a363010403668d39fdc42f5712bff5eb3':
partial inval
f2674c1a2c93e8cf5b44608e8d7fd62669187aa4 17-Mar-2011 Nicolas Roard <nicolasroard@google.com> partial inval

Change-Id: Ib8ba0fdbbbcae3061692043d33fecb8ffa8ee100
ebView.java
0ec5c78a804b91291b546e6c6fd61ecdbaa578f5 16-Mar-2011 Shimeng (Simon) Wang <swang@google.com> am 0c4f09be: am f2532d16: am 464b690a: Pass firstLayout info to native webview when setting baseLayer.

* commit '0c4f09be5b73bd6bf19921d907fadc50d853deaf':
Pass firstLayout info to native webview when setting baseLayer.
464b690ada24428f3dff4102659048db7128835f 16-Mar-2011 Shimeng (Simon) Wang <swang@google.com> Pass firstLayout info to native webview when setting baseLayer.

issue: 4094300
Change-Id: I4fdbc0cee73230a731b1356f44372cd86a5c4ad1
ebView.java
dce574a191cef75234f8930ffe54bb3ed5126e56 16-Mar-2011 Michael Kolb <kolby@google.com> am 5b7a1bd7: am b0a07f0c: am 6bb2020e: Merge "add comment to deprecated tag" into honeycomb-mr1

* commit '5b7a1bd7906b24e92d61b967abe736cc3559bf08':
add comment to deprecated tag
24e53b00b0588f19f8f31ecc545e62ab3a89e014 16-Mar-2011 Michael Kolb <kolby@google.com> add comment to deprecated tag

Change-Id: Id0c30c43abfeb9005f9b69e0a565644c7c956295
ebView.java
0677d2526d7b0a00114fb6ba00add1ccaaa2da86 16-Mar-2011 Michael Kolb <kolby@google.com> am d799caa9: am 9a0df3c5: am 95fd065e: Merge "deprecate getVisibleTitleHeight" into honeycomb-mr1

* commit 'd799caa9a6623de4af581bebc9759272c10b6588':
deprecate getVisibleTitleHeight
e54f66524e8beaa681015c6ac20036a5fbf0aa92 16-Mar-2011 Michael Kolb <kolby@google.com> deprecate getVisibleTitleHeight

Bug: 4104535

Change-Id: I8a6ef21d38a25848efa28e2c06cf2da0ff7af9c4
ebView.java
75a1ef8d14de25850a171ee80fc7f9a5b70611b5 15-Mar-2011 Adam Powell <adamp@google.com> am 15c9ab33: am 57fccf12: Merge "Fix bug 4099023 - Phantom clicks on some websites" into honeycomb-mr1

* commit '15c9ab336eff66cafa365e9ea3a81f9f1b5c2635':
Fix bug 4099023 - Phantom clicks on some websites
57fccf12e1e71089aa01cbf9867314f82db4e6f9 15-Mar-2011 Adam Powell <adamp@google.com> Merge "Fix bug 4099023 - Phantom clicks on some websites" into honeycomb-mr1
a0def7223f67f1783a795c7e9cff1c9862eb4778 15-Mar-2011 Adam Powell <adamp@google.com> Fix bug 4099023 - Phantom clicks on some websites

Don't forward touch events when webkit has already claimed it doesn't
want them.

Change-Id: Ib00f9014bb23ff544dde6ec9a50ce71ebcb2bb26
ebView.java
a492e1a14bd7ad3728942936725a27c634bcfe90 14-Mar-2011 Huahui Wu <hwu@google.com> am ddba200b: am 9691d3f3: am b71020ef: Merge "b/3392594 keep the remain touch points when one is ended." into honeycomb-mr1

* commit 'ddba200b425c56b3b66ead23e8d5fd51a17c6cc4':
b/3392594 keep the remain touch points when one is ended.
b71020ef4018195a21d2538ea3767b901610daf4 14-Mar-2011 Huahui Wu <hwu@google.com> Merge "b/3392594 keep the remain touch points when one is ended." into honeycomb-mr1
2d3ef37ae6ce91c759e57dda7f16d148fdeee35a 14-Mar-2011 Huahui Wu <hwu@google.com> b/3392594 keep the remain touch points when one is ended.

This is the Java side code change for b/3392594.
It adds an action index into the touch event data and pass it
to the native side.

Change-Id: Ibb393e62a590d0fff1dd3172041748e2b10501d6
ebView.java
ebViewCore.java
e5c1bdfa98e419b0e8bb35dbbc14a4844fe91dc1 12-Mar-2011 Adam Powell <adamp@google.com> am f7db87f0: am 87584f51: Merge "Fix bug 4083825 - Gesture zoom locked along content edges under some circumstances" into honeycomb-mr1

* commit 'f7db87f0730ce91e3230b798b3a85bb47f655ba8':
Fix bug 4083825 - Gesture zoom locked along content edges under some circumstances
87584f51a865cfe8ef19c2b24e858a63cb3e475c 12-Mar-2011 Adam Powell <adamp@google.com> Merge "Fix bug 4083825 - Gesture zoom locked along content edges under some circumstances" into honeycomb-mr1
9a3595c2c8895c1b158c91bf58ed2389dde8c66b 12-Mar-2011 Nicolas Roard <nicolasroard@google.com> am c6c311f7: am f0230cca: Merge "HTML5 Video improvements" into honeycomb-mr1

* commit 'c6c311f77459c3852d4a8c887657f6a135ad4cdf':
HTML5 Video improvements
f0230cca194c840684bab959856c56725fc40b87 11-Mar-2011 Nicolas Roard <nicolasroard@google.com> Merge "HTML5 Video improvements" into honeycomb-mr1
0e778a1ab0c7040e04782ec752103ae64fb24940 11-Mar-2011 Nicolas Roard <nicolasroard@google.com> HTML5 Video improvements

- add support for the fullscreen button

counterpart webkit CL: https://android-git.corp.google.com/g/#change,101484

bug:2126902
Change-Id: Ibcc8c5b115089ad1f30ebe76e4d5c31b2d6389f9
ebView.java
ebViewCore.java
c37308f11680f597d09fa783665ba3104d6e6d5c 11-Mar-2011 Adam Powell <adamp@google.com> Fix bug 4083825 - Gesture zoom locked along content edges under some
circumstances

Tune the procedure used to handle "zoom slop" during a webview
pan+zoom gesture.

Change-Id: Ia706722ba6a46e64cce8814d4668e3857b16e562
oomManager.java
680cfe28a860a10c6aebf269ff441a9330ed2758 11-Mar-2011 Adam Powell <adamp@google.com> am 2737dfe0: am 5ec35c17: Merge "Fix bug 4082512 IAE "pointerIndex out of range" while zooming over flashplayer in browser" into honeycomb-mr1

* commit '2737dfe0a50379ae2524e95065b1b0afe222c83f':
Fix bug 4082512 IAE "pointerIndex out of range" while zooming over flashplayer in browser
5ec35c172ad0628b7092ab34f962ff2c063905d8 11-Mar-2011 Adam Powell <adamp@google.com> Merge "Fix bug 4082512 IAE "pointerIndex out of range" while zooming over flashplayer in browser" into honeycomb-mr1
5f8d117a2f471201738a8b5fed4eaa8332724ee1 11-Mar-2011 Huahui Wu <hwu@google.com> am 372161b7: am 769e132a: Merge "b/4080388 Improving the performance of ZoomManager" into honeycomb-mr1

* commit '372161b7555ccd8ba9ef9b63d5a01740ddda4308':
b/4080388 Improving the performance of ZoomManager
769e132ae30b6615353dd6bd7d8779b6ef1b0b31 11-Mar-2011 Huahui Wu <hwu@google.com> Merge "b/4080388 Improving the performance of ZoomManager" into honeycomb-mr1
8f626a19174c1c33b4798489d8633d20196d7191 11-Mar-2011 Adam Powell <adamp@google.com> Fix bug 4082512 IAE "pointerIndex out of range" while zooming over
flashplayer in browser

Fix an issue where gestures weren't being fully canceled by webkit to
the multitouch detector. This will prevent ScaleGestureDetector from
attempting to resume its regularly scheduled gesture already in
progress.

Change-Id: Id4881eeb1df8414dfa23174481bd7dc70fd08fee
ebView.java
31484fbe28c347af40331135a1bc2634d3534d26 11-Mar-2011 Huahui Wu <hwu@google.com> b/4080388 Improving the performance of ZoomManager

This is a re-factor of cl b/3307761.
It uses an circular array to implement the queue instead of linked list.
And it saves the time to convert float to Float.

Change-Id: I1076aabec2310b2cc299d7f485bf9c4710107045
oomManager.java
36f822a4d95c64dc978f3b338da1e2c464623b72 11-Mar-2011 Teng-Hui Zhu <ztenghui@google.com> am 37ee248b: am 2fc79763: Merge "Inline HTML5 Video support" into honeycomb-mr1

* commit '37ee248b526d3cdefbb0d401ec14b740b655896b':
Inline HTML5 Video support
2fc7976399e5f0f4c6e1dae528df727e7dcbdc8e 11-Mar-2011 Teng-Hui Zhu <ztenghui@google.com> Merge "Inline HTML5 Video support" into honeycomb-mr1
f8a72123c03adb60fd6c857c06ea523879f12578 11-Mar-2011 Adam Powell <adamp@google.com> am 6615362b: am cf63b66c: Merge "Fix bug 4080407 - Browser stuck after scrolling- page stops responding" into honeycomb-mr1

* commit '6615362b14131052c5055c0b17c3a2ade474a57d':
Fix bug 4080407 - Browser stuck after scrolling- page stops responding
661e8b1f21f03ea429ff34f8fdb58b68a5049092 03-Mar-2011 Teng-Hui Zhu <ztenghui@google.com> Inline HTML5 Video support

Use the HTML5VideoView to make inline HTML5 video possible.
Full screen support will be the next step.

The native side change is at 101310.

bug:3506407, 2126902
Change-Id: I012f33a4d0c7b83d37b184fceb3923e1fb277b80
TML5VideoView.java
TML5VideoViewProxy.java
ebView.java
80615b0075aaa6ee9fdd2a0300190aa00a35f5b1 11-Mar-2011 Adam Powell <adamp@google.com> Fix bug 4080407 - Browser stuck after scrolling- page stops responding

Account for gaps in touch queue sequence numbering when we flush out
canceled events from webcore's queue. Add a 2-second timeout to auto-flush
old events when a new gesture begins.

Change-Id: I764a7fcd673b3afb629055b001e9346f5b959dba
ebView.java
52c7ba174ba6edabf7a4c7a69ee124a9e30244e9 10-Mar-2011 Gilles Debunne <debunne@google.com> Removed updateCursorControllerPositions hidden method.

This method is no longer needed since handles' positions are
updated in onPreDraw.

See CL 100549

Change-Id: I7f95d9850c866935c22ecc49c6f4ce89a87861ae
ebTextView.java
83c590a2fa434e630eabe6bbe4c522c17a8268b1 10-Mar-2011 Shimeng (Simon) Wang <swang@google.com> am 40f24016: am 0837fde9: Merge "Don\'t limit zoom scale change by the minimum increment." into honeycomb-mr1

* commit '40f240166a5d4c92690aeb991f1711bf3a733ef5':
Don't limit zoom scale change by the minimum increment.
9610d3e98f11d1d78d0e2a612b047508222386b4 10-Mar-2011 Kristian Monsen <kristianm@google.com> am 4543b8d4: am 79b87df5: Merge "Fix for bug 4064291 WebView uses PackageManager#getInstalledApps" into honeycomb-mr1

* commit '4543b8d4b0fe6bebbf619fa7793a55e41eb1eeff':
Fix for bug 4064291 WebView uses PackageManager#getInstalledApps
0837fde9fd9e29f8ef66a3fe00764e15a6f3d515 10-Mar-2011 Shimeng (Simon) Wang <swang@google.com> Merge "Don't limit zoom scale change by the minimum increment." into honeycomb-mr1
63a1b0cefef3c27d3b5b062dfaf36501aff44d56 09-Mar-2011 Kristian Monsen <kristianm@google.com> Fix for bug 4064291 WebView uses PackageManager#getInstalledApps

Checking each app if they exist instead of iterating through
all packages.

Change-Id: Ic4934fa1e8dbbab2f90134e3701d39b1d4739d83
ebView.java
3911b45005048e727cdc8f6ae58fd722e36f95fa 10-Mar-2011 Shimeng (Simon) Wang <swang@google.com> Don't limit zoom scale change by the minimum increment.

issue: 4080125
Change-Id: I3fa258e12e7aa44c7286c9dccb1f249d5ae78a12
oomManager.java
23ad53d231fbaa966220a0f56e22f070fc984d32 10-Mar-2011 Huahui Wu <hwu@google.com> am a1555b8f: am 37c2e3e5: Merge "b/4075349 Make the pinch to zoom more responsive after limits." into honeycomb-mr1

* commit 'a1555b8fa613b6374d2453fa73ff8eb1c1dfffc3':
b/4075349 Make the pinch to zoom more responsive after limits.
37c2e3e55641e91dd0ec3dbd296bc6bc7c7641cf 10-Mar-2011 Huahui Wu <hwu@google.com> Merge "b/4075349 Make the pinch to zoom more responsive after limits." into honeycomb-mr1
ff6f4c2eff8a676187296b968388f80e744a9ce8 09-Mar-2011 Huahui Wu <hwu@google.com> b/4075349 Make the pinch to zoom more responsive after limits.

Change-Id: I66ea0aa95ff6a471b7c2ae2cb1ce2fdd0f18ce01
oomManager.java
2408954d7bd0864a889bef490a58efea25bfce48 09-Mar-2011 Leon Scroggins <scroggo@google.com> am e1413a9e: am 23c5861c: Merge "Scroll textfield onscreen when the IME shows." into honeycomb-mr1

* commit 'e1413a9e9cdb2dd2792d318542db483b188276c8':
Scroll textfield onscreen when the IME shows.
23c5861cde7efef568fa3c61e0f1fa4fe97c7cfa 09-Mar-2011 Leon Scroggins <scroggo@google.com> Merge "Scroll textfield onscreen when the IME shows." into honeycomb-mr1
02d7fe132683381da243139eb03cbd3f0dbd6b10 09-Mar-2011 Huahui Wu <hwu@google.com> am 45e5db99: am 166b190e: Merge "b/3307761 Clean up the flag mIsHandlingMultiTouch." into honeycomb-mr1

* commit '45e5db99979d9f85e7c3cad3e750b886e3abb105':
b/3307761 Clean up the flag mIsHandlingMultiTouch.
166b190efc35b7ddad6b011ba537c177e88a2336 09-Mar-2011 Huahui Wu <hwu@google.com> Merge "b/3307761 Clean up the flag mIsHandlingMultiTouch." into honeycomb-mr1
d69b701284c14a382565f4d0d194143a09dd5418 09-Mar-2011 Leon Scroggins <scroggo@google.com> Scroll textfield onscreen when the IME shows.

Bug:4079218
Change-Id: I69fe49582effe664c2288401871922a2cacc7c9c
ebTextView.java
ebView.java
2598bf600c3d5cedc8fd10acdeb97d5a414b256c 09-Mar-2011 Shimeng (Simon) Wang <swang@google.com> am 246b2b31: am 12c37caf: Merge "Consider mInitialScale when setting min zoom scale." into honeycomb-mr1

* commit '246b2b313cb545da9d6f791b90d5a1cc4316114e':
Consider mInitialScale when setting min zoom scale.
12c37cafe184d5a6ac2a7a097c2fc616e5c1a6c8 09-Mar-2011 Shimeng (Simon) Wang <swang@google.com> Merge "Consider mInitialScale when setting min zoom scale." into honeycomb-mr1
9386a24eb10ce5cac55abe295a625cc562af7003 08-Mar-2011 Huahui Wu <hwu@google.com> b/3307761 Clean up the flag mIsHandlingMultiTouch.

The flag mIsHandlingMultiTouch was used to remove the out of order
touchMove events. After the fix b/3307761, it is no more needed.

Change-Id: I4d03131e2a22c53cc79c4105e39f078f1bea88ca
ebView.java
888f0654fd2ecbe76be12e2a57b41191e78bb87e 09-Mar-2011 Patrick Scott <phanna@android.com> am 5d534f28: am ea44c7c7: Merge "Pass the auto login header information to the app." into honeycomb-mr1

* commit '5d534f288d0c29337458e267fd207236bc23fec5':
Pass the auto login header information to the app.
ea44c7c71431adbce348cf9ef3f22d9561bb7fc1 09-Mar-2011 Patrick Scott <phanna@android.com> Merge "Pass the auto login header information to the app." into honeycomb-mr1
39dc4b1e14e9c317effd8d0161dad015c0e2d601 09-Mar-2011 Kristian Monsen <kristianm@google.com> am b4ca8b76: am 9e697ee9: Merge "Fix for bug 3469242 Turn of extra debugging before shipping" into honeycomb-mr1

* commit 'b4ca8b7696ea8559fced8bcdf36e11ed28785c7c':
Fix for bug 3469242 Turn of extra debugging before shipping
9e697ee9fc9dcc21348d799e1e0bc83dd3abdb18 09-Mar-2011 Kristian Monsen <kristianm@google.com> Merge "Fix for bug 3469242 Turn of extra debugging before shipping" into honeycomb-mr1
4fdda700260cd0b8a175ae147a316a9119237fb5 09-Mar-2011 Adam Powell <adamp@google.com> am 4763777e: am 1250c94b: Merge "Bug 3509417 - Refine touch event serialization" into honeycomb-mr1

* commit '4763777ebfa9d0d40ea7d117a351eaf96c5ac816':
Bug 3509417 - Refine touch event serialization
f610c421ea498720c11d46129d5c5bf89fad8bf4 09-Mar-2011 Nicolas Roard <nicolas@android.com> am acafb26d: am f986d496: Merge "Partial invalidation of the browser textures" into honeycomb-mr1

* commit 'acafb26d34963807fc8f4c1a46763c51821d194e':
Partial invalidation of the browser textures
1250c94b50a3322e44c8ded7ab15bd6da9cc82a7 09-Mar-2011 Adam Powell <adamp@google.com> Merge "Bug 3509417 - Refine touch event serialization" into honeycomb-mr1
f986d496c56fc8ae44b03f982e3e1ed437cdb996 09-Mar-2011 Nicolas Roard <nicolas@android.com> Merge "Partial invalidation of the browser textures" into honeycomb-mr1
388b0768e1d767f719d5d48965ebf853a91bd5d2 09-Mar-2011 Huahui Wu <hwu@google.com> am f7a3169f: am 8496ddc5: Merge "b/3307761 Tuning two fingers pan." into honeycomb-mr1

* commit 'f7a3169fd85db08538809d17d802795ea4e62b0c':
b/3307761 Tuning two fingers pan.
ae9d2640f3502eae7bd5bed2cfc7d8f190d1fcb4 09-Mar-2011 Adam Powell <adamp@google.com> Bug 3509417 - Refine touch event serialization

Fix an issue with single-touch events handled by webkit.

Change-Id: Ief4e9ec91cda7dd3940241c684d0907cb8c9890f
ebView.java
ebViewCore.java
8496ddc536eb917c813b7928f174c828d2275ada 08-Mar-2011 Huahui Wu <hwu@google.com> Merge "b/3307761 Tuning two fingers pan." into honeycomb-mr1
633c3775a9313456077c654a3a2cd306161d1a4a 08-Mar-2011 Shimeng (Simon) Wang <swang@google.com> Consider mInitialScale when setting min zoom scale.

This fixes CTS test failure.

issue: 4056256
Change-Id: Iee4adba2e462f5e0e79cf359e5b6a1531eafcdd8
oomManager.java
463cc0c5e2b9f63187e8d091dd709e93686beb75 07-Mar-2011 Huahui Wu <hwu@google.com> b/3307761 Tuning two fingers pan.

User reports jumpy when trying two fingers pan. This change keeps
track of the previous movements of the fingers' middle point,
compares to the change of the fingers' distance, and decides
to pan or zoom or do both.

Change-Id: I8a6a8e9259db85b0e820b6e25ba0822ed289fb45
oomManager.java
3cb5ded990452dd7ee909a02261aabf32ebdc45a 24-Feb-2011 Nicolas Roard <nicolas@android.com> Partial invalidation of the browser textures

corresponding webkit CL: https://android-git.corp.google.com/g/#change,100673

bug:3461349 bug:3464483
Change-Id: I913b07a27129e37d8d949dd62e71d350ed119569
ebView.java
bb085ff0d2e76f7cb775cf0cb1edbb226e7ddd31 08-Mar-2011 Leon Scroggins <scroggo@google.com> am f279269a: am 055a8585: Merge "Do not attempt to start action mode if there is no parent." into honeycomb-mr1

* commit 'f279269a4c2e86092b99b67766b9fc1077f2526d':
Do not attempt to start action mode if there is no parent.
055a858562e04c903988d09973accc8aeeece02c 08-Mar-2011 Leon Scroggins <scroggo@google.com> Merge "Do not attempt to start action mode if there is no parent." into honeycomb-mr1
93553d7fb32cf888806bff8e179d724b53d43bbd 08-Mar-2011 Leon Scroggins <scroggo@google.com> Do not attempt to start action mode if there is no parent.

Bug:3514747
Change-Id: Id4c5c803bfb8bb2f5f81fa15599784e808e0d223
ebView.java
85a50ff48b2331913cc87f483eafba9f231c8c8c 25-Jan-2011 Patrick Scott <phanna@android.com> Pass the auto login header information to the app.

Add a new callback to handle auto login requests.

Bug: 3367381
Change-Id: I2ee8038cdf8a4ff9d1d3de0c871a0c60f1769655
rowserFrame.java
allbackProxy.java
ebViewClient.java
47db61de63e430dab085cecf5256f8a5c8baf264 08-Mar-2011 Kristian Monsen <kristianm@google.com> Fix for bug 3469242 Turn of extra debugging before shipping

Reverting 3469242 Turn of extra debugging before shipping
manually since that was done in master.

Change-Id: I0e6ec7dd22ec07e09af7d7270c05ad2b6cc624bb
ebugFlags.java
f7098ce95dde39a33ca280bd1ef9a13259e7b7e5 08-Mar-2011 Romain Guy <romainguy@google.com> am d00353fe: am bc8a8e8c: Merge "Add support for partial invalidates in WebView Bug #3461349" into honeycomb-mr1

* commit 'd00353fe3191571a6773ef2d11921cfcff260bc4':
Add support for partial invalidates in WebView Bug #3461349
cabfcc1364eb7e4de0b15b3574fba45027b45cfc 08-Mar-2011 Romain Guy <romainguy@google.com> Add support for partial invalidates in WebView
Bug #3461349

This change also fixes two bugs that prevented partial invalidates
from working with other views. Both bugs were in our EGL implementation:
they were preventing the caller from comparing the current context/surface
with another context/surface. This was causing HardwareRenderer to always
redraw the entire screen.

Change-Id: I33e096b304d4a0b7e6c8f92930f71d2ece9bebf5
ebView.java
5a383c1f75b11b76c793fefa4d8a81b8e39caee0 07-Mar-2011 Romain Guy <romainguy@google.com> am 15c6b719: am 0aaa11ed: Merge "Remove many unnecessary save/restore calls." into honeycomb-mr1

* commit '15c6b719fe8d1f4b27b4fa66ac94eede3957caf2':
Remove many unnecessary save/restore calls.
0aaa11ed5be45170fb2535a6ce021c92b18d8878 07-Mar-2011 Romain Guy <romainguy@google.com> Merge "Remove many unnecessary save/restore calls." into honeycomb-mr1
e9e7b24bce11f2da7a064d4bfa467f72970b9611 07-Mar-2011 Adam Powell <adamp@google.com> am 1c94feb0: am 9ab91b84: Merge "Fix bug 3509417 - Serialize touch event handling in webview" into honeycomb-mr1

* commit '1c94feb04f20c0c3e193746a6f413557f4d12a30':
Fix bug 3509417 - Serialize touch event handling in webview
9ab91b843a82ccc853b78cc3c0f21c86e668418e 07-Mar-2011 Adam Powell <adamp@google.com> Merge "Fix bug 3509417 - Serialize touch event handling in webview" into honeycomb-mr1
9f5f7af6ccaf14303c109bfd5b2605eac16c46c6 24-Feb-2011 Kristian Monsen <kristianm@google.com> Deprecating webkit API's that might not be supported in the future do not merge

Change-Id: I7ed9498a24aceee529397bbe1ed96a15f834b4eb
ebHistoryItem.java
ebSettings.java
ebView.java
4fb35d4ddc954ff318516c13547c27e7ae1ff2fa 04-Mar-2011 Adam Powell <adamp@google.com> Fix bug 3509417 - Serialize touch event handling in webview

Make sure WebView doesn't process touch events out of order.

Change-Id: Id046139af99d0d3f32cc481ca1d85d32ced67f75
ebView.java
ebViewCore.java
d6cf477e5d6245a63f71958b75c3d658cd6c100e 05-Mar-2011 Romain Guy <romainguy@google.com> Remove many unnecessary save/restore calls.

This should help complex applications by reducing the amount of
unnecessary work performed by the renderer.

Change-Id: I9bdebb1a35cdbcc3d926b7485f19d9e88a019040
ebView.java
0c11a2738936692940d5bd18cad3364c86198cb5 04-Mar-2011 Leon Scroggins <scroggo@google.com> am b613028e: am 91ac3dc0: Merge "Use the same width as the TextView created layout." into honeycomb-mr1

* commit 'b613028e2c923f59d0e66b8efa2df54ba70af58a':
Use the same width as the TextView created layout.
cdaff15bda66f6a208c5bdc4b73730ae09a852f1 04-Mar-2011 Leon Scroggins <scroggo@google.com> Create a RenderSkinButton in UI side.

Part of bug:3009375

Create a RenderSkinButton on the UI side, so that we can
use it to draw buttons and free memory, rather than depend
on globals.

Change-Id: If234ec50c42b5c9d63421ab570ea829ba56db048
rowserFrame.java
ebView.java
91ac3dc06d1b99c5e63cda3b5ae0adfec406fd7a 04-Mar-2011 Leon Scroggins <scroggo@google.com> Merge "Use the same width as the TextView created layout." into honeycomb-mr1
d7e80b9d5046603ac4a36ea74e204a2ad70a4dca 04-Mar-2011 Michael Kolb <kolby@google.com> Merge "fix NPE in getSearchBox" into honeycomb-mr1
b748186c7099b1b3ffc9bf28f4c5a47c81689a43 04-Mar-2011 Michael Kolb <kolby@google.com> fix NPE in getSearchBox

Bug: 3510741
added null check

Change-Id: I256375b2168942f0b4b700912f2f2ae40ce90492
ebView.java
47e57fd18f361900e3c3c98f4e0dea54e1694268 04-Mar-2011 Shimeng (Simon) Wang <swang@google.com> Shorten the animation length to make it snappier.

This is double tap zoom animation.

issue: 3509451
Change-Id: Ibc09eb95f3e1aa6874e8182f811829ce3da7179d
oomManager.java
e11ce83a96c61cf4f51ea62a32917e5814127516 03-Mar-2011 Leon Scroggins <scroggo@google.com> Use the same width as the TextView created layout.

Bug:3509684

Change-Id: I5fd1e3e73a07a6049eb8336339a1100e2a5f7018
ebTextView.java
4a85a7dc84407df8e92de4f89e7840af9e8dd3fc 03-Mar-2011 Bjorn Bringert <bringert@android.com> Merge "A Java implementation of the SearchBox API."
0a25836486896069e3c6af8f46acf328c56377b3 03-Mar-2011 Shimeng (Simon) Wang <swang@google.com> Merge "Adjust actual scale when zoom density changes."
fa44314d3afda1797f48321c7daaf999fc8677bf 02-Mar-2011 Svetoslav Ganov <svetoslavganov@google.com> Force close in WebView.

bug:3504589

WebView#removeJavascriptInterface was not performing check if
a mWebViewCore instance is present. Added such a check.

Change-Id: I7f6dfe51a08f23dddf2fc94df635fdfa68e9a7cf
ebView.java
9cedbcfdf5ad33162019914f26ad8137b84927de 02-Mar-2011 Shimeng (Simon) Wang <swang@google.com> Adjust actual scale when zoom density changes.

Also some fine tuning of zoom scales.
1. Since overview scale will be used to determine min zoom scale, its own
computation shall be free of min zoom scale.
2. make sure mMaxZoomScale is at lease mMinZoomScale.
3. Use default scale in case of non-overview mode, since it reflects the
current zoom density.

issue: 3494868
Change-Id: I4297878b820e437b706bb7e0f143336ff1b39f82
oomManager.java
25c0619b4b48cef4e1255fd1c49ff390f83bece0 02-Mar-2011 Shimeng (Simon) Wang <swang@google.com> Merge "Revert "Remove the limitation that zoom can't go beyond overview scale.""
2c4ab3a51006431da7f2ce46e007cc52c45cb1cf 02-Mar-2011 Shimeng (Simon) Wang <swang@google.com> Revert "Remove the limitation that zoom can't go beyond overview scale."

This reverts commit f1b391a1e3fc51f90f3afaae6623540cab326c8d.
oomManager.java
2b323c7200e687dd781a7b4778dfdaebc393af04 02-Mar-2011 Kristian Monsen <kristianm@google.com> Merge "Fix from post submit review"
65662b6b90e1d899b2207456220a4073645a5186 02-Mar-2011 Kristian Monsen <kristianm@google.com> Fix from post submit review

Change-Id: I10d96b254dcf3cb04f8d5cdf4bc527c84c362c1c
https://android-git.corp.google.com/g/#change,99052
ookieManager.java
09407b481043079ddcd553059b16e981a3f524e6 01-Mar-2011 John Reck <jreck@google.com> Send correct cookies for HTML5 video when incognito

Bug: 3489551

Change-Id: Ic35ec725e72e97830afff2fb0392b2300d8c45f6
TML5VideoViewProxy.java
e4dcf0948a7c0b357696a813217f7b7603ffd8ac 01-Mar-2011 Kristian Monsen <kristianm@google.com> Merge "Part of fix for bug 3489551 Browser doesn't send cookies for HTML5 video in incognito"
3545c72ce1c8cb4948823936a384bab396e63e47 01-Mar-2011 Derek Sollenberger <djsollen@google.com> Merge "Don't update webkit at every stage of a zoom animation."
ac382cf581eb24937033ccd2a21d3d2f02f07767 01-Mar-2011 Derek Sollenberger <djsollen@google.com> Don't update webkit at every stage of a zoom animation.

This CL defers updating webkit until a zoom animation has completed.

bug: 3451126
Change-Id: I75a90f307a3493363811ba67ec4e55bfec9c0702
oomManager.java
469aebbbd92a5300c5ebd6a420ca48976d21e9d1 01-Mar-2011 Kristian Monsen <kristianm@google.com> Part of fix for bug 3489551 Browser doesn't send cookies for HTML5 video in incognito

Adding private mode parameter for some cookie operations.

Depends on this change in webkit:
https://android-git.corp.google.com/g/#change,99051

Change-Id: I304de625632c3d659bf0d7a6b6a6e2bec985ecb6
ookieManager.java
6e0e0ec980505c0717d3bf4b1b5e048f25da9c95 01-Mar-2011 Leon Scroggins <scroggo@google.com> Fix password field drawing.

Bug:3499916

Change-Id: Idb10e9780e6a0cfecd6228de0fbfd4a1035ab61e
ebTextView.java
5bf7658cb85a1e70f3ea89a3a674a96c2eb7531f 01-Mar-2011 Gilles Debunne <debunne@google.com> Merge "Removed ViewTreeObserver null checks"
9497c5f8c4bc7c47789e5ccde01179abc31ffeb2 22-Feb-2011 Narayan Kamath <narayan@google.com> A Java implementation of the SearchBox API.

Implemented as a Java bridge object and a JS adapter.
Works on both V8 and JSC.

Change-Id: I8a4268fb3c6688b5ece9e27c11724c0776017255
rowserFrame.java
allbackProxy.java
earchBox.java
earchBoxImpl.java
ebView.java
ebViewCore.java
f1b391a1e3fc51f90f3afaae6623540cab326c8d 28-Feb-2011 Shimeng (Simon) Wang <swang@google.com> Remove the limitation that zoom can't go beyond overview scale.

Also scales the zoom level when zoom density changes.

issue: 3494868
Change-Id: I23ef9e1bad9c042ca0edf05dce60454b17eb0ade
oomManager.java
5960626016e1291d37b9ee0f1f9da33dc6f2aee7 28-Feb-2011 Leon Scroggins <scroggo@google.com> Merge "No radio buttons on <select>"
35381518d0511d1860adea0183f425cdfb4245d4 28-Feb-2011 Ben Murdoch <benm@google.com> Don't try to output really long URLs HTML5Audio exception handler.

If we catch an IOException in HTML5Audio.setDataSource, do not try
and output the URL if it's really long as this will likely lead to
an OOM exception being thrown.

Bug: 3486963
Change-Id: If10a489b03ec215e078490a81910b02d68190612
TML5Audio.java
d2e91d1dc7c9fcbf792cbc21d283a5915b32cb54 25-Feb-2011 Ben Murdoch <benm@google.com> Improve caching of localised strings for Chromium

We read localised strings for Chromium (e.g. for Autofill)
from Java. Now we've added more large strings, keep them
in WeakReferences and load them lazily rather than on startup.

Change-Id: Ibedcaab5ee781699b41b5c03aae866d1d82bb570
10nUtils.java
ebView.java
b8460ba428e9114aedd9249e187dea6bf3104d78 23-Feb-2011 Ben Murdoch <benm@google.com> Localise the regular expressions that AutoFill uses.

Improve the AutoFill experience on non-English web pages
by using localised regular expressions.

This essentially cherry picks the localised strings from
Chromium CL:
http://codereview.chromium.org/6113005

Requires a change in external/chromium, see:
Ie927514cae7b7390c5a291dfae4dcfe3782bb5b7

Change-Id: I9c0544e67bf0333abcb9ea607855ff92f69bff8e
10nUtils.java
33bbfd2232ea9eaae9a9d87a05a95a430f09bd83 25-Feb-2011 Jeff Brown <jeffbrown@google.com> Add support for mouse hover and scroll wheel.

Dispatch ACTION_HOVER_MOVE and ACTION_SCROLL through the View
hierarchy as onGenericTouchEvent. Pointer events dispatched
this way are delivered to the view under the pointer. Non-pointer
events continue to be delivered to the focused view.

Added scroll wheel support to AbsListView, ScrollView,
HorizontalScrollView and WebView. Shift+VSCROLL is translated
to HSCROLL as appropriate.

Added logging of new pointer events in PointerLocationView.

Fixed a problem in EventHub when a USB device is removed that
resulted in a long stream of ENODEV errors being logged until INotify
noticed the device was gone.

Note that the new events are not supported by wallpapers at this time
because the wallpaper engine only delivers touch events.

Make all mouse buttons behave identically. (Effectively we only
support one button.)

Change-Id: I9ab445ffb63c813fcb07db6693987b02475f3756
ebView.java
d529bfd1a45f75c3f5f8a8d52cd07260b5b700a1 15-Feb-2011 Leon Scroggins <scroggo@google.com> No radio buttons on <select>

Bug:3369625

Change-Id: Ie0ce67ad041aff5e91e2353779b82a091fddb9b6
ebView.java
56d9353195e4c767e60ecfab1e118d3cc30f3a91 25-Feb-2011 Shimeng (Simon) Wang <swang@google.com> Merge "Make sure pinch zoom and overview scale are within limits"
61bb911938d055ece3a95f9ba5aa014175a37fa4 25-Feb-2011 Shimeng (Simon) Wang <swang@google.com> Make sure pinch zoom and overview scale are within limits

issue: 3482463
Change-Id: I9d746883c03326bdfa7fb0373ffadfbc75f69087
oomManager.java
e33cef8037cb87386e17bcf8701a47452d262fa6 24-Feb-2011 Adam Powell <adamp@google.com> Ensure WebView passes a complete/in-order event stream to
ScaleGestureDetector. Prerequisite for several ScaleGestureDetector
bugfixes.

Bugfixes for ScaleGestureDetector.

Make ScaleGestureDetector properly support >2 pointers. Track the most
recent two pointers for scale gestures.

Change-Id: I966319ad438c1c8e1103f245b53b3862c2d4e3c0
ebView.java
808e8f683731dceb6e1bf9486b816c9cbe11cd35 24-Feb-2011 Cary Clark <cary@android.com> Merge "center long press to account for sloppy nodes"
3ecd7db52a4e5e541526103f699a5c3fddf6fc17 24-Feb-2011 Cary Clark <cary@android.com> center long press to account for sloppy nodes

If a tap is close to, but not on a node, slop allows the tap
to find the node. Pass the slop-corrected values to
requestFocusNodeHref() as well.

bug:3412519
Change-Id: I7543354b6270976e1f99518581de23c567432b98
ebView.java
5bf4bb97e09521bceb3e9a91ee9b8662e22dddab 24-Feb-2011 Leon Scroggins <scroggo@google.com> Merge "Stop the blinking caret when moving to another field."
ab85a63317a5dcc990f11489d17ad1afc8a4e6a8 24-Feb-2011 Shimeng (Simon) Wang <swang@google.com> Merge "Pre-calculate view scale and text wrap scale for webkit."
76064644a73b09ef29c3cd361e450eff88850443 23-Feb-2011 Shimeng (Simon) Wang <swang@google.com> Pre-calculate view scale and text wrap scale for webkit.

In viewport setup time, pre-calculate the more likely view scale
and text wrap scale instead of waiting until ZoomManager's FirstLayout
time. This is to give webkit better and more correct information, such
as window width/height and inner width/height, when it is doing first layout.

issue: 3382398
Change-Id: I53fb15da43fbede6c03a4f51ec1c50e9a94f0236
ebViewCore.java
oomManager.java
b611213ea1a590ba2fa70c3abb933f919b84d527 24-Feb-2011 Leon Scroggins <scroggo@google.com> Stop the blinking caret when moving to another field.

Bug:2930013

Requires a change in external/webkit.

Change-Id: Ie768efd02da0afe317c0f93e32148ceb5516a1ec
ebView.java
ebViewCore.java
256d603d11a6ecc15550593ff13fb555c2542ca8 24-Feb-2011 Kristian Monsen <kristianm@google.com> Merge "Hiding deprecated classes and methods"
601e779ae7e19f20670b5ce008b18b3d683e4033 24-Feb-2011 Michael Kolb <kolby@google.com> make @hide actually hide

Change-Id: I84f09acd551d0dc81081322fbeda883d271f8256
ebView.java
75a03f9a3c142f935f6242822ebe66e21f2c56fd 24-Feb-2011 Michael Kolb <kolby@google.com> use getTitleHeight for measuring

Bug: 3473996
change getTitleHeight to be protected so that subclass
can override it
use getTitleHeight for rendering
use getHeight for clipping

Change-Id: I6e9a85d88eba176886e53b260d02082d26b410d8
ebView.java
ab5901dab21964b01095f29a51db1c7d670a38c7 24-Feb-2011 John Reck <jreck@google.com> Add x- header to prevent url logging in incognito

Bug: 3336575

Change-Id: I4a65242405d731f74c676382a810f608afcaad39
TML5VideoViewProxy.java
f0d973131389621609dfad5befb9afe8b767e08c 12-Jan-2011 Kristian Monsen <kristianm@google.com> Hiding deprecated classes and methods

These have been deprecated for more than a yearm so hiding them.

Note that this CL was approved in honeycomb, but moved to MR1:
https://android-git.corp.google.com/g/#change,89487
lugin.java
luginData.java
luginList.java
rlInterceptHandler.java
rlInterceptRegistry.java
ebView.java
af5b406ad62af6f9d9e9f9f278683fb42015a4a2 22-Feb-2011 Leon Scroggins <scroggo@google.com> New flag to open intent in a new tab.

Bug:3405773

Change-Id: I363bfbfee90e98cd1e6a57452e599a79637a8555
electActionModeCallback.java
0e7d652dbd7cc6415685bece745a752da39179c6 23-Feb-2011 Gilles Debunne <debunne@google.com> Removed ViewTreeObserver null checks

Change-Id: Ib11cbe188ac059cc3eaa24c178b2746a8b519918
ebView.java
e835fd721283853eabdfd5ea6a8055c62bfeef99 22-Feb-2011 Patrick Scott <phanna@android.com> Merge "Scroll layers on touch events."
e9290826dbf61b50441ad3ec0f42e54096b693b4 22-Feb-2011 Cary Clark <cary@android.com> don't scale nav slop when zooming

Map the nav slop from device dimensions to content dimensions
so that the nav slop is not scaled when the screen is zoomed.

bug:3465598
Change-Id: I764e7d0ef59107f3f8b3781744df532dd45005b6
ebView.java
cfa734a359083a518b0c37391c1a37d8c07c28a5 22-Feb-2011 Patrick Scott <phanna@android.com> Scroll layers on touch events.

Send the LayerAndroid unique id and the current scroll rect during motion up
events and all touch events.

Bug: 3442108
Change-Id: I09a18ded7b7ce15984f61a329b2666f7cfadd0dc
ebView.java
ebViewCore.java
8842b5cc1055409896b1c4e2bdae2aa36abcaed4 18-Feb-2011 Kristian Monsen <kristianm@google.com> Turning on debug logs temporary for bug 3424424

Change-Id: Ic911a244e48312b566e6bcad2f635cc85075d897
ebugFlags.java
3e826c99b9cc8d38b6c2f19bd4160ee21b5ca47b 18-Feb-2011 Kristian Monsen <kristianm@google.com> Part of fix for bug 3424424 Browser hanging

Not calling redundant android stack cookie code when the chrome
stack is enabled.

Change-Id: I6faea89295e0cae02f5aa19a6ddeec43a4b73a44
ookieSyncManager.java
f7107d7e78b2ed6b18647961982511fac3b4eee9 19-Feb-2011 Shimeng (Simon) Wang <swang@google.com> A method refactoring and a simple rounding fix.

issue: 3382398
Change-Id: I3b43c6e4954b5040a266da60c9a97314f1a5b91f
ebViewCore.java
10d63fada8a0e67095422d60b381906ebe5b65ee 18-Feb-2011 Shimeng (Simon) Wang <swang@google.com> Merge "Make sure zoom width is changed before fit-to-screen."
a05fa96834d74b195fe8e26ca412d5bf7e7f66dc 18-Feb-2011 Shimeng (Simon) Wang <swang@google.com> Make sure zoom width is changed before fit-to-screen.

issue: 3466509
Change-Id: I7cdb9544fcb3f261ebd0a831ab4a5cd685c5fc77
oomManager.java
43f608f928cec782f0f7dad248f4430fe2581016 18-Feb-2011 Cary Clark <cary@android.com> don't start long press when selecting text

The timers to initiate short press and long press shouldn't
be started if text is selected. Since these presses won't
provide any feedback (e.g., the context menu doesn't show
up), with them disabled, the long press can turn into a
drag.

bug:3440375
Change-Id: I019796334a8f3090922747ae3c9e21d3b87b4a3c
ebView.java
42509799f261c844bf6be66ce630c47bdee620f3 18-Feb-2011 Ben Murdoch <benm@google.com> Fix crash downloading posters for HTML5 video.

We use the apache HTTP stack to download the poster images
for HTML5 video. This will crash if there is no host to use
as the "Host" header when making the request. Limit the java
poster downloader to just http or https for now. WebKit seems
able to display posters over other schemes like file://, but
doesn't always get the dimensions right. This fix just stops
us crashing.

Bug: 3180037
Change-Id: Idf51efda5b9ca1f2fe373c1fdb9c6bb7d5e254c8
TML5VideoViewProxy.java
88196e38edb10fc4daf0715e1545d49a39527a23 18-Feb-2011 Shimeng (Simon) Wang <swang@google.com> Merge "Reset initial zoom overview state when user takes zoom action."
459c42395648193bb13ed8a4bcf5c58af9cac3c5 18-Feb-2011 Shimeng (Simon) Wang <swang@google.com> Reset initial zoom overview state when user takes zoom action.

This will prevent wrong fit-to-screen when a new picture comes.

issue: 3466509
Change-Id: I37d5509190766ba16665527bbdef968bddff8915
oomManager.java
defba0cabe800672b152f89904e4203635c74926 17-Feb-2011 Leon Scroggins <scroggo@google.com> Only give WebTextView keys if it has focus.

Bug:3460690
Change-Id: Iab82dc2c6e07a83062338ede8428e9d81ef0b949
ebView.java
90e711670af9a1d48aec04dda85272d8ec4334dc 17-Feb-2011 Leon Scroggins <scroggo@google.com> Merge "Keep track of which keys are pressed."
572c4a7dba7d2dc5a475b956c2a63eb5422fd66d 17-Feb-2011 Shimeng (Simon) Wang <swang@google.com> Merge "Fine tune the zoom overview behavior."
115626a656b4c6e99d8ff07a376a6d75a7416676 17-Feb-2011 Leon Scroggins <scroggo@google.com> Keep track of which keys are pressed.

Bug:3460798

Rather than using a boolean which may not work properly,
keep track of which keys are pressed and handle up for
each key that was pressed.

Change-Id: I381bf617d1752aa194d9d8e8cf8380f9a87fc334
ebView.java
d75fd491eaa7b10c20759a2b98ca78104c7047ce 16-Feb-2011 Shimeng (Simon) Wang <swang@google.com> Fine tune the zoom overview behavior.

issue: 3451476
Change-Id: Idc267979ae0b33f4f2fbcb9aab7739bdd1dc1eff
ebView.java
oomManager.java
7d637712041008d6e0bd466bf314185557d66b9f 17-Feb-2011 Kristian Monsen <kristianm@google.com> Merge "Updated from comments to previous change after submitting"
8c5d38f85e404b1b8643bbbd1d5a36d0bcec7cca 17-Feb-2011 Teng-Hui Zhu <ztenghui@google.com> Merge "Adding a debug setting to enable visual indicator for GL"
0f2df4a63e28d03df009e78dfa66e297fbf8c7c1 17-Feb-2011 John Reck <jreck@google.com> Merge "Adds localization support for incognito start page"
d6662b5eb7ec7446215346c7212899b11f5b77a4 16-Feb-2011 John Reck <jreck@google.com> Adds localization support for incognito start page

Bug: 3460867
This change has BrowserFrame intercept browser:incognito URLs to
provide a localized version of them. It also adds a spanish
translation for the page.

Change-Id: I888453d895ea1047544a09ba7f23645e2746bea6
rowserFrame.java
da7378e86e6d6e7522dfd1e83091545fa93aa84d 16-Feb-2011 Teng-Hui Zhu <ztenghui@google.com> Adding a debug setting to enable visual indicator for GL

[This is the WebView part]
The idea is to turn on the visual indicator without building the code.

The implementation included:
1. Setup the UI on browser side to check whether or not this is enabled.
2. Transfer the info from browser setting to web setting.
3. Send this info down from WebView to webkit.
4. In the webkit, we save this info in TilesManager.
5. At texture generation time, we query this info to decide whether or
not add the visual indicator on the texture.

One design decision we made is we don't want to restart the browser for
debugging purpose. This is better preserving the browser current activity,
the only pitfall is that the visual indicator is NOT updated on different
textures simultaneously.

The corresponding browser change is: #change,97058
The dependent webkit change is: #change,97052

bug:3458721

Change-Id: I34a0514048df61b414c3386b292f2586efbde74e
ebSettings.java
ebView.java
96b065f0014653821c1a1b69e7b13a00d02c38b0 16-Feb-2011 Shimeng (Simon) Wang <swang@google.com> Remember zoom overview state since the postscale callback is async.

issue: 3451476
Change-Id: I56eaeff4e35f8a791b990fcdd1188ca6cdef601a
oomManager.java
0f7c903aa188b359290f8b80b28a2e874c4e26ac 16-Feb-2011 Shimeng (Simon) Wang <swang@google.com> Merge "Fit to screen for the first new picture with enough different width."
8beb86c0430a7125bb1617172f34187308b178c0 16-Feb-2011 Kristian Monsen <kristianm@google.com> Updated from comments to previous change after submitting

Previous change:
https://android-git.corp.google.com/g/#change,91471

This change was to fix bug 3270236

Change-Id: I7dc3179a55420d3383647e2bd50d4766dd21231b
acheManager.java
7c6aaf062bf821afa76e810cb365703516770754 16-Feb-2011 Shimeng (Simon) Wang <swang@google.com> Fit to screen for the first new picture with enough different width.

This is to fix cases where the content width is keep changing due to
animation, such as 2011 google io site.

issue: 3451476
Change-Id: I8b1ba27a34e37a18116131ecc60391975ef75788
oomManager.java
a94e0c8651fc103cbe33b6bd8777ba9ea83830a5 15-Feb-2011 Shimeng (Simon) Wang <swang@google.com> Merge "Keep overview mode when screen is rotated."
a5b3d807a192e14ae7e5c11353633c08ff5aaae6 15-Feb-2011 Shimeng (Simon) Wang <swang@google.com> Keep overview mode when screen is rotated.

issue: 3385613
Change-Id: I49ba8dbdfe72adb1df5e453d7c95ec107e0d3e75
oomManager.java
0a20767f610e048b29b86e86c7e647d293be0308 15-Feb-2011 Shimeng (Simon) Wang <swang@google.com> Merge "Keep mobile site's text wrap scale unchanged."
53a3081bd9ab03b3154147e41bf636fb09f9493b 15-Feb-2011 Teng-Hui Zhu <ztenghui@google.com> Merge "WebView's scrollBarStyle need to be set at init"
15bfa5358e5e3829cfaa1e88f7c46e93e50458e1 15-Feb-2011 Teng-Hui Zhu <ztenghui@google.com> WebView's scrollBarStyle need to be set at init

At initialization time of WebView, the View's scrollBarStyle is set
according to the xml file.
But WebView didn't pick that info up to specialize its own variable.

The fix is to call WebView's setScrollBarStyle according to the View's
ScrollBarStyle at the init() time.
This will help Gmail to pick up the scrollBarStyle from xml file
correctly.

bug:3409308

Change-Id: I3792b12a36bd989b6c31e0054ebacce4269300da
ebView.java
a7699fea04a5ef313e9f555537f2ff5595cd1291 15-Feb-2011 Shimeng (Simon) Wang <swang@google.com> Keep mobile site's text wrap scale unchanged.

issue: 3376306
Change-Id: Ifce67215486f09eadb34c30c085b0e502a5a8b05
oomManager.java
28dcdd77edd0b072f67f5db82a47cc276339a508 14-Feb-2011 Michael Kolb <kolby@google.com> Merge "Add title bar gravity"
03f00225187988952be5b2389fa99f37789725da 11-Feb-2011 Cary Clark <cary@android.com> delay action CAB until word select succeeds

bug:3442865
Change-Id: Ic13ac7abfe43b9b6d9ec1444a960ba24ed444855
ebView.java
03e0119c93f7a9a9e54cc74dde2a2fd07ae0a944 11-Feb-2011 Leon Scroggins <scroggo@google.com> Do not show the dropdown unless there is something to show.

Bug:3427152
Change-Id: I2f0c36193f762085c2e1e7036387ff04f6f259d0
ebTextView.java
c4ca53fedf6cd08103033b646d242b0a11f9e5a9 05-Feb-2011 Michael Kolb <kolby@google.com> Add title bar gravity

Enable rendering of the embedded title bar
at the top of the page or
at the top of the screen

Change-Id: Ic979b641c8cc80acb83eeab49c4f700fc5c50e72
ebView.java
a22a011fabc644684dfda7bcea3ec684730f49b8 11-Feb-2011 Shimeng (Simon) Wang <swang@google.com> Merge "Don't send scroll events in case of new picture from webkit."
36d2823e5700dba32438ce761930f94b40d0b660 11-Feb-2011 Huahui Wu <hwu@google.com> Merge "b/3416864 Send the cert info from Native to Java side."
c566185c707addffcfb8598c8b4cd8898839e7ed 10-Feb-2011 Shimeng (Simon) Wang <swang@google.com> Don't send scroll events in case of new picture from webkit.

When user goes back to a page, the new picture may potentially cause
a scroll event which overrides the history scroll position, since
the scroll position may be bigger than the initial new picture.

Setting the scroll event to be not-user-scrolled will preserve the
history scroll position.

issue: 3433562
Change-Id: Ida176a4bc3a22de0385aed71e11f8b8e0db06f24
ebView.java
c56c3e262c0fac05abb2d1c98acd0ee68f9e428d 10-Feb-2011 Huahui Wu <hwu@google.com> b/3416864 Send the cert info from Native to Java side.

Change-Id: Ib4f045f0dd58d85b329eae972c4a4a61ee95f078
rowserFrame.java
6dfef1b86dfb9969e4a1a01a1fb117e1525c17bd 10-Feb-2011 Steve Block <steveblock@google.com> Merge "Adds CookieManager methods to configure policy for cookies for file scheme URLs"
1477b8f34d2239e58f1537d52654689a813bcfef 10-Feb-2011 Cary Clark <cary@android.com> only allow dpad center for key long press

Holding down the enter key on a physical keyboard
doesn't make sense to map to long press; the desktop
doesn't work that way either.

bug:3344108
Change-Id: Icf02940dcadf194357b680ae1e3028751d16a1ea
ebView.java
fa8be1cccca57f9433c3fafa50e3be3f31b44fb1 02-Feb-2011 Patrick Scott <phanna@android.com> Call window.onscroll event at the end of scrolling.

Remove some old cruft code that isn't necessary anymore. We almost always send
the scroll event to webkit except when restoring the scroll position when going
back.

I have verified that the scroll position is restored when going between pages
and that gmail receives the final scroll position.

Bug: 3187015
Change-Id: I0b1dfd1096d44247729bdd13bdad908310c2f19a
ebView.java
ebViewCore.java
6a0b5ca11487d02c420eb09f680aafd90cb447f5 08-Feb-2011 Shimeng (Simon) Wang <swang@google.com> Fix bug: use content height instead of view height.

issue: 3396895
Change-Id: I3012fa2c48d3e215d5b877ac525fdba89c0f9251
ebView.java
ae7272d8cb8838a1978fa8b8e2b26eca468af61f 08-Feb-2011 Shimeng (Simon) Wang <swang@google.com> Merge "Send actual view height to webkit for window.innerHeight."
f01e3b5b8fdf9a55a14abd27b1b4092657b29112 07-Feb-2011 Patrick Scott <phanna@android.com> am 01b7a98c: am 160c18a4: Merge "Need a public way to wait for cookie operations." into honeycomb

* commit '01b7a98c31f3d4587fb6739c8c6b35530177c20c':
Need a public way to wait for cookie operations.
01b7a98c31f3d4587fb6739c8c6b35530177c20c 04-Feb-2011 Patrick Scott <phanna@android.com> am 160c18a4: Merge "Need a public way to wait for cookie operations." into honeycomb

* commit '160c18a4d209f56766fdd90e4711c8e29fd407e6':
Need a public way to wait for cookie operations.
48fc9097cc5fad7e57342a1ecf584394e089c7e3 03-Feb-2011 Shimeng (Simon) Wang <swang@google.com> Send actual view height to webkit for window.innerHeight.

Currently only fixed height is sent over to webkit, which is to
avoid relayout when url bar is being scrolled.
And this fixed height is used also as the visible height and shown up
as window.innerheight, which is not correct.

This change sends the actual view height as the screen height to
webkit, so window.innerheight is correct. This may potentially
help fixed elments in a page's bottom. The relayout is still avoided
as before.

issue: 3396895
Change-Id: I0426a7d6dc76a823d8d26943a92689f49026fba8
ebView.java
ebViewCore.java
b88e52c7602a193dfcc4715bc59d95e1c555fffb 04-Feb-2011 Patrick Scott <phanna@android.com> Need a public way to wait for cookie operations.

Hidden for now as we are past the public api deadline.

Bug: 3421214
Change-Id: I8a65ae479d0b8b020af2600d7d29d5d358414add
ookieManager.java
2f7fa835077db95c0dbc58f720ae062ab6120196 03-Feb-2011 Leon Scroggins <scroggo@google.com> Save form data when submitted.

Bug:3280725

Save form data when submitted, rather than when a page
loads.

Requires a change in external/webkit.

Change-Id: I3ff9515ef9e9ab28992cdc8a7beb537752ed1e8c
rowserFrame.java
39530f8fc7e6660b56493b9a1950bd3d697167fe 04-Feb-2011 Cary Clark <cary@android.com> am 859563eb: am aa7dc928: Merge "stop GL drawing thread before killing WebCore" into honeycomb

* commit '859563ebf7edbb6d556ef10bac7315fdc564e73a':
stop GL drawing thread before killing WebCore
4eb02a13b33a868ac323d3079cea663f50fbbddb 03-Feb-2011 Shimeng (Simon) Wang <swang@google.com> Merge "Use more accurate height/width ratio."
a0cc8642cc03f02d27d0d3c81ff7398817f47c87 03-Feb-2011 Shimeng (Simon) Wang <swang@google.com> Use more accurate height/width ratio.

When calculating the view height, use more accurate height/width
ratio, instead of the second hand ratio after height and width
are calculated and rounded.

This prevents the height value to be fluctuated by 1 sometimes
when zooming.

issue: 3385757
Change-Id: I08bf5478ae8b8fd799df892e19f450cb558d8b7f
ebView.java
ebViewCore.java
859563ebf7edbb6d556ef10bac7315fdc564e73a 03-Feb-2011 Cary Clark <cary@android.com> am aa7dc928: Merge "stop GL drawing thread before killing WebCore" into honeycomb

* commit 'aa7dc92838f4e3d423b2a738f54de9b83f83794b':
stop GL drawing thread before killing WebCore
aa7dc92838f4e3d423b2a738f54de9b83f83794b 03-Feb-2011 Cary Clark <cary@android.com> Merge "stop GL drawing thread before killing WebCore" into honeycomb
d9fd857ca9910f914dfba2502928666f7a0e3a49 03-Feb-2011 Cary Clark <cary@android.com> stop GL drawing thread before killing WebCore

The TexturesGenerator thread references pictures owned by the
WebCore thread, so must be stopped before the WebCore thread
is deleted.

Requires a companion change in external/webkit

bug:3406185
Change-Id: I5b2f8b3b52367b05301c76e5bd22a95fcd0338d5
ebView.java
4acac231b092981b940b7e3ec98a8fc702f8b846 03-Feb-2011 Svetoslav Ganov <svetoslavganov@google.com> Leaking connection to the Text-To-Speech service.

bug:3417215

1. Now the Text-To-Speech instance is exposed to JavaScript
and removed from JavaScript in the attach and detach from
window callbacks which is consistent with what WebView
does with its tree observer callbacks.

Change-Id: I3e084ba938ba6f13c578317129264dbcbdcf6450
ebView.java
8287edd3ae2362f01c4d3b9d76246dd15be54a11 03-Feb-2011 Leon Scroggins <scroggo@google.com> am 8257e4d7: Merge "DO NOT MERGE. Only scroll if the IME is open in certain cases." into honeycomb

* commit '8257e4d7e2b1ac9b8310a326cf8f4b53aba760ec':
DO NOT MERGE. Only scroll if the IME is open in certain cases.
e89d6418bee849880eca3bc232d1579e6f6813e4 01-Feb-2011 Leon Scroggins <scroggo@google.com> DO NOT MERGE. Only scroll if the IME is open in certain cases.

Bug:3411564

Requires a change in external/webkit.

Already submitted to master.

Change-Id: Id5b8765bde4070f04fce0743c56a038f88e816ec
ebView.java
ebViewCore.java
f0bc2a61b1cf0a104d289ea4f72bbf9e374e5aab 02-Feb-2011 Kristian Monsen <kristianm@google.com> Merge "Proper fix for bug 3407633"
c5f520aa09b75b53d212e9c23b488a343e89751f 02-Feb-2011 Ben Murdoch <benm@google.com> am 6a48ba74: am 3b8657de: Merge "Move setExpandedTileBounds from WC to UI thread" into honeycomb

* commit '6a48ba740e8d93c945ce7d829a25de2b004d0452':
Move setExpandedTileBounds from WC to UI thread
6a48ba740e8d93c945ce7d829a25de2b004d0452 02-Feb-2011 Ben Murdoch <benm@google.com> am 3b8657de: Merge "Move setExpandedTileBounds from WC to UI thread" into honeycomb

* commit '3b8657debcbcf1bb4e66ac797d7ea15d737ecb42':
Move setExpandedTileBounds from WC to UI thread
fa148f6889db3429e793dd0314f690fca4a31fe8 01-Feb-2011 Ben Murdoch <benm@google.com> Move setExpandedTileBounds from WC to UI thread

Bug: 3412928
Change-Id: I2d5c8cc1ba188152dd570ef3a0f2f2f14d64465f
ebView.java
ebViewCore.java
22d197eb310d33c80361f57d39342260956c4987 01-Feb-2011 Jean-Baptiste Queru <jbq@google.com> am 068f3ef9: am 066e1e3c: am dbf09fee: am eb17d6f5: Merge "Don\'t crash zygote if webcore fails to load"

* commit '068f3ef956ee3cadfe6089d9614ab093c03525c6':
Don't crash zygote if webcore fails to load
068f3ef956ee3cadfe6089d9614ab093c03525c6 01-Feb-2011 Jean-Baptiste Queru <jbq@google.com> am 066e1e3c: am dbf09fee: am eb17d6f5: Merge "Don\'t crash zygote if webcore fails to load"

* commit '066e1e3cc6a0a3f2fbf672b82f8e3317574b86da':
Don't crash zygote if webcore fails to load
e54d2dadcd44e63078e63b6314b44d689157fe57 01-Feb-2011 Dave Burke <daveburke@google.com> am 508556a8: am 84a34059: Smoother scrolling by preparing offscreen tiles (credit: Ben Murdoch)

* commit '508556a837287455e1a1181befe1ad8745613487':
Smoother scrolling by preparing offscreen tiles (credit: Ben Murdoch)
2d65a5fdac818ee955287f9f7e08fb7eca90266d 01-Feb-2011 Kristian Monsen <kristianm@google.com> Proper fix for bug 3407633

Using WebAddress to parse the url, this way we will match the
java stack.

Change-Id: I30979df5ef347d9770985ebbb8139ec119764460
ookieManager.java
066e1e3cc6a0a3f2fbf672b82f8e3317574b86da 01-Feb-2011 Jean-Baptiste Queru <jbq@google.com> am dbf09fee: am eb17d6f5: Merge "Don\'t crash zygote if webcore fails to load"

* commit 'dbf09feee0ba7210dadebbbb4cf7e7248f4ea634':
Don't crash zygote if webcore fails to load
fe77eb6140541a4bfb5932cad8b8c5ac11732dfd 01-Feb-2011 Leon Scroggins <scroggo@google.com> Only scroll if the IME is open in certain cases.

Bug:3411564

Requires a change in external/webkit.

Change-Id: I0a9a1d4ff99646e006716271f2cb1cdf0ad9b778
ebView.java
ebViewCore.java
8b8f79898d5d0a283c481dedda2cc161a5a673b3 01-Feb-2011 Kristian Monsen <kristianm@google.com> Fix for bug 3407633 Cookie not set in CookieManager - DO NOT MERGE

Setting http:// at the start if there is no :// in the url

Change-Id: Idfae4f724808267fe9c8ab3864cfc4305ddac0e7
ookieManager.java
84a34059ebee2258c77a393bba423837155aad2b 01-Feb-2011 Dave Burke <daveburke@google.com> Smoother scrolling by preparing offscreen tiles (credit: Ben Murdoch)

Change-Id: If8f6aa38174e742e869bce7144de8db84b2f7150
ebView.java
ebViewCore.java
5762a23fb01a3d47db7db2b7d3fb2fa333065020 01-Feb-2011 Kristian Monsen <kristianm@google.com> Fix for bug 3407633 Cookie not set in CookieManager

Adding http:// at the start of the url if there is no :// already

Change-Id: If292f60af3289a9849ff060ffacc0d97e3120132
ookieManager.java
c0e95048b95f40e39e57d4420fdab1566fb06da8 01-Feb-2011 Jean-Baptiste Queru <jbq@google.com> Don't crash zygote if webcore fails to load

Change-Id: I88271fb62c0cc7c6d768009a713f20d9dfbfb5eb
ebViewCore.java
e7e8e976a14c9cffa171f6c8e2eaa3c7b0bf0d7e 31-Jan-2011 Leon Scroggins <scroggo@google.com> am 5592f0b1: am 22e883dd: For Textareas, do not use UI side layers.

* commit '5592f0b16e44515a3e3686fd417cc1945b83c764':
For Textareas, do not use UI side layers.
22e883dd4a400122003506f47b228378000dd12f 31-Jan-2011 Leon Scroggins <scroggo@google.com> For Textareas, do not use UI side layers.

Bug:3402831
Bug:3401242

Requires a change in external/webkit.

Change-Id: I391d9133b3953d213520cbba5ed49b11ebeaef2d
ebView.java
ebViewCore.java
592f6f963a57025b3cb2e8e13db5a61e24739836 31-Jan-2011 John Reck <jreck@google.com> am a4b23164: am 13934c2d: Merge "Prevent SET_SCROLL_OFFSET spam from clogging tubes" into honeycomb

* commit 'a4b23164167c571e6d22c3486105fdef17ff8e4a':
Prevent SET_SCROLL_OFFSET spam from clogging tubes
636ce004df692d609c6ec9bef63ca8837fd95dc9 31-Jan-2011 John Reck <jreck@google.com> Prevent SET_SCROLL_OFFSET spam from clogging tubes

Bug: 3393571
Limit the event queue to a single pending SET_SCROLL_OFFSET. The
problem on slashdot.org was that the event thread was being flooded
with SET_SCROLL_OFFSET messages faster than it could process them,
causing the handler to get jammed up.

Change-Id: Ia4a90a030959d0b3769067791089cdb261ae403a
ebView.java
ef6af6f79381675994bef8b1d1293cdc06933bbd 28-Jan-2011 Leon Scroggins <scroggo@google.com> am f53e3155: am e891a115: Merge "Only send a direction key if we are not in touch mode." into honeycomb

* commit 'f53e31551aeca325216e72e76d616f06c1fc14f9':
Only send a direction key if we are not in touch mode.
e891a115a01d377dc17c0dd658ba23fb5d033e23 28-Jan-2011 Leon Scroggins <scroggo@google.com> Merge "Only send a direction key if we are not in touch mode." into honeycomb
ecede3914f9532acaa89210f432812836ccc84d5 28-Jan-2011 Chet Haase <chet@google.com> am 97908283: am fe38b7b7: Merge "Fix artifact with clipped webview content" into honeycomb

* commit '97908283c8c7f162bf584e2ad769dc2f6b5061aa':
Fix artifact with clipped webview content
fe38b7b79325782f682365ec9d1b8fe2932eec78 28-Jan-2011 Chet Haase <chet@google.com> Merge "Fix artifact with clipped webview content" into honeycomb
572ba782021389b30c61ce31e8a193c1de1d16df 28-Jan-2011 Leon Scroggins <scroggo@google.com> Only send a direction key if we are not in touch mode.

Bug:3395047

requestFocus() sends a direction key, in case the user
focused the WebView using that direction key. However,
in touch mode, the user used touch to give focus, so
do not send a directional key.

Change-Id: I052d30639d1caefd39077b0498a1e0d21c157a9a
ebView.java
f676466dc8a9294f4a418861315636a9b24ed068 28-Jan-2011 Ben Murdoch <benm@google.com> am 306e96c0: am c38b7c82: Merge "Implement the double tap to zoom animation with HW accleration." into honeycomb

* commit '306e96c0dd931c9dd83e3d580c5b79141d093646':
Implement the double tap to zoom animation with HW accleration.
c38b7c820af52c4d5f6f51c750136d18d9897e5e 28-Jan-2011 Ben Murdoch <benm@google.com> Merge "Implement the double tap to zoom animation with HW accleration." into honeycomb
91fc3cf3b62833515a48ceb59546200994c6af5c 28-Jan-2011 Chet Haase <chet@google.com> Fix artifact with clipped webview content

We were incorrectly calculating the webview viewport in cases
where the viewport was clipped. We now pass down null for the
viewport, which is an indicator for the native code to noop
drawGL calls with a null viewport.

Change-Id: Iecf191eb447869819e357a15a360f0f08c47c273
ebView.java
fdc8757ac42234a42dd0a0037ca396074cb91012 28-Jan-2011 Derek Sollenberger <djsollen@google.com> am f454cee0: am 8f9fb947: Merge "Add Plugin API for controling the device power states" into honeycomb

* commit 'f454cee04456acf74871b02033e6972f71919e55':
Add Plugin API for controling the device power states
8f9fb94741b5032c8774f87130133ef14d9af4e2 28-Jan-2011 Derek Sollenberger <djsollen@google.com> Merge "Add Plugin API for controling the device power states" into honeycomb
c9d6123521fe55c52fa5612155ac9ebb2f82a648 28-Jan-2011 Huahui Wu <hwu@google.com> am 491784f2: am cbcdc614: Merge "b/3347670 Support installing online certs to the system keystore." into honeycomb

* commit '491784f2ecf617f787e11c2393d190b657b2ecde':
b/3347670 Support installing online certs to the system keystore.
f3196cd70a45d14929d3b8d72cec3bdaf96cc744 27-Jan-2011 Derek Sollenberger <djsollen@google.com> Add Plugin API for controling the device power states

This is an initial API that will allow the plugin to request to
keep the screen on.

companion change is in external/webkit

bug: 3331493
Change-Id: Ic18787e7ecd705a5b2e31a34ea884fd39ad9d11a
ebView.java
ebViewCore.java
c7939b1750ba98ab745110a138209d8b981fdc21 27-Jan-2011 Huahui Wu <hwu@google.com> b/3347670 Support installing online certs to the system keystore.

Requires another CL in external/webkit.
https://android-git.corp.google.com/g/#change,93328

Change-Id: I33d642d370ddf330199f2b296d5f8b08923e49cd
rowserFrame.java
ertTool.java
eyStoreHandler.java
oadListener.java
811ba6c6a270f3ba248a61f12c3112d85da8b99a 26-Jan-2011 Ben Murdoch <benm@google.com> Implement the double tap to zoom animation with HW accleration.

Bug: 3164010

Change-Id: I6d3b5973ee0aa95dd810755263e615e226cc965b
ebView.java
oomManager.java
1462293c16179078c029765d38418fb4549366ed 27-Jan-2011 Michael Kolb <kolby@google.com> am cda2da1f: am 85fd2c91: Merge "fix incognito url loading" into honeycomb

* commit 'cda2da1f23f7be6dd2c41746a49ff41bf66958df':
fix incognito url loading
85fd2c9102f7cf105bf498f05ca35360a4bcede5 27-Jan-2011 Michael Kolb <kolby@google.com> Merge "fix incognito url loading" into honeycomb
2c8b1f77a31c13100a0c96cc9eb8eda4d211ec35 27-Jan-2011 Michael Kolb <kolby@google.com> fix incognito url loading

http://b/issue?id=3349090
removed the loading of the "browser:incognito" url

Change-Id: I47f952d372b4d69e91d4b29b3b5e5ec46a4f4fc3
ebView.java
2d65afb7c4e7869c1fafefdfc98fc99014185e3b 26-Jan-2011 Svetoslav Ganov <svetoslavganov@google.com> am 54fc7807: am df467264: Merge "Final polish of WebView accessibility support for no JavaScript case." into honeycomb

* commit '54fc78072fec46933ca5ee96c7642bd4b9fc540f':
Final polish of WebView accessibility support for no JavaScript case.
df4672643b92208b4ab7f9ab995dca8b69d3c458 26-Jan-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "Final polish of WebView accessibility support for no JavaScript case." into honeycomb
af58bdaa8e63030e2e73395490e0701005ca6192 26-Jan-2011 Shimeng (Simon) Wang <swang@google.com> am c1df157a: am 07837862: Merge "Fine tune the high memory threshold and usage delta for v8 GC." into honeycomb

* commit 'c1df157a60164e23ac45701d9e5da6d4edcc756c':
Fine tune the high memory threshold and usage delta for v8 GC.
078378624c1955a1e842af34f79798918edccc21 26-Jan-2011 Shimeng (Simon) Wang <swang@google.com> Merge "Fine tune the high memory threshold and usage delta for v8 GC." into honeycomb
7114f3bf6d5b2dab91a38400b430ab7012a9ce1b 26-Jan-2011 Shimeng (Simon) Wang <swang@google.com> Fine tune the high memory threshold and usage delta for v8 GC.

This will help reduce a bit more v8 GC for heavy web sites.

issue: 3317574
Change-Id: I5f93f9311fc864fb13933f92ff402e00c0e6fcdf
ebViewCore.java
2fbb623afa292c9b3b8dd1f784d0f1cbd3e4dadc 26-Jan-2011 Leon Scroggins <scroggo@google.com> am 666158e0: am 8b2d4825: Merge "Move last touch point when moving the cursor node." into honeycomb

* commit '666158e09b694a6883a9d8207fe33de4fe4eca3e':
Move last touch point when moving the cursor node.
8b2d4825e1d7ca22aab9ae9fdfa1ecd34f154e22 26-Jan-2011 Leon Scroggins <scroggo@google.com> Merge "Move last touch point when moving the cursor node." into honeycomb
cef1c59efca2323122c3b69b75862aecd03b56c1 26-Jan-2011 Leon Scroggins <scroggo@google.com> Move last touch point when moving the cursor node.

Bug:3241968
Bug:3387455

The code was already in place, but needs to happen before we
return if mHeightCanMeasure == false.

Change-Id: Ic07dac4c4471bf4e2189f3fee322adeb23703f41
ebView.java
9504f5753db3309b67e74ccecb400a18d23ca2d1 14-Jan-2011 Svetoslav Ganov <svetoslavganov@google.com> Final polish of WebView accessibility support for no JavaScript case.

1. Added tests for the new code added by change:I5a796aef

2. WebCore thread now calls the UI thread to set the cursor to
the current position enabling the user to interact with
the content that is being selected on the page.

3. Removed the code that changes the selection on movement of the
cursor ring. We are dropping the "default web view behavior"
as granularity of reading the document since with this change
a user can freely access inputs/buttons/links.

Change-Id: I7a3f6677eff0bc95e8127973d07cec78e3465c7b
ccessibilityInjector.java
ebView.java
ebViewCore.java
cc6d12d844963d66b77055b3f787de2e9eed231d 26-Jan-2011 Patrick Scott <phanna@android.com> am ac9bda01: am c45ec344: Merge "Turn off picture splitting for now." into honeycomb

* commit 'ac9bda01b1d80c5301619a2c2288ee868b6bd520':
Turn off picture splitting for now.
c45ec3440bcdc00542e5e08cfa7ba29593cb7609 26-Jan-2011 Patrick Scott <phanna@android.com> Merge "Turn off picture splitting for now." into honeycomb
85b69e03907b99b4011ea54dc210d74249f546fa 25-Jan-2011 Patrick Scott <phanna@android.com> Turn off picture splitting for now.

Splitting the content was causing a mismatch between the base content picture
and composited layers. It was also happening on every single inval.

Bug: 3372320
Change-Id: I09da2d0f3cba028c355ceba2b4c8e34da5a77028
ebView.java
aa16a0f357ab2a222c3a1ca1163b1570d878094f 25-Jan-2011 Brian Carlstrom <bdc@google.com> am f2b7c844: am 8d37c4ef: Merge "Tracking jarjar of org.bouncycastle to com.android.org.bouncycastle" into honeycomb

* commit 'f2b7c84468c5397b44566c393bec2675d73817b7':
Tracking jarjar of org.bouncycastle to com.android.org.bouncycastle
8d37c4efeb853fdc6626f89b5bc0ec79eb451162 25-Jan-2011 Brian Carlstrom <bdc@google.com> Merge "Tracking jarjar of org.bouncycastle to com.android.org.bouncycastle" into honeycomb
e59b34cfbf733d92063ef84d46f0bdd552a0a1ed 25-Jan-2011 Shimeng (Simon) Wang <swang@google.com> am 1dc6b9eb: am c1e7f2d3: Merge "Set high usage delta to 1 to avoid constant V8 GC." into honeycomb

* commit '1dc6b9ebc6ea584b8294e920d0153365c6aa2486':
Set high usage delta to 1 to avoid constant V8 GC.
c1e7f2d371aa6c2aa9ed3207689cb53a1f704cbc 25-Jan-2011 Shimeng (Simon) Wang <swang@google.com> Merge "Set high usage delta to 1 to avoid constant V8 GC." into honeycomb
746e063c83113a7a7e728a0f7d17b17fc12a0ccf 25-Jan-2011 John Reck <jreck@google.com> am 500c9e99: am 7f532976: Merge "Docs for Origin" into honeycomb

* commit '500c9e99f514bd6b3df9b04ed10a763ea752c138':
Docs for Origin
7c1bcfddcdb8665b0a73a45028fb72123e00cfd5 24-Jan-2011 Shimeng (Simon) Wang <swang@google.com> Set high usage delta to 1 to avoid constant V8 GC.

This value will be passed to native webkit to V8.

3 consecutive dromaeo DOM core are run, there's no crash.
Because of assets change, Passion browser can't be run; this will
need to be checked in I release, I think

issue: 3317722
Change-Id: Ifa6e4116f76f395d98db9f8336f91dc9de6bf125
ebViewCore.java
4140faeebbfa23d56068c1862b2913fb62145f4f 25-Jan-2011 Brian Carlstrom <bdc@google.com> Tracking jarjar of org.bouncycastle to com.android.org.bouncycastle

Bug: 3086427
Change-Id: I7af99fe4c36d9a519777f0499ccab65646313879
acheManager.java
ertTool.java
9b2a59bdd27cfa45c7bb3b58eb705b35589b7050 25-Jan-2011 John Reck <jreck@google.com> Docs for Origin

Bug: 3370302

Change-Id: I44c8856d3f5e4b5e21c2745c1ef07a30526a1dd0
ebStorage.java
62e4af1656045a04b59614ae4b0c5440ea07a01a 25-Jan-2011 Leon Scroggins <scroggo@google.com> am 09176dcb: am 8801ad35: Merge "Disable focus controller when WebView loses focus." into honeycomb

* commit '09176dcb3d01b014eeb73ab3d643ac36c717dd75':
Disable focus controller when WebView loses focus.
8801ad35264b6780697fcdcfbac0e17c7ca2d771 25-Jan-2011 Leon Scroggins <scroggo@google.com> Merge "Disable focus controller when WebView loses focus." into honeycomb
b4ffd112840c5a7fa3f6d0b51ef1806d8b8c66c5 24-Jan-2011 Leon Scroggins <scroggo@google.com> Disable focus controller when WebView loses focus.

Bug:3370821
Change-Id: Ia26a54e1c5ec050d76e60762f9a5eb4502d8c6e3
ebView.java
61b9649a50aefacc74449728e96f37f6f9d7a8b3 24-Jan-2011 Huahui Wu <hwu@google.com> am 6e4a69bb: am 94b8b114: Merge "A few small cleanning-ups." into honeycomb

* commit '6e4a69bbf7d7566899ec76d2634538dd79ca4166':
A few small cleanning-ups.
3873da3c6ee0a63de0d91e6045b7546402f4ce3d 24-Jan-2011 Chet Haase <chet@google.com> am 2acb67ec: am 67005b05: Merge "Use optimized display lists for all hwaccelerated rendering" into honeycomb

* commit '2acb67ec9fe34316231519373f59dfb76c03d57b':
Use optimized display lists for all hwaccelerated rendering
f93246923f0a8c85fddb508533d63d59977f75eb 24-Jan-2011 Huahui Wu <hwu@google.com> A few small cleanning-ups.

1. Remove mDeferMultiTouch in WebView, it was for testing only but
we don't need it now since we always pass MultiTouch to WebKit.

2. Remove the use of mDeferMultiTouch in DRT tests.

3. Correct the index of getX(Y) for the second touch point in the
debug string of MotionEvent.

Change-Id: Ib63cfc5935af1a169ed26b2b138f74908492bc18
ebView.java
daf98e941e140e8739458126640183b9f296a2ab 10-Jan-2011 Chet Haase <chet@google.com> Use optimized display lists for all hwaccelerated rendering

Previously, display lists were used only if hardware acceleration
was enabled for an application (hardwareAccelerated=true) *and* if
setDrawingCacheEnabled(true) was called. This change makes the framework
use display lists for all views in an application if hardware acceleration
is enabled.

In addition, display list renderering has been optimized so that
any view's recreation of its own display list (which is necessary whenever
the visuals of that view change) will not cause any other display list
in its parent hierarchy to change. Instead, when there are any visual
changes in the hierarchy, only those views which need to have new
display list content will recreate their display lists.

This optimization works by caching display list references in each
parent display list (so the container of some child will refer to its
child's display list by a reference to the child's display list). Then when
a view needs to recreate its display list, it will do so inside the same
display list object. This will cause the content to get refreshed, but not
the reference to that content. Then when the view hierarchy is redrawn,
it will automatically pick up the new content from the old reference.

This optimization will not necessarily improve performance when applications
need to update the entire view hierarchy or redraw the entire screen, but it does
show significant improvements when redrawing only a portion of the screen,
especially when the regions that are not refreshed are complex and time-
consuming to redraw.

Change-Id: I68d21cac6a224a05703070ec85253220cb001eb4
ebView.java
7adb61dea4a722cb5ae8742c3c002b9ab9b62b43 22-Jan-2011 Bart Sears <bsears@google.com> am 61b0f05c: am e2ff529b: Merge "b/3377597 Improve zooming performance." into honeycomb

* commit '61b0f05cef16ae1c70b5e3b957f31130f6dd3d0e':
b/3377597 Improve zooming performance.
e2ff529b3f69a3d2ccd55e283f3d0e446a087ed6 22-Jan-2011 Bart Sears <bsears@google.com> Merge "b/3377597 Improve zooming performance." into honeycomb
5d4064c8633d3d6bd8e937374a1fc72be5c8383a 22-Jan-2011 Huahui Wu <hwu@google.com> b/3377597 Improve zooming performance.

Once WebKit claimed it doesn't want to consume the multi-touch events,
we remember that and handle the events in WebView directly.

Change-Id: Idfc99c16b3f4d7f4719791c64fb2355ff66aba5e
ebView.java
caed39164074a3d0e69c0841410c3833c11932d6 21-Jan-2011 Michael Kolb <kolby@google.com> am b2b83077: am debb5bbe: Merge "Add public API for on screen zoom controls" into honeycomb

* commit 'b2b830774f4aff0bacf30648a4f7efce49e403fd':
Add public API for on screen zoom controls
debb5bbe816ce764ecda73eabc17c31fd59fbe3e 21-Jan-2011 Michael Kolb <kolby@google.com> Merge "Add public API for on screen zoom controls" into honeycomb
d022c697c248c4954a37941c3da0f59704df0b3f 21-Jan-2011 Leon Scroggins <scroggo@google.com> am 12871245: am 60130138: Merge "Restart input when the webpage changes the text." into honeycomb

* commit '12871245c7920df992341fa095dc83df94ee763c':
Restart input when the webpage changes the text.
5840cd294ad791645c8960da35413f1da5950dca 21-Jan-2011 Michael Kolb <kolby@google.com> Add public API for on screen zoom controls

http://b/issue?id=3378224
This is a simple unhide.
Allow the use of WebView pinch-to-zoom gestures
without the on screen zoom controls.
Currently, enabling pinch to zoom with the public API also shows the
on screen zoom buttons.
If the zoom buttons are not wanted, a custom implementation of pinch to
zoom is required, which can't be done correctly at this point.

Change-Id: I3f94080471c3a4b498b11c91603fff9994dc3c2c
ebSettings.java
a51063c059d1e445c4a05829c8c93ac7dd64c1b1 21-Jan-2011 Leon Scroggins <scroggo@google.com> Restart input when the webpage changes the text.

Bug:3375518
Change-Id: I0a18d0ca764ce428d86bd5f6d13f8764668acea6
ebTextView.java
3cc8a3a47ede49b8699c2a839626a44f2d57cd73 21-Jan-2011 John Reck <jreck@google.com> am 398a589c: Merge "DO NOT MERGE - Create db path if it doesn\'t exit" into gingerbread

* commit '398a589ccea744556732b25097412dbb22c51271':
DO NOT MERGE - Create db path if it doesn't exit
2c2aa7c4d28dfeb81b1216ea451265a8e4576b2e 21-Jan-2011 Leon Scroggins <scroggo@google.com> am 62fd9903: am d5188657: Do a better job of lining up text with page text.

* commit '62fd9903a756eb5d8e7bcafbbc5a3a311fdbcefc':
Do a better job of lining up text with page text.
d5188657dcde0f40a6954a00d569c0575bf6095a 19-Jan-2011 Leon Scroggins <scroggo@google.com> Do a better job of lining up text with page text.

Bug:3085564
Bug:3196224
Bug:3321608

Remove Touch.getMaxScrollX(), which is incorrect for my
purpose, and is not used anywhere else. Instead use the
layout to determine the maximum horizontal scroll of a
textfield.

Now that textareas use layers, scroll the layer's picture
in the UI thread for vertical movement. When passing a
click to webcore, also pass a message to scroll the actual
textarea so the click will be in the correct place.

Lastly, do not override bringPointIntoView, which allows
moving the insertion handler beyond the edge of a field to
scroll it. Instead, override requestRectangleOnScreen to
do nothing, since my actual goal is to prevent the TextView
from changing the scroll of the WebView, which is done by
webkit.

Requires a change to external/webkit.

Change-Id: Ib91907599b792287c373d3678cb04e0cb5e34471
ebTextView.java
ebView.java
ebViewCore.java
bf8af78973a798719b3241966a12bfc324990a5b 19-Jan-2011 John Reck <jreck@google.com> DO NOT MERGE - Create db path if it doesn't exit

Bug: 3241808
Make sure the directory the caller is trying to open the icon db
in actually exists and create it if it doesn't.

Change-Id: Icc0a67b0ceba03a746ac2cd3b84fc34c2c8b4fe2
ebIconDatabase.java
765b2e2db427adc2a85bc195f553bf505d811560 21-Jan-2011 Shimeng (Simon) Wang <swang@google.com> am a2d32f3c: am 7633540c: Merge "Keep min/max zoom scale in proportion when zoom density changes." into honeycomb

* commit 'a2d32f3c48283d3c9c7d8e25704de86e26bc62f6':
Keep min/max zoom scale in proportion when zoom density changes.
66064914fc97f8b0a6cb1cc6e7a1266dd7cc4a3b 21-Jan-2011 Shimeng (Simon) Wang <swang@google.com> Keep min/max zoom scale in proportion when zoom density changes.

issue: 3341610
Change-Id: Ibf87ab499e28fddab81d4e354ec7d88f5eb86261
oomManager.java
3aae603e3918c0415d1078a01403fd1f156270b1 20-Jan-2011 Huahui Wu <hwu@google.com> am baa647e3: am 292f39c1: Merge "b/3350774 Enforce clearing the flag mIsHandlingMultiTouch." into honeycomb

* commit 'baa647e325a3ba1acaa463b8c3553de6547ff4f5':
b/3350774 Enforce clearing the flag mIsHandlingMultiTouch.
292f39c1201f2f08ac90d5562a7fd7070e9b32a0 20-Jan-2011 Huahui Wu <hwu@google.com> Merge "b/3350774 Enforce clearing the flag mIsHandlingMultiTouch." into honeycomb
bc7c148285ee39f2eafbfbe98d8fbbbe4bcc53bd 20-Jan-2011 Huahui Wu <hwu@google.com> b/3350774 Enforce clearing the flag mIsHandlingMultiTouch.

b/3350774 was fixed by https://android-git.corp.google.com/g/#change,91337
But there is small chance that the flag mIsHandlingMultiTouch is not cleared
correctly. This CL enforces to clear the flag.

Change-Id: I79ba6b401a7d7b3c772d3f123912343491551507
ebView.java
5f1216cb981d2a9c28d86b6ff903740135d63707 20-Jan-2011 Iain Merrick <husky@google.com> am bf98190b: am 8192b417: Merge "Add BrowserFrame.setCertificate() method." into honeycomb

* commit 'bf98190b4b49644fe3d2be688e33bebb59b3d3c9':
Add BrowserFrame.setCertificate() method.
b890e758efebc27046e031678e200c68f36ed3e0 20-Jan-2011 Iain Merrick <husky@google.com> Add BrowserFrame.setCertificate() method.

This is needed for the Chrome HTTP stack to report SSL
certificates to WebView, in order to pass the CTS.

Change-Id: I0752a836ebaea21eae2084f037b18de4168f271f
rowserFrame.java
28f37efe309d51c877bdd8c5ac31946db3ff06e4 20-Jan-2011 Kristian Monsen <kristianm@google.com> am 6e8831cf: am 7450a32b: Merge "Clear the files we copy over to the temp cache" into honeycomb

* commit '6e8831cf2d7fd90ab124f58a9fc1919fac818887':
Clear the files we copy over to the temp cache
7450a32bab8945738589d7b323953cdc80de111f 20-Jan-2011 Kristian Monsen <kristianm@google.com> Merge "Clear the files we copy over to the temp cache" into honeycomb
cedb3a7e5849fd16e939add1ac6f5586467b8c68 20-Jan-2011 Kristian Monsen <kristianm@google.com> Clear the files we copy over to the temp cache

Fixes CTS tests

Change-Id: I3464ac90e58a9df21379a8da9d637f4f5ee69b85
acheManager.java
ebViewCore.java
ffe3e6c5d4e937a75ebd4efa3e038ac3c5200c1e 20-Jan-2011 Huahui Wu <hwu@google.com> am 15ef4168: am 961d2c6a: Merge "b/3350774 avoid screen jumping when pinching to zoom." into honeycomb

* commit '15ef4168a9ce71f58d8d11cb531f88fdb4a3729d':
b/3350774 avoid screen jumping when pinching to zoom.
1f30125c1c1efb1e8f2e6ce9ed79f768c243d63e 20-Jan-2011 Huahui Wu <hwu@google.com> b/3350774 avoid screen jumping when pinching to zoom.

After the change that sends multi-touch to WebKit first, there is
a chance that the single-touch move event is handled before multi-
touch events are finished and this makes the page jumps.
This change skips those single-touch move events to avoid that.

Change-Id: I03992ef18c1de8e07933bd7cc6c12ffc02c014a8
ebView.java
ba079efd3ef8fc30e5d31da2851a82b4655876ca 19-Jan-2011 Shimeng (Simon) Wang <swang@google.com> am 9656fff3: am b501f77f: Merge "Use rounded interger to represent the last touch point." into honeycomb

* commit '9656fff32b20e707e2697b777ad66c1e95a7406c':
Use rounded interger to represent the last touch point.
b501f77f1f2cdcfa9b190f33285a2b3a10e782a9 19-Jan-2011 Shimeng (Simon) Wang <swang@google.com> Merge "Use rounded interger to represent the last touch point." into honeycomb
ea0cc807f1be3d770d1e231d9effe154e3204d01 19-Jan-2011 Derek Sollenberger <djsollen@google.com> am c8937d84: am aa2275e3: Fix complex character support for plugins.

* commit 'c8937d8452542688ade144a8fc715088cec84f11':
Fix complex character support for plugins.
1e07da3651e1234d8476e441caf34d1bb09bd581 19-Jan-2011 Shimeng (Simon) Wang <swang@google.com> Use rounded interger to represent the last touch point.

This prevents loss of delta calculation accurracy when dragging, which
was done in float and converted to integer.

issue: 3366067
Change-Id: Ia121a6ef4619c9abfb1f76a01db3272d41d02b81
ebView.java
aa2275e31d1ab6d672013e82a7b8da2559b0e085 19-Jan-2011 Derek Sollenberger <djsollen@google.com> Fix complex character support for plugins.

bug: 3369527
Change-Id: I48c3442d7de54589f9f9578f6375b7ad291677db
ebView.java
a09fddc555b5128d4f926d0ba82e068d4cebdde6 19-Jan-2011 Leon Scroggins <scroggo@google.com> am 60964579: am b90bd293: Merge "Only scroll on screen when necessary." into honeycomb

* commit '60964579fe9c56bfac21a91dbb2355b1086e47b6':
Only scroll on screen when necessary.
3be1ffab08728ed0f36677e4499d70fbd591f999 19-Jan-2011 Leon Scroggins <scroggo@google.com> Only scroll on screen when necessary.

Bug:3367446

bringPointIntoView was called by TextView in onPreDraw. This was
passing a message to the webcore thread to change the scroll
position. This is unnecessary, because typically the scroll
position will be changed by webkit when keys are pressed. The
one situation where this helped was when the user taps on a
textfield, which brings up the IME, which may cover it. A better
solution is to tell webkit to scroll it on screen once the
screen size changes. I have a CL in external/webkit to do that:
https://android-git.corp.google.com/g/#change,91095

Change-Id: I6e06ad59e1a1c99365bb5be635a43d1b88658c0d
ebTextView.java
ebView.java
40e770418243c6411a3c95f1fe2ec83dda7e68a4 19-Jan-2011 Kristian Monsen <kristianm@google.com> am 710d5f45: am c40fc871: Need to sync the cache settings to native side

* commit '710d5f4591b6158f9a527e363aa4d589c39e9f71':
Need to sync the cache settings to native side
c40fc87147baffa2a71d66550a0f99ca2524f4b9 19-Jan-2011 Kristian Monsen <kristianm@google.com> Need to sync the cache settings to native side

Fix for cts tests

Change-Id: I554f1240c16b2c2e68810e54d0ff99d13288a6a8
ebSettings.java
047eb0294e9e94d9c5705cf3218c2be59039bcd3 19-Jan-2011 Ben Murdoch <benm@google.com> am f80526d7: am 6e710b4f: Merge "Maintain the seek position in HTML5 video" into honeycomb

* commit 'f80526d772a53675cc288e16773c2ce5e0c3fd9a':
Maintain the seek position in HTML5 video
6e710b4feb634f9e39c11ca1433d947bc1baab80 19-Jan-2011 Ben Murdoch <benm@google.com> Merge "Maintain the seek position in HTML5 video" into honeycomb
18ac58e056510f43a0a570a08cf3a2a19903035e 19-Jan-2011 Leon Scroggins <scroggo@google.com> am 5d3175e7: am 40777239: Make WebView inactive when title bar takes focus.

* commit '5d3175e704e3e86638f3317f0205491363bbee9f':
Make WebView inactive when title bar takes focus.
407772390f4a1b4e1196820ea22b9327eea54019 18-Jan-2011 Leon Scroggins <scroggo@google.com> Make WebView inactive when title bar takes focus.

Bug:3296938
Change-Id: I656e8582044acf3b0e9b417f41337833fe72c181
ebTextView.java
ebView.java
ff19d19e016f67edf0a4e8eea374d144dc5129ef 17-Jan-2011 Ben Murdoch <benm@google.com> Maintain the seek position in HTML5 video

Receive the current seek position from native when we start
playing a video. That way is we are returning from pause we correctly
continue where we left off.

Requires and external/webkit change.
(I6001f45a362f491e9040c8b52260d0a08fb8504f)

Bug:3303721
Change-Id: I6b92289d4ef36bba1e0429327917533a4101655d
TML5VideoViewProxy.java
7dfe1ab587663ae36f1bba3cd30564298a8da8fd 19-Jan-2011 Romain Guy <romainguy@google.com> am 069f9b63: am 745a5292: Merge "Smoother pinch-zoom in Browser." into honeycomb

* commit '069f9b6352951134a8c0b3d5320e31290e681206':
Smoother pinch-zoom in Browser.
ded2bc5c5ff29f1cd010bf106debcf2af59ae68c 19-Jan-2011 John Reck <jreck@google.com> am 733e2047: am c098c1d3: Merge "Create db path if it doesn\'t exit" into honeycomb

* commit '733e2047e7dbb53d5b3b2514bfb76edbcef8a149':
Create db path if it doesn't exit
745a529249c346656a404e38333f6d0ce6503fd7 19-Jan-2011 Romain Guy <romainguy@google.com> Merge "Smoother pinch-zoom in Browser." into honeycomb
c098c1d348a183635561c504ccd67a9014a45475 19-Jan-2011 John Reck <jreck@google.com> Merge "Create db path if it doesn't exit" into honeycomb
4f066784ec0b921c9aacc48dd6ce3c5d50764233 19-Jan-2011 Romain Guy <romainguy@google.com> Smoother pinch-zoom in Browser.

Change-Id: Ie5a403b76ab25483a980324cd7b31976359fa796
oomManager.java
798378ee6c06df9aa3da3517ac805c25bd54e39e 19-Jan-2011 John Reck <jreck@google.com> Create db path if it doesn't exit

Bug: 3241808
Make sure the directory the caller is trying to open the icon db
in actually exists and create it if it doesn't.

Change-Id: Ie5e4a09210e9430edc318846a551542119969053
ebIconDatabase.java
14ae0cb842071ded1ce6e7a9af46d457e96df0ef 18-Jan-2011 John Reck <jreck@google.com> am 3977afe4: am d00207ff: Merge "WebStorage public API change" into honeycomb

* commit '3977afe41679290fedbe661e53dcf360136f52d0':
WebStorage public API change
3f47ce8e0f00920008f7d44546438eacf748ec51 18-Jan-2011 Derek Sollenberger <djsollen@google.com> am 51b8a92e: am 788c5185: Merge "Fix smart zoom for plugins that use OpenGL." into honeycomb

* commit '51b8a92e23ff47e73faf67ea78ce1bd29b9a6d59':
Fix smart zoom for plugins that use OpenGL.
d00207ff87fa3e2d5430ea5c0980041c44738efe 18-Jan-2011 John Reck <jreck@google.com> Merge "WebStorage public API change" into honeycomb
788c51852a559f17188f60c40f0c0d83abbafab2 18-Jan-2011 Derek Sollenberger <djsollen@google.com> Merge "Fix smart zoom for plugins that use OpenGL." into honeycomb
71b1b6923202c33e5256cb9be40f2780e9b16c48 18-Jan-2011 Ben Murdoch <benm@google.com> am 5ad8c70d: am e609241a: Merge "Disable AutoFill in private browsing mode." into honeycomb

* commit '5ad8c70d69a56d874adaf9ec0f59e142c70d2aff':
Disable AutoFill in private browsing mode.
e609241a76005cf09ed62b2cf99bf1a7a523bb99 18-Jan-2011 Ben Murdoch <benm@google.com> Merge "Disable AutoFill in private browsing mode." into honeycomb
dd1173bc9be22a2bb5054a760a74d3d5e49161ed 18-Jan-2011 Derek Sollenberger <djsollen@google.com> Fix smart zoom for plugins that use OpenGL.

bug: 3331323
Change-Id: I4f1d4e0ecdb75283fc781bf5afe579f43610506c
ebView.java
oomManager.java
4bd87d6e47cb8fe17d41d1ed9cc98fa68f1592a7 18-Jan-2011 Ben Murdoch <benm@google.com> Disable AutoFill in private browsing mode.

Ensure that WebKit knows that AutoFill is disabled when private
browsing is on.

Bug: 3335257
Change-Id: I8c3e45175211e5cb00605c1dbf974e513c582d8e
ebSettings.java
0a191ae3287a0ab30d2f7cd6fdade84548dce6ae 18-Jan-2011 Cary Clark <cary@android.com> am cba57548: am b2601359: add interface to return if (x/y) is a plugin

* commit 'cba5754838fdd67fa333ec12f6626c8d9e07076f':
add interface to return if (x/y) is a plugin
7cef38bca1754041e901d19e1170314aec14cfe2 18-Jan-2011 Kristian Monsen <kristianm@google.com> am b3e976fd: am 0664c62c: Merge "Motorola request to fix proxy" into honeycomb

* commit 'b3e976fdd9f8b2273651f02ca84d403e448cfba7':
Motorola request to fix proxy
b2601359ea8d9675266c6b72b7209b1f6fae0b89 11-Jan-2011 Cary Clark <cary@android.com> add interface to return if (x/y) is a plugin

Use the nav cache to determine if a given
coordinate corresponds to a plugin.

Requires a companion change in external/webkit

bug:3331323
Change-Id: I07d7fdfd643768d600cd6ba81165fac8b553a77f
ebView.java
0e22f2b6096b4f0266ae2a9b2df3462b8638a605 18-Jan-2011 Iain Merrick <husky@google.com> Documentation tweak for CacheManager.

It can't be used independently of WebView.

Change-Id: Id90501ece0182481c7db541b5d1897782b7ee9c0
acheManager.java
6f6b64095093fbeece8970d3e4240745c72aef6f 18-Jan-2011 Kristian Monsen <kristianm@google.com> Motorola request to fix proxy

Change-Id: I2beecc2bef5a21294cc5fab0f11d4026f8ad3c2d
ebView.java
cbe397f243c4f1706cf7bbd9fcd07c1c13ccb097 14-Jan-2011 Huahui Wu <hwu@google.com> Merge "b/3348192 re-enable snap scrolling mode." into honeycomb
c010924da969a67156c6c227a6458df851072971 14-Jan-2011 Huahui Wu <hwu@google.com> b/3348192 re-enable snap scrolling mode.

Change-Id: I19c9a2afdf28367f623bd9bd6b25e822a06a215c
ebView.java
e8492473a94e827b9a73f1fa4f5741e85c0e832c 07-Jan-2011 Steve Block <steveblock@google.com> Hook up CacheManager for the Chromium HTTP stack

Requires a corresponding change in external/webkit
https://android-git.corp.google.com/g/87938

Bug: 3270236
Change-Id: Ibb6ee0531bde48d9b069de28f9f22891ca6d0718
acheManager.java
1916e7f3a341f9b25571ca4bde8ea1d8a22d815a 16-Dec-2010 Steve Block <steveblock@google.com> Adds a new WebViewFragment class

Cherry pick from master change 85641.

Bug: 3262357
Change-Id: Ife095f7db820bf0a2add682b47586854a4ea9499
ebViewFragment.java
bfbb089c7fcb2bc74f55fe3c171ef1b6df78b2da 14-Jan-2011 Huahui Wu <hwu@google.com> Merge "b/3133123 Pass touch point ids to WebKit." into honeycomb
e838a427786f136155b618962bd18781be8e012d 14-Jan-2011 Huahui Wu <hwu@google.com> b/3133123 Pass touch point ids to WebKit.

This is the CL in framework side and it needs the WebKit part CL:
https://android-git.corp.google.com/g/#change,89627

Change-Id: I11d4ffa29fa106d918332e6983090b06726ebd36
ebView.java
ebViewCore.java
558730510963ad80d7a539351b3f1cb16e3040c2 13-Jan-2011 Huahui Wu <hwu@google.com> Merge "b/3344966 pan following the focus point instead the first point." into honeycomb
f147d456a586cfb0de9be8ef6220c4f075189211 12-Jan-2011 Huahui Wu <hwu@google.com> b/3344966 pan following the focus point instead the first point.

Change-Id: Iaed482c7c4e8a616cbabf8c5af706b8160c880b1
ebView.java
1415bb7a948e0add9f6beb6dccbea70e9d2bedd0 12-Jan-2011 Leon Scroggins <scroggo@google.com> Merge "Differentiate between clicks for focus and actual clicks." into honeycomb
7a8f01abf98b6212358ea0e0401879093d2c0f93 12-Jan-2011 Kristian Monsen <kristianm@google.com> Merge "Add a static method to get the InputStream of a content URL" into honeycomb
6c5e4dc2312f0b6a3c02972c382d5a047793e734 12-Jan-2011 Kristian Monsen <kristianm@google.com> Merge "Adding a static method to get the size of a content url" into honeycomb
b45a263343d9c17d36c43d0f195ab5480e4bfa35 12-Jan-2011 Leon Scroggins <scroggo@google.com> Differentiate between clicks for focus and actual clicks.

Bug:3344162

Requires a change in external/webkit.

Change-Id: I6650a3084926fe4c241ccd7deca146e44460f29c
ebView.java
ebViewCore.java
342bfbf94fa806be8fefa7ff905ba0a0b0b98df0 12-Jan-2011 Huahui Wu <hwu@google.com> Merge "b/3340946 Fix NPE caused by null gesture detector." into honeycomb
8465cc9d88d9511a2fe03185b6d2ac3051eddd56 12-Jan-2011 Huahui Wu <hwu@google.com> b/3340946 Fix NPE caused by null gesture detector.

Gmail use WebView without instantiating the gesture detector. The Gmail team replied that they don't need the pinch to zoom feature so we can safely skip multi-touch events for them.

Change-Id: Id60a4d4583979ef5b420fff04c4ca097c0594024
ebView.java
92a9a3c5ef9774863b4cee93d43b67582a02c2f0 12-Jan-2011 Patrick Scott <phanna@android.com> Merge "Do not merge." into honeycomb
d1737edc13864b2304763167720b27b68791e25a 05-Jan-2011 Patrick Scott <phanna@android.com> Do not merge.

Cherry picked:

Add an api to toggle content url access.

By default, WebView allows access to content providers on the system. This
setting allows applications to turn off content urls.

Bug: 1196879
Change-Id: I49eaea6d7b9ccc3b3a4443d712222556087568c0
rowserFrame.java
rameLoader.java
ebSettings.java
87745ce21fe3f65b8cf7a92372c24227821318d3 30-Nov-2010 John Reck <jreck@google.com> WebStorage public API change

Bug: 3241140
Adds generic type parameters to the Map in the getOrigins method
and makes WebStorage.Origin class public.

Change-Id: I20e38d294486126f4719bad5fa99f5e3320a1026
ebStorage.java
7170bb6391f233ef09fdbfd2ea9d1dd77f306e68 12-Jan-2011 Cary Clark <cary@android.com> add null check to copy selection

This prevents a toast from appearing
if copyselection is done initially.

bug:3339016
Change-Id: If6f91b8f3794b3807fb3319fc542838abd431c64
ebView.java
3ede315d65b60f91893ce151eba4ce2f8a5b97bb 10-Jan-2011 Kristian Monsen <kristianm@google.com> Add a static method to get the InputStream of a content URL

Part of fix for bug 2862096

Change-Id: I91f7e7aa1f0fef10b1617e91a167594d4de41b71
niUtil.java
80ff5d82bdbad51378a45d3a378213346ea22df0 24-Dec-2010 Kristian Monsen <kristianm@google.com> Adding a static method to get the size of a content url

Part of fixes for bug 2862096

Change-Id: I86f1255c17efb367fac54b69b8de220d2874fc70
niUtil.java
49c771c4da8bb7cf135e6afed3a901b1744beb67 12-Jan-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "WebView accessibility key bindings do not allow mapping of all meta keys. Exception when turning off acessibility and having a WebView showing content." into honeycomb
b01c3d2bf2d81d30b6b0b1f8012a2bcbbad5acd2 11-Jan-2011 Svetoslav Ganov <svetoslavganov@google.com> WebView accessibility key bindings do not allow mapping of all meta keys. Exception when turning off acessibility and having a WebView showing content.

bug:3341772

1. Now a key in the binding is represented as a long with 32 MSB for modifiers and 32 LSB for keyCode.

bug: 3340732

1. Added check in the WebView key handling code to diable the accessibility injector/injected script in
case accessibility is been disabled after loading the content.

Change-Id: Ic3746dff16ec77ba682a5b139cec0e6afd8fc839
ccessibilityInjector.java
ebView.java
3ee37b12d598d7354fddb698bc6bdefb3b390f64 11-Jan-2011 Huahui Wu <hwu@google.com> Merge "b/3331379 reduce ping-to-zoom jitter." into honeycomb
9fafe4e0ebab270591a505f1f07fd2e5489a16f7 11-Jan-2011 Leon Scroggins <scroggo@google.com> Merge "Find when pressing enter. Call onClickListener in TextView." into honeycomb
7014b12873068f109f58b9d0ad4116fd8d4bf22f 11-Jan-2011 Leon Scroggins <scroggo@google.com> Find when pressing enter. Call onClickListener in TextView.

Bug:3313519

In Find ActionMode, Enter should call find on page (rather than
advancing focus to the WebView).

In TextView, pass and Enter key down to super, so that the
pressed state can get called properly, and the
onClickListener will fire.

Change-Id: Ia875fa6b5cf02565a0d066a009e68ce97718b032
indActionModeCallback.java
acd944cce270dd516950853f91ebb48235914161 11-Jan-2011 Huahui Wu <hwu@google.com> b/3331379 reduce ping-to-zoom jitter.

Change-Id: I522c86661777e670776b9fb448dc3333cef8b77b
oomManager.java
5d8e7a444c8b12030d32268d950d8649725dcd31 08-Jan-2011 Shimeng (Simon) Wang <swang@google.com> Change function parameter from int to float.

This change has a corresponding change in external/webkit:
https://android-git.corp.google.com/g/#change,88118

issue: 3225233
Change-Id: Icff31ef5c440cb02671ed363f57a0a5549cb32ef
ebViewCore.java
eafbce55714dbd1f89fe8c131d9c2adcbbc9383e 10-Jan-2011 Shimeng (Simon) Wang <swang@google.com> Ignore overflow:hidden in overview mode.

The feature was enabled to prevent flash sites from flickering due to
viewport height change when the site is scrolled.

Now fixed viewport height is in honeycomb, this flickering shall be
a non-issue. So to support better scrolling of overflow:hidden sites
and better consistency, overflow:hidden in overview mode is ignored
as well.

Tested on flash site http://home.disney.go.com/mwc.index to make sure
no flickering happens. More testing shall be done once good flash
player is there.

issue: 3330038
Change-Id: Ia3f61ce49cfb970d26976d4e876c337d210a9df2
ebView.java
d5208cf42c0f9b281505cb465b4de4e8179a6f9f 11-Jan-2011 Leon Scroggins <scroggo@google.com> Merge "Enable write ahead logging on databases used by WebView." into honeycomb
86e1fa647f7541b091753cf6a2314935b1011406 10-Jan-2011 Leon Scroggins <scroggo@google.com> Remove nativeCursorMatchesFocus, which is no longer necessary.

Bug:3335014

Requires a change in external/webkit.

Change-Id: I1dbaa73e86f312c6142c915e8cb252cf238f09c3
ebTextView.java
ebView.java
0904c0dcfb11da9bb756b8d4f8a817b5efc9edc0 08-Jan-2011 Huahui Wu <hwu@google.com> b/3302354 Always pass multi-touch events into WebKit, then handle them in WebView if preventDefault is not set.
WebViewCore.java: add a MotionEvent field into TouchEventData for multi-touch so the extra data such as pressure, size can be preserved.
WebView.java:
1. Extracted the common code for multi-touch and single touch to a new private function: handleTouchEventCommon()
2. Extracted the multi-touch code, including zooming and panning, to a new private function: handleMultiTouchInWebView()
3. In onTouchEvent(), single touch events keep the code path, but multi-touch events are always passed to Webkit first.
4. In Privatehandler.handleMessage(), if WebKit didn't consume the multi-touch event, the private handler calls the handleMultiTouchInWebView() to zoom and pan.

Change-Id: I3eba8812bd7cf6a298ff12e0b66223dae6725060
ebView.java
ebViewCore.java
09eac425c29bdd89d5805af514353f0d55c3b8d7 10-Jan-2011 Leon Scroggins <scroggo@google.com> Enable write ahead logging on databases used by WebView.

Bug:3337213
Change-Id: Ic687bc506faba23c3e52e44f0a5d0146a352206e
ebViewDatabase.java
19abf2d7a5e05ed86e10e93cfcfd286b37a6dab8 10-Jan-2011 Leon Scroggins <scroggo@google.com> Do not store the find callback until action mode starts.

Bug:3331652

Prevents a bug where showFindDialog was apparently
called twice.

Change-Id: Ida473ef1b9b1b8b641fa3432b55d7a92eb7d0808
ebView.java
9cac3c31d29134f9bf4de10765b81ed45c13d31a 07-Jan-2011 Leon Scroggins <scroggo@google.com> Remove the option to use shift to start selection mode.

Bug:3329956

Also ensure that keys dispatched while the WebTextView
is attached get sent to the WebTextView.

Change-Id: Icd9125a85929089a6f376b71c1cb40e885264168
ebView.java
b74e32cc7ded9b26c1ba1e1bcff98fc9e7128562 10-Jan-2011 Cary Clark <cary@android.com> Merge "add more alt key acceleration in webview" into honeycomb
36fd7a39caafac26ea3d56ffc924bce0a53092f1 08-Jan-2011 John Reck <jreck@google.com> Tweak user agent building to avoid multiple spaces

Bug: 3211038
The building of the user agent could previously have multiple sequential
spaces. This was causing the CTS test to fail.

Change-Id: I13fc76ba6b97ee84dd44461b4d03b6ca70b48cdf
ebSettings.java
a3ee56f4ae7c55da4663ae475a60b5382ac41655 10-Jan-2011 Cary Clark <cary@android.com> add more alt key acceleration in webview

Make key accceleration exact; if alt is required,
allow only alt, and so on.

Also, set the touch point when nav'ing with the arrows
or trackball so that context menus have a point to
work with.

bug:3301564
bug:3241968
Change-Id: I574ce145941e84ac0934efd323d9db71eec11663
ebView.java
aa6b9f55d60702211dd2d08403c7296347f0bd7d 10-Jan-2011 Leon Scroggins <scroggo@google.com> Do not show autofill++ or saved form data in incognito mode.

Bug:2968399

Also do not save the form data in incognito mode.

Change-Id: Ice6a1cb3620b5cf272b6b361ce11f8abef269a89
ebSettings.java
b9aaa776a66a7a70beb7f579898ddbe1fb4078df 07-Jan-2011 Cary Clark <cary@android.com> scroll selected text in scrollable layers

Compute whether the initial tap point is in
a scrollable layer or not. If it is, get
the bounds of the scrollable layer and use them,
clipped to the view, to determine when the
select anchor is dragged close to the layer's
edge, to invoke autoscrolling.

Fix some bugs around stopping the autoscrolling
when there is nothing to do, and when a motion
up event is sent.

requires companion change in external/webkit

bug:3191699
Change-Id: Ic9229b063a8102ec93d0cd5bcaba774cc170c106
ebView.java
c93fb656dc9393f194c623dc897c5352d9192544 06-Jan-2011 Svetoslav Ganov <svetoslavganov@google.com> bug:3325039 Making the cursor ring movement send accessibility events.

1. Added a mechanism to select the cursor ring content if accessibility is
enabled - This is achieved by sending an event to the WebCore thread
(if accessibility is enabled) to select the content of the cursor when
the latter moves. Added code in WebViewCore to select the given node
and notify the UI thread for the selection markup which is delivered
of the accessibility injector which manages sending accessibility
events. This is relevant for adding accessibility to WebView if
JavaScript is not enabled. (If JS is enabled we inject a screenreader
written in JS).

2. Fixed the event delegation to the accessibility injector since it
should be able to consume key events of interest and perform some
action which leads to sending appropriate accessibility event.
In the previous implementation it was possible that the injector
consumes the event but the latter was bubbled up.

3. Added function to scroll the selection into view while moving it
around based on user commands.

Note: This is a part of two project commmit.

Change-Id: Ibb81d0468726efbe3bf6e3add1b19c69e3206638
ccessibilityInjector.java
ebView.java
ebViewCore.java
2358623917067ad57a14ffe66e445ab779d6c5b7 07-Jan-2011 Leon Scroggins <scroggo@google.com> Merge "Do not update matches string when there are no matches." into honeycomb
73254be0ddfc075521a63a069c6c30d200dca557 07-Jan-2011 Leon Scroggins <scroggo@google.com> Do not update matches string when there are no matches.

Bug:2927451
Change-Id: I6374ffcc9d0710d69206d2f1f31a908b010a75bf
indActionModeCallback.java
808751fe7ac16bf7224cba284a318695d8093355 04-Jan-2011 Steve Block <steveblock@google.com> Avoid superfluous calls to CacheManager with the Chromium HTTP stack

When using the Chromium HTTP stack, most of the calls to CacheManager
methods are not required, as we're not using its cache. These methods
are now marked with asserts to make this clear.

Also avoid creating the cache database in WebViewDatabase.

This will avoid creating the database databases/webviewCache.db and
the directory cache/webviewCache.

Bug: 3270236
Change-Id: I68f94dde16830ed817454d5e1af961f41b71d018
rowserFrame.java
acheLoader.java
acheManager.java
rameLoader.java
oadListener.java
ebViewCore.java
ebViewDatabase.java
ebViewWorker.java
5f6bcc17e94e53af155570bb4a1c774eada7ec4e 07-Jan-2011 Steve Block <steveblock@google.com> Merge "Remove some superfluous null-checks when constructing a CacheResult" into honeycomb
e85ffea862a6b140269ac1b62372d4e9066fcf9c 07-Jan-2011 Shimeng (Simon) Wang <swang@google.com> Make sure the reading level scale is within min/max limits.

This potentially helps the following issue. But anyway, this change
is good to have.

issue: 3292648
Change-Id: I0ad74b802d7ce2c3d66de8115187638f1d5e72ff
oomManager.java
b83a4b98de886ee3604d135c28e5ac3014acaaf6 06-Jan-2011 Cary Clark <cary@android.com> Merge "pass enter key to webkit more often" into honeycomb
ddbda005ad6c14bac49a5548753552c8eabb0e3d 06-Jan-2011 Cary Clark <cary@android.com> pass enter key to webkit more often

If the cursor is active and on a node that doesn't want
key events, treat the enter key as a click.

Otherwise, pass key down and key up to webkit.

A companion change in external/webkit adds frames
as nodes that wants key events.

bug:3325093
Change-Id: I134d2999505925ee1e571841759cb295103b5a30
ebView.java
7a1121511d8b587a3ab9fc971c0e85cef38f3f81 05-Jan-2011 Steve Block <steveblock@google.com> Remove some superfluous null-checks when constructing a CacheResult

Change-Id: I57f0283872b788f84fef1667f79c37f4d92a5868
acheManager.java
67ba204aa23e7d5a96ad241a1623e44976b51741 04-Jan-2011 Steve Block <steveblock@google.com> Tidy up CacheManager comments and documentation

Change-Id: I3a7d3836a51ef3092652ade87f29bc84af69ee7d
acheManager.java
e7fc1d26c5061cda7076d974f705c240e4e244fc 22-Dec-2010 Steve Block <steveblock@google.com> Remove an unused non-public CacheManager method

Change-Id: Ia0bef0a66167ce948802701e1dd85e82b937dbdf
acheManager.java
22c5dfcaed59c5cfe68c8b4007836d646badc610 05-Jan-2011 Shimeng (Simon) Wang <swang@google.com> Merge "Refactor zoom overview width calculation."
67a08dda3487a530630cdd1d89224548521b53e1 05-Jan-2011 Leon Scroggins <scroggo@google.com> Merge "Show the keyboard when opening Find from the menu."
ae0238cae5aa3656c4da128c8951cedc902e6092 05-Jan-2011 Leon Scroggins <scroggo@google.com> Do not show past entries if autocomplete=off.

Bug:3300365

Requires a change in external/webkit.

Change-Id: I2f15d9dfce1002d0bf7a77a14605769fd654aa51
ebTextView.java
ebView.java
eb492a02fd5a95f7e3fbf796fdda9e0d82cc15a4 05-Jan-2011 Leon Scroggins <scroggo@google.com> Merge "Do not open the keyboard when opening Find from CAB."
2c782e3d537c8b5b5182647c36a91bfc601684e6 04-Jan-2011 Shimeng (Simon) Wang <swang@google.com> Refactor zoom overview width calculation.

Refactor zoom overview width calculation in FirstLayout and NewPicture;
also taking care of the case when wide viewport is not enabled.

This fixes the setInitialScale Cts test case, which is broken by some
scale related changed for fixed viewport browser.

issue: 3242034
Change-Id: Ie54d089763ee38029ef25e6029884a17c2135f97
ebSettings.java
oomManager.java
18cf9a7828f0b50daf967e22f0c5308b68d2919a 05-Jan-2011 Leon Scroggins <scroggo@google.com> Show the keyboard when opening Find from the menu.

Bug:3324846
Change-Id: Ia8b1eea096660b3c01bc0ee3906ecc86ec1c20f3
indActionModeCallback.java
624051aabf6f22f08a8f24ca463377a18cb81941 05-Jan-2011 Patrick Scott <phanna@android.com> Use the app context to avoid a memory leak.

Bug: 3288583
Change-Id: Id259a0148c06f6e98b94c07e5d2e2296c6aef65a
rowserFrame.java
571354fd29db3e4855e2f179c2c6ad47f4eefd77 04-Jan-2011 Leon Scroggins <scroggo@google.com> Do not open the keyboard when opening Find from CAB.

Bug:3312049

Do not start Find on page if the action mode fails to
start. Clean up showFindDialog.

Requires a change to packages/apps/Browser

Change-Id: I204315665d3bf9f3ac78e78c4059c5a6f24695db
indActionModeCallback.java
electActionModeCallback.java
ebView.java
2cdee233125a6cc4b00a2962d5a50273d6bb5410 29-Dec-2010 Cary Clark <cary@android.com> make select all, copy text public but hidden

For keyboard accelerators, add public interfaces
to copy text and select all.

bug:3270434
Change-Id: I4a38b95a373dcf73575f66fe13b082205d2423ce
ebView.java
1451862b0af3a2d7df5f0eb2878863a583922177 04-Jan-2011 Derek Sollenberger <djsollen@google.com> Merge "Add full-screen support for OpenGL based plugins."
36a4f232c6afeeb43d5561ff27dae9ac2e1303fc 04-Jan-2011 Derek Sollenberger <djsollen@google.com> Add full-screen support for OpenGL based plugins.

bug: 3321891
Change-Id: Ief8ef6d3c4b9ea535054b80b84df080567b9b163
ebViewCore.java
12bed78d23c28930b9340a734f633c1b860a169f 03-Jan-2011 Svetoslav Ganov <svetoslavganov@google.com> Fixing bugs 3315632 3235958, performing a clean up of the WebView accessibility feature. Updated event hadndling to deliver all key events to javaScript if a screen reader is injected since the latter is responsible for the full set of navigation and exploration actions.

Change-Id: Id1639828559161e0850dee04baa0a7afb2576ea8
ccessibilityInjector.java
ebView.java
122da932e0fd8a261c9440008306eba0f30693f4 28-Dec-2010 Cary Clark <cary@android.com> defer accelerator keys to hosting application

Allow the hosting application to do what they want if the
control key is pressed. In particular, let our Browser
map Ctrl-arrow to back and forward.

bug:3270434
Change-Id: I2dfa648edbf5a0e48b674df5023182b4a70985f6
ebView.java
aa86ac82bc296931d4de6715fa966be8d0f8af2f 28-Dec-2010 Cary Clark <cary@android.com> map keyboard for webview

Treat the numeric keypad enter as the regular enter for the
purposes of completing a text entry or activating the currently
selected link.

Add a little keyboard-related debugging.

Don't call select text to extend the selection if the tap
point hasn't moved.

A separate change to the Browser app adds more keyboard
accelerators.

bug:3270434
bug:3191699
Change-Id: I8a38b26196e93e344dc2a4b39a6968fe0c158d47
ebTextView.java
ebView.java
9437d916f41be4a360db6ab983724be5d7253f28 23-Dec-2010 Kristian Monsen <kristianm@google.com> Only register one ProxyReceiver

Change-Id: I0a86a0149fd944faca775cca4360774d9cba250d
ebView.java
6b91b45e3151bf07d761939694c18158e4eed4fe 23-Dec-2010 Kristian Monsen <kristianm@google.com> Only store Application context

Context from an Activity are not meant to be store past the
lifetime of the Activity.

Fix for bug 3306898

Change-Id: Ib2f12cbdc3ec8aa0a6adf4770e6be4569fa6402c
niUtil.java
ebView.java
16d041cc9f4b67c37abf7dc5f8d49c7de81f2c84 06-Dec-2010 Kristian Monsen <kristianm@google.com> Adds CookieManager methods to configure policy for cookies for file scheme URLs

Needs https://android-git.corp.google.com/g/83647 in external/webkit,
which disallows such cookies by default and provides configuration
methods native side.

Also updates TestShellActivity to allow such cookies, as they are
required for the page cycler.

Bug: 2944150
Change-Id: Idcc7e2812fab33e6a2a8766a2176bc3278e617da
ookieManager.java
41e7e6f9339cd9181df26ca96f0ac133371bc524 21-Dec-2010 Kristian Monsen <kristianm@google.com> Retrying sending proxy changes to webkit

Now checking if the ProxyProperties object is null, and if the
string returned by getHost() is null.

Change-Id: I727e26c2a41fe057501c3b610ba6fa221d16da45
WebCoreJavaBridge.java
ebView.java
ebViewCore.java
77788f815374cd0d611f8be0d00b45f0e1dd45ec 20-Dec-2010 Huahui Wu <hwu@google.com> Revert "Merge "Send proxy changes on the webcore thread to WebKit""

This reverts commit ea8f4e0d667b1da70960e35f16ed371ffb4ad2ed, reversing
changes made to fd4dda8d77231db01b26686f61601a999a2d96f3.
WebCoreJavaBridge.java
ebView.java
ebViewCore.java
64a2f6bd06d4df1a34b4187ff750ec559a4d0597 17-Dec-2010 Kristian Monsen <kristianm@google.com> Send proxy changes on the webcore thread to WebKit

Change-Id: I16995b4595e931715b064702ae570c387cf453f3
WebCoreJavaBridge.java
ebView.java
ebViewCore.java
c4d251bbe19828d6f134ac378fc9124332eb6eae 20-Dec-2010 Kristian Monsen <kristianm@google.com> Merge "Remove WebView leak"
4190aab1c970780126f1d9db7a91579065cd6870 16-Dec-2010 Kristian Monsen <kristianm@google.com> Remove WebView leak

We were leaking the first WebView created since we kept a reference
in a static variable. Using the new way of sending messages in a
static method to avoid this.

Change-Id: Ibb665e32c22c16c17176cd69bf8f7e83fd94894f
ebView.java
ebViewCore.java
c96235deb9f4d08285f3b1a2c28ea9f771b40f47 13-Dec-2010 Iain Merrick <husky@google.com> Deprecate CacheManager.

This class gives fairly low-level access to the HTTP cache, which
as far as we can tell was only exposed for the benefit of Gears.

BUG=3270236

Change-Id: Ibce10ecf8b524d3f472affa2a37fe4de15efd2ed
acheManager.java
1c602b3ee11fcdb429527ad6a7162219a94cabbb 17-Dec-2010 Kristian Monsen <kristianm@google.com> Merge "Add methods to send messages to the WebViewCore whithout having a reference"
8a4fd2f8e7f78538adad82f4c95e8746f880abcc 17-Dec-2010 Leon Scroggins <scroggo@google.com> Do not allow text selection if there is no ActionBar.

Bug:3276538
Change-Id: I060f14471e26e4bc1bf9773b847e0dbac9228426
electActionModeCallback.java
ebView.java
b67529b905440e2ba550742773b927abad882c19 17-Dec-2010 Iain Merrick <husky@google.com> Add setContentLength method to CacheResult.

This is needed to construct a cachable CacheResult object.
Currently only WebViewWorker is able to do this, by updating
the fields directly.

Bug: 3270236

Change-Id: I50148697dcee4d329e1436a2ce4c15224cb5ae30
acheManager.java
d4819a722bc5816130fe42ee0cc9f5e02c687f96 16-Dec-2010 Kristian Monsen <kristianm@google.com> Add methods to send messages to the WebViewCore whithout having a reference

Change-Id: I8543e862e7a93651c3e3fa9bcefc8ea5f857a152
ebViewCore.java
6a4d0a6af20d4ba88f8eeb658c68757c0926cbc5 16-Dec-2010 Iain Merrick <husky@google.com> Merge "*Don't* disable CacheManager when using Chromium HTTP stack."
811665e905f794e3ea20659ae78d322002bd329d 16-Dec-2010 Iain Merrick <husky@google.com> *Don't* disable CacheManager when using Chromium HTTP stack.

This reverts CL https://android-git.corp.google.com/g/84508

After lengthy discussion we have decided that disabling CacheManager
is too risky for third-party apps, and that enough functionality is
still available for it to be useful.

WebView.loadUrl() will not add pages to the cache, but it is still
possible to add them manually via CacheManager.saveCacheFile().

Change-Id: I6cfd9f93bb8d685450f048375adad9d17fa4eeba
acheManager.java
d085e1c34fc76449e3bf1aacd54a57414a0eca80 16-Dec-2010 Kristian Monsen <kristianm@google.com> Merge "Fix for crash in third-party app"
633567468ac1d1dd4c4a46d7cc5e79a14218beb9 15-Dec-2010 Leon Scroggins <scroggo@google.com> Do not remove WebTextView when focus size changed.

Bug:3244237
Change-Id: I3302a4c0544a19f0f96bce833010889c4742a3a0
ebView.java
d24ce5949dcc6e0c577ee9b9278ba1401b9e9c54 16-Dec-2010 Kristian Monsen <kristianm@google.com> Fix for crash in third-party app

Dolphin crashed when sContext.getCacheDir got called too early.
This was because the let the user choose to use sdcard or
internal memory, and the choice was not yet made.

Change-Id: I8b3ba260c26233c6459efbb9e5e50fad2260a24d
niUtil.java
e2975f17ccd87399ecbc7b4c0ee93253706a9b6f 14-Dec-2010 Huahui Wu <hwu@google.com> b/2946595 Remove the touch events filter upon maps.google.com team's request.

Change-Id: I83966bc447f67abdce47a77cb682bc3e834184c3
ebView.java
861368a307cb1763b567ba90e418b1523359ee71 15-Dec-2010 Cary Clark <cary@android.com> extract anchor href and image src separately

Long pressing a link may return an anchor, an image, or an
image in an anchor. Sometimes we want one, sometimes the other.

Make both available so the context menu can choose.

Update the documentation in WebView.java

Companion changes are in external/webkit, packages/apps/Browser

bug:3282745
bug:3263340

Change-Id: I9917a2c69d26601a230051f2e95c9464ba6155e9
ebView.java
ebViewCore.java
957e9ca26ec2b201b6cfbc330f472c0a03168693 15-Dec-2010 Huahui Wu <hwu@google.com> Merge "b/2864818 Prompt the SSL error dialog to user and proceed or cancel the request. C++ side cl: https://android-git.corp.google.com/g/#change,84529"
ad053cebc82cbdd7534fcdef095fe79396da3100 09-Dec-2010 Huahui Wu <hwu@google.com> b/2864818 Prompt the SSL error dialog to user and proceed or cancel
the request. C++ side cl: https://android-git.corp.google.com/g/#change,84529

Change-Id: I1f4c69c6ddb92324a1ec3c193018e8d703454f56
rowserFrame.java
etwork.java
slCertLookupTable.java
slErrorHandler.java
slErrorHandlerImpl.java
92272ab18945d93e7569fc73692220bf1365af36 15-Dec-2010 Ben Murdoch <benm@google.com> Merge "Remove fragment as well as the query from URLs when resolving MIME type"
fcf577665bb7ad029e41fd31d5f582f3c98d3026 15-Dec-2010 Leon Scroggins <scroggo@google.com> Make a long press on a textfield work.

Bug:3268584

Even if the WebTextView has not been set up yet.

Change-Id: I8ec2c4ef8146006d6ee84d08e1ddbdb099125047
ebTextView.java
ebView.java
1870015932895244e668a85fb4100632ac949cc3 14-Dec-2010 Ben Murdoch <benm@google.com> Remove fragment as well as the query from URLs when resolving MIME type

When we try to deduce the MIME type from the file extension of
a URL, strip the fragment off at the same time we are stripping
the query. Otherwise we end up trying to match against some
funny extensions.

Bug:3241908

Change-Id: Ibaa84f0a628f37cd012b6cfbed9a6a666ecae8bb
imeTypeMap.java
a60f00ffec251a13544973f43bf10df2b3e90011 13-Dec-2010 Leon Scroggins <scroggo@google.com> Merge "Use black text on white background for dropdowns."
60344deb7cc3de88b2f2da1f58d93b86e5ed2eab 13-Dec-2010 Leon Scroggins <scroggo@google.com> Use black text on white background for dropdowns.

Bug:3249233
Change-Id: I8c400c4ab043409e40a1180d45effd4513d0657c
ebTextView.java
e0893a8555b068ffe7a0666749e64e1b465e4898 13-Dec-2010 Adam Powell <adamp@google.com> Merge "Smooth out gesture zooming in WebViews."
7400be47b7644c27151d79f77a10067024c96875 13-Dec-2010 Kristian Monsen <kristianm@google.com> Cleanup of private browsing files are now done in webkit

Bug 3243891

Change-Id: I51e63a96bf1c95cd8e675a3d94a4aa210418e216
ebView.java
d2f44b7a3249336cd54eea836344f3a336421fdd 13-Dec-2010 Patrick Scott <phanna@android.com> Merge "Suppress scrollbars during layer fling."
0f868ca036ed6dcd835dfb2d8f8842f344d4f5ff 10-Dec-2010 Iain Merrick <husky@google.com> Disable CacheManager when using the Chrome HTTP stack.

Currently, cacheDisabled() reports false, but no files are ever
added to the cache. This CL makes the framework more honest and
reports that the cache is disabled.

BUG=3270236

Change-Id: I13c0291ac295d965f71f1e70dbdebc74b95ddce0
acheManager.java
d1281286f2e9403b0ae066b823b39ecfd144ba52 13-Dec-2010 Iain Merrick <husky@google.com> Merge "Move useChromiumHttpStack() from CookieManager to JniUtil."
5b87e296c5bd24b9df00723b51cc80f4777f413d 13-Dec-2010 Patrick Scott <phanna@android.com> Suppress scrollbars during layer fling.

Change-Id: Ia6bc1f48e464212d5b9cebef27e4527b0bc93713
ebView.java
c5ab8b331d0383d928c57befb3829646adbab8a3 13-Dec-2010 Leon Scroggins <scroggo@google.com> Merge "Use drawLines to draw the outline of the WebTextView."
63814df667df0adb28eb78e6736ca5c10cd5187a 12-Dec-2010 Adam Powell <adamp@google.com> Smooth out gesture zooming in WebViews.

Change-Id: I42c1182f82af3ed16cd23efc056d7c9c34e32940
oomManager.java
6e9b327d08f48f0ae4f8b9eba49ad2f67fcb636c 10-Dec-2010 Leon Scroggins <scroggo@google.com> Use drawLines to draw the outline of the WebTextView.

Bug:3214760

Optimize drawing the background of the WebTextView.

Change-Id: Iad44839137ffa3b91dd2044885028c283291b491
ebTextView.java
11c1a0be5d8332e662ccc00f4cb66d821e79c8df 07-Dec-2010 John Reck <jreck@google.com> Fixes Android HTTP cache permissions

Bug: 3244281

Change-Id: I372475bc2d9bd2f2354ee603f77468df0cb043bf
acheManager.java
a106993a5147037ad207f23d0224482be0c44b39 10-Dec-2010 Iain Merrick <husky@google.com> Move useChromiumHttpStack() from CookieManager to JniUtil.

This is a generally useful method, not specific to CookieManager.
I want to use it to modify the behaviour of CacheManager when we're
using the Chrome HTTP stack.

Corresponding C++ changes in I78a92cb2

BUG=3270236

Change-Id: I56b0ddcaa93ef340f4ffc3578486c3c96316f2ec
ookieManager.java
niUtil.java
0fa484ac3767a7849f3d7f481bcf8ae151b2e956 09-Dec-2010 Ben Murdoch <benm@google.com> Add a "Web Search" option to the WebView select text ActionBar

This change allows selected text in a web view to be used as a search
query.

Bug: 3132422
Change-Id: I9ed2a5913641b37732586f8d8aa8a80c3486b606
electActionModeCallback.java
e627f55bf8eaadf8d404b9592608e05b8a33ef5e 09-Dec-2010 Ben Murdoch <benm@google.com> Merge "Make audio tag cope with live streams"
6b82c266070a1ba8e703def509e1c9b6dc8e6788 09-Dec-2010 Leon Scroggins <scroggo@google.com> Merge "Dismiss IME when pressing Next or Previous."
261f42d64dbd6d59af8ffecb315169b747167cc1 09-Dec-2010 Leon Scroggins <scroggo@google.com> Dismiss IME when pressing Next or Previous.

Bug:3267230

Change-Id: If4ea2f589c42f7346685a7ce754298dd8e5a00b5
indActionModeCallback.java
9059f44feedbbde4f486c9448b4818ba54f50538 09-Dec-2010 Ben Murdoch <benm@google.com> Make audio tag cope with live streams

Live streams seem to take a little while to initialize, so it's feasible
that we might get a play request before transitioned to the PREPARED
state. In that case track that we should start playing when onPrepare
completes.

Change-Id: I66ed0ef3a0905a1c5d4206fb2e7bbcc05a593fc7
TML5Audio.java
851730552166bf6e99ed60438ba91f09f36b829f 08-Dec-2010 Kristian Monsen <kristianm@google.com> Make CookieManager.removeSessionCookies async

Webkit loadurl() will wait on the webcore thread until oustanding
cookie operations complete.

Change-Id: I067408fdb9acd2e2d1f1f21eef910d0b26304332
ookieManager.java
ebViewCore.java
5513337a4c812a6ffaed07edcf654c8bf921ad89 08-Dec-2010 Teng-Hui Zhu <ztenghui@google.com> Webview listen to Scroll event to update the viewport

In the case of unchanged layout, like replying in email/gmail,
scrolling should cause a viewport calculation update.
Otherwise, the content will be skewed.

Also, rename the mListener to mGlobalLayoutListener to avoid
confusion with added listener.

bug : 3143829

Change-Id: I7f5ee2e2cc9524e21cfffeef40b8650b6ee9a387
ebView.java
5e17a1a18c47d2e37e8b93582caa30d147924293 07-Dec-2010 Cary Clark <cary@android.com> don't scroll past the document bounds

bug:3260869
Change-Id: I255d2b18d738a422bd9d2948621b65e2f54ca0cd
ebView.java
81f19ffb943eeabddd4b04770e974a2a6825f5a8 01-Nov-2010 Steve Block <steveblock@google.com> Expose WebView.onPause() and onResume() in the public API

Also fixes up captialization of 'JavaScript' to be consistent.

Bug: 3054638
Change-Id: Ib60da17edb818c97013b399b4442f72c3bb386bd
ebView.java
689a342b0f8badbc87e67938f7a2fd3798e6f8eb 07-Dec-2010 Steve Block <steveblock@google.com> Add WebView.removeJavascriptInterface()

Bug: 3234178
Change-Id: I7136f8d76b20f90a7e9e1c55b6755ffe6c35b77b
rowserFrame.java
ebView.java
ebViewCore.java
88ec644d67ff774b7f2366440c78b5c6ff0cd957 07-Dec-2010 Shimeng (Simon) Wang <swang@google.com> Prevent scaling beyond zoom overview scale.

issue: 3243899
Change-Id: I1d6cbb1b1f75c7aadb3b9cc6e82d912217508dc4
oomManager.java
6231091feb616fb4cab1bdbf4c2e23a73df69454 06-Dec-2010 Patrick Scott <phanna@android.com> Add fling to scrollable layers.

Requires a change in external/webkit.

Use the normal drag/fling pipeline but handle layers in each of the callbacks.
Record the scrolling range for a layer and use it to compute the fling/drag
ranges. If the user reaches the edge of a layer, switch to scrolling the main
page unless the user switches direction.

Change-Id: Ifedde8fcf4f76d533586164c75defcebffec16e9
ebView.java
dc09b5ae896fcef3e862411cf6a0208d8ff9988a 07-Dec-2010 Cary Clark <cary@android.com> check for native instance before calling

bug:3258992
Change-Id: Ia9bf7bdbbe2b5566121113174d032d316664f3b1
ebView.java
244d2d4e9d92afaba2cb497d035305e50f431940 06-Dec-2010 Leon Scroggins <scroggo@google.com> Delay message for <select> choice.

Bug:3230016

Pass the message after the page is set to active, which
calls a focus event, which may modify the page.

Change-Id: I594ba30a7a105595b27bc0356c164c41e48dcd15
ebView.java
3331f2be93902694ccda848d88b4008eb3a22baa 03-Dec-2010 Mindy Pereira <mindyp@google.com> Make webview edges behave the same way abslistview overscroll edges do.

The assets are not scaled to start before the left or after the
right edge of the view.
For the top edge, start the canvas for rendering the glow
after the title bar (if it is visible) or most of the glow
gets cut off.
Change-Id: Ia1a513fda4d1106d671919bb289aa83f8800c2c2
verScrollGlow.java
ebView.java
768ec6f2be1ca7bd7ac5ae34498bdfaa1fbe19dc 06-Dec-2010 Iain Merrick <husky@google.com> Merge "Call flushCookieStore() from CookieSyncManager."
99f39771ab15fc13d221ebfb3682741002c5f7b1 06-Dec-2010 Iain Merrick <husky@google.com> Call flushCookieStore() from CookieSyncManager.

I previously tried to make this a new public API, but I realised
it should actually hang off the existing code in CookieSyncManager.

Change-Id: Ic44334008266bad5ba1245cf674350a4c10712ce
ookieManager.java
ookieSyncManager.java
961d55fe00577921c9a803a315bed0a7f87544cb 02-Dec-2010 Ben Murdoch <benm@google.com> Prevent autofilling directly after autofilling.

Clear the WebTextView's data adapter after autofill fills
out the form. This ensures that the dropdown disappears.

Change-Id: I2fd1e8b5d249f6ff3943d0a0b5d2f2b55beac70a
ebView.java
ebViewCore.java
3712754941df698a80c6aafbe0ce3c038e69403e 04-Dec-2010 Shimeng (Simon) Wang <swang@google.com> Make sure the returned web view width is at least 0.

This will fix issue 3241963; since in WebViewCore.java there's a way
to deal with a 0-width view, but not with negative width.

issue: 3241963
Change-Id: I177bee48e53ba5108889bc2c06aebffbc6cb44c6
ebView.java
c99821d01ab0c1cee54ccb0556e621dfe2ddb55f 03-Dec-2010 Teng-Hui Zhu <ztenghui@google.com> Fix the stretching issue when viewport change.

When native webkit code ask java to provide the visibleRect,
the calculation should not take the overscrolling into concern.

The original change was added for this issue, http://b/issue?id=2496502,
and we don't have overscroll any more, so it should be safe to
revert the original change.

bug:3212547

Change-Id: I57e3353b3277f83302ccfd9916a38aa691fa15c7
ebView.java
189ee18d6c6483ad63cc864267328259e2e00b95 03-Dec-2010 Dianne Hackborn <hackbod@google.com> Implement smarter sizing of WRAP_CONTENT windows.

This extends the view hierarchy's measure pass to allow view to
propagate up to their parent additional information besides just
their measured size. They can now report that their measured width
and/or height should be larger than the size their parent is
limiting them to (even though by definition they need to contrain
their reported measurements to the limits imposed by the parent).

ViewRoot uses this information to determine if it should remeasure
the window with a larger size limit to try to make it fit.

Change-Id: I90af3b7a8ec45d0a5c003fb009857025209d83eb
ebView.java
32820249adbcacb7a7a1d35f22a892badda03f3e 03-Dec-2010 Cary Clark <cary@android.com> abandon long press on scroll; clear hit on keydown

If the application scrolls the webview without allowing
WebView.java to receive the motion event, stop any long
press timer in progress. This prevents select text from
appearing in applications that host webviews and do their
own flinging.

If the cursor is moved with the dpad or trackball,
reset the hit test state used by long press. This allows
cts tests to run reliably; they emulate key presses
to move between links.

bug:3250291 (app fling)
bug:3241830 (cts fail)
Change-Id: Ida364051ffa090455ddc6c3c3dd41baea5615293
ebView.java
2f492277eac43ce0b0a064d509c3016674e25a27 03-Dec-2010 Patrick Scott <phanna@android.com> Attempt to scroll layers everytime the user drags.

This allows the user to continue scrolling a layer even after reaching the end
of it. Only pin the fling velocity in the direction of the fling. This is
preparation for flinging layers.

Record the inval region when updating layers so that the new layer will draw.

TODO: Keep track of whether the user started on a layer to prevent scrolling a
layer if the user drags across one.

Bug: 3022562

Change-Id: I25f84497a67dfb1e0fc424207f6c97817715501c
ebView.java
ebViewCore.java
544295eebc1257e8c37b80b1ea7605a7915f0f06 02-Dec-2010 Steve Block <steveblock@google.com> Update WebView.addJavascriptInterface() to ignore null instances

Bug: 3247571
Change-Id: If6a108fe926e45dc3e298f197f6534c575c560e2
rowserFrame.java
ebView.java
a7f76874f5493e6f18be91c1d13e572d68f1dd20 29-Nov-2010 Teng-Hui Zhu <ztenghui@google.com> Use the globalLayout to notify the GlViewport change

Given the fact that our optimization is enforced to avoid sending
the onLayout message down to webView, utilizing the globalLayoutChange
message seems like the best solution here.

http://b/issue?id=3103077

Change-Id: I9a2d5576454641802019a5eeb64908026b40dd9b
ebView.java
e6fb0f1d7cb90b00abc2d6ecac1442d23856f0f1 24-Nov-2010 Teng-Hui Zhu <ztenghui@google.com> Properly set the viewport for WebView when using GL

This is the first step, get the calculation right.
We still need to get the right message handling to get
the correct animation in Gmail .

http://b/issue?id=3103077

Change-Id: I3ed186b62ddb285e92a71d3ba5c02d4965068282
ebView.java
2ac445cbb736f405695abaed1232969a4e2c7728 01-Dec-2010 Leon Scroggins <scroggo@google.com> Do not remove the embedded title bar when starting Find.

Bug:2927138
Change-Id: I97adb4431aedca172a5951d727ad559de5101924
indActionModeCallback.java
ebView.java
4b90378af027dcaa8deed84f3295169c48468573 30-Nov-2010 Patrick Scott <phanna@android.com> Allow one finger to scroll layers.

TODO: Add velocity.
Change-Id: I548ef6332b260a2aecc39422012523cb6f8e2523
ebView.java
61c6ddbb0b76627408ae2df5f34d1803f384141d 01-Dec-2010 Cary Clark <cary@android.com> Merge "start drag of text selection on initial press"
557092f26a16eaa1a696d7d81b6ef8940ab38f94 01-Dec-2010 Iain Merrick <husky@google.com> Merge "Add FlushCookieStore() method to CookieManager (Java side)"
c40fc2c31a55f7e8312aa2721bf51fcb74bb3a95 30-Nov-2010 Iain Merrick <husky@google.com> Add FlushCookieStore() method to CookieManager (Java side)

The browser app will use this to sync cookies to flash when it is
sent to the background. Corresponding C++ code is in Ia9b56f3c.

Bug: 3231371

Change-Id: I04e96affcce335191ee2075d0e160f0d8313bf76
ookieManager.java
4a2fe17fef94fac3543e3c6345b55616a4db94f5 01-Dec-2010 Cary Clark <cary@android.com> start drag of text selection on initial press

bug:3182813
Change-Id: Id27b1caa31881ce543d395461f0504d894cf0403
ebView.java
e41bb535a3aefa3f830d828f7f0ebfa6aee60f20 30-Nov-2010 Cary Clark <cary@android.com> pass the x and y to retrieve anchor data

During a long press, the original pointer to the
node and frame may change. Pass the location instead
to attempt to find the anchor.

companion change is in external/webkit

bug:3240869
Change-Id: Id86107c1f8ce8680786163c1030421dbec062036
ebView.java
ebViewCore.java
45991bc13fd705044af2e7f3aa194e72e51f493f 01-Dec-2010 Ben Murdoch <benm@google.com> resolved conflicts for merge of d2607118 to master

Change-Id: Id6092a762af775e9b5db390feaba3e10bd98ef7c
f7f07e5762ad45d3b16c3450e7fb051c0da4162a 30-Nov-2010 Michael Kolb <kolby@google.com> Fix page scroll during text selection

Bug: 3190609
Leave embedded title bar in place during text selection CAB mode

Change-Id: I7140241ac7eeb442cfe7665580525d8cdfce220f
electActionModeCallback.java
ebView.java
d2607118edf7a5204181dd118dd2f64d1d5b12c4 30-Nov-2010 Ben Murdoch <benm@google.com> am 27e728f2: Merge "Hide plugin views when we start playing HTML5 video" into gingerbread

* commit '27e728f22d954caa7252be6c19a67a9277e1db3b':
Hide plugin views when we start playing HTML5 video
b849134c1e4d2400e1241d293f3835fc8ef02eb5 29-Nov-2010 Cary Clark <cary@android.com> use the original hit if the cache is killed

The nav cache may not have a cursor set if it is
rebuilt while the long press timer is running. Use
the original hit test data in this case.

bug:3198707
Change-Id: I795a3afb31de3667b3a69abbe898381912806802
ebView.java
96fcb87ae1e3e206dcf3dab54048bcea255e339f 25-Nov-2010 Shimeng (Simon) Wang <swang@google.com> Set initial view scale to be at least overview scale.

Some website will have an initial view scale which is less
than the overview scale and the page will display poorly.

This fix sets the initial scale and text wrap scale to be at least
overview scale to make the page looking good at first load. When a page
is restored, the scale will not be changed.

Also make the reading level scale always bigger than overview
scale for consistency.

issue: 3226625
Change-Id: I8b77cf4fda454a35c3037fa09aaff1aac0c0f664
ebViewCore.java
oomManager.java
6f5dfc6b3c18752a3123e7e8b7a801ef3d55d5a4 11-Nov-2010 Cary Clark <cary@android.com> scroll the selection when dragging near the edge

Also move a debug statement so it can report the
extra selection choice.

This does not scrolls overflow divs for now; once
Pat has that code checked in, this can adapt to
work for that as well.

requires a companion change in external/webkit

bug:3186988
Change-Id: I071ecd31d589e9ef715d2ecb12b1768696075686
ebView.java
5fd5d74f794cc92d24882803dcf355ac24e01ac4 26-Nov-2010 Steve Block <steveblock@google.com> No longer need to pass storage paths to WebRequestContext.cleanupPrivateBrowsingFiles()

Requires the following changes to external/webkit and packages/apps/Browser
https://android-git.corp.google.com/g/81781
https://android-git.corp.google.com/g/81780

Bug: 3232569
Change-Id: I0247f3db25edfdc95363a5a94296458b20456a46
ebView.java
4e30d89ceda832300f80bf73f4f58cd2b51bf112 25-Nov-2010 Mindy Pereira <mindyp@google.com> Per designers, update the algorithm for when effect is clipped or stretched.

New algo is:
1) if view width < MIN_WIDTH (currently 300px), clip glow and edge to fit
2) else stretch glow and edge to fill width
3) make alpha and height of edge and glow 30% "more intense"

Change-Id: I8f121bb165a8fb835bc33950dbedd1bc80c5df65
verScrollGlow.java
0df0269832a5a400d5c103457ade32b1f9734a3b 24-Nov-2010 Cary Clark <cary@android.com> defer resume while selecting text

Allow scrolling, dragging, zooming to process normally
while selecting text, but prevent them from resuming
the webkit update until the selection is done.

Also, resume the webkit priority when resuming the
updates.

bug:3226364
Change-Id: Idfad6b63b6eb02208f977d89a8409377e9d731e7
ebView.java
4c3ce84864407abb85964eb09cb566bc1f164076 24-Nov-2010 Adam Powell <adamp@google.com> Fix bug 3226108 - WebView would not update content properly after a fling.

Change-Id: Ie5d163740ab1b919fef497c06caeb6807db0df52
ebView.java
3ebb51daa4da3a11782b505860ac3d0457bdf9e9 12-Nov-2010 Huahui Wu <hwu@google.com> b/3186860: fix failing layout tests:
fast/events/touch/basic-multi-touch-events-limited.html
fast/events/touch/touch-target-limited.html

Change-Id: I55ecc9944c888a005885704e296de7b7513a8172
ebView.java
c5cd5e9079955fa43ba4b75d3d2d5935419df61b 22-Nov-2010 Cary Clark <cary@android.com> cancel text selection on rotate

Rotating the screen may cause it to layout differently. The
selected text may be hard to match or may not be visible at
all. Cancel the text selection mode when a rotate is detected.

bug:3205291
Change-Id: If7e8f98a1cc396bf21f8261f2a7b4a342907ef2f
ebView.java
637d337b58d8eec6de19230a5dd5ca5581c0478d 25-Aug-2010 Adam Powell <adamp@google.com> Merge overscrolling from gingerbread.

Change-Id: I3eb4413261b38ddd8c609d6153bdfd4ae46c6a0f
verScrollGlow.java
ebSettings.java
ebView.java
57914381a80c9f19cf5227b4af9e822fa0c74ea9 16-Nov-2010 Ben Murdoch <benm@google.com> Offer the user the option to configure an AutoFill profile.

When the user selects a form field that is part of a form that can
be autofilled, inform the embedder that this is the case to give
them the opportunity to configure a profile if they the user has
not done so already. A Message is also provided
to the embedder that when sent will trigger the form to be filled
with the profile that the embedder set up.

Change-Id: Ica995e5b1ed92a3ec3e356401b261740d9f90e57
ebChromeClient.java
ebSettings.java
ebTextView.java
ebView.java
fc8bf749dab43b7e2d43e7fe23440cc6d66cbc41 22-Nov-2010 Cary Clark <cary@android.com> add select text to context menu

Make select text available as an external interface
so that the browser can initiate it from a context
menu.

Interface is marked hidden pending API council approval.

companion change in packages/apps/Browser

bug:3214410
Change-Id: I7d513a38cc3a5ac9c0d1b3be39c02e0835bea90a
ebView.java
dac85cb8a98f1985254fd58e35d4eb05e0e03e5c 22-Nov-2010 Iain Merrick <husky@google.com> Merge "Make maybeSavePassword() a top-level method in BrowserFrame."
b62f8a5450f1d1192c524746df8900f1bf7e1848 22-Nov-2010 Ben Murdoch <benm@google.com> Fix potential NPE in L10nUtils.

It is possible that a call to the L10nUtils class will
come before it has been properly initialised (if the
user highlights a form very quickly onload for example) so move
the initialisation earlier in the WebView ctor so that it is
set up before the WebCore thread is started.

Change-Id: Iff5a1c16d04c47d001146184f753d2cc0cbbb404
ebView.java
9eb2a89f88bd4b62fb997c77372683b0805fd7c9 18-Nov-2010 Iain Merrick <husky@google.com> Make maybeSavePassword() a top-level method in BrowserFrame.

We need to be able to reuse this logic from the Chrome HTTP
stack. This is just a refactoring that doesn't change any
behaviour; we'll need a separate change in external/webkit
to call this from the code that handles POST requests.

Change-Id: I3f3f84a15a8501f63de974bffa6f7c911a3d3820
rowserFrame.java
1ca562635117e10fae0888689909e6c39d66b0a4 18-Nov-2010 Leon Scroggins <scroggo@google.com> Alter the Layout of WebTextView to match webkit.

Bug:3085564

In order to treat the selection handles properly, the text in
WebTextView needs to line up with the text in webkit. Use the
line spacing style, or the paint if none provided, to determine
the spacing for WebTextView's Layout. When no line spacing is
provided, use the floating point values of ascent and descent,
rather than the rounded result, to determine spacing.

Requires a change in external/webkit:
https://android-git.corp.google.com/g/#change,80641

Change-Id: I51081835e128a0e938028c7c7aeb5111aa5f072c
ebTextView.java
ebView.java
d20444941536e212192306b484d13527a23caa03 20-Nov-2010 Shimeng (Simon) Wang <swang@google.com> Merge "Make sure we have a ";" after locale in User Agent"
096fbe0583fec1fe5598a77f68f6c8185af655cb 20-Nov-2010 Bart Sears <bsears@google.com> Make sure we have a ";" after locale in User Agent

When in pre-release mode, we did not have a semi-colon between
the locale (i.e. "en-us") and the the Build (i.e. "Build/HRH50")

In release mode we correctly added the semi-colon (and put in
the "model") so this was only an issue when in pre-release mode.

Bug: 3215465
Change-Id: Ied1acc69463ffddabbc886e7e7e5e8cc8ab14956
ebSettings.java
0a3ab5d632e16ef86bdc05bc45a16b016f02e3f1 19-Nov-2010 Dianne Hackborn <hackbod@google.com> Goodbye title_bar_shadow.

May you rest in HELL.

Change-Id: I1e9e5f509a7860e4aeb4f6598b8c6551a59a8714
ebView.java
9803d7f87054ad67b62011e5b84e8963c5930e51 19-Nov-2010 Kristian Monsen <kristianm@google.com> Merge "Find mime from file extension if the mime is empty"
9d005a10397c0c68f52d01035f59de7598881166 18-Nov-2010 Kristian Monsen <kristianm@google.com> Find mime from file extension if the mime is empty

Fix for bug 3170039

Change-Id: I6d32ae157ec276575aad8fbcd73f02c48fe219d0
rowserFrame.java
dd4e4603efef2c3df0e26835935f74e1e0e7deb2 18-Nov-2010 Jeff Brown <jeffbrown@google.com> Merge "Added support for full PC-style keyboards."
b394d9a5f8e90486555b820fa1d17a32186d440b 18-Nov-2010 Shimeng (Simon) Wang <swang@google.com> Add supported video/m4v mimeType to the support list.

This is to support video/m4v mimeType in the Browser.
Even though it's not listed in MediaFile.java, it's
supported and plays well.

issue:3207898
Change-Id: I35c7905527ce2c46f8861662b3a2ee94a690b38e
ebViewCore.java
6b53e8daa69cba1a2a5a7c95a01e37ce9c53226c 11-Nov-2010 Jeff Brown <jeffbrown@google.com> Added support for full PC-style keyboards.

BREAKING CHANGE: Redesigned the key character map format to
accomodate full keyboards with more comprehensive suite of modifiers.
Old key character maps will not work anymore and must be updated.
The new format is plain text only and it not compiled to a binary
file (so the "kcm" tool will be removed in a subsequent check-in).

Added FULL keyboard type to support full PC-style keyboards.

Added SPECIAL_FUNCTION keyboard type to support special function
keypads that do not have any printable keys suitable for typing
and only have keys like HOME and POWER

Added a special VIRTUAL_KEYBOARD device id convention that maps
to a virtual keyboard with a fixed known layout. This is designed
to work around issues injecting input events on devices whose
built-in keyboard does not have a useful key character map (ie.
when the built-in keyboard is a special function keyboard only.)

Modified several places where events were being synthesized
to use the virtual keyboard.

Removed support for the "qwerty" default layout.
The new default layout is "Generic". For the most part "qwerty"
was being used as a backstop in case the built-in keyboard did
not have a key character map (probably because it was a special
function keypad) and the framework needed to be able to inject
key events anyways. The latter issue is resolved by using the
special VIRTUAL_KEYBOARD device instead of BUILT_IN_KEYBOARD.

Added the concept of a key modifier behavior so that
MetaKeyKeyListener can distinguish between keyboards that use
chorded vs. toggled modifiers.

Wrote more robust key layout and key character map parsers
to enable support for new keyboard features and user installable
key maps.

Fixed a bug in InputReader generating key ups when keys
are released out of sequence.

Updated tons of documentation.

Currently QwertyKeyListener is being used for full keyboards
with autotext and capitalization disabled. This mostly works
but causes some problems with character pickers, etc.
These issues will be resolved in subsequent changes.

Change-Id: Ica48f6097a551141c215bc0d2c6f7b3fb634d354
ebTextView.java
ebView.java
7200ab4a8f61b4aed25f9536ae29051e02503563 18-Nov-2010 Kenny Root <kroot@google.com> Merge "Don't waste memory creating new Boolean objects"
69e2eff270be8c61fc902fcb337097e86c601295 17-Nov-2010 Kenny Root <kroot@google.com> Don't waste memory creating new Boolean objects

Creating a new Boolean is wasteful since there's already a static
Boolean.TRUE and Boolean.FALSE. Using Boolean.valueOf will return one of
those static objects and reduce memory usage a bit.

Change-Id: Id497f951c8a894ec03ac6c3181e6055b56db9db4
eolocationPermissions.java
ebViewCore.java
1e8e10db3f17558b23f5cbef986f3289cc917bc6 17-Nov-2010 Cary Clark <cary@android.com> don't put up a context menu while selecting text

Move the check for selecting text before calling
the parent, so that the context menu isn't an
available option.

bug:3205306
Change-Id: I5d2c3f6b71c74cda56153fbc773eb5be98e44be7
ebView.java
1bf397ffbdaae9a5354c9bb0b5121c4a9f1c8c76 16-Nov-2010 Leon Scroggins <scroggo@google.com> Do not retry failed attempts to retry scrolls.

Bug:3174399

If the page requests to scroll beyond the edge of the
screen, we send a message to try again on a draw, in case
our picture is out of date and the page should be larger.
However, sometimes we get stuck in a loop of retrying the
same scroll position over and over again. End this loop.

Change-Id: I53fcd4c2fa70c7ef63d4537d8b24eabb6b924b0b
ebView.java
d89a30af1f37317a51088a207dda865a2f60c83a 16-Nov-2010 Kristian Monsen <kristianm@google.com> Move getDatabaseDirectory and getCacheDirectory to a new class

The reason for this is that the CookieSyncManager might not be
initialized right after a webview is created since the initialization
is done with a message.

If someone creates a webview and tries to access a cookie right
afterwards that would cause an unintended exception.

This requires a change in external/webkit

Bug 3172863

Change-Id: I4f4f162253e2af09f63ee582bfce9f75ccf4037b
ookieSyncManager.java
niUtil.java
ebView.java
9b756acfbd55b901e37766b034e7af3ad08dc757 05-Nov-2010 Svetoslav Ganov <svetoslavganov@google.com> Metakeys incorrectly delivered to JavaScript

Change-Id: I373eee0c4eb44c2dfd1e8534f5cb241e0c04a473
ebView.java
21a97ef9f2d907f910f4a5f5cff6f321aca825d3 16-Nov-2010 Cary Clark <cary@android.com> make tap initiated scrolls more reliable

Programmatic scrolls fail when the scroll has not had a chance
to start. In this case, the current position equals the last
position; the logic erroneously cancels the scrolls, assuming
that in this case the scroll has finished.

Also, new scrolls should cancel the old velocity whether they
are animated or not.

This has a companion change in external/webkit, which is not
required, but makes tap initiated scrolls work more reliably.

bug:1331125
bug:3099569
Change-Id: I80ae8e8cdefce2d8d09532f79d1b2e1ae4738fa6
ebView.java
20c14fd7b31dfb333dfafbf7055c16160e8cc1dd 16-Nov-2010 Shimeng (Simon) Wang <swang@google.com> Ignore zoom overwidth updating when contentsize is not set.

This happens in case of layer's webkit draw time.

issue:3194817
Change-Id: I58c393d7553e279ccd4b4ee755e2da205faa069b
oomManager.java
dd97f0cb41a6baba9c761f5f05c9d374e29e28e6 15-Nov-2010 Derek Sollenberger <djsollen@google.com> Merge "Only show double-tap tip if the feature is enabled."
5dffd0e3af502acdc2e45425139ef8081fa4f0a8 15-Nov-2010 Andreas Huber <andih@google.com> Add http live mime types to MediaFile, add support for playlist mime types to browser.

Change-Id: I1f0b31dd2f4e6cfa33a61ff8505e8396aca3c20f
related-to-bug: 2368598
ebViewCore.java
c12544a201667383bc3dfb4bd3ad62d98cacd24f 11-Nov-2010 Patrick Scott <phanna@android.com> Offer a callback to intercept url requests.

The new callback allows applications to return a response for a particular url.
Deprecate onLoadResource in favor of the new api. onLoadResource is not
currently being used by the new network stack and applications can post a
message from shouldInterceptRequest to handle onLoadResource.

Bug: 2905943
Change-Id: Icf48ab3110d85d76112b3c3b4a1a8c8a333b82f0
rowserFrame.java
allbackProxy.java
rameLoader.java
ebResourceResponse.java
ebViewClient.java
83d4a23c280bdcaf6c301651b76ddc6fbf08949c 12-Nov-2010 Iain Merrick <husky@google.com> Provide default error strings in BrowserFrame.onReceivedError().

This method is called from both the Android and Chrome HTTP stacks.
We want the same user-facing behaviour in each case, but the Chrome
code does not have easy access to the same error message strings.

Therefore, I'll have the Chrome HTTP stack provide empty strings
for the descriptions. (See change I9042a2ee in external/webkit).

This CL makes BrowserFrame check for empty or null strings and use
the standard error messages instead.

The strings were package-private, so I did a little cleaning up
to make them public (but still hidden from the API). Using a switch
statement instead of an array because it's more robust and should
be comparably efficient.

Bug: 3172265
Test: Load http://google.com:81 to force a timeout error, check
that the correct message is displayed.

Change-Id: I7dec8dffe8ad9e513fdb90877e0b466e707174a8
rowserFrame.java
rameLoader.java
2f3496b424583204df93511e6ca9795d38637c5d 15-Nov-2010 Ben Murdoch <benm@google.com> Merge "Stop loading if the user cancels the SSL certificate warning dialog"
ce1d004ca126f6228dfc92b505467c1e6b9afcef 12-Nov-2010 Shimeng (Simon) Wang <swang@google.com> Merge "Fix mobile sites' viewport in fixed viewport mode."
515f6d8db3f02eaa010eee78c504c71d1a2d6a7a 12-Nov-2010 Derek Sollenberger <djsollen@google.com> Only show double-tap tip if the feature is enabled.

bug: 3170472
Change-Id: I41a278ff44a7fba807c3a4a22f0e0ea20d137d0a
oomControlEmbedded.java
oomManager.java
56a102c02e7af0f8a9a52b2a33452abaeeacb1da 12-Nov-2010 Leon Scroggins <scroggo@google.com> nativeFocusCandidateTextSize now returns a float.

Bug:3085564

Requires a change in external/webkit.

Change-Id: Id2960226766e87b4d0ff364c2e5b3bee6b6757ad
ebView.java
f902e4b2b5aada59a86adbea03e52400c11b2a81 12-Nov-2010 Shimeng (Simon) Wang <swang@google.com> Fix mobile sites' viewport in fixed viewport mode.

issue:3003933
Change-Id: I4d9665c578443fcc12bab2f929ffa8b5995c28f7
ebViewCore.java
c26dc9f38f8eaac7708eaf08bae98dfb7fde21b0 12-Nov-2010 Leon Scroggins <scroggo@google.com> Provide variable for debugging the text in WebTextView.

Change-Id: I40630e3ab754c9e9805dc674c8c0c6c8688973c3
ebugFlags.java
ebTextView.java
685c05eb548155c236cd3308e6c60e32c2f3718d 12-Nov-2010 Ben Murdoch <benm@google.com> Stop loading if the user cancels the SSL certificate warning dialog

If the user cancels the bad SSL certificate dialog, stop loading
and return them to the page they were on previously.

Bug: 3189482
Change-Id: Ie5796a8fdc5ba38e1ab42de5beecf7fa4ecec3ed
oadListener.java
c35f4ac3090e7bc875d84d1f8a655a4ea8baef1b 10-Nov-2010 Leon Scroggins <scroggo@google.com> Work on lining up the TextView and web page text.

Bug:3085564

Do not round the text size when applying it to the WebTextView,
so that it will better line up with the text shown on the web
page.

Modify the WebTextView paint to better match the paint used by
webkit.

Update the padding when the zoom level changes.

Change-Id: I284a6febcba2be21dc1ab3f74c6ab5751e1b19b6
ebTextView.java
ebView.java
ef7af2897530f556e2353a35a00da2fcd1666639 11-Nov-2010 Leon Scroggins <scroggo@google.com> Ensure that text passed in is non-null.

Bug:3183112
Change-Id: Icf00e2793cb9b62dd0ebb4f60b8ddcafea3e581f
ebView.java
1708ad53c3669b72d20724e52301eecd35e86377 11-Nov-2010 Ben Murdoch <benm@google.com> Hide plugin views when we start playing HTML5 video

Plugins like Flash draw directly to the screen on top
of all other views - including the fullscreen HTML5 video
view. This means that if you start an HTML5 video on a page
also serving a flash clip then flash will obscure the video.

This patch hides plugin views before start the video and shows
them again when the VideoView is destroyed.

Bug: 3183521
Change-Id: I9839c47e9d64b081651b952057e9283630362b29
TML5VideoViewProxy.java
ebView.java
5d4c6226caddfb5fa1cee71aa6f90e24e56e53c0 10-Nov-2010 Brian Carlstrom <bdc@google.com> Merge "Correctly parse cookies with spaces after = in attributes"
87ad930037a5ccb915d3ff3675135d405af092d7 10-Nov-2010 Brian Carlstrom <bdc@google.com> Correctly parse cookies with spaces after = in attributes

Bug: 3167208
Change-Id: I8adebf9f9e92967a3250e61ccfbb45e02bbee3f9
ookieManager.java
dbf5ff294aafc52c1defc0b1bcf3893331ef0c27 10-Nov-2010 Shimeng (Simon) Wang <swang@google.com> Update textwrap scale when content width changes in overview mode.

This is mostly for sites which will change content width when first
loaded such as nytimes.com.

Also zoom to reading level if the zoom overview scale has very
little diff from current actual scale.

issue: 3003933
Change-Id: Ie4b32bf6ac109eef145cd59b31f04077226b9052
oomManager.java
2d2f10fa3412adc07a08c25ba5d2df600fb654bf 09-Nov-2010 Jesse Wilson <jessewilson@google.com> am 28c74257: Add @Deprecated to match @deprecated where it\'s missing.

* commit '28c742573ccaeb55c16bc02fb25fdd86b8d1f76a':
Add @Deprecated to match @deprecated where it's missing.
28c742573ccaeb55c16bc02fb25fdd86b8d1f76a 04-Nov-2010 Jesse Wilson <jessewilson@google.com> Add @Deprecated to match @deprecated where it's missing.

Change-Id: Ice95022671968386a601f32df7850f9baa1d2dd0
ebSettings.java
ebViewClient.java
f7093befbbc64d324b6d4c41e98ae69bbed4cd31 01-Nov-2010 Ben Murdoch <benm@google.com> Calculate memory thresholds that V8 can use to control GC.

V8 can be smarter about the memory it uses and the frequency
of garbage collection but we need to inform it of the values
to use. As this varies device to device look it up and store
it on the WebViewCore to be read by native code over JNI.

See also https://android-git.corp.google.com/g/#change,78691

Bug: 3075565

Change-Id: Ib52f4df775b80b386fc98f1d71b5687f01c12b2e
ebViewCore.java
7f7bd525680ec5f3c0437993b8016f7cad70f29e 05-Nov-2010 Leon Scroggins <scroggo@google.com> Disallow scroll intercepts while changing text selection.

Bug:3107564
Change-Id: I81d173b3d7b6fdbe335ef351917402fc01a4c52e
ebView.java
01b04e10df00dcf16bfb92f88b3b1932f579632e 08-Nov-2010 Ben Murdoch <benm@google.com> Fix potential NPE in WebView

New up and initialise the data structure for tracking autofillable
form fields properly. We should not wait for the first autofill
message from WebCore as we have some special state values we need
to set.

Change-Id: Ic30b9ac69436f784d65e50dcabe6af1ef3326ff4
ebView.java
db87c0df6f0cb162a85978fcb8165cdd7a75a7b8 06-Nov-2010 Jason Chen <jasonchen@google.com> resolved conflicts from merge of c3b112ba to master

Change-Id: I76a5f88849ab617af3316d63378bf3296256e8e1
4debfcb3d49ada0386c4ae496e9e4cf573ef4a57 05-Nov-2010 Cary Clark <cary@android.com> Don't draw the selection pointer on long press.

bug:3169375
Change-Id: I76cedf0951213c1ee869ccbaa97938f0c6385942
ebView.java
c3b112ba20310a8f89c42f7a21295890660191d7 05-Nov-2010 Jean-Baptiste Queru <jbq@google.com> Merge db2403ff from open-source master

Change-Id: I90dfa2f37db901b62690b6becbf5d0d91468672c
f3e5fcc91734d8e39b396f1b70b9903a6b3dd2c0 05-Nov-2010 Patrick Scott <phanna@android.com> Fix the build and scrollable layers gesture.

Change-Id: I06f7c379f187df982ac82c9a52cc643358987085
ebView.java
db8d19c9cb6b3f0d595831a8fd648c468e70dfa6 29-Oct-2010 Ben Murdoch <benm@google.com> Display the AutoFill preview string in the drop down box.

Native code now provides us with a preview string as well as
an autofill query id. Display the preview string in the
drop down box.

Requires a change in external/webkit:
https://android-git.corp.google.com/g/#change,77132

Change-Id: Ia5e26b98546cda1090142f1720f6a7836be6595c
ebView.java
ebViewCore.java
202a2c974ee40db53adc5564d30d76a65040798d 05-Nov-2010 Ben Murdoch <benm@google.com> Merge "Work around race condition in CallBackProxy."
619ded23cee14ccf97f4917ed10afe78be0d2610 05-Nov-2010 Shimeng (Simon) Wang <swang@google.com> Use minPrefWidth instead of viewsize.x.

This is to fix a bug I introduced in one of my last CLs, which is tested
under hw accerlation, and the problem was not there.

issue:3161799
Change-Id: Ic7e7c186d1830c3cbd9359af0e283afbbdfbbac1
oomManager.java
0406e48db9d445227d66277fd786059c0c1074eb 03-Nov-2010 Ben Murdoch <benm@google.com> Work around race condition in CallBackProxy.

If WebCore requests two (or more) alert/prompt/confirm dialogs
in quick succeession, we have a race that when the dialog is dismissed
the WebView does not have it's focus restored before the next dialog
is requested to be shown and we early out of displaying the dialog (i.e.
we do not show it).

Work around this by no longer verifying that the Activity has focus as
this check seems to be redundant anyway (see 3166409).

Bug: 3151825, 3166409

Change-Id: I7f650b066ee63da92bc9a620b8e190c91b306d3e
allbackProxy.java
b5ce0e05327b4b76da49d2bd3944e66c38c8cb69 01-Nov-2010 Leon Scroggins <scroggo@google.com> Use the new web email and password variations.

Bug:2460543
Bug:3094312
Bug:2692655
Bug:2710595

Use the NEXT flag when there is a following
textfield.

In TextView, treat the new variations like email and password
variations.

Requires a change in LatinIME so that these fields work propely:
https://android-git.corp.google.com/g/#change,77721

Change-Id: Id6517a016db7d50b77570ff77f2635027796da4a
ebTextView.java
badf945656d9c584b7ac7cf88b9c55fe6c393ce6 01-Nov-2010 Kristian Monsen <kristianm@google.com> Move more of android file handling in Java

Moving some of the code (finding which kind of file it is and
deleting parts of the url) to Java from C++.

Is needed by the following change in external/webkit:
https://android-git.corp.google.com/g/#change,77383

Change-Id: Ifc6008501eb580a0aaa5e307732b6f49ebd19ac4
rowserFrame.java
27c31388e4e9be97f3b5e08cef93e3c8c9fc6a23 03-Nov-2010 Shimeng (Simon) Wang <swang@google.com> Prevent 0 content width.

Sometimes content will be set to 0 from webkit.

issue: 3161799
Change-Id: Ib17322c2e71535105d0f961674cedce63f66a534
oomManager.java
bdb0896ba5078a09d667482c4c91ee279fa2f0e6 20-Oct-2010 Matthias Thomae <matthias.thomae@teleca.com> Add support for UAProf header in HTTP requests

Each HTTP request sent from a mobile handset is usually required to
include a x-wap-profile header following the UAProf specification. The
value of this header is a URL that points to the location of a
document which specifies relevant capabilities of the phone, e.g.
supported network bearers, video formats or screen size. This change
defines a global string resource that holds this URL, and also adds
the necessary code in the web widget to include this header in HTTP
requests.
rameLoader.java
fb7bc34b23f37d10be2c778ddc5ce86542b6573c 01-Nov-2010 Nicolas Roard <nicolas@android.com> Update layers only

Java counterpart to https://android-git.corp.google.com/g/#change,77334

Bug:2975990

Change-Id: I428944c30cedddc47a2c4f8c772167dd4ce2a78d
ebViewCore.java
c826a69355623ed0e812faa1947259464a4364dd 01-Nov-2010 Leon Scroggins <scroggo@google.com> Merge commit '55381217' into manualmerge

Conflicts:
core/java/android/webkit/WebView.java

Change-Id: I1e93881a55c1d81c1142db03498c68196649b69c
553812178ad3dccc467a6a96ff0a7e246da52e8e 01-Nov-2010 Leon Scroggins <scroggo@google.com> am 3073646f: Merge "Update insertion handler for WebTextView." into gingerbread

* commit '3073646f61dcbbfe5c9e65b8e3a1d9266c3f7276':
Update insertion handler for WebTextView.
5642625cfb065de38440408c1e2e8a8c6f8fa32d 01-Nov-2010 Leon Scroggins <scroggo@google.com> Update insertion handler for WebTextView.

Bug:3152629
Change-Id: If2a33eb5456493fb9b3b2c54fcc4f5348fe129e1
ebTextView.java
ebView.java
170d2ee7260c70493c4ffdba65de7b2561e9e7ca 29-Oct-2010 Shimeng (Simon) Wang <swang@google.com> Merge "Stabilize reflow, aka, the fit-to-screen option in settings."
c55886aee84034f7fcf4431fdbeeaff1a9eafbd9 28-Oct-2010 Shimeng (Simon) Wang <swang@google.com> Stabilize reflow, aka, the fit-to-screen option in settings.

This change is only for tablet device which has large screen and
good for fixed viewport.

The reflow will only happen in first layout and double tap if the
text wrap scale is not desired.

The initial text wrap scale is set to the reading level, so that if
the web page is in overview mode, after a double tap, the text will
be nicely shown full screen without any reflow.

All the previous reflowing, such as done when zoomed out, are disabled for
tablet device.

issue: 3003933
Change-Id: I8f460704bb27c50d6f5fa259ca2d5007648adfba
ebSettings.java
oomManager.java
19d928e5a57df2a745ea467ef04e5a23802574fc 29-Oct-2010 Steve Block <steveblock@google.com> Merge "Hook up remaining CookieManager methods"
ffcc49eb420e70e57e7bcef28a01e4c04ba8ab77 28-Oct-2010 Ben Murdoch <benm@google.com> Add a class that stores localised strings used by libchromium.

These are loaded by the first WebView to be instantiated and read
over JNI by libchromium in external/chromium/android/app/l10n_util.cc

Change-Id: I43d6e5a061691689d28cba2697fedcd27548af08
10nUtils.java
ebView.java
767dbefbe0effdfbe53e14eb1fd499cdd2b0fdc4 27-Oct-2010 Shimeng (Simon) Wang <swang@google.com> Fixes "open pages in overview" option.

This option was disabled when doing fixed viewport.
This is fixed with the intention to show at least overview scale,
which will be also fine with phone.

issue:3131279
Change-Id: I2e65d40a90a04f2ca72882fec8096dd8a0d81cb0
oomManager.java
93e5e14240ffbb42dbda30dc143d8dd8a132dcf9 28-Oct-2010 Steve Block <steveblock@google.com> Hook up remaining CookieManager methods

hasCookies(), removeExpiredCookie(), removeSessionCookie() and setCookie()

Requires a change to external/webkit ...
https://android-git.corp.google.com/g/76897

Bug: 3116410
Change-Id: I46603be60e2a6b0e8bac9ca506b56d78643a3658
ookieManager.java
7e6bf6ff0f585a12e9c1effc5755137b2612a709 28-Oct-2010 Derek Sollenberger <djsollen@google.com> Rename some variable to make it clear what data is being stored.

The object that carries drawing data between WebViewCore and WebView
uses ambiguous variable names that do not fully convey the meaning
of the values. This change updates those names to make it clear to
the reader what the intention of those values is.

Change-Id: I5a403d44881e1fad366f3ec9930ee59134eccd88
ebView.java
ebViewCore.java
oomManager.java
f3bac948e4f95dd17dc61505f9d12e84cb3c5ea6 27-Oct-2010 Steve Block <steveblock@google.com> Merge "Hook up CookieManager.getCookie() for Chromium HTTP stack"
0d4fd367097ab74d108dbe0e774e7042c26ea56e 27-Oct-2010 Steve Block <steveblock@google.com> Merge "Hook up CookieManager.acceptCookie() and setAcceptCookie() for the Chromium HTTP stack"
dcd2d0dee9fb70f7e1e813355ed382a38e23fb46 27-Oct-2010 Steve Block <steveblock@google.com> Hook up CookieManager.getCookie() for Chromium HTTP stack

Requires a change to external/webkit ...
https://android-git.corp.google.com/g/76603

Bug: 3116410
Change-Id: Id0cd5871fd13f952d4f2aa963576a4e610459a18
ookieManager.java
81bd788ecf1cd2f460c19f9a29464ee00f5ef8cf 26-Oct-2010 Leon Scroggins <scroggo@google.com> Make sure nativeMotionUp is called.

If someone sets mLogEvent to false to prevent logging,
nativeMotionUp will not be called, so touches to WebView
will no longer work. Make sure this does not happen.

Change-Id: Ie79ccc68677cea2f686f7c7da734bf719910f583
ebView.java
b5ac9de4b587aa8bf4de704fe9a783d9b4bea514 25-Oct-2010 Steve Block <steveblock@google.com> Hook up CookieManager.acceptCookie() and setAcceptCookie() for the Chromium HTTP stack

Also requires a change to external/webkit ...
https://android-git.corp.google.com/g/76066

Bug: 3116410
Change-Id: If8562468708e7d68c5be53db3860647687ebf3bd
ookieManager.java
82d98161362750ed280675b704a5ae467091cfba 27-Oct-2010 Steve Block <steveblock@google.com> Update Chromium HTTP stack to get database and cache paths from CookieSyncManager

Currently these paths are obtained from the BrowserFrame via JNI.
However, the paths are not synced to the BrowserFrame until the
WebCore thread has started up. This means that if the
WebRequestContext is created on the IO thread, the paths may not be
available.

This change moves the paths from BrowserFrame to CookieSyncManager to
avoid the need to wait for the WebCore thread.

Note that the new methods may be called on either the UI or WebCore
threads, so are synchronised.

Requires a change to external/webkit ...
https://android-git.corp.google.com/g/76579

Change-Id: I8e910ee209c570e90181bd308a78d1987b4d120c
rowserFrame.java
ookieSyncManager.java
2bcd292da929ab7558de4a557c347bffd51c924d 27-Oct-2010 Iain Merrick <husky@google.com> Strip off MIME types when loading content URLs.

Matching behaviour that has been in ContentLoader.java since
approximately day 0. Without this, we can't load Gmail attachments
with the Chrome HTTP stack because of permission errors -- we have
to load exactly the URL Gmail tells us.

See http://b/issue?id=3125650

Change-Id: I764036efd428299b2fcd611b62dc046a40d80a55
rowserFrame.java
2723d060330af0fa7d92bfae157452760a189f3b 27-Oct-2010 Iain Merrick <husky@google.com> Merge "Only AV formats should be handled by MediaPlayer (Java side)"
4e7665d2b99b234af369b5723ee2e34f9c47e4aa 27-Oct-2010 Iain Merrick <husky@google.com> Only AV formats should be handled by MediaPlayer (Java side)

Must be submitted with corresponding C++ change (I50da7599).

When opening a text file in the browser, WebKit was attempting to
display it as a movie. This is because the media player now reports
that it can handle various document formats, including plain text.

See http://b/issue?id=3132917

This CL updates WebViewCore.supportsMimeType() to explicitly check
for audio and video formats only. This is called from WebKit via
JNI, and doesn't seem to be used elsewhere, so it should be a safe
change to make. Renamed to isSupportedMediaMimeType() for clarity.

Test: push a text file to /sdcard/foo.txt, and open it in the
browser (as file:///sdcard/foo.txt).

Change-Id: Id39b770b05ced7c976d8043649845f26115b24c9
ebViewCore.java
346f97f82f5515a283f0fadaa819f7442472d962 25-Oct-2010 Shimeng (Simon) Wang <swang@google.com> Fix the viewport height to view height when title bar is visible.

issue: 3097787
Change-Id: Ie685a94262cecd94f32dbb94991fea76ceb43b94
ebView.java
16b7a1b967468e6d3a1b5f2c254320e5909527cc 25-Oct-2010 Steve Block <steveblock@google.com> Merge "Add a JNI method to determine which HTTP stack is in use"
8117e760ee3097b05af9b092bdff5f0c6d7f0d35 22-Oct-2010 Shimeng (Simon) Wang <swang@google.com> Let double tap reflow text.

In case when the text wrap scale is out of sync of the zoom scale.

issue:3122512
Change-Id: I9619cc603226503b96e3a0766620bc2884ec1805
oomManager.java
9c64bae134f1fa497bbeef2f263df4d8d21c415e 22-Oct-2010 Shimeng (Simon) Wang <swang@google.com> Ignore viewport viewScale in fixed viewport mode.

This is to solve macworld.com, which has 900 as viewport but actual
content width is more 1000.

issue: 3003933
Change-Id: I2db3f66828fd00c8be62131599395eb82752b4a2
ebViewCore.java
50b1034d35e6582d7587d429b90886530c70ae8f 22-Oct-2010 Shimeng (Simon) Wang <swang@google.com> Pass whether a scroll is user-scrolled or not to webkit.

This is to eliminate false scrollEvent to webkit. And the side effect
is that the history scroll position will be correctly restored;
otherwise, webkit think there's user scrolled and not send back history
scroll position.

Particulary for NEW_PICTURE_MSG from webkit, the scroll event because of
it are not user-scrolled.

issue: 3063945
Change-Id: I9fdbfcb8baf07baf2331e2c4eed66f88aea744ef
ebView.java
ebViewCore.java
f8ca2d71d50c7568e2edd16edeaa3412fa445bd2 21-Oct-2010 Leon Scroggins <scroggo@google.com> Do not call WebTextView.requestFocus if WebView is not focused.

Bug:3118097
Bug:3039912

Change-Id: I4c43f394c9dc3c9db58fb744d588dfb36f3221f4
ebView.java
2d80ede01afde8a0f484f012e395a97e04e32d36 22-Oct-2010 Steve Block <steveblock@google.com> Add a JNI method to determine which HTTP stack is in use

This will be required when hooking up CookieManager to the Chromium
stack, as we need to decide in Java whether or not to call into native
code.

Bug: 3116410
Change-Id: Ibe2f7687655a93993b19f4fb9b4fed137b3b9466
ookieManager.java
3b860faec72ea599781fd4e7f47ab39ba6ae65ed 22-Oct-2010 Steve Block <steveblock@google.com> Merge "Hook up CookieManager.removeAllCookie() for the Chromium HTTP stack"
8db525a9ad64699a7553647abb8bc9efa2418abd 21-Oct-2010 Shimeng (Simon) Wang <swang@google.com> Let restored scale be in effect.

This change reverts some previous change to solve macworld.com scale issue.

issue: 3117312
Change-Id: Id822c7f9c196522a24c0b7657225560dcd0e51e4
oomManager.java
1c9ca4f1fa8ce06217c8c53da7f539d23ee11a1f 21-Oct-2010 Steve Block <steveblock@google.com> Hook up CookieManager.removeAllCookie() for the Chromium HTTP stack

Requires a change to external/webkit ...
https://android-git.corp.google.com/g/75473

Bug: 3086308
Change-Id: I01274b3b1384a6947d5a56a51b0b93b1898ddebc
ookieManager.java
be00398005e1b95f6f091e5a90e5697b8797d49a 20-Oct-2010 Ben Murdoch <benm@google.com> Merge "Set the unique id of the AutoFill profile WebKit can read it"
b1b82a8df848a374a7a64189f1cb57400c223282 20-Oct-2010 Ben Murdoch <benm@google.com> Set the unique id of the AutoFill profile WebKit can read it

After the recent Chromium merge to 7.0.540.0, it seems that we are no
longer allowed to use a profile unique id of 0. Set the unique id
in the AutoFillProfile class so that WebKit can access it.

Change-Id: I88cd1e91b8c6043c732a1709a89fda4a3c9f921f
ebSettings.java
d77f9b7b3901a93521068ffda53200d3a4233de7 18-Oct-2010 Iain Merrick <husky@google.com> Implement file downloads for Chrome HTTP stack (Java side)

This just adds an extra entrypoint to BrowserFrame. It delegates
directly to the identical method in CallbackProxy, and from there
downloads are handled in the same way as before.

See matching C++ change in external/webkit (I81300400)

Change-Id: I87e71debe475d0d24e13a5763fbe803e3cd78cf5
rowserFrame.java
oadListener.java
imeTypeMap.java
4f4a567217158b26231867f55bba75d711436c0b 19-Oct-2010 Leon Scroggins <scroggo@google.com> Tell nativeFindAll whether the new search matches the last one.

Bug:3108852

Requires a change in external/webkit.

Change-Id: I4333532b4febfa9e832272cf903c3f96ebff0203
ebView.java
6799864d6c9744e4c5133a90410576b577d65de6 19-Oct-2010 Brad Fitzpatrick <bradfitz@android.com> am 59993d9b: Merge "Avoid NPE in WebTextView.lineUpScroll -> Touch.getMaxScrollX" into gingerbread

Merge commit '59993d9bc589089e6be55371c6536a42afe21a64' into gingerbread-plus-aosp

* commit '59993d9bc589089e6be55371c6536a42afe21a64':
Avoid NPE in WebTextView.lineUpScroll -> Touch.getMaxScrollX
44d2c69ad30878521c6eff66a83893099b3d12ee 19-Oct-2010 Brad Fitzpatrick <bradfitz@android.com> Avoid NPE in WebTextView.lineUpScroll -> Touch.getMaxScrollX

Bug: 3110967
Change-Id: I156070956528c8c7d1eb6db5d2e8bb1fe119178d
ebTextView.java
b0f67c9d062a95874bca4ba266a9ef6b7bf2182d 19-Oct-2010 Shimeng (Simon) Wang <swang@google.com> am b65058a4: am 6b2274a1: Merge "Don\'t force ended when full screen video is returned manually." into gingerbread

Merge commit 'b65058a45544ba4b9ff5dbad3cc306d86e9554e5'

* commit 'b65058a45544ba4b9ff5dbad3cc306d86e9554e5':
Don't force ended when full screen video is returned manually.
b65058a45544ba4b9ff5dbad3cc306d86e9554e5 19-Oct-2010 Shimeng (Simon) Wang <swang@google.com> am 6b2274a1: Merge "Don\'t force ended when full screen video is returned manually." into gingerbread

Merge commit '6b2274a11bb1c8f35e8e60e7b921cdecdaaa2ec6' into gingerbread-plus-aosp

* commit '6b2274a11bb1c8f35e8e60e7b921cdecdaaa2ec6':
Don't force ended when full screen video is returned manually.
6b2274a11bb1c8f35e8e60e7b921cdecdaaa2ec6 19-Oct-2010 Shimeng (Simon) Wang <swang@google.com> Merge "Don't force ended when full screen video is returned manually." into gingerbread
43aaa2dd3f1f5169145338ba93f3c9f59fa4b1ea 19-Oct-2010 Shimeng (Simon) Wang <swang@google.com> Don't force ended when full screen video is returned manually.

issue: 3102273
Change-Id: Id9983a229e103dd255b280638979712873117d10
TML5VideoViewProxy.java
6018745fb7d61f456f3fd96e79d03de28cd40a07 18-Oct-2010 Adam Powell <adamp@google.com> am 9f85ef4a: Merge "DO NOT MERGE Fix bug 3107560 - Edge glow appears delayed in WebView" into gingerbread

Merge commit '9f85ef4aebf510546355866b7cc458551ae3aa7f' into gingerbread-plus-aosp

* commit '9f85ef4aebf510546355866b7cc458551ae3aa7f':
DO NOT MERGE Fix bug 3107560 - Edge glow appears delayed in WebView
48b99ace195035286df604636f04860b2a0ee1f4 18-Oct-2010 Adam Powell <adamp@google.com> DO NOT MERGE Fix bug 3107560 - Edge glow appears delayed in WebView

Change-Id: I7f31270c713cdfa3b49f7e9f8d8457c77067516a
ebView.java
1f696ffcdd96c2c1d74ea3c8037bb335ea4a92d7 18-Oct-2010 Steve Block <steveblock@google.com> Merge "Rename DeviceOrientationManager to DeviceMotionAndOrientationManager"
06ff27f0cb9eeb53fd35233a30ef5cc5e5586d83 18-Oct-2010 Ben Murdoch <benm@google.com> am 83366dfb: Merge "Add the HTML5Audio class, to support the audio tag." into gingerbread

Merge commit '83366dfb96ad15e945a90270d329ce19dcf6b7e3' into gingerbread-plus-aosp

* commit '83366dfb96ad15e945a90270d329ce19dcf6b7e3':
Add the HTML5Audio class, to support the audio tag.
e8aa954e46d002ae89fcfc307956312721b41b5f 18-Oct-2010 Leon Scroggins <scroggo@google.com> resolved conflicts for merge of 46ca6a22 to master

Change-Id: I8302fa2f5acf91fb3793e5978a5dc63ac8f3a457
3d09e139b34bd4ed6a6836bb737bd2dc31d28c37 08-Feb-2010 Nicolas Roard <nicolas@android.com> Add the HTML5Audio class, to support the audio tag.

DO NOT MERGE. Cherry pick to GingerBread.

Bug: 3101402
Change-Id: Id7c9418c102d871933c7534fbde18a4bde5f353b
TML5Audio.java
53820a9694a8f3c6564edb6caf90350e96b57567 16-Oct-2010 Shimeng (Simon) Wang <swang@google.com> am 7ef6834e: Merge "DO NOT MERGE" into gingerbread

Merge commit '7ef6834eea24e56d6eba3aac7069e9e0981451d7' into gingerbread-plus-aosp

* commit '7ef6834eea24e56d6eba3aac7069e9e0981451d7':
DO NOT MERGE
d687504e73b9d4a41b7ba28de864b4f3ab5c48e4 16-Oct-2010 Shimeng (Simon) Wang <swang@google.com> am 31e4d66a: Merge "DO NOT MERGE" into gingerbread

Merge commit '31e4d66ada01ea0714304309967a38d07bfce6c6' into gingerbread-plus-aosp

* commit '31e4d66ada01ea0714304309967a38d07bfce6c6':
DO NOT MERGE
46ca6a2289e2de9d5a0638c962da0717c51520d3 16-Oct-2010 Leon Scroggins <scroggo@google.com> am 36cb18cf: Merge "Line up textfield with WebTextView more often." into gingerbread

Merge commit '36cb18cf0684cadb3736969ff96f37d5eb9bb1a4' into gingerbread-plus-aosp

* commit '36cb18cf0684cadb3736969ff96f37d5eb9bb1a4':
Line up textfield with WebTextView more often.
bf9cf4d80dd45ac0938c3ba698dc348fbc4290d7 06-Oct-2010 Shimeng (Simon) Wang <swang@google.com> DO NOT MERGE

Add wrapper method for native JNI call.

This is to check whether a given mimeType is supported in Android media
framework.

issue: 3101402
Change-Id: Ic8b412c045c36113c830296dacb42ed5f7371c9d
ebViewCore.java
31e4d66ada01ea0714304309967a38d07bfce6c6 15-Oct-2010 Shimeng (Simon) Wang <swang@google.com> Merge "DO NOT MERGE" into gingerbread
9f547a8ca8757ea50b030684d71b19a8c777cdf4 15-Oct-2010 Shimeng (Simon) Wang <swang@google.com> DO NOT MERGE

Avoid sending false orientation event to webkit.

issue: 3101311
Change-Id: I819f046a119ad108256d6cece3f2e6ec1d643145
rowserFrame.java
2a30744cd73233646173d05ebdb28f7829ec7a52 15-Oct-2010 Leon Scroggins <scroggo@google.com> Line up textfield with WebTextView more often.

Bug:3097705

Line up when the selection changes (such as when the
selection is altered by the context menu) or when the
WebTextView scrolls.

Change-Id: Ia491064548131be1ac6f4d701a43cd8419a25367
ebTextView.java
1be73390778eb1b033a4db6339c8a8b325dfaad9 15-Oct-2010 Steve Block <steveblock@google.com> Rename DeviceOrientationManager to DeviceMotionAndOrientationManager

Requires a corresponding change in external/webkit ...
https://android-git.corp.google.com/g/74336

Change-Id: Ic8042a77db200cd2b0ea5ae3f70074aaba0cb414
eviceMotionAndOrientationManager.java
eviceMotionService.java
eviceOrientationManager.java
eviceOrientationService.java
ebViewCore.java
af95d12b12056b4f88cbb35e61209a953739009b 15-Oct-2010 Leon Scroggins <scroggo@google.com> am c7ee44cb: am dfc07279: Line up WebTextView text with the page.

Merge commit 'c7ee44cbe155c2272687a0e82133f3e729eac137'

* commit 'c7ee44cbe155c2272687a0e82133f3e729eac137':
Line up WebTextView text with the page.
c42f8b833241162968c5dbdedc18859908730823 14-Oct-2010 Shimeng (Simon) Wang <swang@google.com> Remove not-used code.

issue: 3003933
Change-Id: I3221fb253fe6fbfe9e24368426d7e4a2c1e3502b
ebSettings.java
oomManager.java
7ffe05227eecfb4115b73f5fbc1577db4c84b4df 14-Oct-2010 Shimeng (Simon) Wang <swang@google.com> Merge "Fixed viewport enhancement for site with viewport tag."
afc1c25177b7699dc6c0a3eab2bec4ca055a7e70 14-Oct-2010 Shimeng (Simon) Wang <swang@google.com> Fixed viewport enhancement for site with viewport tag.

1. Use web content width to calculate overview scale in firstLayout time.
2. Skip pre-calculated viewScale in non-mobile fixed viewport case.

issue: 3003933
Change-Id: Ifdc475d96f5df824912197bf5818f5e649658edf
oomManager.java
12c18e691c27375b75d8929d3a3dab0300ba2533 14-Oct-2010 Nicolas Roard <nicolas@android.com> Fix embed webview

Change-Id: Iac8b3aeb7e5370ce06a3437684e21e8a7fcf7c73
ebView.java
bf5b247fa120b3f8ee0331d00be25b1cf74dd3f3 14-Oct-2010 Shimeng (Simon) Wang <swang@google.com> Merge "Use real fixed viewport, and let the content width be the overview width."
6d383aadce15306e5c5e9af704cd8dfc1fafc16a 14-Oct-2010 Shimeng (Simon) Wang <swang@google.com> Use real fixed viewport, and let the content width be the overview width.

issue: 3003933
Change-Id: I679fe1d5736daf0e8cee746dee53558943796833
ebViewCore.java
oomManager.java
cf30872b01d95a15dd10f44e1c551aa6a4ad817b 13-Oct-2010 Ben Murdoch <benm@google.com> Add support for the complete set of AutoFill profile data.

Change-Id: Iff5b48e732acb16281b9795f1f08b08d24b16cbe
ebSettings.java
c9332fa3e9e9e0897482a9c26cf9d997e57376b7 13-Oct-2010 Bjorn Bringert <bringert@android.com> Delete unused WebView drag tracking code

This also removes android.graphics.utils.BoundaryPatch
which was only used by the Browser for the unused drag
tracking (and by a demo app that I'm also removing).

Change-Id: I48253ae005ab11cb4c70d132bc1ea4f2692e2bd2
ebugFlags.java
ebView.java
f76f6f5c63df5f22f723cde884dbfbe7a57e4c20 14-Oct-2010 Leon Scroggins <scroggo@google.com> am 00c50b2e: am f348502c: Merge "Allow TextView to do its thing." into gingerbread

Merge commit '00c50b2e49dbb3537a3ee553dc79d6e34cd00065'

* commit '00c50b2e49dbb3537a3ee553dc79d6e34cd00065':
Allow TextView to do its thing.
baf5608941ae4de2bb5620fc81291f33da9d57ac 14-Oct-2010 Mindy Pereira <mindyp@google.com> am 998c6777: Merge "Never show overscroll if the page scrolls at all." into gingerbread

Merge commit '998c67774aa2260ed05a39df45d983feb72e683c' into gingerbread-plus-aosp

* commit '998c67774aa2260ed05a39df45d983feb72e683c':
Never show overscroll if the page scrolls at all.
22c5ff22822beefa4426015dafb42698cf535d94 14-Oct-2010 Mindy Pereira <mindyp@google.com> Never show overscroll if the page scrolls at all.

Fixes b/3092852 Tune overscroll in web views that can scroll both horizontally and vertically

Change-Id: I92cb6d1fa7d2034837654f2d2ddb7c3c997ce893
ebView.java
67a9f2ab97086349e8fda9ce31f6ed7859d4a9cc 07-Sep-2010 Nicolas Roard <nicolas@android.com> GL Rendering

This is a two-parts CL, Its counterpart is https://android-git.corp.google.com/g/#change,71690

Change-Id: I8ebe7f3bce84e76c903908768d010f46f3a30a4c
ebView.java
2b67ce7213501d4377e46f67656993914eceb423 13-Oct-2010 Bjorn Bringert <bringert@android.com> Merge "Make fields in WebAddress private, add getters/setters"
eb8be973c7982fe3ece0aeaeca379c3b3cdced0c 12-Oct-2010 Bjorn Bringert <bringert@android.com> Make fields in WebAddress private, add getters/setters

Change-Id: Iceaf3d648289344e53c37273f7324a79676fbef7
rowserFrame.java
ookieManager.java
oadListener.java
RLUtil.java
c7ee44cbe155c2272687a0e82133f3e729eac137 13-Oct-2010 Leon Scroggins <scroggo@google.com> am dfc07279: Line up WebTextView text with the page.

Merge commit 'dfc07279fc6205c38f5f39cb5ba4f0aef6b593a4' into gingerbread-plus-aosp

* commit 'dfc07279fc6205c38f5f39cb5ba4f0aef6b593a4':
Line up WebTextView text with the page.
dfc07279fc6205c38f5f39cb5ba4f0aef6b593a4 12-Oct-2010 Leon Scroggins <scroggo@google.com> Line up WebTextView text with the page.

Bug:3085564

Requires a change to external/webkit:
https://android-git.corp.google.com/g/#change,73568

Change-Id: I4c3fa1314bdac39cc071f583a418c433ea897de8
ebView.java
ff4031bcb5c387900acf63b46211ba00fa52d417 13-Oct-2010 Ben Murdoch <benm@google.com> Merge "Sync autofill profile data to native WebKit"
7db7c5d60c0826c5781756ce75548b4a5bc0a3c5 13-Oct-2010 Steve Block <steveblock@google.com> Merge "Implement DeviceMotionEvent"
2b87dbc3b89f19bd5cde58b2b178cb7be50d77f9 13-Oct-2010 Adam Powell <adamp@google.com> am c417612a: Merge "Fix bug 3083631 - Links no longer get tapped during scale gestures" into gingerbread

Merge commit 'c417612a1abb6281697a9738a1a19eb8814ae8a6' into gingerbread-plus-aosp

* commit 'c417612a1abb6281697a9738a1a19eb8814ae8a6':
Fix bug 3083631 - Links no longer get tapped during scale gestures
d7bd2eb0321936e377592be9039de957b8794ab1 13-Oct-2010 Adam Powell <adamp@google.com> Fix bug 3083631 - Links no longer get tapped during scale gestures

Change-Id: I57bf740c5063f30d763fc720a3ad77edff20f867
ebView.java
00c50b2e49dbb3537a3ee553dc79d6e34cd00065 12-Oct-2010 Leon Scroggins <scroggo@google.com> am f348502c: Merge "Allow TextView to do its thing." into gingerbread

Merge commit 'f348502c70ae2f3c90bf75d8c4b4402d5e8e4d59' into gingerbread-plus-aosp

* commit 'f348502c70ae2f3c90bf75d8c4b4402d5e8e4d59':
Allow TextView to do its thing.
9c9430b30f31713971d8f9f53df9588a3ba01340 12-Oct-2010 Jean-Baptiste Queru <jbq@google.com> resolved conflicts for merge of e69f1f1a to master

Change-Id: I32b34e4f6ae83ff40398c6e9e2881af12abc4aa8
23cb86a47d566db413d9c7679984ef3cfdfee848 12-Oct-2010 Leon Scroggins <scroggo@google.com> Allow TextView to do its thing.

Bug:3085639

Call super.onTouchEvent for ACTION_UP and ACTION_CANCEL.
This removes the old selection as appropriate.

Bug:3085587

Make the cursor visible so that the insertion handle
appears when tapping on the field.

Change-Id: If5ea6219de9ca351667021743b2e63edc6c47250
ebTextView.java
21d4e42366d5a772fed560c806023458d725f9b3 11-Oct-2010 Shimeng (Simon) Wang <swang@google.com> Merge "Initialized the orientation variable to -1."
2edfcd584e29573db7081284c06a97b345f748c4 11-Oct-2010 Shimeng (Simon) Wang <swang@google.com> Initialized the orientation variable to -1.

issue: 3057966
Change-Id: I31047d31376d79b1718c42633c9e6802e51213a7
rowserFrame.java
10186c45fff909d07286e529211c69aab4d2033e 11-Oct-2010 Shimeng (Simon) Wang <swang@google.com> Merge "Avoid sending false orientation event to webkit."
5f7c5a25de0ab1b4559917a6d7c84bdc036e20f4 11-Oct-2010 Shimeng (Simon) Wang <swang@google.com> Avoid sending false orientation event to webkit.

issue: 3057966
Change-Id: I1061df6da751e3a0ef158b5eabfb520d0473d3d0
rowserFrame.java
e69f1f1a748da99c82bcb56f6c7107a5618ba906 11-Oct-2010 Jean-Baptiste Queru <jbq@google.com> resolved conflicts for merge of e3cfd35b to gingerbread-plus-aosp

Change-Id: I2f90572163e7cb98e4e2762998a2ac63cc267dea
5ffbb81e20ceb1ad1bac4fb87906bd25bcf0c694 08-Oct-2010 Cary Clark <cary@android.com> Check mNativeClass != null in public functions

Change-Id: I74ec88626458870cf4d76d0bfe17e65f603977ef
http://3033688
ebView.java
dc82a29b1108622694fb9f1036e2225eafac58c1 06-Oct-2010 Steve Block <steveblock@google.com> Implement DeviceMotionEvent

Requires a corresponding change in external/webkit ...
https://android-git.corp.google.com/g/72906

Bug: 2495651
Change-Id: I60b2fc5a9fce459c3cef76b3b634485dfb276eae
eviceMotionService.java
eviceOrientationManager.java
ebViewCore.java
e9e3ccd10db7d4793ae046a751f68791da0e6edb 06-Oct-2010 Ben Murdoch <benm@google.com> Sync autofill profile data to native WebKit

Add the necessary plumbing to send the currently active
AutoFill profile data from Java to native.

Requires a corresponding change in external/webkit.

Change-Id: I45770e36f09093fb891c3aa9cac4a8b8a8a6161c
ebSettings.java
5fe721f5f55d60bd8c244322aef484e549a6de9d 08-Oct-2010 Patrick Scott <phanna@android.com> Fix NPE in addMessageToConsole.

CallbackProxy should always check for client during handleMessage.

Bug: 3060412
Change-Id: I0a84fa2ce21cc46d9b215b18a700119c7c12a7f2
allbackProxy.java
e99b0b992a1c93e0947b6255a6ec179da6e84d78 06-Oct-2010 Shimeng (Simon) Wang <swang@google.com> Merge "Add wrapper method for native JNI call."
e86b8a18df0964a84952c654fd25a0de0814737f 06-Oct-2010 Steve Block <steveblock@google.com> Merge "Make sure that we send the DeviceOrientation error event only once"
8980343b13137aba5bd11d0d961360c03689d434 25-Aug-2010 Steve Block <steveblock@google.com> Make sure that we send the DeviceOrientation error event only once

Change-Id: Iff095ad4d282635c567b0c85a286056e23ca38e3
eviceOrientationService.java
bf01312965c4257bc1fc912dc2fdfea9d926e23b 06-Oct-2010 Shimeng (Simon) Wang <swang@google.com> Add wrapper method for native JNI call.

This is to check whether a given mimeType is supported in Android media
framework.

issue: 2816278
Change-Id: I66d379d039c4e1f4a8528654ece006335fd4463f
ebViewCore.java
ee7e0efcc1314b994ba70d91f6e8fa951044c916 06-Oct-2010 Adam Powell <adamp@google.com> am 59c4cb9e: Merge "DO NOT MERGE Fix bug 3001751 and bug 3001584 - Gingerbread API review for over-scroll" into gingerbread

Merge commit '59c4cb9e8fee03f770aa0fa1a2f0ec84ffb945b8' into gingerbread-plus-aosp

* commit '59c4cb9e8fee03f770aa0fa1a2f0ec84ffb945b8':
DO NOT MERGE Fix bug 3001751 and bug 3001584 - Gingerbread API review for over-scroll
737e8fe2c7ce167bc68ad779160488007a5e0b1d 05-Oct-2010 Adam Powell <adamp@google.com> DO NOT MERGE Fix bug 3001751 and bug 3001584 - Gingerbread API review for over-scroll

Change-Id: If34c8ea4e15697420adad0bc404f3c278efd7c1b
ebView.java
4243a3a6ed571b17668a3caca7a535508893501f 05-Oct-2010 Patrick Scott <phanna@android.com> Add postSync so that the chrome stack has access.

Bug: 3053149
Change-Id: I75f5422afcacf4ae70a2aa26188446251d7f84da
ebSettings.java
0ae2ec88ec8f170cb5548d52bf89fa744b390991 16-Sep-2010 Mattias Falk <mattias.falk@sonyericsson.com> Dismissing AlertDialog before destroying WebView.

Added dismiss method for the Alertdialog in destroy to avoid
a leaked window.

Change-Id: Ia6a6e733b8bdd583dae15b854e4d69ef4f5cbff1
ebView.java
fa89c50ae7ca06b3a9c42ee8d4b8eea6567b5e2e 01-Oct-2010 Derek Sollenberger <djsollen@google.com> Ensure full screen plugin is dismissed when necessary.

Dismiss the full screen plugin view when the user navigates to a
new page or tab. This ensures the plugin does not cover up new
content when the browser switches tabs or loads a new URL.

Change-Id: I35d65073dbc772ab5babd20287d4d2fe598178e5
http://b/2908332
ebView.java
8aeeda9123783807a5dcb44133dc30b94ea7be1e 28-Sep-2010 Andy Stadler <stadler@android.com> am cb6f29eb: am a16682b5: Merge "Allow touch events when clickable *or* longClickable" into gingerbread

Merge commit 'cb6f29ebc6a8cde6ed600d233e23b962d06ea43f'

* commit 'cb6f29ebc6a8cde6ed600d233e23b962d06ea43f':
Allow touch events when clickable *or* longClickable
cb6f29ebc6a8cde6ed600d233e23b962d06ea43f 28-Sep-2010 Andy Stadler <stadler@android.com> am a16682b5: Merge "Allow touch events when clickable *or* longClickable" into gingerbread

Merge commit 'a16682b5e8ed635910eada23272ba6548922c02e' into gingerbread-plus-aosp

* commit 'a16682b5e8ed635910eada23272ba6548922c02e':
Allow touch events when clickable *or* longClickable
f2e17a86833b051b3ed3d82537f543c073468881 24-Sep-2010 Leon Scroggins <scroggo@google.com> Hide the soft keyboard when a textfield is blurred.

Bug: 2953257

Requires a change to external/webkit

Change-Id: I8ca82dc7cb6bc1494400f5e5c38050023c94a513
ebView.java
ebViewCore.java
5c23ebadd48c8c3190878030a9974f1ff36b0419 28-Sep-2010 Steve Block <steveblock@google.com> Update the storage locations used by the Chromium HTTP stack

This updates the strorage locations to better match those used by the
Android HTTP stack.

The corresponding external/webkit change is
https://android-git.corp.google.com/g/70643

Bug: 3039536
Change-Id: Ia7ea68d1472e96788a7fbaa6e8f7aa1ee51b3fb0
rowserFrame.java
ebView.java
ebViewDatabase.java
b34fd1ff5c3e363a845fee8e18f11951e41fbd0a 28-Sep-2010 Andy Stadler <stadler@android.com> Allow touch events when clickable *or* longClickable

This matches more closely the behavior or View.onTouchEvent()

Bug: 3036477
Change-Id: I8a9135da7f9aeeb1e0537dce15295049013a0243
ebView.java
560ba6e1a9dbd8a57fdee2040185981162ed09d6 27-Sep-2010 Mindy Pereira <mindyp@google.com> am 08c09b0f: Merge "DO NOT MERGE. Only 1 edge glow should be growing at a time." into gingerbread

Merge commit '08c09b0f84b23627b4cd02e1b9a642952fbd2e7f' into gingerbread-plus-aosp

* commit '08c09b0f84b23627b4cd02e1b9a642952fbd2e7f':
DO NOT MERGE. Only 1 edge glow should be growing at a time.
7d4995d250a771b9705286e28fa4be7afbd44722 27-Sep-2010 Mindy Pereira <mindyp@google.com> DO NOT MERGE. Only 1 edge glow should be growing at a time.

When a user action starts a new edge glow (on pull or absorb), cause
the edge glow on the opposite side to decay.
Fixes b/ star 3028395 Yellow color bar is displayed when user reaches the end of the message and keeps scrolling in Gmail.

Change-Id: Id06e00d1843b0467f6f9149c22b233e639fc55ac
ebView.java
41865f4b0c5670369bf957ad72a867757fc6b356 02-Sep-2010 Huahui Wu <hwu@google.com> Bug 2372180: pass multi-touch events from browser to webkit.
Since the UI uses multi-touch for zooming, the event is passed to webkit
only when the webpage doesn't allow zooming.
1. Updated the data structure TouchEventData in WebViewCore.java
to take multiple points and used it everywhere.
2. Added a passMultiTouchToWebkit() function to do what its name means.
3. Added the multi-point touch support to dumprendertree.

Change-Id: Iafc1aa7b21a587ad26efd2f124b9a66316297ab8
ebView.java
ebViewCore.java
f39b2cfadba27c0fd18eaf41127dc9fd59e1a2ed 09-Sep-2010 Ben Murdoch <benm@google.com> Make autofill a webview preference

Change-Id: I2bed0612ad6381dd4c6aedf4af8740fac33748c7
ebSettings.java
ebTextView.java
27a835f8d8faf962d978cf7e1e3b562fa0715d60 23-Sep-2010 Kristian Monsen <kristianm@google.com> Merge "Fix deadlock in HTTP authentication within synchronous request."
62275a461ec4782991826a18fb4cdb85b5430cfc 07-Sep-2010 Ben Murdoch <benm@google.com> Make WebTextView display an "AutoFill this form" option

When the user clicks to AutoFill the form, we propogate a message
to WebCore through WebViewCore to actually perform the action.

Corresponding change in external/webkit needed to implement the
native method that gets called to execute

Change-Id: I6c75ab9b2c5404580de549b69102ab9374493c34
ebTextView.java
ebView.java
ebViewCore.java
4f0e56b7afa5ca705c716d5001335b73400bea08 23-Sep-2010 Iain Merrick <husky@google.com> Fix deadlock in HTTP authentication within synchronous request.

When HTTP authentication results in the user being prompted for a username
and password, this is handled asynchronously in the UI thread. However, we
can't post the result back to the WebKit thread in the normal way because
WebKit does not pump its message queue during synchronous requests.

Instead, we call WebKit directly from the UI thread and let it handle the
threading. This is safe to do because we're using thread-safe STL and
Chrome objects, not WebCore objects.

Change-Id: I79c21510186c2352f842c4ff4311687ec40ba45f
rowserFrame.java
64336a40515874066040d058f3bdea338904a5f2 22-Sep-2010 Shimeng (Simon) Wang <swang@google.com> Add a fixed viewport margin since website content width changes.

For example, nytimes.com will chang from 980 to 986.

issue: 3003933
Change-Id: I80c41430e3b7e89c5a3875232622c50031eaf5ef
ebViewCore.java
27c65e26c9b395e5cc5db63ea7a1443bb91e8118 22-Sep-2010 Cary Clark <cary@android.com> am dd8f13fa: Merge "Do not merge: clear text selection on rotate" into gingerbread

Merge commit 'dd8f13faf1cb8ad7a5f2573f09fe8436ec8a4ac2' into gingerbread-plus-aosp

* commit 'dd8f13faf1cb8ad7a5f2573f09fe8436ec8a4ac2':
Do not merge: clear text selection on rotate
dd8f13faf1cb8ad7a5f2573f09fe8436ec8a4ac2 22-Sep-2010 Cary Clark <cary@android.com> Merge "Do not merge: clear text selection on rotate" into gingerbread
ef60890ee215db4405df6bd7f0b94c1cb7028745 22-Sep-2010 Cary Clark <cary@android.com> Do not merge: clear text selection on rotate

Change-Id: Ic7cb33d830779a75dc6e71db064ceac3c1f90298
http://b/3025142
ebView.java
b2044da3f9f9ad74f0dffd5ae024e558f8a9a89a 16-Jun-2010 Patrick Scott <phanna@android.com> Do not merge: cherry-pick a fix for a npe.

Fix a monkey crash when the new WebView is destroyed.

Grab the WebViewCore immediately so that if the Tab is destroyed, we have the
old WebViewCore object and can return the BrowserFrame.

Bug: 2733004
Change-Id: I8cddf9c9d635fc8b50983e4813eadda26cf23348
rowserFrame.java
allbackProxy.java
938a1142d631cad5bc294deefb9571f9e50151d5 21-Sep-2010 Shimeng (Simon) Wang <swang@google.com> Make the reading level scale at least 0.5f apart from overview level.

This is related to the zoom behavior when user double taps.

Change-Id: Ie36519114ad30aaa9fb32c7164f0d3e841f7d721
oomManager.java
100cc263b465242c01dc9eb280d77ffaadbddd39 21-Sep-2010 Cary Clark <cary@android.com> am b5631f59: Merge "Do not merge : cancel text select mode when pressing back, etc." into gingerbread

Merge commit 'b5631f59d3b0411ed493dc382bb96ab15ca3304d' into gingerbread-plus-aosp

* commit 'b5631f59d3b0411ed493dc382bb96ab15ca3304d':
Do not merge : cancel text select mode when pressing back, etc.
2fddc21a466dfa97a86c4fae5c40662d75547ea5 21-Sep-2010 Cary Clark <cary@android.com> Do not merge : cancel text select mode when pressing back, etc.

This was taken from scroggo's excellent change
https://android-git.corp.google.com/g/#change,68114

Change-Id: Idd18e08f1aaeb2fee47bfeed9e7d57e38cb1c62f
http://b/3000317
ebView.java
e37a365bef03b94abfc1818e425c6e104a4fe8f0 21-Sep-2010 Cary Clark <cary@android.com> Merge "In clearView(), see if native exists before calling it."
01ef9eab3b8aef1ce395402fe07de4fbb9ad786d 21-Sep-2010 Shimeng (Simon) Wang <swang@google.com> Merge "Use dimension value instead of fixed constant in code."
a3bec150bf1203e9a7cd8a6573db79a75cd6855a 21-Sep-2010 Cary Clark <cary@android.com> In clearView(), see if native exists before calling it.

Change-Id: I069678ef8f4dbdb6b62109c53b352127f5eec7cf
http://b/2999966
ebView.java
77fdaaa3afec345c9d9b367edd92e69ae97860bf 21-Sep-2010 Shimeng (Simon) Wang <swang@google.com> Use max of content width and initial preferred width as the viewport.

issue: 3003933
Change-Id: I4a901219674b575e8228d44381efbaa159912465
ebViewCore.java
a2ded6ca77af8d3614e344879ab232db73c3e71d 17-Sep-2010 Shimeng (Simon) Wang <swang@google.com> Use dimension value instead of fixed constant in code.

issue: 3003933
Change-Id: Iab802ccfb9a3d8c16f8884c433987c4a730f713c
ebSettings.java
4200dcaa7bd8b4efb6b88114dba8b93e6181c252 20-Sep-2010 Kristian Monsen <kristianm@google.com> Merge "HTTP auth for Chromium HTTP stack (Java side)"
14bcc0e7fe4e2cfddb0d98079ec0fbdbe33c5e87 17-Sep-2010 Shimeng (Simon) Wang <swang@google.com> Use website preferred width as the fixed viewport.

This preferred width will be set between the default viewport width and
the max fixed viewport width. The default viewport width serves as the
minimum fixed viewport width, so it's lowered to 980.

This change will make the shirt.woot.com/blog site works better, since it's using
1080 as the preferred width, so user needs not to scroll in overview mode.

issue: 3003933
Change-Id: Ie3eed44a54d277f5bc5f63cd394d463012a80d80
ebSettings.java
ebView.java
ebViewCore.java
a8f99bbbbc89014a2c38637f8e2179f0cd578b11 17-Sep-2010 Shimeng (Simon) Wang <swang@google.com> Use website specified viewport.

In fixed viewport mode, use website specified viewport to override
the default fixed viewport.

issue: 3007588
Change-Id: I0ed86a2f829d18bf35dba47f766b23be1ace8ff5
ebViewCore.java
oomManager.java
10229b24d061b02b2620ac59dc986c540efd3741 31-Aug-2010 Iain Merrick <husky@google.com> HTTP auth for Chromium HTTP stack (Java side)

The existing Java callbacks become JNI callbacks. We splice this
functionality into HttpAuthHandler, splitting the existing callbacks
off into a new package-private class HttpAuthHandlerImpl. The public
API is unchanged.

Corresponding C++ change: https://android-git.corp.google.com/g/63763

Change-Id: Ia9717b86cbd2c32f17a2f8fad0cec34419c1376b
rowserFrame.java
ttpAuthHandler.java
ttpAuthHandlerImpl.java
oadListener.java
etwork.java
05919f2133f8af89ab69c3a39aa34c6a32e78f05 14-Sep-2010 Leon Scroggins <scroggo@google.com> Exit action mode when destroying the WebView or loading.

Bug: 3000317

Change-Id: I7f131d5c159058c33c3249ee4e0fee3a667ec6d8
indActionModeCallback.java
ebView.java
7924a4a3a032f97fb587732d188513adec1420a4 14-Sep-2010 Shimeng (Simon) Wang <swang@google.com> Fix comment.

Change-Id: I927565aadc7f4a5aac6c0a11c28210440600e8a4
ebView.java
4de4f09e8ed95255c1077cfbbaf018877221455d 13-Sep-2010 Shimeng (Simon) Wang <swang@google.com> am fbd26467: Merge "DO NOT MERGE" into gingerbread

Merge commit 'fbd2646705c52c111f041b16d7cb34cb922a2a64' into gingerbread-plus-aosp

* commit 'fbd2646705c52c111f041b16d7cb34cb922a2a64':
DO NOT MERGE
dc9f2b6668b408d451cf63527ef2ce074f678ae0 13-Sep-2010 Shimeng (Simon) Wang <swang@google.com> DO NOT MERGE

Use a static variable and methods for the current WebView.

sJavaBridge may not exist by the time onWindowFocusChanged is called.
To avoid an NPE, just static methods that modify a global field.
JWebCoreJavaBridge is a global object anyway so using a static field
will be fine. To avoid any garbage collection issues, store the
WebView in a WeakReference.

Bug: 2908023
Change-Id: I05e9261f2c3d13c10c73c9b34f3aeea1d12a08a6
WebCoreJavaBridge.java
ebView.java
585f13f8dec4cbf55b3bc04d95425d647f0577b2 10-Aug-2010 Svetoslav Ganov <svetoslavganov@google.com> Accessibility support for WebViews

Change-Id: Ibb139192bae4d60fd53a7872b19c06312bb41558
ccessibilityInjector.java
allbackProxy.java
ebView.java
ebViewCore.java
0a8bf86413f3456c5afc3028b8ba145a3bebe493 12-Sep-2010 Adam Powell <adamp@google.com> Fix a bug that could cause improper detection of long press selection mode in WebView after a scale gesture

Change-Id: I171ccad91ddc7e7983664dbf52d3104508493538
ebView.java
be36668499683d838e9b0c81d6de6abc1a8bc429 12-Sep-2010 Adam Powell <adamp@google.com> resolved conflicts for merge of 12e08f3a to master

Change-Id: Ic691ec7716d5c450406717d3748847cb9c6b7e82
12e08f3a8853ef4248ee9c18583c3b4917dd0c40 12-Sep-2010 Adam Powell <adamp@google.com> am 26cab064: Merge "Allow two finger pan and scale on touchscreens with FEATURE_TOUCHSCREEN_MULTITOUCH_DISTINCT." into gingerbread

Merge commit '26cab06472badee374ac854f5a210991c37c4493' into gingerbread-plus-aosp

* commit '26cab06472badee374ac854f5a210991c37c4493':
Allow two finger pan and scale on touchscreens with
26cab06472badee374ac854f5a210991c37c4493 12-Sep-2010 Adam Powell <adamp@google.com> Merge "Allow two finger pan and scale on touchscreens with FEATURE_TOUCHSCREEN_MULTITOUCH_DISTINCT." into gingerbread
201480c50e6f0ca7a0df7dfb14ba748c710969ea 10-Sep-2010 Joe Onorato <joeo@google.com> Fix the last remaining @deprecated tag without comment warning.

Change-Id: I526707233652e8092b33357d08f8ed81cd3a9e14
acheManager.java
fb71733b352494cb6bc40b26f251dcd3ece63ed5 10-Sep-2010 Joe Onorato <joeo@google.com> am 7c8258d0: Merge "Fix the last remaining @deprecated tag without comment warning." into gingerbread

Merge commit '7c8258d064efe70e8551480eaafd7296f659acd5' into gingerbread-plus-aosp

* commit '7c8258d064efe70e8551480eaafd7296f659acd5':
Fix the last remaining @deprecated tag without comment warning.
4d8cc7bdf45ca2d8222190c92aa9a0b19a0c4313 10-Sep-2010 Joe Onorato <joeo@google.com> Fix the last remaining @deprecated tag without comment warning.

Change-Id: Id4c50dee743fa781ca3f470f97ed76d1501f7222
acheManager.java
200c13d37fb394c218a3824c428a116207266316 14-May-2010 Leon Scroggins <scroggo@google.com> Do not put the selection on screen for non password fields.

Instead, allow webkit to do it.

Requires a change to external/webkit.

Bug 2679411
Bug 2659028

Change-Id: Ibe5dfc90b13d13f7575649e4c90d5166de10dbb2
ebTextView.java
ebView.java
ebViewCore.java
6c09ef01da0721ee9c49d96bd0c260bb9d9b4f15 09-Sep-2010 Shimeng (Simon) Wang <swang@google.com> Use the default scale for text input.

The default scale is 1.0 for tablet, instead of the 1.5 reading scale.

For small screen device, the default scale will be 1.5, so the new
code is backward compatible.

issue: 2988531
Change-Id: I8f00b0e9180402b2135573c019bea7d217119dad
ebView.java
048a3a5b1891cba08ffdfa338fe01f3154a4d294 09-Sep-2010 Adam Powell <adamp@google.com> Allow two finger pan and scale on touchscreens with
FEATURE_TOUCHSCREEN_MULTITOUCH_DISTINCT.

Change-Id: Ia5a1655d3bd9bf13cc8d84a1f7ee2bc9dca8ac49
ebView.java
6fe3b421fdc5b109cbf9006f44c9f089224a817d 19-Aug-2010 Michael Kolb <kolby@google.com> Add setting for on screen zoom buttons
enables to use pinch to zoom without
showing the on screen buttons

Change-Id: Ifd08d11232e2a32178a89e559b6f1f645bf627b9
ebSettings.java
oomManager.java
2c2d72a7fd3efae0daae9696643cf8c3f069b248 03-Sep-2010 Jeff Hamilton <jham@android.com> Hide this log behind the debug flag.

Change-Id: I83eb8558c8037f3b703dcf46c2d3aa0fa3d18a43
RLUtil.java
e742c08ce01742c5a864ce0a16bda4735a970bd8 02-Sep-2010 Leon Scroggins III <scroggo@google.com> Use the proper selection when performing a delete.

Bug: 2956964

Change-Id: I488c291b2fb3cfa5c5d510bd4a03afbc8949d8d8
ebTextView.java
71d17e40714407296d0d8c83d35c20f591bb0386 02-Sep-2010 Leon Scroggins III <scroggo@google.com> Only close the IME if it is Active on the WebView.

Bug: 2955391

Some applications want to leave the IME open even though
the WebView is loading a page. Only hide the IME if it
is Active on the WebView or the WebTextView.

Change-Id: I1e7f973f649d78561bd8585c628a83c9b18a66ad
ebTextView.java
ebView.java
0358def77633b6548da06985cb22955a7e85abac 02-Sep-2010 Adam Powell <adamp@google.com> am 79492a0d: Merge "DO NOT MERGE Overscroll continues; asset and behavior tweaks." into gingerbread

Merge commit '79492a0d75b0b02f11f35500f79dd3fcbc6e2211' into gingerbread-plus-aosp

* commit '79492a0d75b0b02f11f35500f79dd3fcbc6e2211':
DO NOT MERGE Overscroll continues; asset and behavior tweaks.
79492a0d75b0b02f11f35500f79dd3fcbc6e2211 02-Sep-2010 Adam Powell <adamp@google.com> Merge "DO NOT MERGE Overscroll continues; asset and behavior tweaks." into gingerbread
5916882c3f13429d29f95b89dd94bd2d5733da85 02-Sep-2010 Adam Powell <adamp@google.com> DO NOT MERGE Overscroll continues; asset and behavior tweaks.

Change-Id: I367643877a397e7b4fa9bd8c40639ff69436e7f0
ebView.java
9dc2e75e2720a8d0a5d7b87be53300eac021a3f3 02-Sep-2010 Jason Chen <jasonchen@google.com> Add Deprecated annotation to getPluginsPath/setPluginsPath

Javadoc annotations aren't enough to properly mark an API
as deprecated. This change adds the @Deprecated annotation
to the source and updates current.xml.

Change-Id: I04a398fc04ad99979c674789af5af994fbd25be0
ebSettings.java
9fadca71e455a6c849311083677351d4dc64b792 02-Sep-2010 Jason Chen <jasonchen@google.com> am b766ab83: DO NOT MERGE Add deprecated annotation to get/set PluginsPath and update current.xml

Merge commit 'b766ab830a714c0b79f64265e681f454865ffe65' into gingerbread-plus-aosp

* commit 'b766ab830a714c0b79f64265e681f454865ffe65':
DO NOT MERGE Add deprecated annotation to get/set PluginsPath and update current.xml
b766ab830a714c0b79f64265e681f454865ffe65 02-Sep-2010 Jason Chen <jasonchen@google.com> DO NOT MERGE Add deprecated annotation to get/set PluginsPath and update current.xml

Previous changes only added javadoc annotation, but didn't apply
annotation to the source. Fixing this and updating current.xml.

Change-Id: I52aabd6485a3972fc360f24c2e86cc342a5101ab
ebSettings.java
6fb81376b6e062d9b0ce4d91e23c2a88572b8186 01-Sep-2010 Adam Powell <adamp@google.com> am e34fe69e: Merge "DO NOT MERGE Integrate edge effects into WebView." into gingerbread

Merge commit 'e34fe69e66d8c9bc76453347ba84261b060300f3' into gingerbread-plus-aosp

* commit 'e34fe69e66d8c9bc76453347ba84261b060300f3':
DO NOT MERGE Integrate edge effects into WebView.
e34fe69e66d8c9bc76453347ba84261b060300f3 01-Sep-2010 Adam Powell <adamp@google.com> Merge "DO NOT MERGE Integrate edge effects into WebView." into gingerbread
edb3211c85f919b719cdec72922bceb476941dd3 01-Sep-2010 Derek Sollenberger <djsollen@google.com> am 27c6f7d4: am 1614843e: Merge "Fix invalid comment in WebSettings." into gingerbread

Merge commit '27c6f7d44c592ab8685b93a2ec30a74d594c822d'

* commit '27c6f7d44c592ab8685b93a2ec30a74d594c822d':
Fix invalid comment in WebSettings.
7c2d1353f518971ca87861c2e3dd650b3eeb1e10 21-Aug-2010 Elliott Slaughter <eds@google.com> Cleanup temporary incognito mode files after last tab closes.

Change-Id: Iae5df353fdfd36c8eefa273a8812e80309e42841
ebView.java
230269d43bccccefdcb219c74c96a63ae04f4af9 31-Aug-2010 Adam Powell <adamp@google.com> DO NOT MERGE Integrate edge effects into WebView.

TODO Effect for scaling gestures; asset/polish tweaks.

Change-Id: Ifbc201cb64e0610dbc92a7c57ba0d3a4ee686c43
ebView.java
27c6f7d44c592ab8685b93a2ec30a74d594c822d 01-Sep-2010 Derek Sollenberger <djsollen@google.com> am 1614843e: Merge "Fix invalid comment in WebSettings." into gingerbread

Merge commit '1614843e93d98910147380969d034009ecb23aa2' into gingerbread-plus-aosp

* commit '1614843e93d98910147380969d034009ecb23aa2':
Fix invalid comment in WebSettings.
fdbdeb3137a6b47527d1d714afbb7e1b19b474ec 12-Aug-2010 Derek Sollenberger <djsollen@google.com> Fix invalid comment in WebSettings.

The get/set for the pluginPath is leftover from the Gear's plugin
and is no longer useful now that plugins are loaded from their
own APK using the package manager. These methods were modified to
be no-ops in froyo, but the documentation was never completed.

Change-Id: I20f6593445d877a3dae9b9f51d5198a3509255d6
http://b/2811032
ebSettings.java
173a86b6d7b10aa48efaf2a57828a693e652a661 01-Sep-2010 Cary Clark <cary@android.com> Merge "add web setting for enabling/disabling synthetic links"
6c43d5231d40f55ef9cc1e9803431a8fc5523fcc 31-Aug-2010 Cary Clark <cary@android.com> add web setting for enabling/disabling synthetic links

According to this feature request

http://b/1865484

Some webviews wish to load pages and ignore the
email, phone, and postal addresses. Add a way
to specify that preference to the WebView class.

Change-Id: I6c077c6704e821206a8d653cce4036cecfba2e54
ebSettings.java
fe026bdd3c0fd7543ceaf0732aeb824cfddb5b23 24-Aug-2010 Leon Scroggins <scroggo@google.com> Move Find on page and Select ActionModes to framework.

Bug: 2938052

Requires a change to packages/apps/Browser

Change-Id: I1bb1a47610b06c4bb02ef08647c02cc1dcaddb15
indActionModeCallback.java
electActionModeCallback.java
ebChromeClient.java
ebView.java
e1ab2228e27fc216d52426f13ae30ae244c64140 01-Sep-2010 Leon Scroggins III <scroggo@google.com> Merge "Send delete key events when pressed at beginning of field."
c92de67da33cecc0795902af543c8ff5db57f9c0 01-Sep-2010 Derek Sollenberger <djsollen@google.com> Fix NPE when WebView is being destroyed prior to callback completion.

Change-Id: I964c8b7846e37b554b9bda8cda4f62f3e3851691
http://b/2947192
ebView.java
0171bfba04af5964f8863e334df3ed072a9675ef 01-Sep-2010 Derek Sollenberger <djsollen@google.com> am 73ef5d4e: DO NOT MERGE. CHERRY-PICKED GERRIT CHANGE 60365.

Merge commit '73ef5d4e2bcbf28ccb84580439f2f79d5cea1ec7' into gingerbread-plus-aosp

* commit '73ef5d4e2bcbf28ccb84580439f2f79d5cea1ec7':
DO NOT MERGE. CHERRY-PICKED GERRIT CHANGE 60365.
73ef5d4e2bcbf28ccb84580439f2f79d5cea1ec7 06-Aug-2010 Derek Sollenberger <djsollen@google.com> DO NOT MERGE. CHERRY-PICKED GERRIT CHANGE 60365.

Support complex characters in plugins.

Complex characters like chinese are sent via the onKeyMultiple()
callback. The WebView passes these characters to Webkit so that
non-text inputs (e.g. plugins) can process them.

Change-Id: I49575bb8a583f9f3580f5734ad87cc7c00b2bda9
http://b/2900114
ebView.java
ebViewCore.java
b5503c168a49f0f2b1372678f87d874e7d82aaad 31-Aug-2010 Kristian Monsen <kristianm@google.com> Fix warnings in docs generation.

This should fix the droiddoc warning related to the browser. Will make it a bit easier to pick up errors.

Change-Id: I8dc276bbe3d15f224eba7e4e97046024173dcecc
acheManager.java
ebViewClient.java
a9c43aaa4482819ca14bb5f036b328dd4e5f2211 31-Aug-2010 Adam Powell <adamp@google.com> am 0a77ce27: New edge effects for scrolling widgets (overscroll)

Merge commit '0a77ce277c6ed2aa25bbea5f8cd5687c0720cb68' into gingerbread-plus-aosp

* commit '0a77ce277c6ed2aa25bbea5f8cd5687c0720cb68':
New edge effects for scrolling widgets (overscroll)
0a77ce277c6ed2aa25bbea5f8cd5687c0720cb68 25-Aug-2010 Adam Powell <adamp@google.com> New edge effects for scrolling widgets (overscroll)

TODO: Currently disabled for WebView. Assets used for the glow effect
need to be themable/styleable. Overscroll effect should take place
even when the user did not grab the widget within actual content.

Change-Id: I68277d14d37dc5bcdb9254eaddf6e4998b3f2bf4
ebSettings.java
ebView.java
86aeac9844f1cb4d07c53c581bca4d9b8377b354 31-Aug-2010 Jean-Baptiste Queru <jbq@google.com> am 1d22e122: Merge "Fix a monkey crash when the new WebView is destroyed."

Merge commit '1d22e122a6f278a432519673a8ad3e4853934461' into gingerbread-plus-aosp

* commit '1d22e122a6f278a432519673a8ad3e4853934461':
Fix a monkey crash when the new WebView is destroyed.
3a23a3f367315e8ea0cd9ecde8d27fd8ea20889f 30-Aug-2010 Derek Sollenberger <djsollen@google.com> am a3faa923: am 6726d6bb: Merge "Support pre-loading browser plugins on the system image." into gingerbread

Merge commit 'a3faa923a0ac8d0d58409fcf7c99e8ff7b261ef4'

* commit 'a3faa923a0ac8d0d58409fcf7c99e8ff7b261ef4':
Support pre-loading browser plugins on the system image.
a3faa923a0ac8d0d58409fcf7c99e8ff7b261ef4 30-Aug-2010 Derek Sollenberger <djsollen@google.com> am 6726d6bb: Merge "Support pre-loading browser plugins on the system image." into gingerbread

Merge commit '6726d6bb1a30167786864c445cbe0370ee0dd58c' into gingerbread-plus-aosp

* commit '6726d6bb1a30167786864c445cbe0370ee0dd58c':
Support pre-loading browser plugins on the system image.
6726d6bb1a30167786864c445cbe0370ee0dd58c 30-Aug-2010 Derek Sollenberger <djsollen@google.com> Merge "Support pre-loading browser plugins on the system image." into gingerbread
3d540842f70f9719ff5abbac3bd492e7949d4aab 27-Aug-2010 Leon Scroggins III <scroggo@google.com> Send delete key events when pressed at beginning of field.

Bug: 2952504
Change-Id: Iafb33a29a3b9e51c5db16e7a123fe91f73480643
ebTextView.java
04108437eda79fc2bad1eb2adf5247c9f4dbc480 27-Aug-2010 Cary Clark <cary@android.com> am c28bf25b: Merge "DO NOT MERGE copy selected text on tap" into gingerbread

Merge commit 'c28bf25bc5d9fd729b9e6593168cf61a87cf586c' into gingerbread-plus-aosp

* commit 'c28bf25bc5d9fd729b9e6593168cf61a87cf586c':
DO NOT MERGE copy selected text on tap
de2c49ef48de4e18e53fa1e6b13888a15965a1cc 26-Aug-2010 Derek Sollenberger <djsollen@google.com> Support pre-loading browser plugins on the system image.

The shared library from a pre-loaded plugin is in the /system/lib
directory and not in the apps typical data directory. This change
adjust the plugin loading to handle that difference and ensures
that the right library is loaded.

Change-Id: I4337089e40944e77adb6a95afb93cc1d5069511a
http://b/2779728
luginManager.java
4e43744301009ad6bdb380fc454b46f981eba096 26-Aug-2010 Cary Clark <cary@android.com> DO NOT MERGE copy selected text on tap

Change-Id: I4175a3e66cda7f26353fbbd98e65639fd91b2bb9
http://b/2626451
ebView.java
35e719794b9055a79a997f8a506cef9243240e6c 16-Jun-2010 Patrick Scott <phanna@android.com> Fix a monkey crash when the new WebView is destroyed.

Grab the WebViewCore immediately so that if the Tab is destroyed, we have the
old WebViewCore object and can return the BrowserFrame.

Bug: 2733004
Change-Id: Ic3e4c5417f2165f412f60f05aea3ed403d8cecfd
rowserFrame.java
allbackProxy.java
4e8620f868e2490782ebb960404140ea9482c91d 25-Aug-2010 Ben Dodson <bjdodson@google.com> Updated documentation for upcoming fix for @code tags

Change-Id: Id7b163179132b9cf180afecb4e9e10ee39bcd415
ebView.java
3a6bfd4cbf35343f5a784d9f970962becdeb0633 26-Aug-2010 Cary Clark <cary@android.com> am ed101933: Merge "DO NOT MERGE -- copy on tapping outside of selected text in gmail" into gingerbread

Merge commit 'ed101933ab7506d841d6eaa7bebda4b674c38088' into gingerbread-plus-aosp

* commit 'ed101933ab7506d841d6eaa7bebda4b674c38088':
DO NOT MERGE -- copy on tapping outside of selected text in gmail
8b0b77233682547e6a496ec25db32c2d12b68241 26-Aug-2010 Cary Clark <cary@android.com> DO NOT MERGE -- copy on tapping outside of selected text in gmail

Text can be selected in gmail by choosing Select Text from the
menu and dragging the selection. There's no pretend action bar
like there is in the Browser to commit the selection.

When tapping outside of the selection, copy the text, if
the client (like gmail) has mapped the trackball to the
arrow keys.

Change-Id: I7dd133fd860d392bb01ec103e379e1f1d2a43e64
http://b/2626451
ebView.java
4ae1f6f2ae0a06f5424e930cca1eeab26fd942ab 26-Aug-2010 Shimeng (Simon) Wang <swang@google.com> Restore zoom level when browser is restored.

issue: 2950667
Change-Id: If335813eed6311d3d01354147bd62f90ffbdacfb
ebView.java
1ef41605bbde97fb3979003a652fd365a0d034aa 25-Aug-2010 Cary Clark <cary@android.com> am d64f4a98: DO NOT MERGE fix null check

Merge commit 'd64f4a983df4fd11795e04896d8c48852f6b1777' into gingerbread-plus-aosp

* commit 'd64f4a983df4fd11795e04896d8c48852f6b1777':
DO NOT MERGE fix null check
d64f4a983df4fd11795e04896d8c48852f6b1777 25-Aug-2010 Cary Clark <cary@android.com> DO NOT MERGE fix null check

Check to see if the WebChromeClient is null.

Checked into master in change 63008

Change-Id: If2ef1889ce3633c0b35c078a46bde84982dd1eb3
http://b/2945171
ebView.java
e60cb7f914acbfc7aca6cb9848b8247078d0b3ad 25-Aug-2010 Cary Clark <cary@android.com> simplify cursor ring draw state; fix null check

Rename jni call to note that, when pressing the dpad, the
cursor ring is to shown for a short time. The old name suggested
that this was tracking whether the link was followed.

Fix an unrelated change (from gingerbread, automated
merge unlikely to succeed) to check for a null
WebChromeClient.

Requires a companion change in external/webkit

http://b/2135321 (rename jni call)
http://b/2945171 (null check)

Change-Id: I9d4a92dbba1f92da8dc8cde755a2066de59514f9
ebView.java
75796bbef7cc2cc510460790afd7a6abc6034e98 24-Aug-2010 Cary Clark <cary@android.com> communicate drawing pause to webkit to pause gif animation

Gif frames continue even if the webkit changes aren't drawn.
When we suspend drawing, suspend the gif animation as well.
This is accomplished by fooling webkit into thinking the
browser window is offscreen. When the webkit drawing is
resumed, invalidate the entire content so the gif animations
start up once more.

requires companion change in external/webkit

http://b/2621902

Change-Id: I1814aa41630820872d62752b75ae94383fdcc5fc
ebViewCore.java
bb9db22fbb264f9a31ab85f74339b94cb1ab7151 18-Aug-2010 Steve Block <steveblock@google.com> Hook up device sensors for DeviceOrientation

Change-Id: Ic7165a07a02e3c38165b2f92e3ec7368d2b60e19
eviceOrientationService.java
ebViewCore.java
41d5e93bbdff5dc6383ebd9391e3f1c492dee215 23-Aug-2010 Derek Sollenberger <djsollen@google.com> Move APK monitoring into WebView.

This CL adds the monitoring logic that was removed from the Browser
in a companion CL. This allows applications other than the Browser
to use special features offered by YouTube and plugins. Additionally,
the pluginManager was refactored to prevent code duplication between
the manager and WebView.

Change-Id: Ie37f248c8edd9d06ae1fd6675dd5f06f04774b09
http://b/2834603
luginManager.java
ebView.java
f52435569c15d6c8c09a6bc95fca27139359f5cb 24-Aug-2010 Kristian Monsen <kristianm@google.com> Merge "Java calls to get Android specific files."
d62847997be926991424e4fba30ff3f5ef71258b 19-Aug-2010 Elliott Slaughter <eds@google.com> Fix WebView saveState and restoreState for private browsing mode.

Change-Id: Ia254ee853d73e56c6f0a5b7762a1cefc1dad0894
ebView.java
385a655b8e8bf85024e4f24f1d7f6c2d7d7e900d 21-Aug-2010 Scott Main <smain@google.com> am bb8d314b: am 70c9ffbc: am 11a72482: Merge "docs: add links from widget classes to tutorials" into froyo

Merge commit 'bb8d314b6c5ff9b51af29daa687d66dfd996914f'

* commit 'bb8d314b6c5ff9b51af29daa687d66dfd996914f':
docs: add links from widget classes to tutorials
dba35c09e3456af1a58a33e60ae04c32d106f6b3 19-Aug-2010 Kristian Monsen <kristianm@google.com> Java calls to get Android specific files.

This is needed for https://android-git.corp.google.com/g/#change,62114.

inputStreamForAndroidResource returns an InputStream for a given url
readFromStream is a static method that just reads from a given stream, and catches any exceptions

Change-Id: I4f744bfe851c6d13e16c8eb7f89981cf306d175c
rowserFrame.java
d93ecb3fab669bb563fcb903966e854a593ceace 20-Aug-2010 Cary Clark <cary@android.com> am 581f7861: DO NOT MERGE Refactor find and select dialogs

Merge commit '581f78615a9dc65ee264b3619ef6cdd0b0e8355c' into gingerbread-plus-aosp

* commit '581f78615a9dc65ee264b3619ef6cdd0b0e8355c':
DO NOT MERGE Refactor find and select dialogs
581f78615a9dc65ee264b3619ef6cdd0b0e8355c 20-Aug-2010 Cary Clark <cary@android.com> DO NOT MERGE Refactor find and select dialogs

(Merged by hand from master, based on
https://android-git.corp.google.com/g/#change,53490 )

In WebView:
- Remove the select mode, so that while text is selected,
the view may respond to scroll or zoom gestures.
- Remove the getFindIsUp() method -- let the host application
track if the dialog is visible.
- Map long press to select text if the host application does
not already intercept it.
- Draw find 'extras' during zoom animation.
- Draw select 'extras' during animation and scrolling as well.
- Distinguish between selecting text and pressing a shift key
(the shift key is still a possible select text shortcut)
- Add more public (but hidden) interfaces: setUpSelect, selectAll, etc.

In WebChromeClient, add interfaces to allow WebView to tell the host
application that selection has started or finished. A long press on
a part of the view that does not trigger a host context menu may
start the selection (if text is underneath the press), and clicking
the trackball or tapping away from the current selection may
end the selection.

Companion changes in external/webkit and packages/apps/Browser

Change-Id: I2d41662acbdb8bdaa8219b35f18a9276e34636a7
http://b/262451
ebChromeClient.java
ebView.java
bb8d314b6c5ff9b51af29daa687d66dfd996914f 20-Aug-2010 Scott Main <smain@google.com> am 70c9ffbc: am 11a72482: Merge "docs: add links from widget classes to tutorials" into froyo

Merge commit '70c9ffbc838271f0ea27a4780eb146287de53ef6' into gingerbread-plus-aosp

* commit '70c9ffbc838271f0ea27a4780eb146287de53ef6':
docs: add links from widget classes to tutorials
70c9ffbc838271f0ea27a4780eb146287de53ef6 20-Aug-2010 Scott Main <smain@google.com> am 11a72482: Merge "docs: add links from widget classes to tutorials" into froyo

Merge commit '11a72482a0cdc45ceaf4ca83957e682381455aee' into gingerbread

* commit '11a72482a0cdc45ceaf4ca83957e682381455aee':
docs: add links from widget classes to tutorials
41ec65355bd6ded652769725b276d47c54a0d913 20-Aug-2010 Scott Main <smain@google.com> docs: add links from widget classes to tutorials

Change-Id: I817e885524951853182b0458df4a32dea1614243
ebView.java
73040de4f6722c1c2c6e3a8b26f8b966bd415860 19-Aug-2010 Steve Block <steveblock@google.com> Merge "Implement DeviceOrientation"
c43565be90a3119da675571238de20583ca32400 11-Aug-2010 Steve Block <steveblock@google.com> Implement DeviceOrientation

This patch provides all of the plumbing but only provides the error event,
used when we fail to connect to the device's sensors. Connection to the
sensors is coming in a later patch.

Change-Id: I322297d70570425b19917712e63e815651ceacc2
eviceOrientationManager.java
eviceOrientationService.java
ebViewCore.java
0ed2bb5e566aee763e7a4ff22a58db9f424e6e9c 19-Aug-2010 Shimeng (Simon) Wang <swang@google.com> Set the scale to be at least overview zoom scale.

This happens when screen is rotated. Also removed a not-needed calculation.

issue: 2919307
Change-Id: If24ccb45a488aa8f00fead09206bfbe1799ebcb2
oomManager.java
c1cba781d37910e61591cffda50633f1db6cc4ea 17-Aug-2010 Shimeng (Simon) Wang <swang@google.com> Use fixed viewpport for tablet device.

This makes the zoom animation much more smooth. With previous dynamic
viewport, the animation jumps because of viewport adjustment and big
screen.

Also the viewport width is changed from 800 to 1040 to better suit
the tablet device. It's the middle point of 1280 and 800.

The text reflow re-alignment for non-double-tap zoom is disabled for
tablet, since most of the time the reflow has no effect.

issue: 2919307
Change-Id: I74493df6408291c24ef8511512d7ed0b81bf507a
ebSettings.java
ebView.java
ebViewCore.java
oomManager.java
2aed776142e323b06bc6493fb315643377738733 13-Aug-2010 Leon Scroggins <scroggo@google.com> Change focusController only when WebView gains/loses focus.

Bug: 2582455

A corresponding webkit change eliminates the rest of the calls
to change the active and focused state of the focus controller.

Change-Id: I18868b7480ba5daae71375d109d5a721ecf22b4d
ebTextView.java
ebView.java
8a5d335a5533eef89aa8e4b701b692673145eef1 18-Aug-2010 Patrick Scott <phanna@android.com> Use a static variable and methods for the current WebView.

sJavaBridge may not exist by the time onWindowFocusChanged is called.
To avoid an NPE, just static methods that modify a global field.
JWebCoreJavaBridge is a global object anyway so using a static field
will be fine. To avoid any garbage collection issues, store the
WebView in a WeakReference.

Bug: 2894682
Change-Id: I73de9237ddbbdc55841a9b2639437e26856439c8
WebCoreJavaBridge.java
ebView.java
54038acc8c5b85618911b9ca07403da365adfc97 14-Aug-2010 Shimeng (Simon) Wang <swang@google.com> Update variable to reflect its true value.

The stale value will happen when rotating the large screen and make
double tapping not behave well.

Alternatively, shall we get rid of this variable?

issue: 2919307
Change-Id: I2d71e547db42adeb5674accbf79fb0e7fc587fcd
oomManager.java
dde858cbb6dd96e621616b20bb5a6866565b4874 12-Aug-2010 Shimeng (Simon) Wang <swang@google.com> Change scale for large screen reading when double tapped.

This happens when default and overview scales have not much difference.

This solves the double tap issue for large screen devices,
where overview and default scale are the same. The code works well
with phone device as well.

Change-Id: Iac7f66369d58a152de8de7025b326d1672da30d4
ebView.java
oomManager.java
6f99270cbe2d3385962a895d387f9024b829bc22 12-Aug-2010 Leon Scroggins III <scroggo@google.com> Hide the soft keyboard even if WebTextView is not in use.

Sometimes clearTextEntry is called when mWebTextView is not
being used. In those cases, we still want to hide the soft
keyboard, since the user is no longer attempting to type.

Bug: 2835685
Change-Id: I4e8d4bc60b23028e2840d6205caf13699bce6031
ebView.java
d7bfb2dfb8ef89e1fba2096041ab99679df55cce 12-Aug-2010 Steve Block <steveblock@google.com> Merge "Update DeviceOrientationManager to be specific to a WebViewCore"
4668e77265724cea38e33b2767f959209bfa9a62 11-Aug-2010 Patrick Scott <phanna@android.com> am dc1f0858: am 9902196f: Fix npe in getCacheTotalSize.

Merge commit 'dc1f08586eadc3a3dbbdf22b520ba1065b2032f8'

* commit 'dc1f08586eadc3a3dbbdf22b520ba1065b2032f8':
Fix npe in getCacheTotalSize.
dc1f08586eadc3a3dbbdf22b520ba1065b2032f8 11-Aug-2010 Patrick Scott <phanna@android.com> am 9902196f: Fix npe in getCacheTotalSize.

Merge commit '9902196f9885d369e37cf44084e3f04513511ab0' into gingerbread-plus-aosp

* commit '9902196f9885d369e37cf44084e3f04513511ab0':
Fix npe in getCacheTotalSize.
9902196f9885d369e37cf44084e3f04513511ab0 11-Aug-2010 Patrick Scott <phanna@android.com> Fix npe in getCacheTotalSize.

Bug: 2882277
Change-Id: I9319a48e0ed75561d3d04691fb288f69d11edc84
ebViewDatabase.java
f4a705f045ccd00e01e68bc8d5825007809d1c1e 11-Aug-2010 Steve Block <steveblock@google.com> Update DeviceOrientationManager to be specific to a WebViewCore

This avoids the need to pass the WebViewCore to its methods.

Change-Id: Ieec414f0819f06c8f5568ae5d6dd81a48d05fd6e
eviceOrientationManager.java
ebView.java
ebViewCore.java
68dede3d6664d91302d727531d13f7f5862d3a50 04-Aug-2010 Steve Block <steveblock@google.com> Hook up mock for testing DeviceOrientation in DRT

Change-Id: I99fbe328807428aa0d94893545bad0697ccb71d7
eviceOrientationManager.java
ebView.java
ebViewCore.java
ff0f973442d22ba6bb1231fb6e97e5f3051a7f48 06-Aug-2010 Derek Sollenberger <djsollen@google.com> Support complex characters in plugins.

Complex characters like chinese are sent via the onKeyMultiple()
callback. The WebView passes these characters to Webkit so that
non-text inputs (e.g. plugins) can process them.

Change-Id: I159c4a404c195b60cc7f63ef4bff0aa80db96c3f
http://b/2900114
ebView.java
ebViewCore.java
73980a949d0d5fb9f1fb3979c73aef52ef8ddc2c 06-Aug-2010 Michael Kolb <kolby@google.com> added scroll control support to WebView

Change-Id: Ie0ddaa6b532e31fb0e2904e6bab9d67c06599b66
ebView.java
f21d2e305961b0df4d1c3d5d45a3ff7723b293af 15-Jul-2010 Elliott Slaughter <eds@google.com> Initial work on browser incognito mode history feature.

Change-Id: I050edf263d5c4ee0c0373692e267d7e19f47ba1b
ebSettings.java
ebView.java
90d5e8c08ba0b3fd86fa8077bf90c88133f82382 05-Aug-2010 Dianne Hackborn <hackbod@google.com> Fix build.

Change-Id: I18c0af97c7e204f023cea77e3e5d08eb37596222
ebView.java
0f11696164e1dadd2d33dddeca418f719f26bc10 02-Aug-2010 Elliott Hughes <enh@google.com> Switch android.webkit.MimeTypeMap over to libcore.net.MimeUtils' table.

(Said table is the very same data that used to be, but pushed further down
the dependencies so that it can be shared with java.net.URLConnection, so
the two classes' equivalent methods return the same results.)

Bug: 2422917
Bug: http://code.google.com/p/android/issues/detail?id=10100
Change-Id: Ic4e80c2fede22671e825d569f349e4329dcf01ea
imeTypeMap.java
37b64de6bcd0013856954c5f9c847feb81618f7f 01-Jul-2010 Michael Kolb <kolby@google.com> moved target_content user agent parameter to strings
added target content parameter for xlarge screen configuration

Change-Id: I27d252167d4011beec3784addaa548193ba9e20c
ebSettings.java
b080636da66680f0f3d526ea70acea9febcd753c 23-Jul-2010 Mac Wang <Mac_Wang@acer.com.tw> Remove compilation warnings by removing illegal characters

Change-Id: I8522be88b628a12fbde7825354730de4b4d4635a
ebView.java
b77bcd1bb45a801de1d6e362cfe4775dd0b10080 22-Jul-2010 Patrick Scott <phanna@android.com> Fix gmail crash.

Change-Id: I009d44fce36e365e915b2ecbdfd94fdcee40adf8
ebView.java
a3ebcc9d2ea15614529e112880e1d16e81a178e1 16-Jul-2010 Patrick Scott <phanna@android.com> Support scrolling divs.

Detect two fingers close together and enter drag layer mode. Add a
few checks for this mode (mostly to not change the WebView's scroll
position).

Bug: 1566791
Change-Id: I019bb36479884a51c7ca046ca40c05f7c5706b22
ebView.java
f197f196014c8a96dddcc37d583736e8921e1909 20-Jul-2010 Ben Murdoch <benm@google.com> Make sure to set a Resource Response on the native side in all cases.

Fix bug: 2847289

Change-Id: Ieda22c201a99b0e3bf307ca1f45b115dd78f7698
oadListener.java
387b6580b8723d738ffd99d93d0f8357d55b3dc3 16-Jul-2010 Leon Clarke <leonclarke@google.com> Cancel test selections when they start if the client hasn't overridden the
selection behavior.
http://b/issue?id=2847546

Change-Id: I0d8529add54b3dfbf0af239fda1b15edd7bd32e0
ebChromeClient.java
ebView.java
b48fdbe79260b1603cfef5e304e068c29d4bc257 30-Jun-2010 Elliott Slaughter <eds@google.com> Browser save page as web archive.

Change-Id: Id34a93b2e9bb6c185338989d1eeb6929d0bd06c5
rowserFrame.java
imeTypeMap.java
ebView.java
ebViewCore.java
8abd50b74850b45553db1b1f567edc6b01956f13 09-Jul-2010 Grace Kloba <klobag@google.com> Combine base PictureSet with composite layers into
one SkLayer tree to get ready for GL rendering.

Now UI holds its copy of SkLayer tree. The top node
is BaseLayerAndroid which has the PictureSet as its
content.

There is a matching change in external/webkit.
ebView.java
ebViewCore.java
0b2395c1935bf34b2671209ae817dc14331d418a 24-Jun-2010 Dirk Dougherty <ddougherty@google.com> Doc change: Add revision notes for Android 2.2_r2 development platform. Fix some umappable characters in WebView class doc.

Change-Id: I5522406335fbf96164a5b812ec4891c499343d1e
ebView.java
372dfc8bd40446e04ea22f2752cc99f0566fa077 01-Jul-2010 Ben Murdoch <benm@google.com> If no touch icon is specified by a <link> tag, return <host>/apple-touch-icon.png as
the touch incon url instead. The DownloadTouchIcon class will handle the case that
this file does not exist on the server.

Change-Id: I8ab8fd65b571584d7b648af72c568f0b01c2dcaf
allbackProxy.java
ebHistoryItem.java
ebView.java
72b4f9336af9f9aa783c51c991390353b3235786 02-Jul-2010 Shimeng (Simon) Wang <swang@google.com> Merge "Fix zoom overview logic."
d5c6a16b51ef26938f0e537524b524ac4677d79b 01-Jul-2010 Shimeng (Simon) Wang <swang@google.com> Fix zoom overview logic.

issue: 2778976
Change-Id: Id859c473190d067e378cf149d9a7bf9e914ee6e7
oomManager.java
9a9fd64ab79f064f55000ef18e094b7459d03222 01-Jul-2010 Grace Kloba <klobag@google.com> Remove the TODO as it has been fixed with changes
for http://b/issue?id=2666473.
ebView.java
f96d23ae1a7f5d5ed48cc1c618c2caf298c616ef 01-Jul-2010 Steve Block <steveblock@google.com> Merge "Pass the WebView context to the GeolocationService from WebKit"
7940e8472b7bbcaf957cc2df116184d587674d00 01-Jul-2010 Shimeng (Simon) Wang <swang@google.com> Merge "Fix the initial reflow width when switch between basic pages."
0a4a70daba81351e4d12ca4faae6d135c1f0d2e2 30-Jun-2010 Shimeng (Simon) Wang <swang@google.com> Fix the initial reflow width when switch between basic pages.

issue: 2778976
Change-Id: Ib77c91628792258db8197459656b8f42bf787c9c
ebView.java
a172e7d0d96e4a4db5e2b408e8ee3e96948df9a4 30-Jun-2010 Michael Kolb <kolby@google.com> user agent string change: remove "Mobile" for large screen configuration

bug: http://b/issue?id=2778676

Change-Id: I268d8c0f8834bdbd099d59fdbc462da26234241a
ebSettings.java
08968fa59e3a3a0fcf5a601a0ee8774a83586e0b 30-Jun-2010 Ben Murdoch <benm@google.com> Merge "Receive notification from native webcore that the page being viewed has marked itself as being an installable web app. Default implementation in the WebChromeClient does nothing."
6312de2a9a2cf7304d91b7f78c3dff2db59b918c 29-Jun-2010 Ben Murdoch <benm@google.com> Receive notification from native webcore that the page being viewed
has marked itself as being an installable web app. Default implementation
in the WebChromeClient does nothing.

Requires an external/webkit change.

b/2766917

Change-Id: I7aae1b097f866e3d1c6c6a7a31a55bb12ff6a441
allbackProxy.java
ebChromeClient.java
ebViewCore.java
f0785a66f0e8447c30f47a760905bc74644f5c10 25-Jun-2010 Cary Clark <cary@android.com> set maximum image size

Our use of web settings does not specify the maximum image size,
although we have some hard-coded values used when decoding the
image. For defective images, the hard-coded values are not enough,
since we may exceed memory in the decoder before the limit is
reached.

Pass along our limits to the decoder, and respect any limits
set by the caller.

companion change in external/webkit

Change-Id: Iabd78165390dddce917f637bd3263b83f9b4aa56
http://b/2689053
ebSettings.java
074c08c4ebbba0875549496829ee7872dd153ee8 28-Jun-2010 Steve Block <steveblock@google.com> Pass the WebView context to the GeolocationService from WebKit

Bug: 2798745
Change-Id: I53e7c5f9ac1cf017a6f7d83e6d0fd57bc1d3403a
eolocationService.java
b983c893d4307caec8504e6b46ca69ae859b25d3 28-Jun-2010 Derek Sollenberger <djsollen@google.com> Rename a data storage object to better reflect its intended usage.

Change-Id: I18eae0665b59e7fee389a0e09955c5860a7e65f2
ebView.java
ebViewCore.java
oomManager.java
4aef697d58bc142b96953cb2623b06981af2abc9 24-Jun-2010 Derek Sollenberger <djsollen@google.com> Initial pass at unit tests for ZoomManager.

This CL also includes some minor changes to the ZoomManager that
make the manager easier to test as well as fix some uncovered issues.

Change-Id: I66a84d70ee75e765ccf9cccb2d123757a9470f93
ebView.java
oomManager.java
924af70019f1cc82d850a0c29c2606a2f4faf5cf 04-Jun-2010 Cary Clark <cary@android.com> Refactor find and select dialogs

In WebView:
- Remove the select mode, so that while text is selected,
the view may respond to scroll or zoom gestures.
- Remove the getFindIsUp() method -- let the host application
track if the dialog is visible.
- Map long press to select text if the host application does
not already intercept it.
- Draw find 'extras' during zoom animation.
- Draw select 'extras' during animation and scrolling as well.
- Distinguish between selecting text and pressing a shift key
(the shift key is still a possible select text shortcut)
- Add more public (but hidden) interfaces: setUpSelect, selectAll, etc.

In WebChromeClient, add interfaces to allow WebView to tell the host
application that selection has started or finished. A long press on
a part of the view that does not trigger a host context menu may
start the selection (if text is underneath the press), and clicking
the trackball or tapping away from the current selection may
end the selection.

Companion changes in external/webkit and packages/apps/Browser

Change-Id: I81f549181249c38d8d4c10fd7064f513d11318fa
http://b/262451
ebChromeClient.java
ebView.java
94345f45e7b82a22eb1e71205612315b7f44c2b4 25-Jun-2010 Derek Sollenberger <djsollen@google.com> Fix zoom overview mode bug in the zoom manager.

Change-Id: Ia4c95e8014976ff6a1c5f3b19030abd78b532f96
http://b/2793303
oomManager.java
f39d26605d5cb603e2cddddbe1d1b0e269a400d1 24-Jun-2010 Derek Sollenberger <djsollen@google.com> fix NullPointerException caused by inflating XML Webview that is
defined to be non-visible.

Change-Id: I3233428d1cc74e90c6431cc1796592af6a7a62d8
http://b/2794841
ebView.java
be1304f0c2c96be1876c2bd38d319f46e135536f 23-Jun-2010 Elliott Slaughter <eds@google.com> Tweak fix for setXSSAuditorEnabled in LayoutTestController.

Change-Id: Iba9b67da8628e3880e8f6b18d2dc51337b9c58fb
ebSettings.java
5dc0c8253b368239a90d7176ff6325ae5ba371b3 22-Jun-2010 Elliott Slaughter <eds@google.com> Add setXSSAuditorEnabled support in WebSettings.

Change-Id: I6f74589b28960b91093acf8219a55e98f93b1881
ebSettings.java
f9b731d383790e0dfd407525efcd72bba4ee4895 22-Jun-2010 Grace Kloba <klobag@google.com> Add a WebSettings to control whether WebView will
use some perf trick, e.g. pause updating the picture,
during panning and zooming transition.

Fix http://b/issue?id=2784020
ebSettings.java
ebViewCore.java
ad45686d727c8c9a602ba0534d3b052fdaf6c8d6 17-Jun-2010 Shimeng (Simon) Wang <swang@google.com> Add dumpChildFramesAsText function support in LayoutTestController.

Change-Id: I8af0bbca1d2166a25486d5a12fb6a985bbe264ef
rowserFrame.java
6e90ddb2d8dd26bc7c27c9876f2c6ec18451bbaa 16-Jun-2010 Patrick Scott <phanna@android.com> Move WebViewDatabase initialization into a background thread.

This isn't the perfect solution as any calls into WebViewDatabase will block
until initialization completes. It is better than the current model which
blocks when creating the WebViewDatabase.

In order to get a perfect solution, we would need to do initialization in the
background and have a way to interact with the database during initialization
that would not block.

Bug: 2721802
Change-Id: Ibbaf7f97926128de6534fbf2148452099766c6b7
ebViewDatabase.java
97147286d1992ef699ce81f7b72b7b415483ef9f 16-Jun-2010 Patrick Scott <phanna@android.com> Fix a monkey crash when the new WebView is destroyed.

Grab the WebViewCore immediately so that if the Tab is destroyed, we have the
old WebViewCore object and can return the BrowserFrame.

Bug: 2733004
Change-Id: Ic3e4c5417f2165f412f60f05aea3ed403d8cecfd
rowserFrame.java
allbackProxy.java
edb20ac70e8080f046e0ad684232ad384ba145db 16-Jun-2010 Kristian Monsen <kristianm@google.com> Adding a way for native code to get the apps data directory

Change-Id: I9da5376a202cb2d24c2125352efeb9bffcfe357b
rowserFrame.java
e377032899fd7a9f88ad1313847e77c098b9f248 14-Jun-2010 The Android Open Source Project <initial-contribution@android.com> am 864c68ea: merge from froyo-plus-aosp

Merge commit '864c68ea452baa0f4f298faf2155af45a9b6d60c'

* commit '864c68ea452baa0f4f298faf2155af45a9b6d60c':
Added an addAll to the ArrayAdapter
WLAN: Reset power save mode to startup value after DHCP response.
Add PageUp and PageDown hot keys
Should accept "application/vnd.wap.multipart.alternative" message.
replaced deprecated getIntent with parseURI
864c68ea452baa0f4f298faf2155af45a9b6d60c 14-Jun-2010 The Android Open Source Project <initial-contribution@android.com> merge from froyo-plus-aosp

Change-Id: I9cede57e10df9d6ba411b2960a77d7b9b60a1489
07d814075583230e92f79d52845ecc3fa36df0fd 11-Jun-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: Ia668b322a02e220b74c222dbbcc5b4fdc3c59ab0
bffa851f042abe1b123b24ba332ff0095ec18a92 10-Jun-2010 Derek Sollenberger <djsollen@google.com> Finish refactoring zoom logic from WebView to ZoomManager.

This is the final CL in a series of CL's that moved the
location of the zoom logic from WebView to ZoomManager.

Change-Id: Ie1e80b9b3108bd4cb0b0ee2822dc984da91c2d86
http://b/2671604
ebView.java
oomManager.java
15c5ddb7fd6357ea8ba2cccb18284137b8113401 10-Jun-2010 Derek Sollenberger <djsollen@google.com> Refactor the double tap zoom code into ZoomManager.

This CL is one in a series of CL's that is intended to refactor
the zoom logic from WebView to ZoomManager.

Change-Id: Icf88f7bd45068dddb31913903403acc7a8f21063
http://b/2671604
ebView.java
oomControlEmbedded.java
oomManager.java
b60c941811cc15ab34fcc2f038aba56f862659b8 11-Jun-2010 Brad Fitzpatrick <bradfitz@android.com> resolved conflicts for merge of f37cbe6b to master

Change-Id: I529b17e55b9668f900f685f92e9831e14a82db05
f37cbe6bb624648053ab9756831450305197a9b8 11-Jun-2010 Brad Fitzpatrick <bradfitz@android.com> am 438d0595: Introduce "StrictMode"
438d0595121a7a2cdf19741e76e3c0e21a5c173d 10-Jun-2010 Brad Fitzpatrick <bradfitz@android.com> Introduce "StrictMode"

This is a new public API for developers to opt-in to strict rules
about what they're allowed to do on certain threads. (this is the
public face of the @hide dalvik.system.BlockGuard, added recently...)

In practice this will be used for developers to opt-in to declaring
that they don't want to be allowed to do various operations (such as
disk I/O or network operations) on their main UI threads. (these
operations are often accidental, or even when they are fast come with
a good chance of being slow or very slow in some cases....)

Implementation wise, this is just a thread-local integer that has a
bitmask of the things that aren't allowed, and more bits for saying
what the violation penalty is. The penalties, of which multiple can
be chosen, include:

* logging
* dropbox uploading for analysis/reporting
* annoying dialog
* full-on crashing

These are all only very roughly implemented at this point, but all
parts now minimally work end-to-end now, so this is a good checkpoint
commit before this gets too large.

Future CLs will polish all the above 4 penalties, including
checksumming of stacktraces and minimizing penalties for duplicate
violations.

Change-Id: Icbe61a2e950119519e7364030b10c3c28d243abe
ebView.java
4e916ad8c96fd7425e34ca1a8db82720fe046b73 10-Jun-2010 Chih-Wei Huang <cwhuang@linux.org.tw> Add PageUp and PageDown hot keys

Change-Id: I588f70d74bc5c02e1fb60c7a2821d8801f2333e0
ebView.java
e4031a3780ad3560d540e87e543a316b0b50a945 10-Jun-2010 Jean-Baptiste Queru <jbq@google.com> am 030b0ebe: merge from froyo-plus-aosp
c08fd46f5c557a5ec0b20af115488593c5ee5f98 09-Jun-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: I4ddfc902e70c85ab8b11698fc08df7247e46d0a9
369aca27ec44274d9e70e91513914fa2564c6aef 09-Jun-2010 Derek Sollenberger <djsollen@google.com> Consolidate common zoom code and tighten access to some ZoomManager variables.

This is a single CL in a series of CL's that is focused on moving the
zoom logic from WebView to ZoomManager.

Change-Id: I741fc34d5dd481b89f6e0b33503834c33f4fe69e
http://b/2671604
ebView.java
oomControlEmbedded.java
oomManager.java
9226a713ff7a372f8efc68c17da3ba8fd7f22365 09-Jun-2010 Jean-Baptiste Queru <jbq@google.com> Merge "Adding mimetypes to the mimetype map used in the web view"
293c360ffe2980b4d5d2d7c4aff69166ff265e9c 04-Jun-2010 Derek Sollenberger <djsollen@google.com> Move pinch-to-zoom logic into ZoomManager.

This CL is one in a series of CL's that moves the zoom logic
from WebView into ZoomManager.

Change-Id: I9980dd78dbc3345d465d4f39afcfd2f025f45bcb
http://b/2671604
ebView.java
oomManager.java
fba3197d9e28f087ce41e0fc2446e76936764889 04-Jun-2010 Grace Kloba <klobag@google.com> Do not call AlertDialog.show() if the context is not
the focused Activity. In that case, just take the
default cancel.

Change JSAlert to be cancelable like JSConfirm.

Fix http://b/issue?id=2741195
allbackProxy.java
eefd63e3579c0de1c8a3bb737c6dd28668251b63 04-Jun-2010 The Android Open Source Project <initial-contribution@android.com> am 0a0c57f9: am 7c035d8a: am 2d743fe2: merge from open-source master
2d743fe2f39397d41334001d897eb78da56e94ef 04-Jun-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: Ic9060d92c014d6cbe9d90ce8deca8fa111711471
627eca9b62c84a8c21406576293d46c74006e490 03-Jun-2010 Derek Sollenberger <djsollen@google.com> Merge "Update EmbeddedZoomControl to use new ZoomManager methods."
341e22ffceb5be2dd143e749aa2d85ef1e0dd53f 02-Jun-2010 Derek Sollenberger <djsollen@google.com> Refactor zoom logic from WebView to ZoomManager.

This CL is one in a series of CL's intended to remove the zoom
logic from WebView. This CL focuses on refactoring the initialScale
variable as well as the onSizeChanged() and NEW_PICTURE_MSG portions
of the code.

Change-Id: Id44bce50378aa7cdfc1c8110818e18500679c517
http://b/2671604
ebView.java
oomManager.java
af39e4b8022c5ac66faf441c38a71387ca20b300 02-Jun-2010 Derek Sollenberger <djsollen@google.com> Update EmbeddedZoomControl to use new ZoomManager methods.

Change-Id: Icea2bea36d42ff58a05600ceb4388992bc8979d7
oomControlEmbedded.java
347d50fb1f4a40742c977f63dfbf7d60ff72e705 02-Jun-2010 Ben Murdoch <benm@google.com> Merge "Frameworks changes to enable File Reader and blob.slice APIs."
dad86349bea3aec1d48793adc61b446f82311d15 02-Jun-2010 John Eckerdal <john.eckerdal@sonyericsson.com> Add better error handling for savePicture and restorePicture

If an Exception occurs when storing the file treat this as an error
and always fail to try to prevent corrupted pictures to be stored to
the file system.

Close files if they were opened, the caller might want to perform other
file operations on the file and if it is still open these may fail.

Change-Id: Ic68596b5c745bbe413096c22684c388e853a7643
ebView.java
ec9a104ce99b0338d13b77ed5d8fdc8a9cbc7146 02-Jun-2010 Grace Kloba <klobag@google.com> If the WebView can't be scaled, don't check for
double tap. This will make the click event on the
non-scalable page much responsive.

Fix http://b/issue?id=2645880
ebView.java
6164ef1b78602a41f81b02355cfbe8516837dcd6 02-Jun-2010 Grace Kloba <klobag@google.com> Expose canZoomIn and canZoomOut for WebView.
ebView.java
oomManager.java
a393a85d2b2f319a29c52c354a8b5e44fc1621ed 01-Jun-2010 Romain Guy <romainguy@google.com> Fix build warnings about improper ASCII encoding.

Change-Id: I5f26278e74a0a7018059db75ca44a36c42c559f3
ebView.java
87b17be55e02e3d5aef146bfd3caa5116088afd8 01-Jun-2010 Derek Sollenberger <djsollen@google.com> eoving Zoom animation logic from WebView into ZoomManager. This is
pick bad5ede Revert "Refactor the on-screen zoom controls into a separate class."

one part of a series of CL's that is intended to refactor all zoom
logic into the ZoomManager.

Change-Id: I6260c7d2daade4861df1296c9db364ee2a892bd0
http://b/2671604
ebView.java
oomManager.java
65b4cdabb0b626635606c4b2dfec145c547d3396 28-May-2010 Ben Murdoch <benm@google.com> Frameworks changes to enable File Reader and blob.slice APIs.

Rather than just storing the name of the file that the user chose in the file picker,
store the full path to the file. That way we can open it using the file API and still
extract the filename itself by simply chopping off all but the last path segment.

Change-Id: I25f2fe818deda8ca848f0da02cf45ae97d2127fb
WebCoreJavaBridge.java
ebViewCore.java
e80cbcc05168a6de6896f0e176f72c708e6cd900 29-May-2010 Grace Kloba <klobag@google.com> merge two restore scale to one.

There is a matching CL in external/webkit
ebViewCore.java
acea08d20ff34248814e14f3e3bafc86825c2d72 27-May-2010 Leon Scroggins <scroggo@google.com> Prevent a null pointer exception.

Bug 2721268

Change-Id: I3a9e838ed3f2f9dccdf7b4bf42a0dbad58e62e02
ebView.java
178db41234abd08925fea9a4dc5180218f7da737 19-May-2010 Grace Kloba <klobag@google.com> Experimental feature: use WebKit to find out the selection
highlight.

The new setting, supportTouchOnly(), is currently not
fully implemented. It is overloaded with mLightTouchEnabled
for short term testing. To test the feature, please
use the "Enable Light Touch" in the debug settings.

When supportTouchOnly is true, we are not using nav
cache to display the yellow ring. Instead we show
the gray rectangle(s) based on the calculation from
WebKit. When short press happens, we current use 0
for mMoveGeneration so that it will trigger WebKit
to use the same point when it calculates the highlight.

If you turn on NavDump in the debug settings, it will
also draw the fat point where you tap on the screen.

Known issues, it is not fully synced with IME. If you
tap a text input box also in focus, the yellow ring
will show up. If you leave the text input field, the
IME is not dismissed. If this passes the user tests,
we will make a special mode and fix all these issues.

There is another matching CL in external/webkit
ebSettings.java
ebView.java
ebViewCore.java
a3f055e205b29a6bf6a7bb294916c9019d1b3402 26-May-2010 Ben Murdoch <benm@google.com> Fix layout test failure with fast/events/touch/touch-stale-node-crash.html

This layout test is currently failing due to timing out in DRT.

The issue is that the test sends a down, up, down sequence quickly. For
each down event, we post a PREVENT_DEFAULT_TIMEOUT message to the
WebView's message handler. WebCore responds to the first touch event and
we update the mPreventDefault state variable correctly. The second touch down
resets mPreventDefault as it's the start of a new touch sequence and a second touch down is posted
to the WebCore thread.

At this point we still have the first TIMEOUT message in the WebView queue. The problem occurs
when the WebView processes this timeout message before the WebCore thread processes the second
touch down message. In this case the WebView clears the WebCore thread's message queue and instead posts
touch cancel events, erroneously removing the second touch event. This timeout message should not have been
processed as it was associated with the first touch down that had already been completed. Without the
second touch the test never completes.

The fix is to remove PREVENT_DEFAULT_TIMEOUT messages from the queue before starting
a new touch sequence.

Change-Id: Ief054239529d710a79a0e58a589bd7a92434dbf2
ebView.java
03e489157191a7bda903babe9437076bf135bc41 18-May-2010 Derek Sollenberger <djsollen@google.com> Refactoring more webview zoom code into ZoomManager.

This CL is #2 of multiple CL's to remove the zoom code
from webview and place it into webkit.ZoomManager. Each
commit is only part of the entire refactoring so there
are many ZoomManager.* variables still referenced from
WebView.

Change-Id: I21f6517dff46b65a277bc67120ffabe043098e5e
http://b/2671604
ebTextView.java
ebView.java
ebViewCore.java
oomManager.java
eb51f3e340d3ddc935367c302167d4b4b706e904 25-May-2010 Leon Scroggins <scroggo@google.com> Check for null before using Layout.

Bug 2713024

Change-Id: Iaad5c774fa1e16c341d481104f8fd38f7add3082
ebTextView.java
fa296a4c9001ed62fd4570f97c59433eccff1c82 18-May-2010 Ben Murdoch <benm@google.com> Add a string for the no file chosen label, shown on a file upload control when the user has not yet picked a file.

Requires external/webkit change.

Change-Id: Idb1039a7c39b18249579794df523afb6144fba47
rowserFrame.java
4ae32f5f11f2914196d6d0d195dcbc59d37b92bc 18-May-2010 Ben Murdoch <benm@google.com> Allow passing of accept types from WebCore to Java for the file picker.

Requires a change in external/webkit and packages/apps/Browser.

Change-Id: I0fe5f0edb00be0f329f07e42e84f88aced543d17
allbackProxy.java
ebChromeClient.java
ebViewCore.java
cc749dee638785cee52a05c3c76445573591c6f1 18-May-2010 Ben Murdoch <benm@google.com> Add a method on the JavaBridge to resolve filenames from content URIs.
Requires an external/webkit change.

Change-Id: I7cc9a1c9c544546ca4fe8a212d3d60183ad99c36
WebCoreJavaBridge.java
ebViewCore.java
5ddfac4239193b1fcb987bfebc7f3d06ecedff33 18-May-2010 Scott Main <smain@google.com> am 68cc7187: am 8473259d: am 74e151c5: am 5f1d1002: Merge "docs: fix markup error" into froyo
74e151c54c31cf7324771fcabc06e9fbfe1118ca 18-May-2010 Scott Main <smain@google.com> am 5f1d1002: Merge "docs: fix markup error" into froyo

Merge commit '5f1d100298dfafbd996b6deff457e6d1de4008a0' into froyo-plus-aosp

* commit '5f1d100298dfafbd996b6deff457e6d1de4008a0':
docs: fix markup error
e3b9f8b9b295baca000c0a23d90d76c984168735 18-May-2010 Scott Main <smain@google.com> docs: fix markup error

Change-Id: I59a42f47483d76b6a3220b1d88e9d6bd96f83daf
ebView.java
5de72739b704229438775e865d555def96019311 18-May-2010 Steve Block <steveblock@google.com> Merge "Make sure Geolocation is robust to location providers being absent on the device."
3d9e066ab3bbb184a9651d47ace5fe4c1626287f 18-May-2010 Steve Block <steveblock@google.com> Make sure Geolocation is robust to location providers being absent on the device.

Bug: 2692830
Change-Id: I19f88e20f00fe7ecfb77c06197213d273bd80411
eolocationService.java
5e02c431a3680368fa60a4a32a86e0dc31139666 18-May-2010 Grace Kloba <klobag@google.com> If we can't scroll any more, stop the animation and
resume update. Otherwise, we can't touch select until
the scroller animation is done.

Fix http://b/issue?id=2666473
ebView.java
3c19d99042ee6ebbfda23cdfb65e3cc7fda72031 18-May-2010 Grace Kloba <klobag@google.com> If the new fling is much slower (less than 1/5 of
the previous fling), don't accelerate it.

Fix http://b/issue?id=2672074
ebView.java
b3976bb395ee08eac09c6b0d0e64176f30c588e5 18-May-2010 Scott Main <smain@google.com> am 0583ac4c: am 9719fe11: am fbb285e6: am e64256d6: Merge "docs: revise webview description and add info for targeting screen densities" into froyo
fbb285e67f6b150440647d0c484d88edb7bf9be9 18-May-2010 Scott Main <smain@google.com> am e64256d6: Merge "docs: revise webview description and add info for targeting screen densities" into froyo

Merge commit 'e64256d610ec5ea3df5db8a24333a6ce98b83d49' into froyo-plus-aosp

* commit 'e64256d610ec5ea3df5db8a24333a6ce98b83d49':
docs: revise webview description and add info for targeting screen densities
8b3cea01bffa440c17c5381f887fb6b02f6c2230 14-May-2010 Scott Main <smain@google.com> docs: revise webview description and add info for targeting screen densities

Change-Id: Ib0293b497adef23330ee3f5f71904ad78a55a3a3
ebView.java
20ca1177703a7d5bc64d2e5db11046bd9e051c03 17-May-2010 Grace Kloba <klobag@google.com> Update the mLatestProgress of CallbackProxy even
mWebChromeClient is null as WebView needs it.

Fix http://b/issue?id=2685989
allbackProxy.java
90b6e4879304c6ac8240cdeb9a4aea94a27cda58 10-May-2010 Derek Sollenberger <djsollen@google.com> Refactor the on-screen zoom controls into a separate class.

This CL is the first in a series of CL's that will extract the
zoom code from WebView and put it into ZoomManager. This initial
CL only extracts the on-screen zoom controls and required variables
into the ZoomManager. Since the on-screen controls are well defined
I put them into their own class called ZoomControls.

All of WebView's zoom interactions are handled by the ZoomManager.
The ZoomManager can then handle the request internally or as in the
case of on-screen controls pass the request to another class.

Change-Id: Icfc91ed0456c88d633249c26b9afc7dd216f75a1
http://b/2671604
ebView.java
oomControlBase.java
oomControlEmbedded.java
oomControlExternal.java
oomManager.java
da35551845b1ab47dbbae2194f1628442b6115d7 13-May-2010 Svetoslav Ganov <svetoslavganov@google.com> Adding accessibility content provider responsible for user script injection. Adding support for injecting accessibility in WebViews with disabled JavaScript.

Change-Id: I1576238a0f855bb54e25d19404b8404d7d0f6037
ccessibilityInjector.java
ebView.java
ebViewCore.java
e00c5ca4318dc886b20621ac1562ee0ab676e451 18-Feb-2010 Henrik Baard <henrik.baard@sonyericsson.com> Adding mimetypes to the mimetype map used in the web view

Sometimes a web server reports a faulty mime type, usually when the mimetype for this
type of content is not configured on the server. In this case the server might report
text/plain as the mime type.

When this ocurrs the phone opens this content as plain text inline in the browser instead
of asking system if this is supported by any application.

This is the case for the following mime types:

"XMF" which MIMEtype is "audio/midi"
"MXMF" which MIMEtype is "audio/mobile-xmf"
"AMR" which MIMEtype is "audio/amr"

By adding these MimeTypes to the lookup table in the browser it is possible to guess the
real mime type based on the file extension, and asks the system for support for the
mimtype in the table, fixing the problem.

Change-Id: I88bb37e4a6d66e68d7e26cb96bb9404175b33b68
imeTypeMap.java
f0cec93f69ed263d0d3480e9c546429cb4cfe6ed 13-May-2010 Grace Kloba <klobag@google.com> am d4ef2973: am 2fb3b394: am bfc63c7b: am 336d7dcb: The default AlertDialog allows cancel. But the default JSConfim doesn\'t have a cancel listener. So when user cancel the dialog, we do not wake up the WebCoreThread. The same code is already done for JSPrompt dialog
bfc63c7b83160fd3e771e5187d317348e72d6c27 13-May-2010 Grace Kloba <klobag@google.com> am 336d7dcb: The default AlertDialog allows cancel. But the default JSConfim doesn\'t have a cancel listener. So when user cancel the dialog, we do not wake up the WebCoreThread. The same code is already done for JSPrompt dialog correctly.

Merge commit '336d7dcb105a43ee4de51fd0f26f277c63662f02' into froyo-plus-aosp

* commit '336d7dcb105a43ee4de51fd0f26f277c63662f02':
The default AlertDialog allows cancel. But the default
336d7dcb105a43ee4de51fd0f26f277c63662f02 12-May-2010 Grace Kloba <klobag@google.com> The default AlertDialog allows cancel. But the default
JSConfim doesn't have a cancel listener. So when
user cancel the dialog, we do not wake up the WebCoreThread.
The same code is already done for JSPrompt dialog correctly.

Fix http://b/issue?id=2679139
allbackProxy.java
2c8e051508daaa605a9fb4a8123b09b9dae50329 11-May-2010 Leon Scroggins <scroggo@google.com> Remove text options when longpressing off a textfield.

Bug 2676172

Change-Id: Ib1eff9a6e7a8ff3e83897a89b6bb4fab9bb7b0c4
ebView.java
810f5ccb99a8a05a6d1617b19a4efb2399450318 11-May-2010 Leon Scroggins <scroggo@google.com> Remove unnecessary calls to rebuildWebTextView.

Bug 2674635

Change-Id: Ib33a5486b880868de7182c36a22f204383c58149
ebView.java
9863ba94f09999c456e0f14c91bcfa342c4183c1 11-May-2010 Nicolas Roard <nicolas@android.com> resolved conflicts for merge of bfd6805a to master

Change-Id: Ie975e4cd7391d62949c563453358aa999c8a4b45
373b4913ab5398736551ab718eb8c39d6f76e5d0 11-May-2010 Nicolas Roard <nicolas@android.com> am f78acacb: Fix the \'wobbling fixed elements\' bug. Cherry-picked from master. This CL has a corresponding C++ counterpart (https://android-git.corp.google.com/g/#change,51149)

Merge commit 'f78acacb0d7a8e4d9e85a1cd6eed0f6bb38d6776' into froyo-plus-aosp

* commit 'f78acacb0d7a8e4d9e85a1cd6eed0f6bb38d6776':
Fix the 'wobbling fixed elements' bug.
f78acacb0d7a8e4d9e85a1cd6eed0f6bb38d6776 11-May-2010 Nicolas Roard <nicolas@android.com> Fix the 'wobbling fixed elements' bug.
Cherry-picked from master.
This CL has a corresponding C++ counterpart (https://android-git.corp.google.com/g/#change,51149)

Bug:2665696
Change-Id: I0a044661ff21ef601ba34782db8acdc9531f98e7
ebView.java
46318cf9bf5aeb7f885b7511c3e8c379c9c788b6 11-May-2010 Nicolas Roard <nicolas@android.com> Fix the 'wobbling fixed elements' bug.
This CL has a corresponding C++ counterpart (https://android-git.corp.google.com/g/#change,51149)

Bug:2665696
Change-Id: I28516005d03afa866efed2677197120ac6e2d579
ebView.java
4b71913ea717da4cca55cc2f91a7c16491d7ff89 08-Feb-2010 Nicolas Roard <nicolas@android.com> Add the HTML5Audio class, to support the audio tag.
The corresponding webkit C++ CL is https://android-git.corp.google.com/g/#change,41405

Change-Id: Ia4169c353cde8cd8ee5786b874ff466897e3553e
TML5Audio.java
6a367f5cb0aac91ec420e00e5b12fd1748d9f4dd 06-May-2010 Leon Scroggins <scroggo@google.com> Provide a getter to tell the index of the current found match.

Part of fix for bug 2663680

Requires a change to external/webkit.

Change-Id: I1279963cf219eb365dd72262710f87c83acd8c4d
ebView.java
26723fc89d9f6396d5a38a6f6f9976d59d2a17e4 19-Apr-2010 Leon Scroggins III <scroggo@google.com> Adjustments to accommodate changes in Find dialog.

Remove mFindHeight, and the associated adjustements. It
is no longer needed because the FindDialog is no longer
on top of the WebView; instead, the WebView is resized to
accommodate it.
Do not take focus if the user touches the WebView while
Find is up.
Add a (hidden) getter to check to see if Find is showing.

Requires a change to packages/apps/Browser

Change-Id: I08cedb02d29eeeaac6860aa0933ccab43ed5c39f
ebView.java
108817f3d85f80ddeb8db0ced75502520449a550 06-May-2010 The Android Open Source Project <initial-contribution@android.com> am 8b270a7a: am 579e08e6: am f7896449: merge from open-source master
f78964490d8098387d51444c87bf520ad3f674e2 06-May-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: Ia9e1f4e049f5870386ea29ddb6e3ef028ea918da
9ab32b66428cea7d0f8edb49d7e358d014c3d39b 03-May-2010 Leon Scroggins <scroggo@google.com> Enable contentEditable.

WebView.java:
If the cursor and focus are on a contentEditable element, allow it
to handle navigation keys and shift rather than the navigation system.
Also rename method for its new more general use.

WebViewCore.java:
Change the name of MOVE_OUT_OF_PLUGIN to a more generic name, and
fix a bug in the message being sent.

Bug 1788820

Requires a change to external/webkit

Caveats:
Does not ensure that the caret remains on screen. Frame::revealSelection
is called, but we ignore it for other reasons. Need to investigate that.
The cursor will blink if the contentEditable node has focus, even if the
user has not clicked on it or has moved to a different input field. Further,
while in this state, the user can input text.

Change-Id: Iaa935363fd324925a1e338418d32f362f58c4494
ebView.java
ebViewCore.java
b4f6b2114c7829ff23bb874a40191f5e42da608b 25-Feb-2010 Leon Clarke <leonclarke@google.com> Don't load prefetch requests when roaming
etwork.java
f19670ac8637e80a09aed3183072f9ec989028c9 02-May-2010 Melanie Clements <melanielc@google.com> Fix for bug 2467152 files with spaces fail to open.

from http://code.google.com/p/android/issues/detail?id=4638

If you try to use a WebView to open an image (of any type)
that is stored in your project's assets/ directory the image
will be written to the screen as text (instead of drawn as
an image) if the filename contains a space.

The problem stems from MimeTypeMap, which determines the
file type from the url. Spaces, represented as '%20'
are not included in the list of acceptable characters for
an image file name, causing the image to be treated as plain
text. I am remedying this by adding '%' to the list.

Change-Id: I29e3da57f3cdaa63ed60b1e6977ba62a0dd108e5
imeTypeMap.java
ea58d14e235bbb8c6310a83c7a9bd707821bab5a 28-Apr-2010 Adam Powell <adamp@google.com> am 067521f9: am b40cfc16: am 2ea21a84: Merge "Fix a WebView scrolling regression - bug 2633572." into froyo
7bcf5172aa454967ee05902fb97d867ef57e0aa8 27-Apr-2010 Adam Powell <adamp@google.com> Fix a WebView scrolling regression - bug 2633572.

Update mLastTouchX/Y on every drag. This prevents the creation of
dead zones that the user has to drag back out of at the edges of
a document.

Change-Id: I348d96dfd3907dba7c6ddd86b678329d65063ba9
ebView.java
28ca72e9b9f5fbe4befaf6f18e148bc3db451001 26-Apr-2010 Grace Kloba <klobag@google.com> am 3c8c6919: am bd17156f: am 85a8dcec: Merge "Only honor the scrollbar mode at the minimum zoom level. This reduced the impact of https://android-git.corp.google.com/g/#change,48683. In GB, we need to revisit this issue." into froyo
fc0bcdd92a36cdd61cbf9d57e338dd5a137cc667 23-Apr-2010 Ben Murdoch <benm@google.com> If the user performed a very quick touch sequence without a response
from WebCore, then we would enter the ACTION_UP handler and cancel
pending touch events in WebCore's message queue. This cancellation
was orginally needed for Flash but the touch model for Flash has now changed
and it's no longer necessary. In the case of the layout test controller
the events do come very fast, and we were hitting this case so
WebCore was losing the events that got cancelled meaning that the
JS touch callbacks weren't getting invoked.

This was exposed by fast/events/basic-single-touch-events.html.

Change-Id: Icea09fb55a5b77f7ab9c19473cfa5ae272867a9a
ebView.java
0653d22f6279a81cbad27d8b0d5729f43ae1d66e 24-Apr-2010 Grace Kloba <klobag@google.com> Only honor the scrollbar mode at the minimum zoom
level. This reduced the impact of https://android-git.corp.google.com/g/#change,48683.
In GB, we need to revisit this issue.

Wit this CL, http://b/issue?id=2512549 is still fine.

Fix http://b/issue?id=2619398
It should fix http://b/issue?id=2619415 when it is not in zoom out case.
It doesn't fix http://b/issue?id=2620979 as the site
is a mobile site. We have conflict with the requirement
from http://b/issue?id=2512549
ebView.java
da3e835ce500a291938eeb5ce06082bdf2b3b6f7 22-Apr-2010 Leon Scroggins <scroggo@google.com> am 39837c5a: am 986a0380: am 69ec5c22: Remove the WebTextView if it is drawing when it shouldn\'t.
69ec5c22d09690d33f0b87a386de13cc61eb9b42 22-Apr-2010 Leon Scroggins <scroggo@google.com> Remove the WebTextView if it is drawing when it shouldn't.

Bug 2614064

Change-Id: Id5d0a27e862bb783299f6fa4863221a27318f52c
ebTextView.java
ebView.java
9c7686b9a6ddd6eda13ff56af9caa78ef072c1ad 22-Apr-2010 Grace Kloba <klobag@google.com> am dbfd5e25: am 627728d2: am a6ece18d: Merge "Added the subset of partial content support so that we can continue the interrupted request to support streaming the content even with a brief disconnection." into froyo
0b11f7ae80271fb9aebe883a64a87286a4432187 22-Apr-2010 Grace Kloba <klobag@google.com> am 204eca64: am b42b5a6e: am 2fba6d1c: Merge "Post a message to set SurfaceView to be visible when we switch to use the layout size. Otherwise it will first use the old dimension which can exceed the limit, which in turn causes the Browser to crash." into froyo
a6ece18d95a35acc4fb3f9648403ce42d0d6b2d7 22-Apr-2010 Grace Kloba <klobag@google.com> Merge "Added the subset of partial content support so that we can continue the interrupted request to support streaming the content even with a brief disconnection." into froyo
52e41583f58132ae109c632b51f8419c4c2225d6 22-Apr-2010 Grace Kloba <klobag@google.com> Added the subset of partial content support so that
we can continue the interrupted request to support
streaming the content even with a brief disconnection.

Note: we don't update the headers for partial content
as the headers we care should not be updated. See
a list in chromium/net/http/http_response_headers.cc.

We currently also don't support cache for partial content.

Fix http://b/issue?id=2616477
oadListener.java
8aedd10aca67ce988888e99ecc3fcbe81344ea4d 22-Apr-2010 Grace Kloba <klobag@google.com> Post a message to set SurfaceView to be visible when
we switch to use the layout size. Otherwise it will
first use the old dimension which can exceed the
limit, which in turn causes the Browser to crash.

Fix http://b/issue?id=2616263
iewManager.java
901a7c230c295f4798d44679e1eea14c7cb42f95 20-Apr-2010 Leon Scroggins III <scroggo@google.com> Remove call to rebuildWebTextView from handling selection change.

The call was originally added to fix bug 2431351, where touching
a <textarea> sent a message with the new selection, but the UI
thread had not yet updated the WebTextView, so the new selection
was ignored. However, since then,
https://android-git.corp.google.com/g/#change,45476 was submitted
to pass the selection and open the keyboard at the same time. So
when UPDATE_TEXT_SELECTION_MSG_ID is received, we no longer need
to worry about the case where the WebTextView is not set up yet.

Bug 2600847

Change-Id: I19eb102a7188e6edafaa5ac17b19ebd4ab5764f0
ebView.java
b24e18b1c05ce62b5e6530305dd9980943d459b6 20-Apr-2010 Leon Scroggins III <scroggo@google.com> Update mTextGeneration when setting the selection to the default.

Bug 2610682

Change-Id: Ib3b95cd9443ef31a6c736cdac076260b4f3bbe71
ebTextView.java
ebView.java
f343a043efa812f3c331e172f57295d15fb5a397 20-Apr-2010 Nicolas Roard <nicolas@android.com> Speed up layers rendering when using animations
Cherry-pick from master

Bug:2522049
Change-Id: I441f00b6e7551930c4f76983681f4cd0c57ce017
ebView.java
7da0c067b87f92e4f3b849fabff201145dccf12b 20-Apr-2010 Grace Kloba <klobag@google.com> am 20fa839d: am 19fa6d45: am 738a0460: Merge "Don\'t inflate the zoom button controller until we are going to show it. This should shave 5% of Browser start up time on Sapphire." into froyo
cc2c842053bf4c837cc8e8c418834a414e7d7dc0 20-Apr-2010 Nicolas Roard <nicolas@android.com> Speed up layers rendering when using animations

Bug:2522049
Change-Id: Ib3a79a10d46a234343207f27d6e74587e74be493
ebView.java
f4c66efa203c430219809298788ef90b596489ce 20-Apr-2010 Grace Kloba <klobag@google.com> Don't inflate the zoom button controller until we
are going to show it. This should shave 5% of Browser
start up time on Sapphire.

Fix http://b/issue?id=2604295
ebView.java
9a6c37a522d8dffb959a6b04b675ed81da364205 20-Apr-2010 Grace Kloba <klobag@google.com> am fcc08fb8: am 8831d4dc: am 8f655cb6: Merge "Update the comment which supposed to be checked in in the last CL." into froyo
8f655cb6c836380778545fb13044d97ef57139d6 20-Apr-2010 Grace Kloba <klobag@google.com> Merge "Update the comment which supposed to be checked in in the last CL." into froyo
f706ef857bd14501d2c91b52e12e6bd387f63dad 20-Apr-2010 Grace Kloba <klobag@google.com> Update the comment which supposed to be checked in
in the last CL.

Fix http://b/issue?id=2607352
luginFullScreenHolder.java
53be241f738273dd317ccd6ec77188f0af5dbcd4 19-Apr-2010 Grace Kloba <klobag@google.com> am 4a77f9e9: am e3ce4c89: am 2dc78498: Merge "Remove fixed size restriction on the SurfaceView before setting it to the full screen content view." into froyo
2dc784988aa1660d02b50ed4e7d7679ba14b25b4 19-Apr-2010 Grace Kloba <klobag@google.com> Merge "Remove fixed size restriction on the SurfaceView before setting it to the full screen content view." into froyo
4ead13caa370e8b00f0b201814cee0acd1695ede 19-Apr-2010 Grace Kloba <klobag@google.com> am e5afb10c: am 66fa5cc7: am 99c5179f: Merge "Force redraw in touch_up if there is a move." into froyo
6edb3792d83e6e299a9d330db938075634e76d14 19-Apr-2010 Grace Kloba <klobag@google.com> Remove fixed size restriction on the SurfaceView
before setting it to the full screen content view.

Fix http://b/issue?id=2607352
luginFullScreenHolder.java
c36862d53ade2c959eb1ca7ec9c20d7f76a1a4d7 19-Apr-2010 Grace Kloba <klobag@google.com> Force redraw in touch_up if there is a move.

Fix http://b/issue?id=2606815
ebView.java
5a2e428ce8ce6d7f13a8b6caf90534a4ca794e9f 17-Apr-2010 Grace Kloba <klobag@google.com> am eb94c44c: am 17e36d23: am 3c44db3f: Merge "Missed a case to resumeUpdatePicture." into froyo
aa373c986871d1f202ea78fc4a4585a7c1442b0c 17-Apr-2010 Grace Kloba <klobag@google.com> Missed a case to resumeUpdatePicture.

Fix http://b/issue?id=2603882
ebView.java
6758a1dd6be38bbad99c68c9101dd616e999d192 16-Apr-2010 Mike Reed <reed@google.com> am 3edf3a56: am e0a40686: am f066611a: retool resize logic to use max dimension and max area.
f066611aab5758b7b2a6b4a525e3f85aa813064a 16-Apr-2010 Mike Reed <reed@google.com> retool resize logic to use max dimension and max area.

Change-Id: I32446b41afe9e7c241868c0cb7b9b7d9056b2d38
http://b/issue?id=2598253
iewManager.java
ae9f8e4abdf49f5da55317643f1e2a6296165356 14-Apr-2010 Leon Scroggins III <scroggo@google.com> Request focus when MotionEvent.ACTION_UP is received.

Bug 2585857

Change-Id: I2e852d2225db4d1ba48815354a31e0823e4d3a8d
ebView.java
62d8a0f8a9d4a5ef1a17475079a7e053a9d48be2 15-Apr-2010 Shimeng (Simon) Wang <swang@google.com> Merge "Convert obsolete language codes to new standards in Accept-Language and User-Agent."
0e4cb9d89fe58b378d94c87f182aaaef9d6a6d60 15-Apr-2010 Shimeng (Simon) Wang <swang@google.com> Convert obsolete language codes to new standards in Accept-Language and User-Agent.

Bug:2593415
Change-Id: I6b0bd161a0a2222da6ab7812614c1ba03d8c22eb
ebSettings.java
bf07bc932b85f3290335d60076e8fbf8df1dbcbd 15-Apr-2010 Grace Kloba <klobag@google.com> am 8579f211: am e35a45b7: am 8a878dde: Merge "Pass WebKit scrollbar mode to Java. When scrollbar is alwaysOff, don\'t trigger scroll." into froyo
dfbb1f420962d740e085ab962267de1ab5f4a9da 14-Apr-2010 Leon Scroggins III <scroggo@google.com> Call InputMethodManager.updateSelection at draw time.

Bug 2499860

Change-Id: Ie0b2a16c12ba59d30e3de5b614753e93b526d8cc
ebTextView.java
ebView.java
7a8a91d1b0d86d4ad5953dc66f25b53decd14c0d 15-Apr-2010 Andrei Popescu <andreip@google.com> am 0476f7a0: am 6083f5eb: am 01e3feaf: Merge "Make sure the onended event is dispatched even when the user dismisses the video before it plays to completion." into froyo
67329aa3ec30704410ce64532a27ca19ecbf7924 15-Apr-2010 Leon Scroggins <scroggo@google.com> am 7ba155bf: am 876a5dfe: am b2212464: Merge "Ensure the selection does not change in setTextAndKeepSelection." into froyo
c8c5363df367082422e0dfce8c22fe7593b9cc12 15-Apr-2010 Kristian Monsen <kristianm@google.com> am d2688cb1: am a18df134: am d503a152: Merge "Fix for 2585858, load invalid urls." into froyo
42ae4885edcac723112d0365bd9f3f938536c80e 15-Apr-2010 Kristian Monsen <kristianm@google.com> am 11d60e0b: am 3e360000: am 53c0c0da: Merge "Fix (again) for bug 2558156, update cache encoding correctly" into froyo
8a878dde9d15f75446bb5ca3137fccef8426ddd7 14-Apr-2010 Grace Kloba <klobag@google.com> Merge "Pass WebKit scrollbar mode to Java. When scrollbar is alwaysOff, don't trigger scroll." into froyo
c4fbceb57bcfbabb6e370e2dd6448184dc116015 14-Apr-2010 Andrei Popescu <andreip@google.com> Make sure the onended event is dispatched even when
the user dismisses the video before it plays to completion.

Fix bug: 2533272

Change-Id: I73f216f4f416f5fdca0bbba2244b88666f8f6eac
TML5VideoViewProxy.java
b2212464a3bc4103a9e5e88602d1097c835d7949 14-Apr-2010 Leon Scroggins <scroggo@google.com> Merge "Ensure the selection does not change in setTextAndKeepSelection." into froyo
d503a1524acfcaa85c658240ff88f54d174cbb9e 14-Apr-2010 Kristian Monsen <kristianm@google.com> Merge "Fix for 2585858, load invalid urls." into froyo
53c0c0daf42ca69163fdc1233b3eaca7e382783f 14-Apr-2010 Kristian Monsen <kristianm@google.com> Merge "Fix (again) for bug 2558156, update cache encoding correctly" into froyo
50004bcd4b77d729d64a229149bc294f33768482 14-Apr-2010 Grace Kloba <klobag@google.com> Pass WebKit scrollbar mode to Java. When scrollbar
is alwaysOff, don't trigger scroll.

If there is no horizontal and vertical scrollbar,
don't trigger the zoom control neither.

Fix http://b/issue?id=2512549
ebView.java
ebViewCore.java
102ed89dbccdebb8d4c1fc0c3ec2957d55be1a22 14-Apr-2010 Grace Kloba <klobag@google.com> If we defer processing the touch events, pass the
original view coordinate with TouchEventData and use
them when we reprocess the events. We can't depend
on contentToView() to convert the doc point to the
view point. When we originally convert the view to
doc, the scroll position in UI doesn't change. When
we convert the doc back to view, we are chasing a
moving target. That is why we saw bigger delta.

Fix http://b/issue?id=2577274
ebView.java
ebViewCore.java
d40746b13d52380b9d41110d6a11b304ddb2f22d 14-Apr-2010 Grace Kloba <klobag@google.com> am 105c58de: am 346c97c4: am 58af51a1: am 763e62a8: Fix a case introduced by https://android-git.corp.google.com/g/#change,47640
3fcf4863595f18be0691e19e530b1c0c8e79995e 13-Apr-2010 Leon Scroggins <scroggo@google.com> Ensure the selection does not change in setTextAndKeepSelection.

Bug: 2589778
Change-Id: I72752797003216fdd12cebffbdf4cd9ffbf523e1
ebTextView.java
16bd9372ee724b78d96fbddd551aa3e42a8451a6 12-Apr-2010 Steve Howard <showard@google.com> Hide zoom buttons when a view gets hidden, i.e. by a TabHost

When a View uses a ZoomButtonsController, it needs to explicitly hide
the zoom controls when it gets hidden itself, such as when it's within
a TabHost. Add a note to the javadoc to do this via
onVisibilityChanged(), and update WebView to follow the instructions.

Thanks to Ross Levinsky for discovering and tracking this one down.

Bug: 2582718
Change-Id: Ia0c9ea4efcb29eb1f321be54f3d8ae1e056df6b7
CC: rosslevinsky@google.com
ebView.java
763e62a831f6cf4e113bff868dab4d48560a3693 13-Apr-2010 Grace Kloba <klobag@google.com> Fix a case introduced by https://android-git.corp.google.com/g/#change,47640

We skipped a call to WebKit at the end of the zoom
animation in the last CL.

Fix http://b/issue?id=2578820
ebView.java
b2d95503fdb962afa3302dd24dd2b9e3ad4459d6 12-Apr-2010 Kristian Monsen <kristianm@google.com> Fix for 2585858, load invalid urls.

The browser currently does not try to load invalid urls, that can be a problem. Now we only check if the host is correctly encoded.

Change-Id: Ie7380c59d4faab68a2f957e7f1ba8347e15e45a1
rameLoader.java
36acfbc2b8df6e62f2d583933eca3a49265279a6 09-Apr-2010 Patrick Scott <phanna@android.com> Add a bulk request method for bookmark icons.

Rather than dispatch a message for every url in the db, send a message to the
WebCoreThread to handle the query and iteration. Update the documentation for
requestAllIcons.

Bug: 2581894
Change-Id: I8af4f87570465dff3839db4ac492883e8805b007
ebIconDatabase.java
63284ede623ca8a4119f1f44b86fbf017faba8dc 09-Apr-2010 Leon Scroggins <scroggo@google.com> Do not check mWebTextView's focus state to determine editing mode.

Fix for bug 2568400.

Change-Id: I7e285388484bbab3aef9b6f4bb190e001266ce53
ebView.java
ab355380f0919d44ea0a04915a7dce9a7fab137d 12-Apr-2010 Kristian Monsen <kristianm@google.com> Fix (again) for bug 2558156, update cache encoding correctly

My fault, the last fix did not fix the issue completly. Now setting the listener so the cache item can be found when the encoding is to be set by the background worker.

Change-Id: Iea514ada9b4f52760033daee66aa29cdceda1c9e
oadListener.java
7cfa90fee54f44831ac492891d1c123601c2a262 08-Apr-2010 Jesse Wilson <jessewilson@google.com> Move the public method HttpDateTime.parse() into AndroidHttpClient.

See bug http://b/2553589

Change-Id: Ide3399c7c63daf9c0b8c18669076f2f4d6e9a876
acheManager.java
ookieManager.java
34959e3fe87012d554af07fd6ad294b2ce3daea7 09-Apr-2010 Kristian Monsen <kristianm@google.com> Merge "Do not create intents for application/xhtml+xml" into froyo
e9a2fe013d9d3bb04ccbe665c54337bfa1880012 09-Apr-2010 Kristian Monsen <kristianm@google.com> Do not create intents for application/xhtml+xml

Fix for b 2584681, webview opens contents in browser.

Change-Id: I314e808a65f3c2043bd7bc7fcd44ac071f136bdc
oadListener.java
9b6578071fbe042b5a77f621d1bdc76e92720e48 08-Apr-2010 Grace Kloba <klobag@google.com> Set mHeldMotionless to a new MOTIONLESS_IGNORE state
for fling, this way we will trigger animateScroll
during fling for the faster performance. We also
avoid keep removing/sending DRAG_HELD_MOTIONLESS
message during fling.

Fix http://b/issue?id=2574172
ebView.java
da9a22bc5cfd87d80d5afa53fa8c1d29b0407a07 08-Apr-2010 Patrick Scott <phanna@android.com> Save/restore the picture in a background thread.

Bug: 2573879
Change-Id: I0962f5286d3a68f8a9093f0c22917b0542ea9291
ebView.java
3f73549bc8a776a417bd185b72d3636e7f4ba7b6 08-Apr-2010 Grace Kloba <klobag@google.com> Merge "For performance reason, we choose to block the picture update during drag and fling. For sites like nytimes.com, there is a JavaScript constantly updating the content. If we don't block the live update during drag/fling, frame rate can drop by 30%." into froyo
31d2aa1e17f1ee580edb762a6ef634098bba02bb 08-Apr-2010 Andrei Popescu <andreip@google.com> Avoid calling proxy.playbackEnded() again in onCustomViewHidden().
It is now always called via the MediaPlayer.onCompletion() callback.

Fix b: 2533272

Change-Id: If86cf6b2ab355ddcd976cd6a2ad92ce071a1af33
TML5VideoViewProxy.java
524aab57cdad19514443e52a0710d0e2b148f281 07-Apr-2010 Grace Kloba <klobag@google.com> For performance reason, we choose to block the picture
update during drag and fling. For sites like nytimes.com,
there is a JavaScript constantly updating the content.
If we don't block the live update during drag/fling,
frame rate can drop by 30%.

This essentially reverted the CL for http://b/issue?id=2310295.
But as we honor preventDefault on touch move now,
the two sites mentioned in that bug do not have problem
even after this CL.

Fix http://b/issue?id=2574172
ebView.java
188bf8deb4468d3901c466352bf88378819d04d6 07-Apr-2010 Grace Kloba <klobag@google.com> Revert "Use the content width to calculate the zoom overview"

This reverts commit 4a4f9886a789ece80f127397c1c7ad7f543b78fa.

Fix http://b/issue?id=2577238
ebView.java
ebViewCore.java
05b3720bebb7a31211da870181f440e56a824369 25-Jan-2010 Mike Reed <reed@google.com> Cherry-pick https://android-git.corp.google.com/g/#change,38305

disable high-quality filtering during scrolling, until I can cached the scaled images.

Change-Id: I58fa779a8d9a23a20a0fdd93ea06c251b6c6ca8d

Fix http://b/issue?id=2574172
ebViewCore.java
3eefc126e5a0b4af4738332e8d43fe2e2d00424c 05-Apr-2010 Cary Clark <cary@android.com> check for webviewcore before reading settings

In setActive(), the WebViewCore instance may
have already been destroyed before the settings
object can be read.

Change-Id: I46b2a57b2d92fc7216b1c984f7044fea1fc2409e
http://b/2570700
ebView.java
f9b1a092b6c86549a8257015a03ea59ebcd9a85e 31-Mar-2010 Leon Scroggins <scroggo@google.com> Only include WEB_EDIT if there are more textfields.

Fixes http://b/issue?id=2559070

Requires a change to external/webkit.

Change-Id: I411a04d260c781a91d16832704bb5c34e9751bc1
ebTextView.java
ebView.java
327dce9e36f86dcb57bc45da6273df27aab60b02 03-Apr-2010 Grace Kloba <klobag@google.com> Make sure when WebView modified mScrollX/Y directly,
onScrollChanged() is called so that the View system
can do what it needs to adjust.

As WebView's onScrollChanged will call sendOurVisibleRect(),
we don't need to call it explicitly any more.

Fix http://b/issue?id=2438457
ebView.java
61c3a13e5f9d20c621f49598a0082063404c5f7e 02-Apr-2010 Grace Kloba <klobag@google.com> Merge "Instead of holding an ApplicationContext, JWebCoreJavaBridge will have a reference of the current window's main WebView. It is only non-null if the WebView's window has the focus." into froyo
9b95ab17ecdaf1e3501f0deb7580cb2b5492331a 02-Apr-2010 Grace Kloba <klobag@google.com> Instead of holding an ApplicationContext, JWebCoreJavaBridge
will have a reference of the current window's main
WebView. It is only non-null if the WebView's window
has the focus.

Extract setActive() from onWindowFocusChanged() so
that onAttachedToWindow() can call it directly. The
old way has a mis-matching call to onWindowFocusChanged.

Fix http://b/issue?id=2559152
rowserFrame.java
WebCoreJavaBridge.java
ebView.java
11fb6144604fbd1148695421e9ab6896701a431b 01-Apr-2010 Derek Sollenberger <djsollen@google.com> Match RFC requirement that the domain portion of a cookie should be case-insensitive.

fixes bug #2549818.

Change-Id: I1372171568828545e78690f1ddc0ddcf25ddd428
ookieManager.java
70c22a48e605cd59c35ccbbc5eee05b5a30f0a2a 01-Apr-2010 Kristian Monsen <kristianm@google.com> Merge "Fix for bug 2558156: Encodig is null" into froyo
d08127fff184bdf465d36cb7f6c906a4a96669de 01-Apr-2010 Kristian Monsen <kristianm@google.com> Fix for bug 2558156: Encodig is null

This does not actually pass the test since the test has wrong expectations, but it is at least doing the right thing.

Change-Id: I7da29a3f101647bb628805514cf2bdef24864e50
oadListener.java
352cf1a45e26803a466d096ca2d679ea5a3ac249 01-Apr-2010 Ben Murdoch <benm@google.com> Merge changes Ic9531e3c,I3f04433b into froyo

* changes:
Cherry pick from master.
Cherry pick from master.
0348440e4ad665f9fa7ed73a5c6b533e183a9e1f 26-Mar-2010 Steve Block <steveblock@google.com> Cherry pick from master.

This change forwards to the WebView HTTP authentication credentials that
are supplied to an XHR from JavaScript. This allows the WebView to store these
credentials for use with later requests.

This is a re-working of https://android-git.corp.google.com/g/46430

Bug: 2544330
Change-Id: I3f04433b00233d7b7bf4f7e3471d8d15d8817f93
allbackProxy.java
ttpAuthHandler.java
ebViewClient.java
ad7a1d79f70db2bcf07b21e1b0d98a04a69888fc 01-Apr-2010 Grace Kloba <klobag@google.com> As we don't support over scroll any more, we need
to pin the (x,y) if we handle the drag after the
plugin choose not to handle the event.

Fix http://b/issue?id=2563143
ebView.java
397ffdfcb0847bf7987cdf6b7214b6222e15ba0f 30-Mar-2010 Grace Kloba <klobag@google.com> Remove the shadow under url bar.

This was introduced when we remove the over scroll.

Fix http://b/issue?id=2557916
ebView.java
0cf6046b8d0fcc920e253a2baca8d2a737c1620a 30-Mar-2010 Patrick Scott <phanna@android.com> Fix a simple logic mistake.

If the icon is precomposed or the icon IS null, set the touch icon url. This
ensures there will be a touch icon set if either precomposed or regular is
specified. Precomposed icons take precedence.

Bug: 2546984
Change-Id: Id9291006ecda8659b823ab9629eb98a6f8d45f5e
allbackProxy.java
9d32d24dbd8a015c9d5c44ed4901d5a666eb8e7f 30-Mar-2010 Adam Powell <adamp@google.com> Remove overscrolling

Change-Id: I7e9db8d8a9b8ef67f0c0c82bf57c9155b7ebabea
ebSettings.java
ebView.java
51b97011b73c10b832ea4ad10637f761802e125d 29-Mar-2010 Grace Kloba <klobag@google.com> cherry-pick 4a4f9886a789ece80f127397c1c7ad7f543b78fa into froyo

Use the content width to calculate the zoom overview
width. We used to use the minimum preferred width
to calculate the overview width as it is what we
use to define the viewport width. But some sites,
like cbsnews, engadget, the content width will be
slightly wider than the viewport width decided by
the min preferred width. The result is we can still
scroll a little bit in the overview mode. This issue
is magnified when we introduce the overscroll feature.

By using content width as zoom overview width, we
will have content fit in the overview mode. But
some sites, like
"http://www.sfjazz.org/concerts/2010/spring/artists/towner.php"
will be layout wider in the overview mode than it
is in the zoom in state. This is a tradeoff.

Fix http://b/issue?id=2551119
ebView.java
ebViewCore.java
7c3006f53ac02adeac7396726cdc0bf5d6d01926 29-Mar-2010 Leon Clarke <leonclarke@google.com> http://b/issue?id=2496591
When receiving a message to delete the root layer, delay it until the next
new picture message, so that the layers only disappear when we start displaying
the new page, and not the moment the DOM on the old page is destroyed.
ebView.java
378f0280006aa5c81643378100274608941b7502 26-Mar-2010 Grace Kloba <klobag@google.com> Remove long_press when WebView lost window focus.
Reset touch mode too.

Fix http://b/issue?id=2542711.

Also move dismissZoomControl() before calling
super.onDetachedFromWindow(). This is a guess to
fix http://b/issue?id=2547574
ebView.java
7e8bc24f626dc37f3ee9850770f5aa7fae305a09 26-Mar-2010 Grace Kloba <klobag@google.com> cherry-picked bf4650ca39c9153e38c76280ceb5e9af48b67751 to froyo

According to GMail profile, almost half of WebView
init time is spent in creating the zoomControl which
is not used by them. So change to lazy initialize
the ZoomButtonControl which will be used by Browser.

Fix http://b/issue?id=2546481
ebView.java
661a19765bf52e84ed225995fb6bdb5f26b65455 25-Mar-2010 Patrick Scott <phanna@android.com> Merge "Add .3gpp as the preferred extension for video/3gpp."
c9048a683dee6b062c74b5c88292d063714048a1 25-Mar-2010 Patrick Scott <phanna@android.com> Add .3gpp as the preferred extension for video/3gpp.

As it appears earlier in the list, .3gpp will be used as the extension for
video/3gpp mime types.

Bug: 2542939
Change-Id: I7d9188b460774af7bc29f4e8f1ebada43bf2ed10
imeTypeMap.java
c6a90a59b342114d760d899e09d8def672b49ca8 25-Mar-2010 Steve Block <steveblock@google.com> Provides ability to store HTTP authentication credentials supplied to an XHR from JavaScript

This change forwards to the WebViewClient HTTP authentication credentials that
are supplied to an XHR from JavaScript. This allows the client to store these
credentials for use with later requests.

Currently, the browser only stores credentials that have been entered manually
by the user through the authentication dialog.

Bug: 2544330
Change-Id: I913e35d80b7ad41ff75586092408b86ea9f543d8
allbackProxy.java
ttpAuthHandler.java
oadListener.java
ebViewClient.java
26f1faa122a4557c26042c5a5ab59ef659fe2974 25-Mar-2010 Grace Kloba <klobag@google.com> Turn on plugin signature checking.

Fix http://b/issue?id=2465450
luginManager.java
11f5738424023ab0d2e90a41293685e71ac7e63a 25-Mar-2010 Patrick Scott <phanna@android.com> Use ViewRoot.addConfigCallback instead of a BroadcastReceiver.

Store a list of Handlers in a global ComponentCallbacks instance. Use
WeakReference to avoid leaking BrowserFrame objects.

Bug: 2542935
Change-Id: I67b102288f47f9fa6e855ba6558f2b1d611e8427
rowserFrame.java
9c4750a6763ac0833f0d2d22bdeaa86561bbbebb 25-Mar-2010 Grace Kloba <klobag@google.com> Draw a hairline border in the overscroll mode.

Fix http://b/issue?id=2542449
ebView.java
1cd1c8e8be92c12661d577770e90371a79f12825 25-Mar-2010 Grace Kloba <klobag@google.com> There are two computeHorizontalScrollRange() got
missed in the last conversion.

Fix http://b/issue?id=2542555
ebView.java
dbde425e216e47ec9fbbf521146636c40fe3198e 24-Mar-2010 Patrick Scott <phanna@android.com> Use the Display orientation rather than the accelerometer.

Register to receive configuration changes and query the Display rotation as that
will reflect both device orientation and an open keyboard.

Bug: 2219138
Change-Id: Ibd6119ae0c7d473e1a9ede3af24bb4b584c9db71
rowserFrame.java
ea08c513549c1ddd9ba32337cb30973d7b61ca32 24-Mar-2010 Steve Block <steveblock@google.com> Fixes XHR requests to use the username and password supplied from JavaScript

Currently, the browser does not use the credentials supplied from JavaScript.
If a request returns a 401 Unauthorized, the browser always prompts the user.
This violates http://www.w3.org/TR/XMLHttpRequest/#the-send-method

Bug: 2533522
Change-Id: I8e72c1a0be187d193c4ad6b2ca8a624c7ae06fa1
rowserFrame.java
oadListener.java
c76bfa5bb5e6e9afdae571e4b98d7f3dcc9a1669 24-Mar-2010 Steve Block <steveblock@google.com> Fixes synchronous XHR requests which require authentication to complete synchronously

Bug: 2540515
Change-Id: I58eebdf2db9388f66c75d86dc26b8055f513b038
oadListener.java
1bb1a911c35c9df5fdbcaca13f97aa29dcec6cfb 23-Mar-2010 Leon Scroggins <scroggo@google.com> If failUrl(now historyUrl) is null, use "about:blank" instead of "".

This prevents a crash that is caused by calling
WebView.loadDataWithBaseUrl with a null failUrl (which I have renamed
to historyUrl). Also update the docs to be more accurate.

Fixes the general case of bug 2522457

Change-Id: I832351ce1e0016b00e924a2f9b0097ae15fba34a
rowserFrame.java
ebView.java
ebViewCore.java
7f49b9e47416808d7ef5de77b4094fd83f50134d 24-Mar-2010 Leon Clarke <leonclarke@google.com> Merge "Fix for when flash loads cached crossdomain.xml files. Cache the x-permitted-cross-domain-policies header. http://b/issue?id=2519669"
2cd5c59b5a471a857e304f073c7e8b61e4d14d9c 23-Mar-2010 Adam Powell <adamp@google.com> Make WebView scroll bars compress during overscroll.

Change-Id: Ia0caaf67088134efa78b5a0c87fea7a9be93f467
ebView.java
300f2e95a4cecebb80c2c55418745df5c0c2fb6c 22-Mar-2010 Patrick Scott <phanna@android.com> Add on-demand setting for plugins.

Deprecate the old apis for enabling plugins in favor of the multi-state plugin
flag. Add the assets for WebView to display the plugin placeholder for on-demand
plugins.

Bug: 2411524
Change-Id: I5a35cc6d0afced1489f54d4dcb8bb92d36de52d8
ebSettings.java
1fa70928d3207c357bc8834f098b52e9f6107480 22-Mar-2010 Derek Sollenberger <djsollen@google.com> fixing problem with allocating too much memory to a surface by fixing
the size of the surface when it exceeds a threshold and resizing the
surface when it falls beneath the threshold.

This change also causes the surface to fix its size while it is
being zoomed in order to prevent the surface from getting multiple
surfaceChangedEvents as the result of a zoom. This also allows us
to have a smooth zoom animation for the surface.

Change-Id: I30e208f98d3a32660032bf1df9de77d0a813d756
iewManager.java
ebView.java
60708a75120c4469dc2683485301ff9ee3b022e0 23-Mar-2010 Leon Clarke <leonclarke@google.com> Fix for when flash loads cached crossdomain.xml files.
Cache the x-permitted-cross-domain-policies header.
http://b/issue?id=2519669
acheLoader.java
acheManager.java
ebViewDatabase.java
b64f6f895325a4597ee17e9fca8e5bab38d8c3b5 23-Mar-2010 Mike Reed <reed@google.com> only send new visiblerect and size on onscrollchanged if we're not in overscroll mode

Change-Id: Ifa290121db8f0a3612f40c40bab4f92494ce93df
ebView.java
4d8ef420037ccc8fdab33ff2aac8b309a164120a 23-Mar-2010 Shimeng (Simon) Wang <swang@google.com> Check mWebViewCore to prevent potential NPE.

Bug:2532493
Change-Id: I917c57dced8638f36252638bb9814e26cdbc2768
ebView.java
5b494c1ca4c3cf0e0992c59fe34ae66c81e6dcce 12-Mar-2010 Ben Murdoch <benm@google.com> Add an API on the Java side to allow WebKit to pause the current load. This is used when the plugin is streaming data but it's
buffer is full. In that case, WebCore instructs the laoder to pause loading to give the plugin a chance to clear it's buffer and
continue.

Requires an external/webkit change.

Change-Id: Iec96a6325d92e979cbdc53289c2a20cad940ded2
oadListener.java
0fc140431d620cc7d9f68f43ab3b3a0e36adf224 22-Mar-2010 Leon Scroggins <scroggo@google.com> Close Cursors in finally blocks.

Fix for http://b/issue?id=2533750

Change-Id: I3ebcc6147e4035ce1c4bf6b76a359ce14196e357
ebViewDatabase.java
ac96fa575f17d4a65e65eddebe805c904fb29c19 22-Mar-2010 Cary Clark <cary@android.com> use the stream instead of the cursor data to return its size

Most content providers set up the data size in the cursor that
provides the file name, but sound recorder does not. Use the
stream size instead, which will work with all sources and
probably is no slower.

fixes http://b/2529352 http://b/2524574

Change-Id: I32d101d07ca1d0fa2ff17c3c68393356902096d3
rowserFrame.java
547b83328e5a3abc882059d2de6e2edc42c2fe83 22-Mar-2010 Steve Block <steveblock@google.com> Merge "Implements layoutTestController.setAppCacheMaximumSize"
cad9ab60ce3789335c37ca5c684a6b5c3356b7bf 21-Mar-2010 Grace Kloba <klobag@google.com> In some case, like in Email, the WebView can be
detached from Window long after it is destroyed.
As we freed the native side by setting mWebViewCore
to null, we can't access settings any more. In this
case, just hide both styles of zoom control.

Fix http://b/issue?id=2532401
ebView.java
427efcca1988e3f424e363808e8fd0978f4e78d1 19-Mar-2010 Steve Block <steveblock@google.com> Implements layoutTestController.setAppCacheMaximumSize

Change-Id: Ib64123738bc384213ef80e2e60e4a0d9407c09d8
ebStorage.java
7865fa97244d2f33d2a9c9ec359b475d6597e994 20-Mar-2010 Grace Kloba <klobag@google.com> As http header can't be empty, check length before
setting lastModified and etag to the cacheResult.

Fix http://b/issue?id=2531047
acheManager.java
ee8500eeb07aa8f0b73df3f29bf9a0c0ad887377 20-Mar-2010 Grace Kloba <klobag@google.com> Don't overscroll horizontally if the content just
fit in the WebView.

Fix http://b/issue?id=2530843
ebView.java
21817f6e2924217a1c456f3ba7e9a359b00602d2 20-Mar-2010 Grace Kloba <klobag@google.com> Explicitly dismiss the zoom control if
1. start double tap
2. start pinch
3. start a popup window
4. about to detach from window
5. WebView size change which happens when IME is up
or rotation changed.

Partial fix http://b/issue?id=2530401. Dismiss the
zoom control of the main window when bringing up
the sub window
allbackProxy.java
ebView.java
1bb63afca1372a6e8feb1e5d858ff4b69e406592 20-Mar-2010 Patrick Scott <phanna@android.com> Merge "Compare the cookie names to ensure a consistent ordering."
dba8cb76371960457e91b31fa396478f809a5a34 19-Mar-2010 Brian Carlstrom <bdc@google.com> b/2511635 Browser displays incorrect SSL cert information

Two more cases of "View certificate" problems like b/2511635

One problem is that if there are multiple resources downloaded for a
page. In that case the mCertificate shown ends up being from the last
loaded resource instead of the main resource of the page. The solution
is to only set the certificate if the LoadListener is the
mIsMainResourceLoader as well as the mIsMainPageLoader.

A larger problem was the fact that the EventHandler.certificate
interface method (in this case the LoadListener.certificate
implementation) once per https connection instead of once per request
as was documented. That meant if an https connection was reused (which
happens frequently on login pages such as
https://www.google.com/accounts which use the POST -> redirect -> GET
idiom to avoid POST data page refresh warnings) then later pages never
were associated with an SslCertificate.

The solution was to change EventHandler.certificate to be called once
per request, specifcally before the request. This means we no longer
call the certificate method in the handleSslErrorRequest case, which
is okay because it includes the SslCertificate within the SslError and
that is what the BrowserActivity expects.

Change-Id: Icbd9bd98c89db82762d1d06de85e1cde2470300d
rowserFrame.java
oadListener.java
ebView.java
f4418b0113ff63c82348844f4c945c81aa9157ad 19-Mar-2010 Grace Kloba <klobag@google.com> Change api for webview overscroll background.
ebSettings.java
ebView.java
e5e63f492147b6d6dee2f5e7b85fe9a3110ff0ad 19-Mar-2010 Mike Reed <reed@google.com> remove special-case logic to allow the titlebar to always scroll off the screen. This means that we
now won't force pages to resize due to scrolling.

fixes http://b/issue?id=2512549

Change-Id: Icd91d032ccfc78db6011f293b33543ff2f27f3cf
ebView.java
06312cae6b0e00c4ccbe84e9c682de8d607897a9 19-Mar-2010 Patrick Scott <phanna@android.com> Compare the cookie names to ensure a consistent ordering.

Comparing the hash code provided a consistent order but it was not a logical,
testable order as the hash code was not related to lexicographic ordering.

Remove a spurious '=' from a comment.

Bug: 2527671
Change-Id: Ia2248cb8acbc4d5759a624eec13da3837f7406b8
ookieManager.java
bb1934a5baa28dcf06d4615b692a197c4b7adbdb 19-Mar-2010 Grace Kloba <klobag@google.com> Merge "Change overscroll background to be same as status bar pulldown."
d12b232575faa44163157c2d4aa988e7a5974a3e 19-Mar-2010 Steve Block <steveblock@google.com> Merge "Fix HttpAuthHandler for synchronous requests"
cfe688d8d9d09d2a9e6602361f20a8d5a4fe3621 19-Mar-2010 Cary Clark <cary@android.com> create absolute layout if view layout can't be reused

The existing view layout may not be an absolute layout,
and will throw a ClassCastException. Check to see if it
is compatible before the cast.

Change-Id: I7309600a1e7405a29e49a3bab469a164d51126ae
http://b/2526854
iewManager.java
c877c6b87a2e72bdffda756fc75f0ec684de6fbd 12-Mar-2010 Steve Block <steveblock@google.com> Fix HttpAuthHandler for synchronous requests

When HttpAuthHandler queries the WebViewClient to obtain a username and
password, we need to make sure that this is done synchronously when the request
is synchronous.

Bug: 2511043
Change-Id: I9ff2156cfb3c81edaf4a50ec7094a00a8f8ff91f
ttpAuthHandler.java
f8338d4a98f87c426c4281d97e5df0fecaa74184 19-Mar-2010 Grace Kloba <klobag@google.com> Change overscroll background to be same as status
bar pulldown.

Fix http://b/issue?id=2520825
ebView.java
b415779e3ba8147704f1d408cd932554c0a45a22 18-Mar-2010 Leon Scroggins <scroggo@google.com> Pass selection data with the message to open the keyboard.

Fix for http://b/issue?id=2431351

Requires a change to external/webkit.

Change-Id: I501c3b1a9ae602458b830d34f779ccedf51dba9b
ebView.java
ebViewCore.java
e84a0db030ac95deb74e59864ff65516a243d3b8 17-Mar-2010 Cary Clark <cary@android.com> simplify utility to hit-test focused plugin

After about 4 taps, this starts to return that the tap was
in the plugin. Before that, the plugin doesn't have focus.
Derek may want to verify that everything is working as it
should -- maybe it just takes that long for webkit to take
focus.

companion fix in external/webkit

Change-Id: I80ffba6c55876b0af9c305c539a10e8e8ed7cb3c
http://b/2521087
ebView.java
8a836a8b98557263152a476f614b6e05e19ffc5a 18-Mar-2010 Adam Powell <adamp@google.com> Eliminate haptic feedback when hitting an overscroll barrier due to a fling.

Change-Id: I434ec3edd95a19677ad9dbd1ac5ca3f3f5d091cb
ebView.java
69a63b0c52499e594536e2483d434b0c53a0fb28 17-Mar-2010 Leon Scroggins <scroggo@google.com> Allow the shift key to be passed to plugin.

Fix for http://b/issue?id=2519667

Do not return so that we can fall through and pass the shift up
to the page.

Change-Id: Ib3c07f2d39e772f88dd6eee6390034e5a3e3e026
ebView.java
247c065aec3c7b5e63cc7ddb28951cb25227236d 16-Mar-2010 Steve Block <steveblock@google.com> Merge "Fix loading from the cache for synchronous requests"
0b43747206014244c9318868ed199b648918d816 15-Mar-2010 Steve Block <steveblock@google.com> Fix loading from the cache for synchronous requests

This fixes crashes in several XHR layout tests.

Bug: 2218794
Change-Id: Iebe3a2d19f1fa43b8d9c9d7763e818f7195b8ceb
rameLoader.java
oadListener.java
4ab72cb7e79c15b94b4b7aca4cdb28677a615f8a 15-Mar-2010 Brian Carlstrom <bdc@google.com> b/2511635 Browser displays incorrect SSL cert information

WebView's mCertificate member was not cleared when going to new
pages. Rather than clearing mCertificate as was done in previously in
WebView.goBackOrForward, we now clear when CallbackProxy receives a
PAGE_STARTED message.

This problem was highlighted whenever we went to a https page that was
in the cache, since the cache does not store certificate information,
so "More > Page Info > View Certifcate" was showing the certificate of
the last non-cached page because it had not been cleared. See also
b/2516638 "SslCertificate information not cached by CacheManager"

Change-Id: I40284f22ceb7150a6b20ecc2741f6153ed9a3276
allbackProxy.java
ebView.java
1e65d9e561bfc72f6f5297613be76883a37f83f0 13-Mar-2010 Grace Kloba <klobag@google.com> Use float instead of cast to int when calculating
the new zoom center. This should avoid the rounding
difference which caused the video in nytimes.com
not fully fit in the current view.

Fix http://b/issue?id=2512510
ebView.java
d222a16286c65ce1846b8d3b695eb481c94d2724 16-Mar-2010 Derek Sollenberger <djsollen@google.com> Plugin surfaces will be limited to 270% of the devices screen size.

Change-Id: I7e5ff1f5b8919b9e2e70a703009f9544f457a0e1
iewManager.java
41df3f7e15b3d5f77dc7f255ec702e381eb93f35 16-Mar-2010 Derek Sollenberger <djsollen@google.com> Restrict plugins to a fixed size surface after exceeding a pixel threshold.

fixes bug: http://b/issue?id=2428737

Change-Id: I8d8f2c591ac8539a345e0167b05bec8539f34535
iewManager.java
c0b778e10f8a4971f14b501a277b6b505d66b84d 15-Mar-2010 Leon Clarke <leonclarke@google.com> http://b/issue?id=2501101
Create a concept of blocking messages on destruction similar to that in
WebViewCore.java. This is to prevent what I think is a race condition
caused by an orientation event occuring just before the frame is destroyed,
resulting in the orientation listener being called back just before it
is disabled, but posting its message after the messages have been removed.
This results in the orientation event being delivered to a NULL native frame.
rowserFrame.java
fc2ece4ab6c057cf133c5a320d49f62840d55c4b 15-Mar-2010 Cary Clark <cary@android.com> update comment on WebView loadData

Change-Id: I20fbfabde7eafb8017036a7360ed83fa457cc42c
http://2400117
ebView.java
c28ff44b1e48c7232065b0a81f64a7accb9d2ebf 09-Mar-2010 Derek Sollenberger <djsollen@google.com> Allow plugin's surface to handle touch when in full-screen.

There is a matching commit in external/webkit

Change-Id: I88d8c533eb821c564c453dfd7293616669b3bf37
luginFullScreenHolder.java
ebView.java
ebViewCore.java
e8300a1dc544d2118dd577bf9fe9cf3ad1c0ee57 12-Mar-2010 Grace Kloba <klobag@google.com> Expose smart-zoom, or centerFitRect to native.

Clean up the old centerPluginOnScreen so it can be
used to center fit any rectangle on the screen.

Fix http://b/issue?id=2510670
ebView.java
ebViewCore.java
2563ffb84fc1ef569c06a35aab413258deab6bfe 12-Mar-2010 Grace Kloba <klobag@google.com> If we can't over scroll horizontally, set vx to 0 in
doFling. Otherwise if vx is greater than vy, as we
pin x later in onOverscrolled(), the fling doesn't
work as expected.

Fix http://b/issue?id=2507550
ebView.java
a91e972752211d6731fb6784f3f9b653add58aa8 12-Mar-2010 Cary Clark <cary@android.com> missing checks for native class before calling native code

Change-Id: I1dc77c10e7aff68f8327708291fcff5551722703
http://b/2509668
ebView.java
e47ac47d6c744ea1cc242a002754598eeee79335 11-Mar-2010 Grace Kloba <klobag@google.com> If the Picture is not ready, just draw the background
and return. This should help to avoid the flash in gm.

Fix http://b/issue?id=2494990
ebView.java
08e1f21dd4335bc2995fcee8ef8000fadd9f650a 11-Mar-2010 Patrick Scott <phanna@android.com> Merge "Do not send the not-modified response when validating the cache."
c6f95fe5236d8bd60ac01e7feb422f6fac70bf6f 10-Mar-2010 Grace Kloba <klobag@google.com> Implement smart-zoom per Adobe request.

When double tap on plugin object, we toggle between
centering plugin object and overview mode.

Fix http://b/issue?id=2501726
iewManager.java
ebView.java
5ac85ccabbaa02623152f140b9233c6cefcf3b77 11-Mar-2010 Patrick Scott <phanna@android.com> Do not send the not-modified response when validating the cache.

Bug: 2450517
Change-Id: Ibdff4c4b573bb63ac5de94ec7277241bb0242203
oadListener.java
2809631e59f4f967767ca8a97b8c0589030fac27 10-Mar-2010 Cary Clark <cary@android.com> use the correct LayoutParams to fix going to fullscreen view

Change-Id: Id4d1841d720011c6fda6c43fe7ffb55762cef259
http://2467842
ebView.java
180403ac103e8ee1eeb07c5e3377748ee6a03917 10-Mar-2010 Mike Reed <reed@google.com> pin our visible content bounds to the bounds of the doc itself, to account for overscroll

Change-Id: I3c8165338e31da45a70b3f65ba8389a7a50d6e07
http://b/issue?id=2496502
ebView.java
62459c0fa5f379ab7aaaea3159654dd355117b37 09-Mar-2010 Leon Scroggins <scroggo@google.com> If the new text and old text are "", return from onTextChanged.

Fixes http://b/issue?id=2496329

Change-Id: I239f143c0e539710342e46783157344a4d7ccc08
ebTextView.java
a401d559ecfb1c84f4016b5cc6b711581989dc3a 08-Mar-2010 Kristian Monsen <kristianm@google.com> Don't cut the url on a redirect

This is a fix for issue 2485033. It is not a final fix, but just starting with this so it can be discussed on code review. The line in question
was added to fix issue 1690652.

Updated fix. Stores the url before it is cut during a redirect. Forwards this to the reponse instead of the cut url.

Update 2: Using the old originalUrl

Change-Id: I286084451aa45e51d5d07811f9d119cf83849592
oadListener.java
2d17e1d212ed88fdeca4b27bf04c17c56bd5dee1 09-Mar-2010 Grace Kloba <klobag@google.com> Add an api to set WebView over scroll background.

If the WebView doesn't support zoom, or WebView does
not use wide viewport and horizontal is just fit,
don't do over scroll.

Fix http://b/issue?id=2498403
Fix http://b/issue?id=2497901
ebSettings.java
ebView.java
7a37587664baf274633db415c4a2589288b653b0 09-Mar-2010 Leon Scroggins <scroggo@google.com> Set mShiftIsPressed properly when the focus is a plugin.

Fix for http://b/issue?id=2484986

Change-Id: I3140c3c3a0bd44af85939aceb0bbd07c0861cde4
ebView.java
c2242f2b5f7daa6dcb1821beeacdc649313d8392 05-Mar-2010 Grace Kloba <klobag@google.com> Rewrite the WebView touch to support Flash.

When a page is loaded, Flash won't be the touch target.
This is ensured by another CL in external/webkit. When
user taps or uses nav key to make the Flash to be the
document focused node, it will take all the touch
events without time out. If Flash didn't call prevent
default, these touch events will be reprocessed by
the Browser. For double tap and long press, Browser
needs to detect and generate them for Flash.

While Flash is in full screen mode, it will take all
the touch events. If Flash doesn't consume them, they
won't be reprocessed by the Browser. Browser does need
to detect and generate the special events like double
tap and long press for full screen Flash.

Here are changes made for JavaScript touch events.

1. preventDefault on touchMove works now. If the author
calls preventDefault on touchStart, UI will not handle
this touch sequence. If the author didn't call preventDefault
on touchStart, it can call preventDefault on the first
touchMove to prevent UI from panning the page. We
currently do not support alternating preventDefault
during touchMove.

2. The first touchMove is only sent when the movement
is more than the system slop. There was a bug introduced by
https://android-git.corp.google.com/g/#change,42848
where the touch events are not sent to WebCore if
preventDefault is called. This is fixed now.

3. Move sending TOUCH_EVENT to WebCore into each state.
So if user stops a fling and continue drag, it won't
send the touch_down as we are in drag mode.

4. Remove event time as Adobe doesn't need it any more

Fix http://b/issue?id=2438503
Fix http://b/issue?id=2478701
Fix http://b/issue?id=2390587
ebView.java
ebViewCore.java
0409857f8ff1b140733537db4bf56ccc663318e7 09-Mar-2010 Andrei Popescu <andreip@google.com> Make sure access to WebView::mWebViewCore is synchronized.

Fix bug: 2498784
ebView.java
3dc02fecbe87484133e3c07fe194d7d7327cfe39 09-Mar-2010 Leon Scroggins <scroggo@google.com> For flash trackball, send several downs followed by a single up.

Change-Id: I2ca892bc409372ab1389f2da8254f13b2d84351c
ebView.java
31b83675707a2439995583a12322c9a928b0d361 09-Mar-2010 Cary Clark <cary@android.com> requestChildRectangleOnScreen takes layers into account

Call native LayerAndroid::subtractLayers so
the layers can be removed from the visible portion of the screen
when computing how much to scroll.

companion fix in external/webkit

Change-Id: Ib441b826ab5b2baaba20f41f392848a28a9e09ee
http://b/2453841
ebView.java
198e40dcbe6fede47bbedfaa2a63ab30ec1d7950 08-Mar-2010 Leon Scroggins <scroggo@google.com> Merge "Pass keys to plugin while shift is held down."
2807dbd5942a64eb0200de3c2ea0f551a22720f3 08-Mar-2010 Patrick Scott <phanna@android.com> If both cookies have null values, use the name difference.

Change-Id: Idee9763a14dd559f136ee8b1eea9abaf265d15a1
ookieManager.java
b127c8ff0e725fb7124c720578412be576016df3 05-Mar-2010 Leon Scroggins <scroggo@google.com> Pass keys to plugin while shift is held down.

Fix for http://b/issue?id=2484986

Change-Id: Ie252527957958d977cec044a1d383c229d3a3268
ebView.java
8da530c9b8bc1ceb803b332bf9ba08d09524f7b2 08-Mar-2010 Patrick Scott <phanna@android.com> Merge "Cookies like "a=b" were broken due to my previous change."
271f7ae4e3f9b9ffa4d447c686de680a59e59dd3 08-Mar-2010 Steve Block <steveblock@google.com> Merge "For synchronous loads, load file URLs in the WebCore thread, rather than in the new WebViewWorker thread"
ad7dd48361d9d510e8c5b43acef2f43c2fccbb2c 05-Mar-2010 Cary Clark <cary@android.com> scroll into view considers layers

Remove view metrics data, which is a duplicate of
an existing interface (calcOurContentVisibleRect)

companion fix in external/webkit

http://b/2485168
ebView.java
d2b49d931afd22051807ef8919437ee889211bbb 05-Mar-2010 Patrick Scott <phanna@android.com> Cookies like "a=b" were broken due to my previous change.

Update the cookie parser to correctly detect "a=b" cookies and add comments.
Also change the comparator to compare null values before the name so that all
cookies with null values come after cookies with values.

Also added a cts test in cts project.

Bug: 2487245
ookieManager.java
30df237f19228ef38d91b92fa0d0809a5c61d2a4 06-Mar-2010 Raphael <raphael@google.com> ADT: Mark WebView as a Widget. Eclipse/ADT will display it in the GUI creator.

SDK Bug 1588698

Change-Id: I47321a0e21a0761d20ed5e61a1a1db1024a141c5
ebView.java
d7625dd2810e164f270fc680f8b547aa016d8892 04-Mar-2010 Grace Kloba <klobag@google.com> Adding over scroll to webview. We will always apply
over scroll vertically. In horizontal direction, if
the page can't be zoomed and the current content just
fit, we will not do over scroll.

Per UI request, only draw the shadow when title bar
is not visible.
ebView.java
76619af64ca9b49c4f87d5ee6d444971d5b481c4 05-Mar-2010 Steve Block <steveblock@google.com> For synchronous loads, load file URLs in the WebCore thread, rather than in the new WebViewWorker thread

This fixes the layout test failure in fast/xmlhttprequest/xmlhttprequest-html-response-encoding.html

Bug: 2218794
Change-Id: If86c5dbb72b21400bd0fb6981de1a6fdf9b40fe7
rameLoader.java
9a823c4d81329e93597ad4a48de83a137c93d9cd 05-Mar-2010 Ben Murdoch <benm@google.com> Merge "It is possible that we may get a call from WebCore that the first layout has completed before we've successfully syncd the webview dimensions from Java to native and in this case, we end up syncing a height of 0 to WebKit. This causes hit detection to fail, as WebKit thinks we have a 0-height visible area. This patch fixes this scenario by syncing the height of the webview back to WebKit in the case that the first layout comes back before we've sent our dimensions."
d1bee05d6494cc2dd2751a17b60e34994f925c59 05-Mar-2010 Ben Murdoch <benm@google.com> It is possible that we may get a call from WebCore that the first layout has
completed before we've successfully syncd the webview dimensions from Java to
native and in this case, we end up syncing a height of 0 to WebKit. This causes
hit detection to fail, as WebKit thinks we have a 0-height visible area. This
patch fixes this scenario by syncing the height of the webview back to WebKit
in the case that the first layout comes back before we've sent our dimensions.

Fix for b/2449863

Change-Id: Id72c37b17411f3409edc7104d83ca5ffd17ab09b
ebViewCore.java
1c02c6a7d8c38571124188b0c70a9337d6d66ccd 05-Mar-2010 Shimeng (Simon) Wang <swang@google.com> Squashed commit of the following:

commit 35ade1c72b5fe34c177712108ccbc070eab11a87
Author: Shimeng (Simon) Wang <swang@google.com>
Date: Thu Mar 4 16:29:01 2010 -0800

Alternative way to fix the history picture drawing issue.

Disable zoom part for history picture mode.

Bug: 2462039

commit 1a27acaa36c60546e5e6b2e1caf4ce5488dad14b
Author: Shimeng (Simon) Wang <swang@google.com>
Date: Thu Mar 4 16:06:41 2010 -0800

Use the screen width to derive the desired scale.

This is to fix the history picture draw issue. Since the mActualScale
will be changed in some other places.

Bug: 2462039
ebView.java
189e7355e6a9455e7559a26ed42f8ae9ab0c6886 05-Mar-2010 Mike Reed <reed@google.com> return false if any exception is thrown from savePicture
ebView.java
966641a8da5361681e14ffaa00f2b69301b7c629 04-Mar-2010 Cary Clark <cary@android.com> add comment for public function

http://b/242036
ebView.java
75a36c2bc70a5b1438b75c8ccb15a41d02d78c62 04-Mar-2010 Leon Scroggins <scroggo@google.com> Remove an overzealous call to setDefaultSelection.

This was added to try and fix an earlier bug,
http://b/issue?id=2431351 However, it results in all
touches setting to the default selection, which
is incorrect.

Fix for http://b/issue?id=2486721
ebView.java
f6bd0ba6308673a8b6bb9f71dd40a09d11c0d90d 02-Mar-2010 Grace Kloba <klobag@google.com> Don't send ACTION_MOVE to webkit until the distance
is confirmed to be a drag.

Always send touch events to webkit if a subview, plugin,
is in full screen mode.

Fix http://b/issue?id=2478701
ebView.java
c833119c140c32feddab153b1111a76a97de6c06 03-Mar-2010 Leon Scroggins <scroggo@google.com> Merge "Remove the TAB key from <textarea>s."
7af1b837ff7add63cb1494d231ea11d874575b73 03-Mar-2010 Leon Scroggins <scroggo@google.com> Remove the TAB key from <textarea>s.

Do not use flag for web edit, so that the IME does not have the
TAB key.

Fix for http://b/issue?id=2484101
ebTextView.java
3403eb3156d5d1e1ac6ee83bc0085e0889805411 03-Mar-2010 Cary Clark <cary@android.com> refactor find state and scrolling

Separate out state when find is up and is empty.
Request a scroll when setting a match, rather than when drawing.
Don't draw if there's no match.

Companion fix in external/webkit and packages/apps/Browser

http://b/2370069
ebView.java
de023c1dddbad3812d5695d5ddf375db06a237d2 03-Mar-2010 Cary Clark <cary@android.com> refactor find state and scrolling

Separate out state when find is up and is empty.
Request a scroll when setting a match, rather than when drawing.
Don't draw if there's no match.

Companion fix in external/webkit and packages/apps/Browser

http://b/2370069
ebView.java
0b2e84b32af48f4b2b17c72adcf12ad29ec7bb7a 02-Mar-2010 Patrick Scott <phanna@android.com> Add a client for WebBackForwardList operations.

Provide a custom data slot in WebHistoryItem to store application data in the
history item. A client of WebBackForwardList can insert their custom data into
the item when created. In onIndexChanged, the custom data can be read by the
client.
allbackProxy.java
ebBackForwardList.java
ebBackForwardListClient.java
ebHistoryItem.java
ebView.java
4addf9b5d8893ad54eddcf11dff9dea4ef4f82c7 02-Mar-2010 Grace Kloba <klobag@google.com> When titlebar's visible height changed, it means the
WebKit viewsize need to be updated.

Fix http://b/issue?id=2470621
ebView.java
43242d02e931c116d7f334cda2b0d677bedfdd97 02-Mar-2010 Leon Clarke <leonclarke@google.com> am ba74d7cc: am e861b8f9: Merge " Fix issue with authentication with flash" into eclair-mr2

Merge commit 'ba74d7ccadc34d09d57886120e9d412d9edbc4d7'

* commit 'ba74d7ccadc34d09d57886120e9d412d9edbc4d7':
Fix issue with authentication with flash
f79a819f245360af93898cc2a808b31ac9265adc 02-Mar-2010 Cary Clark <cary@android.com> Merge "account for find dialog height when positioning layers"
e861b8f95dd52f89b7e7e34ba1bfc5b85c290292 02-Mar-2010 Leon Clarke <leonclarke@google.com> Merge " Fix issue with authentication with flash" into eclair-mr2
c2ca93670056f09761ec2babe72e7c271f39ad19 02-Mar-2010 Grace Kloba <klobag@google.com> Merge "Start the synchronous load in the WebCore thread."
72ab9980cbd9cdeb5a616724343131520514217c 02-Mar-2010 Cary Clark <cary@android.com> account for find dialog height when positioning layers

The Find dialog draws on top of the WebView, including any
layers attached to the bottom of the screen. Adjust the view
dimenions returned to the layer code by the height of the Find
dialog if visible.

http://b/2453769
ebView.java
cb01dba34842151d0bb056b01affdc1e9bf50193 23-Feb-2010 Leon Clarke <leonclarke@google.com> Fix issue with authentication with flash
oadListener.java
2705c8f09975f1bf10c84af323a67c104a177129 02-Mar-2010 Derek Sollenberger <djsollen@google.com> Merge "DO NOT MERGE. force plugins to render on top of browser content." into eclair-mr2
0245e09fa7916d7902b1719bde7c71add9afe9c2 02-Mar-2010 Patrick Scott <phanna@android.com> Merge "Store the LoadListener in the SslErrorHandler passed to the client."
5f38e1aaa1ad51d82be8e508cbdb568779698972 02-Mar-2010 Grace Kloba <klobag@google.com> Start the synchronous load in the WebCore thread.

Fix http://b/issue?id=2480606
rameLoader.java
3ff7cecd3d9a1bb9485e32b0e6920f24022a5565 02-Mar-2010 Grace Kloba <klobag@google.com> Merge "DO NOT MERGE" into eclair-mr2
12f807091db10d30aee53b98a175668abf91f6e0 01-Mar-2010 Grace Kloba <klobag@google.com> am 3ca122df: am cfb50c66: Merge "If we get TOUCH_UP before getting the WebCore\'s response for TOUCH_DOWN, remove the pending TOUCH_EVENT before proceeding to fling." into eclair-mr2

Merge commit '3ca122df9e9a25f7ed1c39ef18c5c4ba2e316fe8'

* commit '3ca122df9e9a25f7ed1c39ef18c5c4ba2e316fe8':
If we get TOUCH_UP before getting the WebCore's
a752a949afab51854bf649873d418bb205981c3b 01-Mar-2010 Grace Kloba <klobag@google.com> If we get TOUCH_UP before getting the WebCore's
response for TOUCH_DOWN, remove the pending TOUCH_EVENT
before proceeding to fling.

This is partial fix for
http://b/issue?id=2450534
ebView.java
6078399d29135d3fcac7d5dbd9ebb0c54a44f279 23-Feb-2010 Derek Sollenberger <djsollen@google.com> DO NOT MERGE. force plugins to render on top of browser content.
ebViewCore.java
b3d0cc5ca99753c7aae3c04a5d7b607ce0aeabbb 01-Mar-2010 Grace Kloba <klobag@google.com> If zoom scale is set to minimum, treat it as in overview
mode.

When view size changed, we will adjust scale factor,
which should update the zoom button states afterwards.

http://b/issue?id=2477282
ebView.java
ef962fc34cbd05e524f190086f17527d1bc3bf0f 01-Mar-2010 Grace Kloba <klobag@google.com> DO NOT MERGE

Manual merge part of https://android-git.corp.google.com/g/#change,42462
from master to mr2 for Adobe.

Fix http://b/issue?id=2475242
acheManager.java
ebViewDatabase.java
5e747dd60247cfad552961a0b521b5bb7d2305db 01-Mar-2010 Grace Kloba <klobag@google.com> Merge "Add a new WebCoreWorker thread to handle the tasks which should not block either UI or WebKit. It handles local file access, cache access and trim cache."
2036dbab1726c34953360a7a56d6b9ef1f2aa7dd 15-Feb-2010 Grace Kloba <klobag@google.com> Add a new WebCoreWorker thread to handle the tasks
which should not block either UI or WebKit. It handles
local file access, cache access and trim cache.

Move createCache, saveCache and most of getCache out
of WebCore thread so that slow IO and database will
not affect loading performance. getCache can be still
called from WebCore thread in the uncommon cases
like redirect and POST validation.

Move cache ticker from WebCore thread to WebViewWorkerThread.

Move setCookie from WebCore thread to WebViewWorkerThread.

Remove the unreferenced files in the cache directory
while trim cache.

Confirmed with our SQL expert, Vasu, there is no need
to wrap clearCache with end/startTransaction any more.

http://b/issue?id=2414792
http://b/issue?id=2475242
rowserFrame.java
acheManager.java
rameLoader.java
oadListener.java
treamLoader.java
ebViewCore.java
ebViewDatabase.java
ebViewWorker.java
1be40985283e77d3fc5d98268f9f6453bcc7223e 01-Mar-2010 Leon Scroggins <scroggo@google.com> Make nativeMoveCursorToNextInput return a boolean and use it.

If nativeMoveCursorToNextTextInput does not succeed, do not set the
default selection or perform the other actions which assumed that the
move worked.

Part of fix for http://b/issue?id=2478052

Requires a change to external/webkit.
ebTextView.java
ebView.java
247c7275a1e5351d0980c5b42051189e361b84dd 01-Mar-2010 Derek Sollenberger <djsollen@google.com> Merge "force plugins to render on top of browser content."
2120cd663fd76ae49a8d578f1c48a7bbec3e3cc1 23-Feb-2010 Derek Sollenberger <djsollen@google.com> force plugins to render on top of browser content.
ebViewCore.java
8aab46abca2cd0c100c90a569f6fc058ce6db5a8 27-Feb-2010 Andrei Popescu <andreip@google.com> VideoPlayer::onPrepared() can be called after the user pressed back in the VideoView.
This can cass a NPE since our Timer would have been destroyed by then.

Add call to VideoView.stopPlayback() when the view is dismissed by the user.

Fix b: 2476002, 2475786, 2475786
TML5VideoViewProxy.java
f8599bf814b4aae92dd6f04dc7d313e968968562 26-Feb-2010 Patrick Scott <phanna@android.com> Store the LoadListener in the SslErrorHandler passed to the client.

This ensures that the loader will not be null when passing the message to the
main handler.

Bug: 2474087
slErrorHandler.java
b5e15690dc9a21435c378cc73234d0a324f6eee8 26-Feb-2010 Ben Murdoch <benm@google.com> Merge "Keep track of when the HTML5 database path has been set, so that we don't inadvertantly sync it to the native side before it has been set by the client."
018ff891a04b5849a1cfb15e5272330ee3f1810a 25-Feb-2010 Cary Clark <cary@android.com> don't draw layers with history

The history picture and the layers drawn may be out of sync,
so for now, don't draw the layers when the history picture is
drawn.

Also, remove native class check from drawExtras() since it
is already checked by the caller.

fixes http://b/2457350
fixes http://b/2453780
ebView.java
2269d1572e5fcfb725ea55f5764d8c3280d69f6d 25-Feb-2010 Dianne Hackborn <hackbod@google.com> Re-arrange android-common so framework no longer links with it.

This is the framework part, moving classes around so the framework
no longer needs to link to android-common. Makes some APIs public,
others that didn't need to be public are private in the framework,
some small things are copied.
acheManager.java
ookieManager.java
18773afa64d407ebdd4bfc7bc151497d4447884d 25-Feb-2010 Ben Murdoch <benm@google.com> Keep track of when the HTML5 database path has been set, so that we don't inadvertantly sync it to the native side before it
has been set by the client.

Change-Id: Idcf604060e5208ec28610dd13e9858adcf44165e
ebSettings.java
0aa341f0d1b8729c0b65adedcd1738d87d7a448a 24-Feb-2010 Leon Scroggins <scroggo@google.com> When opening the IME or sending a key to a non-cursored textfield, set the default selection.

Fix for http://b/issue?id=2431351
ebView.java
2ec30697c6cc6812dfaeb9a2e7d1da0443aeb8e6 23-Feb-2010 Cary Clark <cary@android.com> refactor drawing to support layers

Drawing elements that appear atop or below layers need to be
drawn both in the proper order and with the correct canvas to
respect clipping and the matrix.

The logic of what to draw is still in WebView.java, but the
actual drawing calls are now triggered inside the layer code.

This still draws layers incorrectly after drawing the history;
will fix this in a future CL.

Move drawing to WebView.cpp.
Use inverseScale to simplify viewPort metrics.
Remove root layer; let WebView.cpp handle it exclusively.

Requires companion fix in external/webkit.

http://b/2457316
http://b/2454127
http://b/2454149
ebView.java
6a4472f4d5513a69665811115c56f63e5f3935fe 22-Feb-2010 Patrick Scott <phanna@android.com> Allow cookies with no name.

Cookies like "foo; path=/;" should be evaluated to have just a name. This makes
it easier to compare cookies when looking for duplicates.

Bug: 2333747
ookieManager.java
a406fb90805adf36fe0fabd3a79018e33706453c 24-Feb-2010 Grace Kloba <klobag@google.com> DO NOT MERGE

If mPreventDrag is cancelled due to time out, remove
the pending TOUCH_EVENTS and then send an ACTION_CANCEL
and skip the rest of touch events.

This should address the drag problem Flash plugin has.

Fix http://b/issue?id=245053
ebView.java
93f5831ef27093ccd939077c00a6981a026a6c21 24-Feb-2010 Grace Kloba <klobag@google.com> If mPreventDrag is cancelled due to time out, remove
the pending TOUCH_EVENTS and then send an ACTION_CANCEL
and skip the rest of touch events.

This should address the drag problem Flash plugin has.

Fix http://b/issue?id=245053
ebView.java
58cf334ff4cfb7cf41e0d3eea86f129e25101bbf 24-Feb-2010 Leon Scroggins <scroggo@google.com> Merge "Focus the IME on WebView when no textfield is in focus."
6870eba19f30e036b3b0fbca060eeddd69558109 24-Feb-2010 Grace Kloba <klobag@google.com> Temp disable plugin's signature checking.

Filed http://b/issue?id=2465450 to re-enable later.
luginManager.java
e3844eeb349b9aa9437be6c43b0e1ecc151f6bd1 23-Feb-2010 Leon Scroggins <scroggo@google.com> Focus the IME on WebView when no textfield is in focus.

This is to fix a particular case where the navigation cache
does not recognize that a textfield is now in focus. A message
was sent from the WebCore thread telling us to open the IME on
the textfield. Open it with the WebView as the served view.

Fix for http://b/issue?id=2457459
ebView.java
4379dca2f4c6aa56986b9fd70bdbf5648fb1b6fe 19-Feb-2010 Leon Scroggins <scroggo@google.com> Change the text for the browser downloads and history views.

Fix for http://b/issue?id=2450232
ateSorter.java
eac461cf7c246df737d2b0e7bd30be176a34c36e 19-Feb-2010 Steve Block <steveblock@google.com> Merge "Makes sure GeolocationPermissions is fully robust to calls being made before the message handler is initialized"
2ac2340c5e98d4fb45698330b928b61be6f7e27f 19-Feb-2010 Leon Scroggins <scroggo@google.com> Merge "Change to 5 days ago group to 7 days ago."
01228fcff613e2f30773130dd31acd3ba7d62bac 19-Feb-2010 Steve Block <steveblock@google.com> Makes sure GeolocationPermissions is fully robust to calls being made before the message handler is initialized

Bug: 2315829
Change-Id: I6c0d1adf7049c5c89228e43e34934702664c8691
eolocationPermissions.java
4787b3c10f9155474009fb558ae111e3d3c4e055 19-Feb-2010 Steve Block <steveblock@google.com> Merge "Adds synchronization around message handler in GeolocationPermissions and WebStorage"
3608d4a8908dae200e6991174ac2c75637f7c021 19-Feb-2010 Leon Scroggins <scroggo@google.com> Change to 5 days ago group to 7 days ago.

Fix for http://b/issue?id=2450232
ateSorter.java
e4b2d4dc7db426052d1dfebc40f6b64a001b6d73 19-Feb-2010 Steve Block <steveblock@google.com> Adds synchronization around message handler in GeolocationPermissions and WebStorage

The message handler is instantiated on the WebCore thread and its presence is
checked on the browser thread. This requires synchronization.

Change-Id: I4b71c7a2470b60fa273dc2bcb46f645ed135ee11
eolocationPermissions.java
ebStorage.java
8a032a3b29e7708e468e2078ff88a39e083db1da 02-Feb-2010 Ben Murdoch <benm@google.com> Pass key modifier state to webcore for touch events and update DRT so it can simulate them.

Change-Id: Ic5aa8cb0376f6a3eecaa6340d57f28fa97f016bd
ebView.java
ebViewCore.java
f43113f6216efacc3957fc48d9fa1c0326facceb 18-Feb-2010 Patrick Scott <phanna@android.com> Unhide setBlockNetworkLoads.

Blocking network images is not as secure as completely blocking network loads.
Leave setBlockNetworkImage so clients can reduce bandwidth by disabling remote
images. This will allow file:// and content:// URIs to load.
ebSettings.java
bcbf564a3f527266693233cacd6728770d1a65fd 17-Feb-2010 Leon Scroggins <scroggo@google.com> At the end of a zoom, only check if the textfield is onscreen.

Previously, we checked to see if the IME was active on the WebTextView,
in an attempt to fix http://b/issue?id=2266066 . If so, we move the
textfield on screen. However, that is resulting in
http://b/issue?id=2147168 , where a textfield far offscreen is being
scrolled on screen at the end of a zoom, and with this change, the
latter bug is fixed. Further, I am no longer able to reproduce the
earlier bug with this change.
ebView.java
bf8f3a888c97d92d6f9cabc4e260b306fc6f9572 18-Feb-2010 Cary Clark <cary@android.com> Merge "add support for audio/3gpp"
1b098a685255413d3111fbe0b728ef9d3a702a58 18-Feb-2010 Cary Clark <cary@android.com> add support for audio/3gpp

This parallels an entry in WebCore/platform/MIMETypeRegistry.cpp

http://b/2452889
http://code.google.com/p/android/issues/detail?id=3728
imeTypeMap.java
6088e83374d768aef441ea71ba9db1a00f57d80c 17-Feb-2010 Leon Scroggins <scroggo@google.com> Changes to remove WebTextView at end of touch/press rather than during.

Add a parameter for clearTextEntry to disable the focus controller,
and call clearTextEntry when releasing the trackball.

Requires a change to external/webkit

Fix for http://b/issue?id=2340871
ebView.java
855dd9e074c4dcb9c90deaeff1eb33d6394dd5da 27-Jan-2010 Cary Clark <cary@android.com> Add UI considerations to layers

companion fix is in external/webkit

- Add class to return view metrics.
- Draw cursor rings and find matches in proper order.

http://b/2369549
ebView.java
e265532f30ca460dc0900c4cdfc3c7425ae7714b 16-Feb-2010 Leon Scroggins <scroggo@google.com> Create a default style for WebTextView.

As a result, all apps using WebView (and therefore WebTextView)
will get the same style, and display properly.

Fixes http://b/issue?id=2385422
ebTextView.java
bd27544098a9fd50bf7964f108d656a905216caf 09-Feb-2010 Leon Scroggins <scroggo@google.com> Set up the WebTextView before setting its selection.

Fixes http://b/issue?id=2431351
ebView.java
a6d747d5c74558d73a95a69a52907c37815d3ba1 11-Feb-2010 Andrei Popescu <andreip@google.com> Implement navigator.isApplicationInstalled() API

This CL contains the framework plumbing to pass the package names to WebKit.

Fix b: 2371005
WebCoreJavaBridge.java
ebView.java
ebViewCore.java
ac6df2d0376aed28eb0dac9baba00497ae40bdfb 11-Feb-2010 Nicolas Roard <nicolas@android.com> Move the animations in the UI thread
ebView.java
18e939623556928f73fcc7511c85a537929a4a7e 11-Feb-2010 Dan Egnor <egnor@google.com> Eliminate dependencies on Checkin, replacing checkin events with EventLog
events (and in one case, a DropBox entry).

Add a simple intent that triggers master-clear (and toggle EFS), given the
right permissions.

Bug: 2264596
Bug: 2350452
Bug: 2264596
ventLogTags.logtags
ebSettings.java
ebView.java
91f2a20a5957095a6cba9f97326ea0f1eab17195 09-Feb-2010 Bjorn Bringert <bringert@android.com> Add content provider for browser geolocation permissions

This replaces the old Google-specific geolocation setting.

Fixes http://b/issue?id=2428694
Part of http://b/issue?id=2383870

Change-Id: I6308b476ad18b1d71d7438b936c592a45365c9f0
oogleLocationSettingManager.java
ebSettings.java
a1ab9766718e11cb31bd5e87cda2a2bac03573db 10-Feb-2010 Bart Sears <bsears@google.com> Merge "DO NOT MERGE" into eclair
b3316d35ffb0dccf1f342c5c9e73dfa7aeb785ea 13-Oct-2009 Grace Kloba <klobag@google.com> DO NOT MERGE

cherry-pick https://android-git.corp.google.com/g/#change,29843 from eclair-mr2
This will cherry-pick SHA1: 58def690a87b4aa2c01331c06b61e457198de0ea

This will workaround the following three bugs which are occuring because
the webview DB is getting corrupted:

http://b/issue?id=2338178
http://b/issue?id=2278210
http://b/issue?id=2405650

Here are the comments from the eclair-mr2 CL:

If openOrCreateDatabase() throws an exception, delete
the old db and re-do it. If it still fails, something
bad happens, like the directory may have the different
permission. Let it throw as WebView needs the db.

Fix http://b/issue?id=2179339
ebViewDatabase.java
614f8450a7f511e5ea279cfd870b1a8fa62ec5eb 02-Feb-2010 Grace Kloba <klobag@google.com> DO NOT MERGE

cherry-pick https://android-git.corp.google.com/g/#change,39258 from master

Now mSupportMultiTouch is depending on WebSettings,
it can't be static any more.

Fix http://b/issue?id=2413364
ebView.java
df737e442efe0fe3899b1c3c7059fa0c70c4bc92 09-Feb-2010 Leon Scroggins <scroggo@google.com> Merge "Set the IME action to GO for normal textfields."
af314e246dd6ee75b0d8d6b5a64d8443c7a8220d 09-Feb-2010 Leon Scroggins <scroggo@google.com> Set the IME action to GO for normal textfields.
ebTextView.java
5c84bf0a3bfa5f95f9f840fbd9a9b8239f76b3db 09-Feb-2010 Leon Scroggins <scroggo@google.com> Restart input when moving to a new textfield.

Ensures that the IME action gets updated properly.

Fixes http://b/issue?id=2428023
ebView.java
b7f17d474217d4a5869f5fe41a244254022edd01 09-Feb-2010 Shimeng (Simon) Wang <swang@google.com> Take into account the visible title height when scrolling.

Bug: 2425057
modified: core/java/android/webkit/WebView.java
ebView.java
d5ff5dbfebe9a6b906323b4cc98257a83bbf38b2 08-Feb-2010 Leon Scroggins <scroggo@google.com> Handle the Tab key by moving to the next textfield. And ensure
there is always a way to get to the next field.

http://b/issue?id=2414236 and http://b/issue?id=2414229
ebTextView.java
ebView.java
c9532609f5248a73a19cd2b02f6824cf7b65d65d 08-Feb-2010 Mike Reed <reed@google.com> animated the return to normal of mr-stretchy
ebView.java
5c33c6252ca2a58b524ee5a86a53114d591619e2 04-Feb-2010 Grace Kloba <klobag@google.com> Merge "Enable StreamLoader to be loaded in a separate thread."
ac75f56600691d318d40301204baaf840c9586f2 03-Feb-2010 Grace Kloba <klobag@google.com> Enable StreamLoader to be loaded in a separate thread.

Move ContentLoader and FileLoader to this new way
as they involves IO. Will work on CacheLoader later.

Change StreamLoader to contain a Handler instead of
derive from a Handler so that the Handler can be
created in the thread where load() is called.

Rename StreamLoader's old "LoadListener mHandler"
to mLoadListener.

Remove unused import and unreachable exception.

Fix http://b/issue?id=2158613

This improved page_cycler performance in moz/intl by
10-30% as we are not blocked by IO any more.
acheLoader.java
ontentLoader.java
ataLoader.java
ileLoader.java
rameLoader.java
treamLoader.java
3141e0a62abe57e93e5d716895a2a57cc052bb50 28-Jan-2010 Ben Murdoch <benm@google.com> Add new ConsoleMessage class that adds more information (such as the Message Log Level from WebCore) and a new overload of onConsoleMessage that takes this as a parameter.
This change requires a corresponding change in external/webkit.

BUG=2401755

Change-Id: Iea2c58e93172240f162d8ad57eb2c8f2352f8162
allbackProxy.java
onsoleMessage.java
ebChromeClient.java
ebViewCore.java
45a9a14006214e6478311ffcb980e766702d5a76 03-Feb-2010 Doug Zongker <dougz@android.com> remove android.webkit.HttpDateTime, again

Remove this class, again, and change the webkit uses of it to use the
one in android-common. Remove class from preloaded-classes as well.

Change-Id: Ic0d4835e77180d299bc2c22b7c8780861b4781ee
acheManager.java
ookieManager.java
ttpDateTime.java
e4a74ea0ae1370139d8d3da5ae35f11ee72e3a72 03-Feb-2010 Doug Zongker <dougz@android.com> undo "move HttpDateTime from android.webkit to android-common jar"

This restores this class to android.webkit, but leaves a copy in
android-common while I figure out how to move it correctly.

This reverts commit 7ad12a5f44253dc535f9a25ceb029579b40c43b1.

Change-Id: I1d0a3efe34764058b979c6987e6e774f64d02b8c
acheManager.java
ookieManager.java
ttpDateTime.java
7ad12a5f44253dc535f9a25ceb029579b40c43b1 03-Feb-2010 Doug Zongker <dougz@android.com> move HttpDateTime from android.webkit to android-common jar

Some to-be-unbundled classes want to use HttpDateTime as well.

Change-Id: I40a001970682f6fbd4d9cd3546bd3f63ebfbe89b
acheManager.java
ookieManager.java
ttpDateTime.java
a61b67abc27b7fdc84a3d8d62101fb255de49aa8 03-Feb-2010 Grace Kloba <klobag@google.com> Pass touch event time from Java to WebKit

Merge from https://android-git.corp.google.com/g/#change,39355
ebView.java
ebViewCore.java
ecbc65cf8f2ea3bdd311f954e3927b46fca068ff 13-Jan-2010 Ben Murdoch <benm@google.com> Add support for sending touch events in DRT.

As part of this, make it possible for DRT to configure the timeout threshold between sending touch events to WebCore as the Layout Tests only synthesize single events, not a stream. Because of this, they often get dropped by the WebView for coming too quickly.

Skip the multi touch test as we don't support multi touch in the Browser.

Change-Id: I7b9830f43181fea33206825b49ef2e294269b4dd
ebView.java
ecbfb2104f61f0a364a29b431abe6ec645ea6d51 03-Feb-2010 Ben Murdoch <benm@google.com> Revert "am 3db1ebaf: am 4ed2b1c3: Pass touch event time from Java to WebKit". The corresponding change to external/webkit creates a merge conflict in master.

Revert the frameworks/base part of the change so we can "do not merge" the external/webkit change and get the build working again. We can then later resolve
the conflict in external/webkit in master directly.

This reverts commit 9ecd9437ed57bedfa2a7626430be03f4924f6b42, reversing
changes made to 019fe73ddbf52edd1819e1d85a0b242ebccc7fc3.

Change-Id: Id1404fb056b033ebd60529dd326ec9a3c32f94b0
ebView.java
ebViewCore.java
9ecd9437ed57bedfa2a7626430be03f4924f6b42 03-Feb-2010 Grace Kloba <klobag@google.com> am 3db1ebaf: am 4ed2b1c3: Pass touch event time from Java to WebKit

Merge commit '3db1ebaf1cc2a097845f217626e31d69e156b73d'

* commit '3db1ebaf1cc2a097845f217626e31d69e156b73d':
Pass touch event time from Java to WebKit
4ed2b1c34b2dd0e2bd2f403a6f3de0bdbf473b98 03-Feb-2010 Grace Kloba <klobag@google.com> Pass touch event time from Java to WebKit
ebView.java
ebViewCore.java
f3be166946e946b2e4efe2945ac133ff9df920e4 02-Feb-2010 Grace Kloba <klobag@google.com> Now mSupportMultiTouch is depending on WebSettings,
it can't be static any more.

Fix http://b/issue?id=2413364
ebView.java
2df9a91ff5c61dc6d788e034f5e0eb7a77a57ac6 01-Feb-2010 Grace Kloba <klobag@google.com> Hide the android.webkit.CallbackProxy class from the API. This is a android.webkit package class and internal to our implementation.

Although not strictly a published API (the class does not appear in the docs), it has found it's way into the API through
the public, subclassable android.webkit.JsResult class where it is a protected member.

Based on changed from Ben.
sResult.java
3565456ca7a48718500fcc8db3ff4c19abfa8cf5 02-Feb-2010 Andrei Popescu <andreip@google.com> Merge "Make sure application cache manifest files are not cached."
a1ba11bd78f9540e58516dd742fe4cc8726e262f 02-Feb-2010 Andrei Popescu <andreip@google.com> Make sure application cache manifest files are not cached.

Fix b:2326937
acheManager.java
8af3cfc2a45334bfe936fcfc79c6e1cab06e104b 02-Feb-2010 Patrick Scott <phanna@android.com> Check for null data after decoding a data: url.

Refactor StreamLoader and friends since they all use a Context. Change the
successful status to 200 instead of 0. Not sure why it was ever 0.

Bug: 2364322
ontentLoader.java
ataLoader.java
ileLoader.java
rameLoader.java
treamLoader.java
5e7bb0a9cafc5e90bf451faa5722bb80fb4294e9 01-Feb-2010 Andrei Popescu <andreip@google.com> Implement support for v8 counters
ebView.java
ebViewCore.java
8a7ac8db1a0a53d60de87e2d1b48d9013857ac70 29-Jan-2010 Shimeng (Simon) Wang <swang@google.com> Anchor the page at top left corner when webView size changed.

Bug: 2356891
modified: core/java/android/webkit/WebView.java
ebView.java
a7bc87cb6a07d3d38a5c20759dbf2c3010dda4c2 29-Jan-2010 Grace Kloba <klobag@google.com> Added pause/resume update Picture to WebViewCore.
When animating zoom, we pause updating picture for
smooth animation.

Fix http://b/issue?id=2359016

Remove the unused param in reducePriority/resumePriority
ebView.java
ebViewCore.java
d09f4aaba224bf2a94e75906a5b6bc27c2ab9ad7 29-Jan-2010 Jean-Baptiste Queru <jbq@google.com> resolved conflicts for merge of bb074ef9 to master

Change-Id: I2d78d1280b56928f65517203348ddbd403fa9eae
2fd75f35158b8347251d18e8ec48585d6e020777 28-Jan-2010 Andreas Huber <andih@google.com> Merge "API Extension: Support for optionally specifying a map of extra request headers when specifying the uri of media data to be played."
256430093679e1d62b54fb0c852126e54d162f6f 28-Jan-2010 Andreas Huber <andih@google.com> API Extension: Support for optionally specifying a map of extra request headers when specifying the uri of media data to be played.

related-to-bug: 2393577

Original change by Andrei Popescu <andreip@google.com>
TML5VideoViewProxy.java
98e6fcf2f776743674d5af5ce6413aaffb50858d 28-Jan-2010 Grace Kloba <klobag@google.com> Need to check parent for performLongClick() as it
is the result of a delayed message.

Fix http://b/issue?id=2398251
ebView.java
d0d9bc2f2fe737d186c0cc8c29a325e4f2907e8e 27-Jan-2010 Grace Kloba <klobag@google.com> Add request header support for the Browser/WebView.
QSB can use this instead of POST to send the location
data. After QSB makes the switch, we should also
remove the POST_DATA intent which is hidden.

Add loadUrl(String url, HashMap extraHeaders) to
WebView so that the caller can send the extra http
headers.

Remove "inline:" as no one is using it and it is a
hidden feature.

Part 1 of 3-project checkin.
rowserFrame.java
ebView.java
ebViewCore.java
769ed21c33c3629411eb3bbf924de45737a18067 27-Jan-2010 Grace Kloba <klobag@google.com> Fix http://b/issue?id=2400423.

When the same page is loaded, updateRestoreState
will be false when we finish the first layout. As
we are still in the same page, we don't want to
update the current zoom/scroll. But in some cases,
like a site switch from mobile to full site and
keeps the same url, we do want to update the zoom
range as the viewport spec changed. Otherwise, user
can't zoom in the full site as the WebView thought
it is still a mobile non-scalable page.
ebView.java
ebViewCore.java
493bcdda3b0b8df6a847e3521c0a93037bbd9163 19-Jan-2010 Nicolas Roard <nicolas@android.com> Fix memory leak with layers.
This fix bug http://b/2394813
This is a two-parts CL (needs C++ modifs)
ebView.java
7168231a40a97294e1a18e5d0d391b55915059a2 26-Jan-2010 Grace Kloba <klobag@google.com> am c811cd91: am caf0ce3c: Delay resetting mPreventDrag flags so that the Plugin will have more time to respond whether it wants to handle the touch events. (not have to return the value from WebViewCore before the first tap is up)

Merge commit 'c811cd916f7264f11ba4c96fcd8b88e5d58e04db'

* commit 'c811cd916f7264f11ba4c96fcd8b88e5d58e04db':
Delay resetting mPreventDrag flags so that the Plugin
79015fd26316bca57c39f553ff74fe4fa6376a49 26-Jan-2010 Grace Kloba <klobag@google.com> am cf0957ce: am 77dc179b: As embedded and full screen shares the same view, we have to replace the AbsoluteLayout with ViewGroup.Layout before setting it to the dialog as dialog\'s FrameLayout doesn\'t accept AbsoluteLayout.

Merge commit 'cf0957ce4b0ba45b6c66c726710a5126c6a57542'

* commit 'cf0957ce4b0ba45b6c66c726710a5126c6a57542':
As embedded and full screen shares the same view,
74f6c03bb25e04f120252a89d1ad79996787a865 15-Jan-2010 Patrick Scott <phanna@android.com> Set a flag that indicates a response is pending.

This will keep track of multiple calls to proceed/cancel. If an error has
occurred and the client calls proceed or cancel more than once, the loader may
be null. Set the flag during the callback and reset after a response.

Bug: 2371305
slErrorHandler.java
caf0ce3ca2b3deba4bcff6c920740bafd87f2b62 26-Jan-2010 Grace Kloba <klobag@google.com> Delay resetting mPreventDrag flags so that the Plugin
will have more time to respond whether it wants to
handle the touch events. (not have to return the
value from WebViewCore before the first tap is up)

Fix a potential null pointer exception.
ebView.java
96949efc541fb2efd8a7d359ca8461d34ea8eb8c 25-Jan-2010 Grace Kloba <klobag@google.com> We were blocking updating display tree during drag.
Now we only lower the WebViewCore thread priority.
So rename the functions to reflect the new meaning.
ebView.java
ebViewCore.java
f904be1659fcc88dd80be2c900ffc89e77b1c737 25-Jan-2010 Mike Reed <reed@google.com> Merge "disable high-quality filtering during scrolling, until I can cached the scaled images." into eclair
729d8369b5b44ffc7db1c3a311637dac5c9cbf85 25-Jan-2010 Mike Reed <reed@google.com> disable high-quality filtering during scrolling, until I can cached the scaled images.
ebViewCore.java
3a0def280fa4f6306929910a414b41ae58a7d139 24-Jan-2010 Grace Kloba <klobag@google.com> Manual merge pinch zoom from Eclair to Master.

Too many conflicts which prevent me to use git cherry-pick.
Merge based on the source diff.

WebSettings.java
https://android-git.corp.google.com/w/?p=platform/frameworks/base.git;a=commitdiff;h=5f01d7e268167c5cfb3366ce08e20a66d9b6fa6f

WebView.java (excl. drag tracker changes)
https://android-git.corp.google.com/w/?p=platform/frameworks/base.git;a=blobdiff;f=core/java/android/webkit/WebView.java;h=ab1841e140d72c22885512722cf1b75925bb8747;hp=ed1a98ae2d9321a483f6f8fa97b29b78121e94a7;hb=eclair;hpb=db08d5cd441424e4f9621aae7c2414934f781400

WebViewCore.java
https://android-git.corp.google.com/w/?p=platform/frameworks/base.git;a=blobdiff;f=core/java/android/webkit/WebViewCore.java;h=8ac915c556e3461f3c572c3a68d191ca1fecfee7;hp=a5a48527a389609e40da14ecad8c12dd8377cfaf;hb=eclair;hpb=dafc19a1406bdd554fb4629d79c8aa4d75aca363
ebSettings.java
ebView.java
ebViewCore.java
5ff24d5da414db4e8c2ebe98f40976e7be62b72d 22-Jan-2010 Grace Kloba <klobag@google.com> DO NOT MERGE

This reverts commit 52cb3cbd6fe06e3706be1a7c2939f027106aaaf7.
ebView.java
77dc179baa7b8fb405633fd46324e336285d10e2 22-Jan-2010 Grace Kloba <klobag@google.com> As embedded and full screen shares the same view,
we have to replace the AbsoluteLayout with
ViewGroup.Layout before setting it to the dialog
as dialog's FrameLayout doesn't accept AbsoluteLayout.

This should fix the crash when changing orientation.
ebView.java
72666bac20cddba1d2269578c82671fdf5beffc2 21-Jan-2010 Derek Sollenberger <djsollen@google.com> am 1f7747ad: am 7cabb03d: Resize the WebView when the soft-keyboard appears in landscape mode.

Merge commit '1f7747adb6a79317f4bd52fb78b3c567dd203883'

* commit '1f7747adb6a79317f4bd52fb78b3c567dd203883':
Resize the WebView when the soft-keyboard appears in landscape mode.
7cabb03da7053f3ceb5ff8b41b6a46052c6658a1 21-Jan-2010 Derek Sollenberger <djsollen@google.com> Resize the WebView when the soft-keyboard appears in landscape mode.

The WebView notifies the IME that it wishes to be resized when the
soft-keyboard is displayed. This fixes http://b/2170192.
ebView.java
52cb3cbd6fe06e3706be1a7c2939f027106aaaf7 17-Jan-2010 Grace Kloba <klobag@google.com> DO NOT MERGE

Just scale the canvas instead of changing the real
scale factor during pinch.

Added over limit zoom feedback for pinch in the WebView.

Fix http://b/issue?id=2383539
ebView.java
8681df902e8cc61d290808c5d78ea48920d30f3b 21-Jan-2010 Grace Kloba <klobag@google.com> DO NOT MERGE

Adopt the sloppy detection in the ScaleGestureDetector.
Try to fix the fat thumb problem.

Fix http://b/issue?id=2385061
ebView.java
12bcbdc681c3195069f55bd9abda900da0886c70 20-Jan-2010 Mike Reed <reed@google.com> Do not merge

port stretchy from master
ebugFlags.java
ebView.java
f167c4bfca57b5467f40f6cf25e10fb12183a9f3 16-Jan-2010 Grace Kloba <klobag@google.com> DO NOT MERGE

If pinched to overview mode, double tap should bring
it back to default instead of just setting the current
mode as overview mode.
ebView.java
17b14bd36aba265ac6bffc2626d8db29713d7c45 16-Jan-2010 Grace Kloba <klobag@google.com> DO NOT MERGE

Make sure the mZoomOverviewWidth is as least as
wide as the current (adjusted) view width.

This should fix the weird state Bart got in with
m.wikipedia.org.
ebView.java
5a0bf1f03e5f62449ea2520edb79ea868e6f06e7 16-Jan-2010 Grace Kloba <klobag@google.com> DO NOT MERGE

Remove testing (enable plugin) code.

No reflow when zoom in, auto reflow when zoom out.

Fix http://b/issue?id=2375955
ebView.java
19c9df3c1d882b21d6c5fe77f363cda5bf4c7d21 16-Jan-2010 Grace Kloba <klobag@google.com> DO NOT MERGE

Bring back +/- when panning. Dismiss it when pinching.
ebView.java
f5dba888c671c1a4f32a07a4e8f028f7dadd2ce9 12-Jan-2010 Andrei Popescu <andreip@google.com> Detect if the current network is wifi or not and update webkit.
This info is passed to youtube.com via navigator.networkType

Fixes Bug: 2368650
WebCoreJavaBridge.java
ebView.java
ebViewCore.java
4d69ac6695246b8df06a6583044dc4712d81a956 15-Jan-2010 Grace Kloba <klobag@google.com> Merge "DO NOT MERGE" into eclair
fd787ba79de8119dac979bd7b94b94038dc66a8b 15-Jan-2010 Grace Kloba <klobag@google.com> DO NOT MERGE

When adjust scale for zoom overview, keep the state
of whether textWrapScale is matching mActualScale.
So if user pinch during loading, we won't reflow.

Fix http://b/issue?id=2370552
ebView.java
76336f2ccfcb97a6ad75f88abe95f57c3dd5b59d 15-Jan-2010 Grace Kloba <klobag@google.com> DO NOT MERGE

If mViewportWidth is 0, it means screen width. If
textwrapWidth is not same as view width, which means
that we are in the state triggered by pinch, always
send textwrapWidth as width to WebKit to keep the
same layout.

Fix http://b/issue?id=2375232
ebViewCore.java
1061a4dd73faf3fb5b32a6c13d685f068a31e413 14-Jan-2010 Nicolas Roard <nicolas@android.com> am 0123101a: am af2af4e5: Add proper support for fixed position elements

Merge commit '0123101af0e15221026f97f19dad23488840700a'

* commit '0123101af0e15221026f97f19dad23488840700a':
Add proper support for fixed position elements
af2af4e53aedb14c781d0351565fd7bec55a141a 11-Jan-2010 Nicolas Roard <nicolas@android.com> Add proper support for fixed position elements

this is two-part change, see http://android-git.corp.google.com/g/#change,37091 for the C++ counterpart.
This CL implements fixed position elements (css position: fixed) using layers, supporting pixels and percent lengths.

It addresses http://b/1914365
ebView.java
5f01d7e268167c5cfb3366ce08e20a66d9b6fa6f 14-Jan-2010 Grace Kloba <klobag@google.com> DO NOT MERGE

Use the common ScaleGestureDetector to detect the
multi-touch motion.

Check both supportZoom and getBuiltInZoomControls
to decide whether enable the multi-touch behavior.
This should the new pinch behavior only replace the
old +/-.

Fix http://b/issue?id=2363260

Only update textWrapScale if it is different. This
should fix the performance decrease caused by initial
multi-touch code.

Fix http://b/issue?id=2371694
ebSettings.java
ebView.java
139f6f31d12f9d795242725d188f54fb58ccc002 13-Jan-2010 Patrick Scott <phanna@android.com> am 70c4f6cf: am 021b7b44: Add a static method to obtain the mime type from extension.

Merge commit '70c4f6cfb4fd48d5153080d038ac0f5b6dbd98ec'

* commit '70c4f6cfb4fd48d5153080d038ac0f5b6dbd98ec':
Add a static method to obtain the mime type from extension.
021b7b443fa4bb24ec73d0c09cf019c14eba67bc 13-Jan-2010 Patrick Scott <phanna@android.com> Add a static method to obtain the mime type from extension.

This method is used by WebKit to obtain the mime type from an extension.

Bug: 2368893
imeTypeMap.java
a77f93f76a40128ecc3d017ead6d1105f96b282a 13-Jan-2010 Leon Scroggins <scroggo@google.com> am ace8addc: am 2edd6826: Create a new ImeOption that disables fullscreen in landscape, and use it.

Merge commit 'ace8addce47efc03be5038eef48d7fb066b14aae'

* commit 'ace8addce47efc03be5038eef48d7fb066b14aae':
Create a new ImeOption that disables fullscreen in landscape, and use it.
2edd68260f26cbd6eddd0df16404bb6bcb22b3b6 12-Jan-2010 Leon Scroggins <scroggo@google.com> Create a new ImeOption that disables fullscreen in landscape, and use it.

EditorInfo:
Add a flag to tell the InputMethodService to never go into fullscreen
mode.

InputMethodService:
When the new flag is set, onEvaluateFullscreenMode always returns
false.

WebTextView:
Use the new flag, along with IME_FLAG_NO_EXTRACT_UI. Fixes
http://b/issue?id=2358360
ebTextView.java
e67d5cee6706bf5b0af62965a5ccaadcc99002a6 12-Jan-2010 Grace Kloba <klobag@google.com> DO NOT MERGE.

Couple of tweak for multi-touch in WebView.

1. If we can't zoom, don't get in multitouch mode.
This avoid the logo in google.com looks fuzzy.
2. Reset mAnchor after sending VIEW_SIZE_CHANGED.
3. Don't call zoom when finishing multitouch unless
zoom is called before.
4. Change the width for nativeSetSize, which was modified
in the last check-in. The new logic should make both
msn.com and news.google.com looks correct.
5. Use the pressure instead of distance/time to filter
out the jitter just before lifting the finger.

Fix http://b/issue?id=2360032
ebView.java
ebViewCore.java
93aea69649c2ac163db3333563644d2593f2770c 12-Jan-2010 Andrei Popescu <andreip@google.com> Merge "Implement timeupdate events for video tag."
048eb3bfa124f0869f644fc82a50696f593fe592 11-Jan-2010 Andrei Popescu <andreip@google.com> Implement timeupdate events for video tag.

Fix http://b/issue?id=2210105
TML5VideoViewProxy.java
bad0c54de9cf6557164f2e187e28f98bedf66716 11-Jan-2010 Cary Clark <cary@android.com> rebuild the nav cache if the clicked on node is invalid

Rebuild the nav cache in the webkit thread after determining
that the clicked on node isn't valid. Remove old code that
passed a flag to avoid using the invalid node, since it
should always be valid now.

requires a companion fix in external/webkit

fixes http://b/2362334
ebView.java
ebViewCore.java
4c7ec8d6ab11408b6a9767b50c9fa73a834fe9a4 12-Jan-2010 Grace Kloba <klobag@google.com> As setNewZoomScale is called asynchronously, the
WebView can be destroyed. If it is, skip scaling.

Fix http://b/issue?id=2366538
ebView.java
c408d5c2782012661f8181e511eda76e3be8cd13 11-Jan-2010 Derek Sollenberger <djsollen@google.com> am 1fed31aa: am fef4874a: fixing build break by removing unused imports.

Merge commit '1fed31aa81f769db308f6d92b0530ad52fa79ca8'

* commit '1fed31aa81f769db308f6d92b0530ad52fa79ca8':
fixing build break by removing unused imports.
fef4874afddeeba8eaac6da49cc3203e9ce2d009 11-Jan-2010 Derek Sollenberger <djsollen@google.com> fixing build break by removing unused imports.
ebViewCore.java
86cf1ad0e5a251f2a997eff8ac01dea8f7de4c60 11-Jan-2010 Derek Sollenberger <djsollen@google.com> am d55aa751: am 7c5bf466: consolidating to only use one surface per plugin. give plugin access to java context.

Merge commit 'd55aa75138cb3305e1aeb6fb4873851435462f2f'

* commit 'd55aa75138cb3305e1aeb6fb4873851435462f2f':
consolidating to only use one surface per plugin. give plugin access to java context.
7c5bf4666cb8f2f79a61f46f14dd2272b0ba41db 11-Jan-2010 Derek Sollenberger <djsollen@google.com> consolidating to only use one surface per plugin. give plugin access to java context.

There is a companion commit in external webkit.
luginFullScreenHolder.java
luginManager.java
ebViewCore.java
lugin/NativePlugin.java
lugin/SurfaceDrawingModel.java
lugin/WebkitPlugin.java
10d268e315ad0fa17507b77d809bbff6fdcd33b8 11-Jan-2010 Andrei Popescu <andreip@google.com> Merge "Allow a video to be correctly resumed programatically after being paused."
a2b0d38f8c6311e712c32318d4ebb68e5a2fecef 07-Jan-2010 Grace Kloba <klobag@google.com> First draft of multitouch in the WebView.

Currently we just handle a simple pinch action. We
will wait for framework support for more complicated
gesture.

When pinch in the webview, zoom level will be changed
on the fly. But we won't re-wrap the text until user
action like double tap, rotate screen.

Double tap will re-layout the page and wrap the text
to the screen width. We try to keep the spot you
tapped at the same place on the screen after relayout.
If the block after relayout fully fit on the current
screen, we will center it for easy reading.

Fix http://b/issue?id=2360032
ebView.java
ebViewCore.java
a41f97bd77f2583e2e3698cfbba62230a8ac4789 11-Jan-2010 Andrei Popescu <andreip@google.com> Allow a video to be correctly resumed programatically after being paused.

Fix for http://b/issue?id=2366241
TML5VideoViewProxy.java
f6298db02365b5f31d7ab6b4dadcbe27bee88c43 11-Jan-2010 Leon Scroggins <scroggo@google.com> am ff7d33b5: am 04e0a101: Bring up IME after receiving a response from webkit.

Merge commit 'ff7d33b55b799b234f66fdcf65070ef590fee6d9'

* commit 'ff7d33b55b799b234f66fdcf65070ef590fee6d9':
Bring up IME after receiving a response from webkit.
04e0a1018f69b38827e63a7f19a4d1e341f9725a 08-Jan-2010 Leon Scroggins <scroggo@google.com> Bring up IME after receiving a response from webkit.

Fix for http://b/issue?id=2361658

Requires a change to external/webkit
ebView.java
ebViewCore.java
980a938c1c9a6a5791a8240e5a1e6638ab28dc77 09-Jan-2010 Romain Guy <romainguy@android.com> Deprecate fill_parent and introduce match_parent.
Bug: #2361749.
ebView.java
b2924736d7de9b0ab8ff5b5ba737e0182b121fc5 08-Jan-2010 Mike Reed <reed@google.com> explicitly initialize static final boolean to fix build
ebView.java
fdc5424b1c152507a3def57aecad134b47908d74 08-Jan-2010 Mike Reed <reed@google.com> optional flag to enable tracker debugging
ebView.java
431f5fd9e8c9d63f77ae47cd156f72175307ff85 06-Jan-2010 Evan Millar <emillar@google.com> Unhide WebView#emulateShiftHeld() so that gmail can do select-to-copy
ebView.java
b816377fed0180ff0b132a8d9891e51fb3527138 08-Jan-2010 Andrei Popescu <andreip@google.com> Merge "Fix a bug where the usage for an origin shows up as 0 in Website Settings when the origin uses app cache but not database."
29eadcf376c107afae2a55fcde74d3c484c4fa4f 08-Jan-2010 Patrick Scott <phanna@android.com> Merge "Deprecate onTooManyRedirects."
98409704134c262fdaab47055f60b7e01a4bc0b2 08-Jan-2010 Andrei Popescu <andreip@google.com> Fix a bug where the usage for an origin shows up as 0 in Website Settings when the origin
uses app cache but not database.
ebStorage.java
6a5b0ecae5dc89a951e1e204bc007f50f944c5d1 08-Jan-2010 Patrick Scott <phanna@android.com> Deprecate onTooManyRedirects.

The method was added a long time ago but has never been called. Rather than
spend time implementing and testing this feature, deprecate the function.

Bug: 2257857
allbackProxy.java
ebViewClient.java
0d0553953317978ad0c48733b19c22c2741a4ac7 08-Jan-2010 Leon Scroggins <scroggo@google.com> am 4e9a9d8e: am c89b13b9: Use Calendar.add() instead of Calendar.roll()

Merge commit '4e9a9d8ea8a31578b936b17f66177f4c1b18cddb'

* commit '4e9a9d8ea8a31578b936b17f66177f4c1b18cddb':
Use Calendar.add() instead of Calendar.roll()
b0470f67a14662e1a258a05fc68a120e51e4f122 08-Jan-2010 Cary Clark <cary@android.com> am 2110bb02: am affa5d2c: remove unused jni interfaces

Merge commit '2110bb024eafe4578bb9acace9f1ad4ae55ff9fd'

* commit '2110bb024eafe4578bb9acace9f1ad4ae55ff9fd':
remove unused jni interfaces
c89b13b962c6634db536e563a42d058702ce045b 08-Jan-2010 Leon Scroggins <scroggo@google.com> Use Calendar.add() instead of Calendar.roll()

Calendar.roll() breaks the year at the beginning of the year, so
use add() instead, which changes larger fields.

Also, only use 4 bins, since the last bin's boundary is not relevant.

Lastly, no need to return Calendar in beginningOfDay.

Fixes http://b/issue?id=2361382
ateSorter.java
affa5d2c0f7c2ade43ded5ff9a7952b269183117 07-Jan-2010 Cary Clark <cary@android.com> remove unused jni interfaces

Also make package interfaces unused outside of WebView.java
private.

companion change in external/webkit
ebView.java
283ae234a71cb83c5cd9f58fe2c2a9414987113e 07-Jan-2010 Leon Scroggins <scroggo@google.com> am bd6029fc: am 3a503399: Request <label> info only when accessing a textfield.

Merge commit 'bd6029fc5171e1094a00cdecb3f33aae6fe69c9f'

* commit 'bd6029fc5171e1094a00cdecb3f33aae6fe69c9f':
Request <label> info only when accessing a textfield.
3a5033996e9df21abbd5b296d817c2acaedcb0f9 06-Jan-2010 Leon Scroggins <scroggo@google.com> Request <label> info only when accessing a textfield.

Previously, we were storing the label info each time we build the
navigation cache.

Requires a change to external/webkit.
ebTextView.java
ebView.java
ebViewCore.java
f291b9fecb1e7537d614ba8e45b5b43a7e8bc76f 06-Jan-2010 Leon Scroggins <scroggo@google.com> am fbd3afb1: am e38fc189: Show label information as hint text

Merge commit 'fbd3afb1801ed69a5c948241e68b997be3d84f4e'

* commit 'fbd3afb1801ed69a5c948241e68b997be3d84f4e':
Show label information as hint text
e38fc1898183a6bf8b0542a1d2627cdbcbd63198 05-Jan-2010 Leon Scroggins <scroggo@google.com> Show label information as hint text

Fix for http://b/issue?id=2331526

Requires a change to external/webkit.
ebTextView.java
ebView.java
57d2c3ad1929f0eff7e0abc47c28c09f32ac5494 23-Dec-2009 Cary Clark <cary@android.com> extract selected text from the picture

This deletes the messages between WebView and WebViewCore
that pass a region and extracts the rendered text
and returns the selected text from WebView directly.

This requires companion changes in external/webkit,
which in turn is dependent on changes to external/skia.

Fixes http://b/2166748
ebView.java
ebViewCore.java
3886333644467beeaf60c13fb94f242538067765 04-Jan-2010 Nicolas Roard <nicolas@android.com> layers support
ebView.java
ebViewCore.java
67166b6eaea7a3bc83ec7bf2876b3807cda859f1 04-Jan-2010 Grace Kloba <klobag@google.com> Merge "Cleanup the cache file when we decide not saving it. This logic was lost when we switched back using FLASH instead of RAM for the cache." into eclair-mr2
e26efa321c66716d58f3e338022caed8852af07e 15-Dec-2009 Leon Scroggins <scroggo@google.com> If the DOM changes textfield focus, make the IME work properly.

Fix for http://b/issue?id=2219166

Requires a change to external/webkit

Remove the old change to update the WebTextView when a key is pressed,
since the IME does not generate key events. Instead, when the focus
changes, and the IME is serving the WebTextView, immediately clear
the cursor and update the WebTextView, so the user can continue
typing.
ebTextView.java
ebView.java
998c05b3b5db124a31da1ac38af0e97bca114122 28-Dec-2009 Grace Kloba <klobag@google.com> Cleanup the cache file when we decide not saving it.
This logic was lost when we switched back using FLASH
instead of RAM for the cache.

Add back the CACHE_MAX_SIZE to limit the maximum
cacheable file.

Fix http://b/issue?id=2346132
acheManager.java
oadListener.java
4350e1451c9f884fabcabfda915b58a26c6ebf5f 22-Dec-2009 Grace Kloba <klobag@google.com> Move the full screen's matching embedded view to be
fully visible so that the touch will always work.
ebView.java
9a67c82089e43d37f5038c74b0e1dca8edc4ac8a 20-Dec-2009 Grace Kloba <klobag@google.com> Address the multiple resizing during initializing
problem adobe run into.

When a child view is created, we first hide it if
the webview is not ready to draw yet. This will avoid
the multiple resizing notification.
rowserFrame.java
iewManager.java
ebView.java
ebViewCore.java
19f3f0e32965b783e6813544ff78032d6abfa455 12-Nov-2009 Mike Reed <reed@google.com> add DragTracker class
ebugFlags.java
ebView.java
11438c371e5757bde2a5c08eb81aedb794805fc1 16-Dec-2009 Grace Kloba <klobag@google.com> Implement the full screen WebView plugin.

Use a NoTitleBar_Fullscreen dialog to implement the
full screen plugin. This runs in the same thread as
WebView (UI in the Browser case). One catch is that
the SurfaceView provided by the plugin needs to be
opaque if it doesn't want to see through the WebView.

The PluginFullScreenHolder translates the events to
the underline WebView. Special treatment in the touch
case as it needs to translate the coordinates.

WebView can't be panned, or double tap to zoom, or
long press to trigger the context menu while having
a full screen plugin.

Inside webkit, we also give the plugin element focus
when it goes to the full screen so that it takes key
events. While handling key events, we don't let it
loose focus or scroll out.

Todo:
When a plugin goes to full screen, we should make
sure the embedded plugin is fully visible. Otherwise
when we translate the touch events back, they will be
outside of the visible rect and will be ignored.

This is part 1 of 2-project check in.
allbackProxy.java
luginFullScreenHolder.java
ebView.java
ebViewCore.java
lugin/FullScreenDrawingModel.java
lugin/WebkitPlugin.java
1cb97eed566014e36a7c2a0b487ec132b7d45e6c 11-Dec-2009 Cary Clark <cary@android.com> check to see if nav cache is up to date on tap

Pass point to click in three steps.
1) See if point corresponds to cached node.
2) If so,send a message to webkit to see if the node is good.
3) Call webkit with point, and good/bad info.

This is a two-part change with external/webkit.

Fixes http://b/2249425
ebView.java
ebViewCore.java
aacced6bc5a64c7daa4af2f29b94a1b00770f083 11-Dec-2009 Leon Scroggins <scroggo@google.com> Provide localized strings for <input> labels.

Fix for http://b/issue?id=2178786

Provide strings for input types file, submit, and reset, and allow
them to be passed down to native.

Requires a change in external/webkit.
rowserFrame.java
b6ddc7ae3507f0e1ea9a76c76f829bc8b26a292c 08-Dec-2009 Derek Sollenberger <djsollen@google.com> Notify native plugin code when the browser discards the customView.
allbackProxy.java
ebViewCore.java
70b942d34d1d1a30ab2d73bbefe214f5db0f4853 12-Dec-2009 Grace Kloba <klobag@google.com> Post a Runnable to execute setNewZoomScale when
WebView's onSizeChanged is called. This will ensure
requestLayout of the Child View works.

Fix http://b/issue?id=2323445
ebView.java
8b30209727b2a69a47cf7f7643ce9a56597f4ace 12-Nov-2009 Mike Reed <reed@google.com> Update the zoom buttons after moving to a new page.

Move set VISIBLE out of updateZoomButtonsEnabled.
And add it to a place it needs it.

Fix http://b/issue?id=2257742
ebView.java
c7f7c94034ea0708161af9f718678c70b13c9a8d 09-Dec-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change Id469ba88 into eclair-mr2

* changes:
Listen for window orientation events.
f06364b8c69b0e6b497242ef0d1161a2539c1b5a 02-Dec-2009 Patrick Scott <phanna@android.com> Listen for window orientation events.

These will be sent to webcore as orientation events.
rowserFrame.java
5f68d6fafc29bb14b4b407b4221395332409fc9c 09-Dec-2009 Grace Kloba <klobag@google.com> Enable longpress and doubletap to WebKit as touch
event if it is requested.
ebView.java
ebViewCore.java
a50d450863cb84805ac6809a4c1f7b83984da1ee 09-Dec-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I75481cb8 into eclair-mr2

* changes:
Check that the resolved activity is not in our package.
75481cb860519b9f839262c05679f436cfc71f37 09-Dec-2009 Patrick Scott <phanna@android.com> Check that the resolved activity is not in our package.

Ideally, I would like to allow Activities in the same package to intercept mime
types but there is no way to get the current Activity information from a generic
Context object. For now, skip resolved Activities that are in the same package.

Bug: 2314904
oadListener.java
47fabbfcbf99e5e3b73a6ee09059c77932ef1b7b 08-Dec-2009 Leon Scroggins <scroggo@google.com> Pass a message to move the focus when user hits "Next".

Directly move the focus rather than passing a click.

Fixes http://b/issue?id=2292683

Requires a change to external/webkit
ebTextView.java
ebView.java
ebViewCore.java
3f40bd48d278a40603f3f7d7b9d602ecbc09246d 07-Dec-2009 Grace Kloba <klobag@google.com> Remove the code where we suspect webkit draw during
drag. It was added for the better performance of panning
while loading. But it does make sites using touch event
look bad as we don't have the display tree until touch up.

Fix http://b/issue?id=2310295
ebViewCore.java
6be3bf2393030549306b438b9b17085035729135 08-Dec-2009 Leon Scroggins <scroggo@google.com> Some fixes for positioning the WebTextView.

Move the change in position/size before the call to bring into view,
so that the properly positioned field will be brought into view. It
is also now before we check to see if it is the same textfield, so
it happens in both cases.

Also remove some code which checks the selection and then sets it
unnecessarily. It was originally surrounding some code which called
setRect, which had a side-effect of changing the selection. That
code was removed (rendering the remaining code useless), and setRect
no longer has the side effect (the side effect was a result of calling
reqestFocus, which it no longer does - further, the change in selection from
requestFocus no longer affects the textfield's text).
ebTextView.java
ebView.java
51ef573a8336c637ac508c49b84b512d8f11fa3a 07-Dec-2009 Derek Sollenberger <djsollen@google.com> Switching from activity based full screen plugins to a view system overlay.
allbackProxy.java
luginActivity.java
ebViewCore.java
lugin/FullScreenDrawingModel.java
lugin/WebkitPlugin.java
6761e85d41dedf4e783217922a5fedac2b7a654d 07-Dec-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change Idff5eb2a into eclair-mr2

* changes:
Set InputType of WebTextView according to <input> field's type.
aa7b9d78262b1df07a98bcf725958d418ff12ede 07-Dec-2009 Leon Scroggins <scroggo@google.com> Set InputType of WebTextView according to <input> field's type.

Help fix http://b/issue?id=2150538 and http://b/issue?id=1890360

Use the <input type> information to set the InputType, so that
the IME can show the correct options. Also consolidate setup
of WebTextView into setType().

Requires a change in external/webkit.
ebTextView.java
ebView.java
ddcea3d21645bb3037703c84807dae077aae62ce 04-Dec-2009 Grace Kloba <klobag@google.com> Expose onReceivedSslError() so that the WebView client
can accept the error and continue.

Fix http://b/issue?id=2299152
ebViewClient.java
bd5c823e28d907d85b8d0867133343ccda014451 07-Dec-2009 Grace Kloba <klobag@google.com> Add "res" support for WebView.

http://b/issue?id=2296839
ileLoader.java
rameLoader.java
etwork.java
RLUtil.java
9e3e2d3a6967301730fd383e8b04d53fdfd008e5 04-Dec-2009 Leon Scroggins <scroggo@google.com> Show search icon for <input type="search"> fields.

Along with a change to external/webkit, fixes http://b/issue?id=2299650
ebTextView.java
7c24ed6904707ea7179cb81382b7ca8d8ce85b7f 30-Nov-2009 Patrick Scott <phanna@android.com> Check if another Activity wants to intercept an xml mime type.

WebCore treats */*+xml as content that it can render. This prevents Activities
from intercepting those mime types. Check the same regular expression as
DOMImplementation and then use the PackageManager to look for a matching
Activity.

Requires a change to webcore.

Bug: 2256744
rowserFrame.java
oadListener.java
b5c7ef331cfca927c5b67bfe472eb7173a0ca69f 02-Dec-2009 Leon Scroggins <scroggo@google.com> When passing the Message for saved form data, pass the node pointer properly.

Partial fix for http://b/issue?id=2232001

We were calling obtainMessage with the node pointer as an argument. What we
really need to do is set arg1 to the node pointer. Also, avoid checking for
saved form data for password fields and fields whose names are blank.
ebView.java
4eeace3db541bd6fa0034a996630768cb521f2eb 02-Dec-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I097b1e77 into eclair-mr2

* changes:
Add PageCacheCapacity to the WebSettings.
cfc2915d926cee14380b54d0960262e748eed4f5 02-Dec-2009 Leon Scroggins <scroggo@google.com> In setDefaultSelection ensure that webkit is notified of the new selection.

Fix for http://b/issue?id=2254732
ebTextView.java
f7b4accbda1a4d98a5fadbf3984cb9666a4fe9e9 02-Dec-2009 Romain Guy <romainguy@android.com> Fix scroll jump in ScrollView.

If a touch event was targeted at a ScrollView child, the content would jump after
the user moved her finger by the required threshold. This is inconsistent with
ListView's behavior.

Fixes #2296622.
ebView.java
cf98f4268cc70228ef49350f1ccef1266f2e3cf8 02-Dec-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I325e22ca into eclair-mr2

* changes:
Fix a leak in WebView.
01d0fbfa683012623f030ec75a63e1a9fabcb916 01-Dec-2009 Romain Guy <romainguy@android.com> Fix a leak in WebView.

Fixes #2296601.

WebView and its related APIs are keeping static objects that hold references to
Context instance. This could cause applications to leak their first Activity
and all the associated resources.
rowserFrame.java
acheManager.java
ookieSyncManager.java
luginManager.java
ebView.java
732a1223b21cef3561ffbbb9f6ec2d2d2a8b5e5c 01-Dec-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I42d00fbe into eclair-mr2

* changes:
fix issue with plugin surfaces not updating properly within the view system.
42d00fbe55170fdf57572d120bdb04a768e15258 01-Dec-2009 Derek Sollenberger <djsollen@google.com> fix issue with plugin surfaces not updating properly within the view system.
ebViewCore.java
db08d5cd441424e4f9621aae7c2414934f781400 01-Dec-2009 Leon Scroggins <scroggo@google.com> DO NOT MERGE.

Fix for http://b/issue?id=2292512

When pressing the trackball on a WebTextView, open the IME.

Change-Id: I5ea74ca7ce51ac509dc8649b8f8d1869287bb7a9
ebView.java
ed90811e711065bcc82a45f4173587cd95ef6b6f 01-Dec-2009 Leon Scroggins <scroggo@google.com> Do not peform a click/move if longpress has been performed in WebTextView.
ebTextView.java
51e45ff0d53ce299be316e14e48cdd3e3a51d0b0 01-Dec-2009 Derek Sollenberger <djsollen@google.com> Cleanup how a plugin goes full-screen.

The plugin activity now fetches the plugin's existing java class from native code instead of creating a new one.
luginActivity.java
ebViewCore.java
cb37e71509da43e0d8d809591b09e8f5a582b5cd 24-Nov-2009 Derek Sollenberger <djsollen@google.com> Refactoring plugins to use new java interfaces.

This change adds 3 new interfaces for plugins to the framework. This
change also includes extensive cleanup as we consolidate internal plugin
functions into the pluginManager. Also using the new interfaces we no
longer need to pass additional parameters in quite a few methods.
luginActivity.java
luginManager.java
luginUtil.java
ebViewCore.java
lugin/NativePlugin.java
lugin/SurfaceDrawingModel.java
lugin/WebkitPlugin.java
f90b1261a53bc0bfc772337551eb4c540022cd22 24-Nov-2009 Leon Scroggins <scroggo@google.com> When clicking on a WebTextView, always call nativeMotionUp.

We were previously calling nativeTextInputMotionUp, which was
intended to be faster than nativeMotionUp, which does more work.
However, as discussed in http://b/issue?id=2257787 , I think we
should simply call nativeMotionUp, which does everything the old
method did, while also correcting things if necessary. This fixes
the second problem listed in http://b/issue?id=2266756 , since
nativeMotionUp will recognize that the <select> element should
take the click.

Since I have removed a native method, this requires a change to
external/webkit.
ebView.java
097b1e777a2a29eef3938338cb0c355203bf1448 24-Nov-2009 Grace Kloba <klobag@google.com> Add PageCacheCapacity to the WebSettings.

By default, page cache is disabled.

http://b/issue?id=2284168
ebSettings.java
ecfc0eba609f88579ea5b70c57e6763ee3a28e5d 19-Nov-2009 Leon Scroggins <scroggo@google.com> Fix soft keyboard dismissing itself when zooming into a textfield in browser.

We remove the WebTextView while zooming. If the WebTextView ended up
offscreen, we remove it completely, thus hiding the IME. In some cases,
however, the WebTextView is only offscreen because the IME overlapped it.
Check to see if the IME is showing, and if so, adjust the WebTextView and
let it get scrolled into view.

Also perform the removal/change in text size inside the method, so it
happens in both places.

Lastly, do not call didUpdateTextViewBounds if there is no WebTextView.

Fix for http://b/issue?id=2266066
ebView.java
0187e9ec40dedb42a5278aa7bacbb3c571a6c787 19-Nov-2009 Ben Murdoch <benm@google.com> Rename WebChromeClient.addMessageToConsole to WebChromeClient.onConsoleMessage. Do not merge.

BUG=b/2271636

This has already been submitted to eclair-mr2.

Change-Id: I81947f671f58be006ee3e1b30d73c6cb6cf2ebee
allbackProxy.java
ebChromeClient.java
545a2a12c1184b4af9eca77874bac374e52a01e7 19-Nov-2009 Ben Murdoch <benm@google.com> Update JavaDoc for CacheManger.CacheResult, WebChromeClient.getDefaultVideoPoster and WebChromeClient.getVideoLoadingProgressView. Do not merge.

This has already been submitted to eclair-mr2.

Change-Id: Ibd184157a90b0031141c91c3b3bbbf4ef86e44e4
acheManager.java
ebChromeClient.java
357997dd4a88fcf6d8961708a5bf4bfacc27ff19 19-Nov-2009 Steve Block <steveblock@google.com> Improves documentation for GeolocationPermissions class. Do not merge.

Also sets an explicit type for GeolocationPermissions.getOrigins.

This is a partial fix for bug http://b/issue?id=2271636

This has already been submitted to eclair-mr2.

Change-Id: I0c77eca94eb56d16c2a9a29a72eb221e4a7a52a6
eolocationPermissions.java
ed1624d8ffa4b7ade511f68d5d985e013df4e03b 23-Nov-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I8ae1b41a into eclair-mr2

* changes:
Expose some debugging tools of the WebView.
8ae1b41a436c93e5cb20d425c6f150bce23872b6 23-Nov-2009 Grace Kloba <klobag@google.com> Expose some debugging tools of the WebView.
ebView.java
7caaeecce1b04e2098dd4f471fdd69ebe28c31b0 19-Nov-2009 Ben Murdoch <benm@google.com> Rename WebChromeClient.addMessageToConsole to WebChromeClient.onConsoleMessage.

BUG=b/2271636

Change-Id: Ia9bed430c624c4c3745904c98fb2e27632d929f9
allbackProxy.java
ebChromeClient.java
98fdda09256072ae4f45a08ee40178b3ef643c9f 19-Nov-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I86773fbb into eclair-mr2

* changes:
If overview width is the same as the current width, don't change the mode when double tap or zoom out.
57534f1b9f52cea094e8197d1ca40f0d2f68cc66 19-Nov-2009 Steve Block <steveblock@google.com> Improves documentation for GeolocationPermissions class.

Also sets an explicit type for GeolocationPermissions.getOrigins.

This is a partial fix for bug http://b/issue?id=2271636

Change-Id: Ife478917a979b68e242c467798358a018455957f
eolocationPermissions.java
86773fbb4ead7d0f64b9670fdb9110758c20fd27 19-Nov-2009 Grace Kloba <klobag@google.com> If overview width is the same as the current width,
don't change the mode when double tap or zoom out.

Fix http://b/issue?id=2240785
ebView.java
b0fbb7cc15a2b383b4fe1dde8117254b2056573b 19-Nov-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I09e159ce into eclair-mr2

* changes:
Update JavaDoc for CacheManger.CacheResult, WebChromeClient.getDefaultVideoPoster and WebChromeClient.getVideoLoadingProgressView.
f0c443deca49d597c8268ef3b0f7198976073241 19-Nov-2009 Ben Murdoch <benm@google.com> Update JavaDoc for CacheManger.CacheResult, WebChromeClient.getDefaultVideoPoster and WebChromeClient.getVideoLoadingProgressView.

Change-Id: I09e159cec0ccdf09b278daeeab268c0c4f4476ba
acheManager.java
ebChromeClient.java
0a784a545303cc5fcd9ecbc260d1fa0d0d0b8336 17-Nov-2009 Ben Murdoch <benm@google.com> When requesting the href of a link, also request the link's text.

Change-Id: If3cf97d0b328d654919b1334b07d4c8cc7b1a9ea
ebViewCore.java
a4fa107f97933a81c42ee3cd9ca3984c08e5ab25 09-Nov-2009 Grace Kloba <klobag@google.com> Do not grow the viewport width to infinite to fit
the content. Limit the overview viewport width to
a level that if a site behaves badly, the WebView
still does reasonably.

Partially fix http://b/issue?id=2209659
maps.yahoo.com keeps growing due to a layout bug.
This prevents the browser to go insane.

Partially fix http://b/issue?id=2215387
caltrain.com has a super long &nbsp; which caused
the page super wide. This prevents the browser to
become unusable.

This change will make sites like, caltrain.com/timetable.html
not fit all in the view. You have to scroll left
and right. And it is same as iPhone.
ebView.java
ebViewCore.java
32847a97e104171216685e001ff7a4bd1189b4d7 17-Nov-2009 Cary Clark <cary@android.com> rename nativeFindIsDown to nativeFindIsUp; check for null webkit

companion fix is in external/webkit

fixes bug http://b/issue?id=2264941
ebView.java
a57632fee792d6078a7a61006f5a866c38addd33 16-Nov-2009 Leon Scroggins <scroggo@google.com> Fix bugs around removing and attaching WebViews.

When removing a WebView from its Window, remove the WebTextView.
Remove the old attempt to do the same, which was not being called.

When attaching a WebView to a Window, call onWindowFocusChanged so
its state of drawing the selection ring returns.

Fixes http://b/issue?id=2257787 and http://b/issue?id=2260867
ebView.java
4888c7da45b356bfcff5a6564150ca95a0a0afcf 12-Nov-2009 Grace Kloba <klobag@google.com> am dc30d28b: Merge change I3656f7a3 into eclair

Merge commit 'dc30d28bc8321171fbf4ed92a9486eb8dd382259' into eclair-mr2

* commit 'dc30d28bc8321171fbf4ed92a9486eb8dd382259':
Honor the mInitialScale set on WebView. This was
16efce72428d2677eb7164e9b3b494157d1dc09b 11-Nov-2009 Grace Kloba <klobag@google.com> Honor the mInitialScale set on WebView. This was
lost when we fixed restoring the scale for a new
page.

Fix http://b/issue?id=2251716
ebView.java
6d559f9d5688b3e2b027e6fbd5c5cf4f0efbfc09 12-Nov-2009 Grace Kloba <klobag@google.com> am bf5b632a: Use getViewHeightWithTitle() to honor the scrollbar setting when computing the maxScrollY for fling. This is honored in the regular scroll in computeVerticalScrollExtent().

Merge commit 'bf5b632abbc2f4b96323ff428be585fd2a3d381c' into eclair-mr2

* commit 'bf5b632abbc2f4b96323ff428be585fd2a3d381c':
Use getViewHeightWithTitle() to honor the scrollbar
9f4baf308daebbad0d3a634b158f3eb4ae532d39 12-Nov-2009 Grace Kloba <klobag@google.com> am d7439f4b: Use computeVerticalScrollRange() to find the bottom of the page as mContentHeight is not in the view system.

Merge commit 'd7439f4bdb31d005011b69112e82a9fed9be4470' into eclair-mr2

* commit 'd7439f4bdb31d005011b69112e82a9fed9be4470':
Use computeVerticalScrollRange() to find the bottom
09550fde489a6d5155f005fec9b328f1b2a878a6 12-Nov-2009 Grace Kloba <klobag@google.com> am c9966891: Merge change Ibb245ea7 into eclair

Merge commit 'c996689109b1ac0849aa675e1987e3851ee77a95' into eclair-mr2

* commit 'c996689109b1ac0849aa675e1987e3851ee77a95':
Return an empty PluginList instead of null for the
bf5b632abbc2f4b96323ff428be585fd2a3d381c 11-Nov-2009 Grace Kloba <klobag@google.com> Use getViewHeightWithTitle() to honor the scrollbar
setting when computing the maxScrollY for fling.
This is honored in the regular scroll in
computeVerticalScrollExtent().

Fix http://b/issue?id=2251694
ebView.java
d7439f4bdb31d005011b69112e82a9fed9be4470 10-Nov-2009 Grace Kloba <klobag@google.com> Use computeVerticalScrollRange() to find the bottom
of the page as mContentHeight is not in the view system.

Fix http://b/issue?id=2251909
ebView.java
bb245ea7f513ec22b2b8c021b08412c71837f036 10-Nov-2009 Grace Kloba <klobag@google.com> Return an empty PluginList instead of null for the
deprecated getPluginList() api.

Fix http://b/issue?id=2249732
ebView.java
521123e0ed91348be81d3d754d3ee13ecf454ced 09-Nov-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I9e28c4ce into eclair-mr2

* changes:
Allow plugins to load java classes from their apk.
9e28c4ce666f1b8c5e5355d739e37480856ef509 09-Nov-2009 Derek Sollenberger <djsollen@google.com> Allow plugins to load java classes from their apk.

Provide the functions to be called from native code that take
the plugin's location and desired class name and then load that
class from the plugin's apk if it is available.

see http://b/2215696
luginUtil.java
ebViewCore.java
8c92c39b858ae73a1b08ed698887efa98ced987c 09-Nov-2009 Grace Kloba <klobag@google.com> Add postdata identifier so that if we cache the post
result, we will use (url+postIdentifier) as the key
for the CacheResult.

Fix http://b/issue?id=1980031
rowserFrame.java
acheManager.java
rameLoader.java
oadListener.java
d9e22ed8fe08c8c9fcf5c47a6b25d335a3158056 07-Nov-2009 Grace Kloba <klobag@google.com> am 0691ad50: Remove "@hide pending API council" in webkit to expose the apis to SDK.

Merge commit '0691ad50ca6b7a2968a0b95e1e9bb7228dd47d65' into eclair-mr2

* commit '0691ad50ca6b7a2968a0b95e1e9bb7228dd47d65':
Remove "@hide pending API council" in webkit to expose
0691ad50ca6b7a2968a0b95e1e9bb7228dd47d65 22-Oct-2009 Grace Kloba <klobag@google.com> Remove "@hide pending API council" in webkit to expose
the apis to SDK.

Remove @hide in GeolocationPermissions and WebStorage
to expose them to the SDK users.

Remove @hide for freeMemory() in WebView.

Remove @hide comment in CallbackProxy and
GoogleLocationSettingManager as they are not public class.
acheManager.java
allbackProxy.java
eolocationPermissions.java
eolocationService.java
oogleLocationSettingManager.java
ockGeolocation.java
alueCallback.java
ebChromeClient.java
ebSettings.java
ebStorage.java
ebView.java
4e9fe62b37878750125a0eef679e2ea6216bd8f5 15-Oct-2009 Cary Clark <cary@android.com> do not merge -- original checkin to mr2 here:

https://android-git.corp.google.com/g/#change,30204

check for native initialization before calling public function

Added more checks where it is possible to call a native function
after creating a WebView but before the native side is initialized.

These cases can be triggered by the monkey.

Fixes http://b/issue?id=2187719
ebView.java
3613385fbc5368715e7af1a6676b7bb63fafcf09 04-Nov-2009 Leon Scroggins <scroggo@google.com> Do not update the progress if it is the same as the last given progress.
allbackProxy.java
405d785f86c1f32feaf1f0f93d1cd8df5cbcd151 02-Nov-2009 Leon Scroggins <scroggo@google.com> Do not scroll the title bar off screen until the page finishes loading.

Fix http://b/issue?id=2139418
allbackProxy.java
ebView.java
35155c1d8b25ae70697550029807a355c66461b2 29-Oct-2009 Cary Clark <cary@android.com> divide mRestoredScale before use

Also add debugging to help find incorrect width bug (see bug)

fixes http://b/issue?id=2218767
ebViewCore.java
5de6389f2252cb6e39918e21f80a08918e0c2c02 29-Oct-2009 Leon Scroggins <scroggo@google.com> DO NOT MERGE. Send a message when the picture changes and find is up to search again.

Fixes http://b/issue?id=2222706

Requires a change in external/webkit. Not merging because the
change in webkit should be altered slightly.
ebView.java
ebViewCore.java
bb107bd6f7981cd2b2e31a0afc6f6bf2a6d5118f 23-Oct-2009 Leon Scroggins <scroggo@google.com> Many fixes to text input in the browser, particularly when moving to a new field.

Remove many instances where we are setting selection unnecessarily. Instead, only
set the selection due to a click, touch, or inserting a character. A touch will
now set the selection properly, rather than at the beginning/end, fixing
http://b/issue?id=1650395 Also fixes http://b/issue?id=2208188

Requires a change to external/webkit.
ebTextView.java
ebView.java
718d69f931e320b9a8d98371a0b4925d7c2e83f4 19-Oct-2009 Derek Sollenberger <djsollen@google.com> changing how plugins gain/lose focus.

Previously we were keeping our own state in the UI thread to
determine when to send events to the plugin. This change removes
that logic and uses the document focus to determine when events
are to be sent. This also fixes problems with the plugins
occasionally not receiving lose focus events.

see bug http://b/2033843
ebView.java
ebViewCore.java
09e383c9ff4a3b762084e999dfb5fdd347abc151 26-Oct-2009 Cary Clark <cary@android.com> tweak select text

Explicitly draw the region and pointer from java.

Set up the starting selection criteria from both hard keyboard
and menu 'Select Text'.

Add invalidate() to show transition from arrow to ibeam
immediately, and to dismiss copy region immediately.

partially fixes http://b/issue?id=1667690
ebView.java
dafc19a1406bdd554fb4629d79c8aa4d75aca363 27-Oct-2009 Mike Reed <reed@google.com> do not merge

remove the filter when we're scrolling, so we don't degrade the quality

http://b/issue?id=2174463&cookieId=2009300052135424

same change (in spirit) in MR2

https://android-git.corp.google.com/g/#change,30860
ebViewCore.java
57e824f7c33caf1e8c9cb08795464df4b8dbb218 26-Oct-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I8db532c1 into eclair-mr2

* changes:
don't turn off filtering/dithering when we scroll.
1d96ca06d83ef87544a7053ab6c19b3b8233ae4b 23-Oct-2009 Leon Scroggins <scroggo@google.com> Show the soft keyboard when pressing center key/trackball on input field

Fixes http://b/issue?id=2210234

Consolidate center key/trackball presses on input fields, and show
soft keyboard if the field is not readonly. Also rename the method
for a center press, and pass a click rather than a touch. Requires
a change in external/webkit.
ebTextView.java
ebView.java
1d60c5c16b92ddc64d10f13da8af7faaae22cd2f 23-Oct-2009 Leon Scroggins <scroggo@google.com> Do not hide the cursor ring when clicking on an input field.

When pressing the trackball on a text input field, do not call
setFollowedLink, which results in the cursor ring disappearing and
the WebTextView being torn down. Fixes http://b/issue?id=2210127
ebView.java
46a83b4ead517b9fc13b4bee4c59c3eaf4d3fdd9 23-Oct-2009 Andrei Popescu <andreip@google.com> Make the VideoView go away automatically at the end of playback.

Fixes http://b/issue?id=2210018
TML5VideoViewProxy.java
8db532c13697290985963aefa3d2e8ef130d7bfe 22-Oct-2009 Mike Reed <reed@google.com> don't turn off filtering/dithering when we scroll.

Newer devices have proven plenty fast to leave the quality improvements on even during drag/scroll.
ebViewCore.java
d9ec29f64827bc703a23b1c33d653906a91713fc 22-Oct-2009 Cary Clark <cary@android.com> fix text area insertion order, partially

While Leon mulls over how to rewrite WebTextView to
handle webkit driven focus changes, these fixes make
the current code slightly more stable.

Keep track of when keyDown is sent again so that the
WebTextView won't be rebuilt in that case.

Don't clear the cursor from WebTextView if the there's
no native focus pointer.

Only set the selection to its initial state once when
passing events down to webkit.

partially fixes http://b/issue?id=2201049
ebTextView.java
ebView.java
70de03d41374aa3f4d3308d5d44e1db908d22667 22-Oct-2009 Leon Scroggins <scroggo@google.com> am f8e3ac85: Merge change Ifa8ab30e into eclair

Merge commit 'f8e3ac851959efbd21da930a802f8efb65ccec5b' into eclair-mr2

* commit 'f8e3ac851959efbd21da930a802f8efb65ccec5b':
In onKeyUp for DPAD_CENTER, show the IME for text input.
9d1abc43f5ffdb413fda5d8e39019bb40aad0b94 21-Oct-2009 Leon Scroggins <scroggo@google.com> In onKeyUp for DPAD_CENTER, show the IME for text input.

Fixes http://b/issue?id=2201966

Change-Id: Ifa8ab30e205e21e9e69e9a7405a0a6fc86c6c488
ebView.java
3f9faf473712be7d6471913b921bf8a63ab3205d 13-Oct-2009 Grace Kloba <klobag@google.com> When WebView has wrap_content, we are sending WebKit
0 height to get the exact height. But if the View system
doesn't think the WebView dimension changed, even we
call requestLayout, we won't get onSizeChanged. So
we never notify the WebKit about the final view size.

If updateLayout is true, which is probable because that
we set the height to be 0 to WebKit, just call requestLayout()
even the meansured height / width is matching the
content height / width.

Fix http://b/issue?id=2162991
ebView.java
2f3dc5b9ce0e3907e529c88728b166d66beccab5 21-Oct-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change If1e1fb39 into eclair-mr2

* changes:
Draw dividers between <optgroup> and <option> elements.
7a7197853de1b8aea0945b5b72e0eb12b2837b50 21-Oct-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change Ifcafa460 into eclair-mr2

* changes:
fix multiple text areas, and text areas without focus rings
fcafa46069a451d09f69a5df8c167596e7554666 21-Oct-2009 Cary Clark <cary@android.com> fix multiple text areas, and text areas without focus rings

If the typed key doesn't go with the current text area, clear
the focus so the key won't return to that text area. However,
don't clear the focus if it is already off the old text area.

fixes http://b/issue?id=2201049
ebTextView.java
f1e1fb39763434d166371c2a62a0e6d8a4166940 21-Oct-2009 Leon Scroggins <scroggo@google.com> Draw dividers between <optgroup> and <option> elements.

Fix http://b/issue?id=2198355
ebView.java
a8da17356f9a385e097e3eef205358462d214538 20-Oct-2009 Leon Scroggins <scroggo@google.com> Do not show radio/checkboxes for <optgroup> labels.

Fix for http://b/issue?id=2186188. Keep track of <optgroup> labels
separately from disabled <option> labels. Requires a change to
external/webkit.

In CheckedTextView, if the CheckMarkDrawable is set to null,
remove it.
ebView.java
ebViewCore.java
ac492e181a21749858ebf30dc1f5bcb0ded4383c 14-Oct-2009 Cary Clark <cary@android.com> tweak snap scroll

WebView.mHeldMotionless should only be set to MOTIONLESS_FALSE
if some scrolling occurs, even in the case where motion is discarded
by snap-scroll mode.

Refactoring the code allows the code to be smaller, and provides
a single point where scrollBy() is called while dragging.

This doesn't change the snap-scroll logic in any way.

related to http://b/issue?id=2092446
ebView.java
c05af372b85300054ae8ab3293bb3baf1e949c07 16-Oct-2009 Cary Clark <cary@android.com> add dpad control of text selection for sholes

Make movement of text selection arrow and I-beam respond to
both trackball and d-pad. Make the 'click' action work for
both trackball-up and d-pad center.

fixes http://b/issue?id=2186069
ebView.java
12a19551dd106b04898d262807213ce4c6d1e5f7 20-Oct-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I58def690 into eclair-mr2

* changes:
If openOrCreateDatabase() throws an exception, delete the old db and re-do it. If it still fails, something bad happens, like the directory may have the different permission. Let it throw as WebView needs the db.
169ef4cca30c77a1a85c9684560c504a5ac230b5 19-Oct-2009 Patrick Scott <phanna@android.com> Check for null before returing a chunk from the pool.

Since references can be queued in another thread, the first entry in the pool
could have been queued after processPoolLocked. Check for null and create a new
chunk if the check fails.
yteArrayBuilder.java
208360b22db7bdd940a7005fd44135e8916742af 13-Oct-2009 Ben Murdoch <benm@google.com> Fix for b/2164520: Download manager should handle video/m4v MIME type.

The fix relaxes our processing of the content-disposition header by allowing unquoted filenames, and adds the m4v type to the MIME type map incase the content-disposition header was not specified.

Change-Id: Iaab0c5b17991a2c05eff5db01babe084444fd3b7
imeTypeMap.java
RLUtil.java
eab82c3c8c9dd88ff7267c154b415558d8e5c206 17-Oct-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I44bbc36d into eclair-mr2

* changes:
Add htm and html extensions to the map as "text/html"
3905e87e906044e7bdab31041ef13c86a74c1d85 16-Oct-2009 Marc Blank <mblank@google.com> Add htm and html extensions to the map as "text/html"

* Fixes #2192935
* Exchange attachment handling depends on MimeTypeMap to determine the
mime type of attachments based on their file extension

Change-Id: I44bbc36d7a5aa0800f072553274346d4547f8d4c
imeTypeMap.java
39e6773431e6010c5066c0e13facfd943c932c7e 15-Oct-2009 Cary Clark <cary@android.com> do not merge: fix copy/paste using trackball on passion

This fix is alrady in mr2. It does not affect sholes --
this is a trackball only bug.

The selection caret and arrow now take the scale factor and
the height of the title bar into account when preparing the
canvas for drawing.

Clicking the trackball at the end of selecting text no longer
sends a click event.

Requires a companion fix in external/webkit
Fixes http://b/issue?id=2187591
ebView.java
e1f43dadb9a1f0744f7e24373ca796c7a8ca2b12 15-Oct-2009 Patrick Scott <phanna@android.com> Share chunks between all ByteArrayBuilders.

If a single ByteArrayBuilder accumulates many chunks, it is possible that many
of those chunks will not be reused and will just take up memory in the pool. If
the pool is shared across all instances, fewer chunks need to be allocated. This
allows a site like http://www.606studios.com/bendisboard/showthread.php?t=170286
to load without crashing due to OOM.

The shared pool contains SoftReferences to each chunk. If the vm feels memory
pressure, it is allowed to mark these references for collection. Before
accessing the pool of chunks, I remove any queued references from the pool.

Cleanup ByteArrayBuilder a little by removing unused methods and fields.
Document some synchronization spots in LoadListener and add a lock when
downloading a certificate.

Bug: 1637965
yteArrayBuilder.java
oadListener.java
be3feda46eac18a05aaea47d7ef34b611f8be6be 15-Oct-2009 Leon Scroggins <scroggo@google.com> Do not show soft keyboard for readonly textfields.

Part of a fix for http://b/issue?id=2159869. The request to show
the soft input has been moved to nativeTextInputMotionUp, where it
can check if the input field is readOnly. This way it is also
handled by shortPressOnTextField, for when a user shortpresses
on the field.
ebView.java
7f97011b550e56e7acb28462b67ac6a35991d135 15-Oct-2009 Cary Clark <cary@android.com> check for native initialization before calling public function

Added more checks where it is possible to call a native function
after creating a WebView but before the native side is initialized.

These cases can be triggered by the monkey.

Fixes http://b/issue?id=2187719
ebView.java
badd8399ca803f48ca43658b49c1cdcf0e3ec250 15-Oct-2009 Cary Clark <cary@android.com> fix copy/paste using trackball on passion

This fix should be considered for passion mr1, but
does not affect sholes -- this is a trackball only bug.

The selection caret and arrow now take the scale factor and
the height of the title bar into account when preparing the
canvas for drawing.

Clicking the trackball at the end of selecting text no longer
sends a click event.

Requires a companion fix in external/webkit
Fixes http://b/issue?id=2187591
ebView.java
25415e2b9c80050525a0ebd51cecdaa5b1396674 12-Oct-2009 Cary Clark <cary@android.com> draw filtered if dragging but not moving after a 100ms delay

Some artifacts show up when dragging, but since the screen is in
motion, they're usually go unnoticed. If one quits moving, the
artifacts are more visible.

Some devices generate fractional movement data while the
screen is touched and held steady; others do not. Also, mouse-based
implementations will not generate random fractional movements. If
the device generates movements, invalidate the screen to transition
once from unfiltered to filtered drawing.

For the case that the device does not generate movements, fire a
timer when the screen is drawn and a drag is in progress to detect
that there is no drag motion.

The timer fires if the dragged screen is unmoved for 100 ms, then
invalidates so the next redraw uses filtering to remove the artifacts,
and starts a continuous timer to keep the scrollbar awake until
the drag ends or there is more drag motion.

When detecting that there is no effective movement on a noisy device,
use the original fractional deltas instead of the integer ones to
detect sub 1 pixel differences.

This was tested on the emulator (no noise) and a sapphire (noise)
to make sure that events load the queue only when required.

fixes http://b/issue?id=2092446
ebView.java
398c24ecb50cafcce19f105f788fc311a430a8ff 14-Oct-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I4c64bb78 into eclair-mr2

* changes:
add hidden method to draw entire page into a canvas, with no view-chrome. For testing.
efe2c72a6d2af1431d2b239d408d2901dc1aaebd 14-Oct-2009 Mike Reed <reed@google.com> add hidden method to draw entire page into a canvas, with no view-chrome. For testing.

http://b/issue?id=2176120
ebView.java
58def690a87b4aa2c01331c06b61e457198de0ea 13-Oct-2009 Grace Kloba <klobag@google.com> If openOrCreateDatabase() throws an exception, delete
the old db and re-do it. If it still fails, something
bad happens, like the directory may have the different
permission. Let it throw as WebView needs the db.

Fix http://b/issue?id=2179339
ebViewDatabase.java
5a4f64fcbf0382f33e9f79e6d0497113b972690e 13-Oct-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change Id5ba82a1 into eclair-mr2

* changes:
Prevent getFile from copying when the file is too large.
d5ba82a1fe07a622dec3b304af285bec0410597d 13-Oct-2009 Leon Scroggins <scroggo@google.com> Prevent getFile from copying when the file is too large.

Since the caller expects the data to fit within a certain amount of
space, do not copy into the buffer if the data exceeds that space.

Requires a change to external/webkit
rowserFrame.java
3dafca1842132006d592e5e6bdf8512d7a8925a0 13-Oct-2009 Derek Sollenberger <djsollen@google.com> Enabling plugin surfaces to update their position in the UI.
ebViewCore.java
d5ad08bd4230c2f5d58969c624c39a3f5a2019d1 13-Oct-2009 Grace Kloba <klobag@google.com> am 2e778c17: Merge change I124356f6 into eclair

Merge commit '2e778c176d17c295f475141bddda9dca5cd65fce' into eclair-mr2

* commit '2e778c176d17c295f475141bddda9dca5cd65fce':
Continue caching "POST" result so that we won't get
124356f6308c41ec2d8eebb367cf3cc4c4d4ca3a 13-Oct-2009 Grace Kloba <klobag@google.com> Continue caching "POST" result so that we won't get
the resubmission warning when back to Google search result.

Fix http://b/issue?id=1490379
Break/reopen http://b/issue?id=1980031
oadListener.java
3e88ddc5df80e4dbc682b193a573b35110d9618d 08-Oct-2009 Cary Clark <cary@android.com> Select plugin objects with focusCandidate

Select plugin using focusCandidate rather than cursor
calls. This allows the detecting plugin objects that
have received focus but don't have the cursor ring
on them.

Remove 'inval rect' from debugging printfs, since it
happens a lot, and allow 'request keyboard' to be
visible.
ebView.java
94ab3b6d0e9a5a914c7706ed1888c9d27756f7e4 08-Oct-2009 Grace Kloba <klobag@google.com> Expose WebViewClient of WebView.
allbackProxy.java
ebView.java
70ca3c25b959427359bdb7cf37a8c3d6eb962357 02-Oct-2009 Leon Scroggins <scroggo@google.com> File upload.

Implement java side of file upload. Requires changes to external/
webkit to not break; requires changes to packages/apps/Browser
before it actually is used.

Fix http://b/issue?id=675743
rowserFrame.java
allbackProxy.java
ebChromeClient.java
ebViewCore.java
a1c0506e3fd4793476712d34ed3a0f665f3336ad 09-Oct-2009 Grace Kloba <klobag@google.com> am 1184313c: Setting WebCore cache limit depending on the memory class.

Merge commit '1184313cbea3b34a4596a90be7081551d36f251a' into eclair-mr2

* commit '1184313cbea3b34a4596a90be7081551d36f251a':
Setting WebCore cache limit depending on the memory class.
1184313cbea3b34a4596a90be7081551d36f251a 09-Oct-2009 Grace Kloba <klobag@google.com> Setting WebCore cache limit depending on the memory class.

Fix http://b/issue?id=2176656
rowserFrame.java
a921bf4e9ff32f4b561af077d11f5dc85ea67d33 08-Oct-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I8f5e405f into eclair-mr2

* changes:
mGeolocationDatabasePath needs to compare mGeolocationDatabasePath
5da9aeb4351ed02b05f15c11e34673ab38103dd8 06-Oct-2009 Cary Clark <cary@android.com> reset webTextView size if focus bounds changes

When the focus bounds is changed by webkit, reflect that
change on the UI side in the WebTextView. On the WebCore
side, add the focus-changed state to the Draw record,
which is sent whenever a new picture is recorded.

On the WebView side, set a bit when receiving the Draw
record, and check that bit when the picture is first drawn.
This additional delay is required so that the bit isn't
checked until after the new nav cache is swapped in.

If the bit is set when the draw occurs, clear it, and
set up the WebTextView's bounds.

companion change in external/webkit
fixes http://b/issue?id=2118781
ebView.java
ebViewCore.java
8f5e405f60e3816f61549783782d9bf0d9d4d199 06-Oct-2009 Grace Kloba <klobag@google.com> mGeolocationDatabasePath needs to compare mGeolocationDatabasePath
ebSettings.java
5101c2b1f1a90a28271a11446ff78b235f287c45 05-Oct-2009 Grace Kloba <klobag@google.com> Extend the date time to handle the case where the
month is in the full name.

Fix http://b/issue?id=2164680
ttpDateTime.java
fde23e398e9b880eec6269adf5afaca1f58e58f7 02-Oct-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change Ic66f68a7 into eclair-mr2

* changes:
Fix a null pointer exception caught by the monkey.
9eca703d08ef2ef81796519fdd60a774380c7d4c 02-Oct-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I499a9541 into eclair-mr2

* changes:
setupRedirect() can throw. Catch it and signal the error.
c66f68a78733c94a915d69dee89e5b658602fa6d 02-Oct-2009 Leon Scroggins <scroggo@google.com> Fix a null pointer exception caught by the monkey.

Fix http://b/issue?id=2162334
ebView.java
499a95418220f4723349c57e5a6a5a1916de7562 02-Oct-2009 Grace Kloba <klobag@google.com> setupRedirect() can throw. Catch it and signal the error.

Fix http://b/issue?id=2163139
oadListener.java
86806ce11a89260147d7c2efa2c192b711d923db 01-Oct-2009 Patrick Scott <phanna@android.com> Process synchronous requests in the same RequestQueue.

Use a dedicated Connection to process a synchronous request using the main
RequestQueue and on the WebCore thread.

HttpConnection, HttpsConnection, Connection:
No need for ConnectionManager, just pass the proxy host to
HttpsConnection. In Connection.clearPipe, empty should be set to true if the
RequestFeeder does _not_ have a request for the host. I don't think that
broke anything but it is incorrect.
ConnectionThread:
Refactor the proxy selection into ConnectionManager.getConnection
RequestHandle:
Add a new constructor that takes a Connection argument. Add processRequest
to process a single request on that Connection.
RequestQueue:
Add determine host to select between the request's host and the proxy. Add
queueSynchronousRequest to make a new request that operates on a private
connection. Add SyncFeeder to handle RequestFeeder.requeueRequest if the
request fails.
Network: Use the new RequestQueue api to handle a synchronous request.

Bug: 1315832
etwork.java
2919f49273ee5a6669dc4689c88759b3cc6a083f 01-Oct-2009 Grace Kloba <klobag@google.com> remove cert for SampleBrowserPlugin and only check
signature for the release build.
luginManager.java
5b2c056a3f66c11e3d6f7ba3507dc0f81928bf3a 30-Sep-2009 Grace Kloba <klobag@google.com> Keep the scrollbar on during TOUCH_MOVE events even
when there is no movement.

Fix http://b/issue?id=2151115
ebView.java
73477e7336cd1bdd67984a0f6374c79108a8f098 01-Oct-2009 Grace Kloba <klobag@google.com> Add the signature checking for WebView plugins. The
first one is for SampleBrowserPlugin. The second
one is for Flash.
luginManager.java
10be7542327e1d4483b33730164e5404ed48d73e 01-Oct-2009 Leon Scroggins <scroggo@google.com> If the textfield is offscreen at the end of a zoom, remove it.

Fixes http://b/issue?id=2147168

Change-Id: I068746f7a7242bab5bc2116598f0421d7385ce25
ebView.java
50c862324b8c4b9a130beeba6378ca3398960fb7 30-Sep-2009 Andrei Popescu <andreip@google.com> Update <video> implementation after new IRC discussion with Eric Carlsson.

- move poster drawing on the WebKit side
- get rid of the child views
- add prepareToPlay method to the MediaPlayer iface.

Fixes http://b/issue?id=2156592
TML5VideoViewProxy.java
0c5924e9dd1befadae8c73505d3acc9813bf8224 30-Sep-2009 Cary Clark <cary@android.com> preserve webkit-side text selection

When webkit modifies a text field programmatically, it may change
the selection. This competes with the UI thread attempting to
set the selection in response to the IME next button and changes
made by the trackball.

One recent fix (https://android-git.corp.google.com/g/#change,26904)
sets the selection from the UI side after the IME generated click.
Unfortunately, this can be generated under other circumstances,
so this change qualifies this with mOkayForFocusNotToMatch, which
is only set after the IME next button is pressed.

The other change qualfies onTextChanged calls so that if it was
triggered by setTextAndKeepSelection, the webkit-side selection
is unchanged.

fixes http://b/issue?id=2096746
ebTextView.java
ebView.java
194e345eb0fbfd170dcebb81a2bb7d93e8f93f94 28-Sep-2009 Leon Clarke <leonclarke@google.com> Re-instate the link coloring on startup, but going via the browser
to read the bookmark history, and restricting it to 100 results.

Link coloring - doing db lookup in new thread

Whitespace, following review
allbackProxy.java
ebChromeClient.java
ebViewCore.java
2e4dbe70e7c0fe003dab0837fd1dba2703bdd6e2 30-Sep-2009 Mike LeBeau <mlebeau@android.com> Unhide APIs for enabling geolocation in web views. I've confirmed
with Grace that these are okay to unhide.
eolocationPermissions.java
ebChromeClient.java
ebSettings.java
4fbf81bc94f38a630de49445e3eb4880289c6a6e 29-Sep-2009 Cary Clark <cary@android.com> check for null item in web history in saveState

fixes http://b/issue?id=215369
ebView.java
eaa18dec91b6dd0ce3191a9ab65cdc95ef68b935 28-Sep-2009 Cary Clark <cary@android.com> scroll text field with touch

Add a hidden public method to text/method/Touch.java that
computes the maximum scroll amount for a text field.

Remove 'faketouch' code; it causes a crash and is
no longer required.

Pass the percentage of the current scroll from the UI
thread to webkit. One additional fix is to allow very
small movements which are currently disallowed because
they are smaller than 'smallerSlop' in WebTextView.java.

Companion fix is in external/webkit.

Fixes http://b/issue?id=2133049
ebTextView.java
ebView.java
ebViewCore.java
d84e7d53d379c9fdfe335f40e89e2dfd6144dfea 29-Sep-2009 Leon Scroggins <scroggo@google.com> Allow scrolls to continue when getting a new content size.

In recordNewContentSize, rather than aborting any scrolls in progress,
find the final coordinates of the scroll and pin them to the new size,
and let the scroll continue.

Fixes http://b/issue?id=2141960

Change-Id: I7bfa444b52e70a0ca817221f379df77efc3496b7
ebView.java
94c715d662e803b43dde8984a60f937a26706c7d 29-Sep-2009 Grace Kloba <klobag@google.com> Skip requestRectangleOnScreen for WebTextView during
zoom animation. If it is in edit mode, we already adjust
WebTextView in the end of zoom animation.

Fix part 1 of http://b/issue?id=2147168
ebTextView.java
ebView.java
f116bf8884b5b58aae261d148003811aa4a7c6e9 28-Sep-2009 Mike Cleron <mcleron@google.com> Fading scrollbars return. But you have to opt in.
ebView.java
5d062bc3de2406bd96c08ddb9c0940f4e75b4d7c 28-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 27426 into eclair

* changes:
Handle the case where GoogleLocationSettingObserver::onChange is called after GoogleLocationSettingObserver::doNotObserve().
0d03b91407aecab52d0fe8b6f849a0398878a2c1 28-Sep-2009 Grace Kloba <klobag@google.com> Before we send VIEW_SIZE_CHANGED after first layout,
we should remove VIEW_SIZE_CHANGED in the queue if
there is any as we are going to send the message in
the front of the queue.

Fix http://b/issue?id=2133222
ebViewCore.java
207308a781621c427acccbd9983c2511a65e9137 27-Sep-2009 Grace Kloba <klobag@google.com> WebView may get message after destroy() is called.
Just return in this case.

Fix http://b/issue?id=2143668
ebView.java
6585fe004ed4db12661a934f874390ca4b1e79a4 28-Sep-2009 Andrew Stadler <stadler@android.com> Add extension->mime type mappings

* Microsoft Office common extensions
* .xml -> text/xml
* Change existing mapping of ".pot"->"text/plain" to ".po"

Note: We already had a definition for .pot to text/plain. Per the
information found at <http://www.fileinfo.com/extension/pot> this is the
rarely seen "portable object file", and is often named ".po" to avoid
this same conflict.

Addresses bug # 2097457

Change-Id: I964b853fdeae77d742f627c535a8b32e0e53516a
imeTypeMap.java
7885381f9b004fe549f9900a4f01a9d85aaca601 28-Sep-2009 Andrei Popescu <andreip@google.com> Handle the case where GoogleLocationSettingObserver::onChange
is called after GoogleLocationSettingObserver::doNotObserve().

Fixes http://b/issue?id=2147888
oogleLocationSettingManager.java
d66d84ffa2d96120ecd607af3f3c597fb673b178 27-Sep-2009 Grace Kloba <klobag@google.com> Reset mPreventDrag at touch_down.

Check the delta for short press case as we may switch to
PREVENT_DRAG_NO at SWITCH_TO_SHORTPRESS.

This should fix another two corner cases where flick doesn't
do anything.
ebView.java
ba6728023d9c9a5f13b9fc6e2015527b99b30c41 26-Sep-2009 Grace Kloba <klobag@google.com> When change from narrow screen to wide screen, we will
leave the mMinZoomScale to 1.0
ebView.java
f58af62211e2627d408919d22c7a1637d0e78639 25-Sep-2009 Grace Kloba <klobag@google.com> If WebCore doesn't response touch down in time, don't
block the UI tap, pan and double tap. Added a time out
(which is same as shortpress time out, 200ms) for how
long we wait for WebCore's response for touch down.

This should fix the problem where pan/touch is not working
all the time when Flash plugin is installed.

Fix http://b/issue?id=2144761
ebView.java
96cfad5d673b49d8b3a724d7b1066493aacd74d5 25-Sep-2009 Cary Clark <cary@android.com> check for null before calling native webkit from java webview

fixes http://b/issue?id=2121684
ebViewCore.java
f4a36e86bb4d1e15652dfd28236150c7f917866e 24-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 26909 into eclair

* changes:
Not all WebView's host have permission to read the history. Add a security catch and return an empty list.
db674fb4e85c5ae63c05368b0b13e64be6ad118d 24-Sep-2009 Grace Kloba <klobag@google.com> Not all WebView's host have permission to read the history.
Add a security catch and return an empty list.

We don't use tab in the code.

Fix http://b/viewIssue?id=2144339
ebViewCore.java
f18c539344655c8d39e3412a0985f7e42193eb52 24-Sep-2009 Cary Clark <cary@android.com> set the selection after sending a click

Webkit expects the currently focused text input to have
a set selection before it can receive key events for insertion.

Coincidentally, we always set the selection except when
using the 'next' button on the IME to switch between text fields.

The selection has to be set after the text field receives
focus, so add a setSelection() message after the click() message
is sent in passToJavaScript().

fixes http://b/issue?id=2087546
ebView.java
dbad320bf3a4ae44717aa8dff4ec1791a3820259 24-Sep-2009 Grace Kloba <klobag@google.com> ResultTransport needs a default value. If the thread is
ununlocked by something else other than CallbackProxy's
notify(), it can have a null value.

Fix http://b/issue?id=2131842
allbackProxy.java
bb6aba1984bfdceaec43054ef0b2a8e5dcd26215 24-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 26876 into eclair

* changes:
Restrict touch to the view height with the title. This should fix the links in the bottom of the screen are not touchable when title bar presents.
8eff73f79b934fb7f8e9a8c630f2400c13fe35f4 24-Sep-2009 Grace Kloba <klobag@google.com> Restrict touch to the view height with the title. This
should fix the links in the bottom of the screen are not
touchable when title bar presents.

Also fix a bug in calcOutContentVisibleRect. We need to
adjust visibleTitleHeight for the top, but we should not
do it for the bottom. Otherwise, WebKit will have the
wrong visible rect and it will think the part right under
the bottom of the screen are visible.

Fix http://b/issue?id=2140971
ebView.java
9c8d886bb776ab98fc3b8aa26134c7a2611a6076 24-Sep-2009 Leon Clarke <leonclarke@google.com> Coloring clicked-on links

Following review comments

Merging in ben's change

Whitespace
ebViewCore.java
d421995fdb490c687d27b56aa89bc83afc7c3d06 24-Sep-2009 Ben Murdoch <benm@google.com> Fix parsing of HTTP Date years.

Change-Id: I17157eb145599e6e1a23c5ba77c3c713b8af14ff
ttpDateTime.java
37703b6c875a935e6341d8a710796bc0c87d3044 23-Sep-2009 Cary Clark <cary@android.com> invalidate the webview after pressing the IME 'next' button

fixes http://b/issue?id=2141013
ebTextView.java
ea96d1e27f516987f6053dc1dae9e946bc8456ea 23-Sep-2009 Leon Scroggins <scroggo@google.com> Provide a getter to access the width of the HTML document.

Necessary to scale thumbnail pictures to show the full page width.

Change-Id: I631e880b09fe66403ea71bf5e019899a180e6a53
ebView.java
b82665e78f3a4f08e7b620b85246b7925097386b 23-Sep-2009 Cary Clark <cary@android.com> don't allow min scale to go to infinity

When a new picture is received, the min zoom scale is set.
One of the many choices divides by draw.mMinPrefWidth, even
if it is zero. Add a check to require it to be greater than
zero before using it as a ratio component.

fixes http://b/issue?id=2138786
ebView.java
c28e3a670fd993d5465504ed48e9e89bb24823b0 23-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 26595 into eclair

* changes:
Move destroying the web view to the WVC thread (previously it was on the UI thread)
3dba1e4d81bb7e35f0299e5f959f9dfe600a6a0b 22-Sep-2009 Ben Murdoch <benm@google.com> Move destroying the web view to the WVC thread (previously it was on the UI thread)

Change-Id: I5a48734c6a244eadd1d60659f8e02ebb889a8fc1
ebViewCore.java
37df6a8328fb91afe4272de05c1cce58c4f17163 23-Sep-2009 Leon Scroggins <scroggo@google.com> In calcOurContentVisibleRect, account for the visible title bar.

Fixes http://b/issue?id=2137879 and http://b/issue?id=2135469

Change-Id: I6a4b2f90ffa8d37adbe86a2fd19d141c4136213c
ebView.java
c0b8a96d28c55cb51e4f9e1f85c8d3ecf1ff13bf 22-Sep-2009 Derek Sollenberger <djsollen@google.com> launching plugin activity when a plugin requests to go full screen.

Change-Id: Ib42bb08d01a75ca3a9c02085ee185396bb7b7378
luginManager.java
ebViewCore.java
dee76be487fcdc975877f85221a693b87b9669a7 22-Sep-2009 Andrei Popescu <andreip@google.com> Fix for 2122292: make sure we unregister the ContentObserver for the system location settings. Also make the GoogleLocationManager use the singleton pattern correctly.
oogleLocationSettingManager.java
ebSettings.java
ebViewCore.java
24a3ff958b87550904a71961835f6883d1411c27 22-Sep-2009 Grace Kloba <klobag@google.com> Change double tap toast to long toast.

Change toast count to static to cross all the windows.

It should be --count instead of count--.
ebSettings.java
ebView.java
194099dc4f614130f3baff14850792e6dc3fa59b 22-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 26220 into eclair

* changes:
Reimplement the settings to use async callbacks
6c24b4d10223cb522e6bdbf0e334f61e672f4366 22-Sep-2009 Nicolas Roard <nicolas@android.com> Reimplement the settings to use async callbacks
eolocationPermissions.java
alueCallback.java
ebStorage.java
ebViewCore.java
d58ccff769e40a6c52e9f6e30e4016590e05ba9a 18-Sep-2009 Patrick Scott <phanna@android.com> Add a boolean indicating if the apple-touch-icon is precomposed.
rowserFrame.java
allbackProxy.java
ebChromeClient.java
408cf85207a43c9169f9fb520a584d2858847d24 21-Sep-2009 Grace Kloba <klobag@google.com> Support the new dpi change in the WebView.

Fix http://b/issue?id=2071943
rowserFrame.java
ebView.java
ebViewCore.java
f53c1865248dd2b38f8c24a0419d550330619b19 22-Sep-2009 Grace Kloba <klobag@google.com> Don't snap the initialScale to min or max if it is not defined.

Fix http://b/issue?id=2133821
ebViewCore.java
d3997e556eb0509248c72b668c2cd955b7842b55 21-Sep-2009 Leon Scroggins <scroggo@google.com> Make scrolling textfields work better in the browser.

The touch slop seems to be too large for scrolling
a small textfield, so use a smaller number. Also,
in WebView, create viewToContentDimension, and use
it for determining the scroll position of the text
field.

Partial fix for http://b/issue?id=2133049

Change-Id: I0ded3be264b179bad39301e6adce86851b649a42
ebTextView.java
ebView.java
d7b95aa702f9d3f8694b1a066ae7ef44879ffb1a 21-Sep-2009 Leon Scroggins <scroggo@google.com> Always interpret (0,0) scrolls as top of title bar.

Move the specialized code in NEW_PICTURE_MSG_ID to
setContentScrollTo so that a scroll to (0,0), whether
a result of a NEW_PICTURE_MSG_ID or from an initial
layout (or otherwise) is treated as scrolling to the
top of the content, including showing the title bar.
Scrolls to (0,1) will trigger code that animates the
title bar off screen.

Change-Id: Ia6db6d4620dea2bfe62407c4394a8ead38501b2f
ebView.java
f8d8b46a2c684d51cd661a9d479dd895420a90b2 21-Sep-2009 Grace Kloba <klobag@google.com> Add a tip toast for double tap.

Fix http://b/issue?id=2059934
ebSettings.java
ebView.java
5bb6b52bf38d80462d930e67c93ca7fd8390bfe6 21-Sep-2009 Cary Clark <cary@android.com> Account for find dialog height in content height

Use the set dialog height when the find dialog is up so that
found items at the bottom of the screen are scrolled into view.

This requires a companion change to set the dialog height in
the browser app.

Fixes http://b/issue?id=2122916
ebView.java
03c87bf51cdf5a105b53b5d6fbf9cfbc6c93751e 18-Sep-2009 Leon Scroggins <scroggo@google.com> Allow a webpage that wants to scroll off the title bar to do so.

Slows down the animation so the user can see it slide away. Also
move the animation to before we change to view coordinates so it
will not be dependent on the zoom level/screen resolution.

Change-Id: Icc54b2b26c08cd54d84b4e9892a316a5712534e4
ebView.java
17dd1aebf5d960477fc2bb71fad864b11e4303eb 19-Sep-2009 Grace Kloba <klobag@google.com> When double tap zoom out to overview mode, force reveal the full
title bar if it is partial visible.

http://b/issue?id=2110583
ebView.java
fd49faae33dc813c93347d1bcc8fa7c4fa0ae55d 18-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 25772 into eclair

* changes:
Add progress view and default poster for the <video> implementation
bf385d7c7b093564738f8cfd4386daf5e94b8a6d 18-Sep-2009 Andrei Popescu <andreip@google.com> Add progress view and default poster for the <video> implementation
TML5VideoViewProxy.java
ebChromeClient.java
83d4ba83ddf8309d2c0c38d69154217d6a9c0a6c 17-Sep-2009 Leon Scroggins <scroggo@google.com> Do not attempt to retry a scrollTo with a negative position.

Fixes http://b/issue?id=2093435

Change-Id: If938c8f6e5d74b91e39a06a5736967663c9800b7
ebView.java
6ed525ecee76541aa60ca95598330e990fa16ffa 18-Sep-2009 Grace Kloba <klobag@google.com> When a WebView starts, we may get first layout before viewSizeChanged()
ever get called. Call WebView's getViewWidth() to get the current UI
width. If it is still 0, log a warning.

Fix http://b/issue?id=2128645
ebView.java
ebViewCore.java
58992eac8373ba7260d99dd832a6fc9e3d164460 17-Sep-2009 Leon Scroggins <scroggo@google.com> Draw shadow below title, or at top if title is off screen.

Fixes http://b/issue?id=2118813 for the "real" title bar.

Also fix http://b/issue?id=2125444 by moving the save after
the check for mNativeClass.

Change-Id: I8f85f0a76eb7e1d186485ef65c50ae8d4bc10932
ebView.java
c633253bef85252e44ffb86500b50943a024246c 18-Sep-2009 Chia-chi Yeh <chiachi@android.com> CertTool: avoid using final static array.
ertTool.java
WebCoreJavaBridge.java
41d8565e816a29192d966f271c06bee91272087c 17-Sep-2009 Chia-chi Yeh <chiachi@android.com> WebKit: switch to java-based CertTool.

Change-Id: Ica6d491ede2bf2a311cacb7a7d64a249191fbecf
rowserFrame.java
ertTool.java
WebCoreJavaBridge.java
oadListener.java
5a4fbd6c20e36410bed07c0b6b655412c6eb71d5 17-Sep-2009 Grace Kloba <klobag@google.com> The starting progress for WebView should be 100 as it is
not in the loading state.
allbackProxy.java
d55de40481c6ec7d8fbd1a38c80a6c66bf462a71 17-Sep-2009 Leon Scroggins <scroggo@google.com> Don't scroll the title bar off screen while loading.

Though the user can still manually scroll the title bar
off screen, we do not want it to happen automatically.
When we load a new page, its scroll position can be
set to (0,0). Make sure that we simply set it to the
top without adding in the title bar's height. Also,
prevent javascript which attempts to scroll the page
to (0,0) or (0,1) from removing the title bar.

Fixes http://b/issue?id=2113398 and http://b/issue?id=2123079

Change-Id: Ida64d8c94be6744c7b0b4d60af1c229b2cc83673
ebView.java
c0c03af15f60e4402026c456cc55c108895a508f 17-Sep-2009 Grace Kloba <klobag@google.com> Fix the zoom center. Now there is a titlebar, the zoom center
needs to be adjusted for it as the user really cares the spot
in the document. We need to pin zoom around that spot.

Fix http://b/issue?id=2126300
ebView.java
dfe095a045f132dd9c75da4286b87532d9a973a0 17-Sep-2009 Grace Kloba <klobag@google.com> Don't change the zoom filter during the zoom animation.
Call another invalidate() to draw with the final filters.
This fixed the problem where the end of the zoom animation
is slow and jagged.

Fix http://b/issue?id=2126523
ebView.java
f7c98e8d1827510a90699b4641eb1937d2e0b823 17-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 25493 into eclair

* changes:
Wire the rest of MediaPlayer to our implementation of WebCore::MediaPlayerPrivate
290c34ac3a36b407b74b42c37501c2d0cdac70ad 17-Sep-2009 Andrei Popescu <andreip@google.com> Wire the rest of MediaPlayer to our implementation of WebCore::MediaPlayerPrivate
TML5VideoViewProxy.java
ff22b182a2b8aade96d32c65b9af96ccb91f6296 17-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 25401 into eclair

* changes:
Add a null checking to avoid crash.
64b86a1e8b6679ed10ecf344abcaebc8412b2efb 15-Sep-2009 Andrei Popescu <andreip@google.com> Poster support on the Java side
TML5VideoViewProxy.java
b641abf677a291b3d77572657abe4aee19383447 17-Sep-2009 Grace Kloba <klobag@google.com> Add a null checking to avoid crash.

Fix http://b/viewIssue?id=2125276
ebView.java
241403fd19edc44d089f3860db1562ed523dea07 17-Sep-2009 Leon Scroggins <scroggo@google.com> Update the input method when the selection changes.

Fix http://b/issue?id=2074446

Add in code that is normally called by TextView.onDraw(). Since
drawing does not happen for WebTextView, we need to call it
ourselves.

Change-Id: Icb47f6a58fba6f8b11e2924befc704f26af68d43
ebTextView.java
4295613a0ea1f61398d3123746740ca27d9ea170 16-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 25307 into eclair

* changes:
Allow touches to change the selection in WebTextView.
c9e2e661f0cbc736b948f8aca4c65d0467c44c79 16-Sep-2009 Cary Clark <cary@android.com> slide the title if the site changes the scroll position

Slide the title away if the scroll is to zero or one, and the
title is partially or fully visible. Set the animation time
to at least SLIDE_TITLE_DURATION, currently set to 300 ms.
ebView.java
7ae34197b03313dd3f278b1a995252040ae6e2df 16-Sep-2009 Leon Scroggins <scroggo@google.com> Allow touches to change the selection in WebTextView.

Fix http://b/issue?id=2019857

If the user has not moved beyond the scaled touch slop, do not
turn it into a scroll, so the user can change the selection.

Change-Id: I1d88691a35ea2da4b03ad713b56331b5c268b757
ebTextView.java
9f28d9008b96a1f7f3fd14634664d3991d756abf 16-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 25280 into eclair

* changes:
Don't scroll on load if titlebar is visible
5b28c36644d8708561c82dd7ebe1e96ff3a7d0fd 16-Sep-2009 Cary Clark <cary@android.com> Don't scroll on load if titlebar is visible

If the restore requests a scroll to zero and the titlebar is
partially or fully visible, skip the scroll altogether.

This fixes http://b/issue?id=2123079
ebView.java
468f067cf4e55378a63e74089b3b9966ce132596 16-Sep-2009 Derek Sollenberger <djsollen@google.com> fixing documentation for PluginStub

Change-Id: I68fd9d0df3d8a5c39ad1de136a116f1b034323af
luginStub.java
0b3a5d65247be1fb79d66af534fa78a94743864f 09-Sep-2009 Derek Sollenberger <djsollen@google.com> First pass at replacing native plugin views with java.

Change-Id: I6d1f45f31210c2353fa348cc37be8d91bcd5e887
luginActivity.java
luginStub.java
luginUtil.java
ebViewCore.java
674a844f6defdb77f8401327725357c9cf189a37 15-Sep-2009 Cary Clark <cary@android.com> synchronize access to pictureReady, copyContentPicture

Two methods in WebViewCore are called from WebView. The C
underpinnings were synchronized with a mutex, but the Java
shell was not, so under rare cirumstances, the Java side might
delete the native class. Add Java synchronization to
protect against this.

Fixes http://b/issue?id=2121684
ebViewCore.java
df4cf29715146d67306595108c565d9848a6ae1a 15-Sep-2009 Mike Reed <reed@google.com> redraw once more on a touch-up if we've been dragging, so we can redraw in high-quality mode
update dox on BlurMaskFilter
ebView.java
04b2868c74a54cf711552262f0ad20d234b627b4 14-Sep-2009 Grace Kloba <klobag@google.com> WebView zoom clean up
rowserFrame.java
ebView.java
ebViewCore.java
db6d939d2bbf457b1caa5479a60dae5e90d023e1 15-Sep-2009 Cary Clark <cary@android.com> if the cursor and focus don't match, match them on text view clicks

Call nativeMotionUp from touchUpOnTextField to move the
mouse cursor to the text field if necessary before moving
the text caret to the desired position.

Fixes http://b/issue?id=2075647
ebView.java
df344375a93f3bfe0360f5436c0866f44b7fb6cc 15-Sep-2009 Cary Clark <cary@android.com> compute Y scroll max by scaling only, ignoring title bar height

without this, the max scroll may be a single pixel
ebView.java
e9e86b8908a1dc51bccf7993332a22f5c8640006 15-Sep-2009 Mike Reed <reed@google.com> special-case coordinate conversion when we are taking content coordinates to be invalidate. We need to
round "out" these, to account for the slop in antialiasing, rather than using the existing routines
that (correctly) round.
ebView.java
74077c8f2ed67b79be67df853158932fbd774865 15-Sep-2009 Leon Scroggins <scroggo@google.com> Clear the password field when reloading the current page.

Fixes http://b/issue?id=2119142

Change-Id: I14bfcc6873f295c4d24ef7ee10450fd444dbe82c
ebView.java
d247aadfc4b8117130908c44a2ed1f6d290a92ef 14-Sep-2009 Leon Scroggins <scroggo@google.com> Bring up the soft keyboard when touching a focused textfield.

Fix for http://b/issue?id=2118333

Change-Id: Ifa540de139b35548dde2b714b628ca1879a605c5
ebView.java
dd8174928c9c2966b1491acd604612a3b38e600a 14-Sep-2009 Grace Kloba <klobag@google.com> Remove trackball double click. Treat each click as a single click.
ebView.java
298d32e1934cddf6b93e6a4588ab05630cd39ec7 14-Sep-2009 Cary Clark <cary@android.com> Set the minimum fling to the title height.

Dragging and flinging have different minimums for the max Y
value. Allow the fling to have the title height instead of zero
for the minimum max Y so the title can always be removed via
fling.

This fixes http://b/issue?id=2109006
ebView.java
b6e164c779881cf68768224bd67a8d949be0618a 14-Sep-2009 Grace Kloba <klobag@google.com> Per suggestion in http://b/issue?id=2062340, update the UNIQUE in the
httpauth table.
ebViewDatabase.java
e621d6ffb9602c21e6f6f4f12ac02680a3c78601 11-Sep-2009 Grace Kloba <klobag@google.com> Use floor to calculate the range to avoid the rounding error triggered
scrollbar. The worst case is that you can never scroll down to the last
pixel. The old special case can cause problem when getViewWidth/Height
have changed which do not match mLastXXSent any more.

Remove FIND_HEIGHT from computeVerticalScrollRange per conversation with Leon.

Change computeMaxScrollY to use computeVerticalScrollRange which matches
how it computes X.

Change onMeasure to use contentToViewDimension() as it has the same logic.
ebView.java
d82bc5158c764bdd30b7d22f32258ad3c2c0c0f6 09-Sep-2009 Grace Kloba <klobag@google.com> Avoid the rounding error, as Math.round(Math.round(viewWidth * mInvActualScale) * mActualScale) not necessary to be viewWidth, we special case when the content exactly fit in the view case.

Fix http://b/issue?id=2099889
ebView.java
3a6c88c28905590477bd5cf8b6d23cdb517de159 09-Sep-2009 Leon Scroggins <scroggo@google.com> Adjust the WebTextView's text size according to density.

Fix for http://b/issue?id=2063143 . Use TypedValue's
types to set the text size properly for the screen's
density.

Change-Id: I3772035157e2a9a8a2dba00ebddbf967c42bfa99
ebView.java
cf7b5521fc4a8f87033e3bf3626e8a2cf81fccfd 09-Sep-2009 Andrei Popescu <andreip@google.com> Remove the call to nativeAddJavascriptInterface() from BrowserFrame::addJavascriptInterface() as it causes an intermitent crash.
rowserFrame.java
273fecc22a6315915452574cac116ae1f60a90ea 09-Sep-2009 Grace Kloba <klobag@google.com> Do not cache POST response as Cache is indexed with url.

mRequestHandle is only set from Network. So we can skip checking whether url is Network url if mRequestHandle is not null.

Fix http://b/issue?id=1980031
oadListener.java
c3a30a00333910268e2b93c58f14214b074aa929 08-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 24153 into eclair

* changes:
adding support for webkit plugins to use the java view system
2c3eb14d43edcecbd85072f7068126cffd7ca493 08-Sep-2009 Derek Sollenberger <djsollen@google.com> adding support for webkit plugins to use the java view system

Change-Id: I4fb328e5f30476fe4aa70565bacb969dc97b495d
luginActivity.java
luginStub.java
luginUtil.java
c18e9ed39c7cf68c1d946ef7c8533a3156181f86 08-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 24161 into eclair

* changes:
don't fling if there's nowhere to go
aa7caa60324d69b5cd7bf3cbd8eeac2a63ad7a99 08-Sep-2009 Cary Clark <cary@android.com> don't fling if there's nowhere to go

Add a test to doFling() to return quickly if the fling has
no effect. For simplicity, only test for horizontal or vertical
flings.

The man purpose is to avoid suspending webkit until the fling
animation is complete when the purpose of the touch drag is
to activate a touch event, like a swipe in superpudu.

fixes http://b/issue?id=2052852
ebView.java
f8d4964e45f7e671f4b333386b4269b23ced4750 08-Sep-2009 Cary Clark <cary@android.com> default overview mode to false in webkit

Browser defaults overview mode to true in BrowserSettings.java,
but a WebView should default overview mode to false. This permits
applications without zoom interfaces, such as HTMLViewer, to
have the same interface as before.
ebSettings.java
377c5c15f8fea14b575b6b0f14ac7fd3a4d44b3a 08-Sep-2009 Derek Sollenberger <djsollen@google.com> Revert "Adding classes to enable plugins to use the java view system."

This reverts commit b127dc29bbe41dde9cb30e178bd252f48e84e533.
luginActivity.java
luginStub.java
luginUtil.java
67dffd93e045e08e446df11e370597a9463f010c 08-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 23485 into eclair

* changes:
Adding classes to enable plugins to use the java view system.
608f9f470fa562fc6a32449297110d4ec2953515 03-Sep-2009 Leon Scroggins <scroggo@google.com> When zooming, do not draw the WebTextView. Resize it when done.

Fix for issue http://b/issue?id=2074429

Change-Id: Iae46df57310a360f07c9d6afef24ca3ff9d04bdc
ebView.java
078c52c57a3d45814be9d90bf189d41ff372d2b1 04-Sep-2009 Leon Scroggins <scroggo@google.com> Clean up from earlier changes to place title bar at top of WebView

Rename addTitleBar to setEmbeddedTitleBar. This requires a change
to packages/apps/Browser. Also remove mTitleBar if there already
was one.

In ViewManager, call contentToViewDimension where appropriate.

Change-Id: If4d378fad192990253411924a9a80bee96e63ff2
iewManager.java
ebView.java
3c72fff035e287f9e0b9340cc3921896ca86380b 04-Sep-2009 Grace Kloba <klobag@google.com> Some mobile sites, like m.www.yahoo.com, slashdot.org (iPhone version),
have a bigger minPrefWidth than the screen width. So we don't want to force
the minZoomScale to be same as defaultScale. Otherwise we won't be able to
zoom out in these sites.

Fix http://b/issue?id=2090718
ebView.java
ebViewCore.java
e8853fc57093e781fa7c659c6eb4da3be9f8695a 04-Sep-2009 Mike Reed <reed@google.com> also expose onDrawHorizontalScrollBar() in View
retool WebView's calculations to correctly compute scrollbar height and parameters
ebView.java
e5b6d02f34af2cd81615653b00c96a421d5ea819 04-Sep-2009 Grace Kloba <klobag@google.com> Translate the content dimension to the view space before setting them to the view.

Fix http://b/issue?id=2027254
ebView.java
4950b2b6951bbdc2b0023130bfbaca2a4044044f 03-Sep-2009 Andrei Popescu <andreip@google.com> Fix appcache layout test that was timing out due to race condition in WebView::addJavascriptInterface.
rowserFrame.java
ebView.java
ebViewCore.java
0236e673d8b980fd6333c18505129c6b49e38cd1 03-Sep-2009 Leon Scroggins <scroggo@google.com> Attach the title bar to the top of the page.

Remove the old notions of changing the viewing mode
resulting in changing the visibility of the title bar.
Instead, attach the title bar to the top of the page.
Change contentToView() to contentToViewY() (and an X
version; same change for viewToContent), to account
for the title bar's height. Adjust the parameters
for drawing the scroll bar to account for the title bar.
Requires a change to packages/apps/Browser.

Change-Id: Ic0f7d6e0a1cce58ba2bca87337cf72a8194e9aa4
allbackProxy.java
iewManager.java
ebChromeClient.java
ebView.java
4afcd2e9d65f67a06e5afb4140b909885ebe2e1c 03-Sep-2009 Steve Block <steveblock@google.com> Handle security exception when Geolocation registers with system location service in DumpRenderTree.
eolocationService.java
f6ca7fab5043e1c3e834c15b4e674ae0c5c37d0d 03-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 23690 into eclair

* changes:
Prevent a crash when webkit changes the selection.
ef92e7a606167130d4ae52c1e23f32c3f0af291e 02-Sep-2009 Leon Scroggins <scroggo@google.com> Prevent a crash when webkit changes the selection.

Partial fix for http://b/issue?id=2081673
This prevents a crash. However, if the user continues typing
into the textfield, the selection is incorrect. The real solution
(forthcoming), will make sure that the WebTextView's text gets
updated when webkit updates.

Change-Id: Ic832ec48fd4236c8116c5cbda1467677ad731feb
ebTextView.java
83031581d62e9f89fdb90e2e8fc72d27f3b0c323 03-Sep-2009 Grace Kloba <klobag@google.com> Get drawable directory for the platform buttons.

Fix http://b/issue?id=2086818
rowserFrame.java
9217c45829da4d0c9c9dbdc6bc950c7f3e03e4f5 01-Sep-2009 Grace Kloba <klobag@google.com> When we destroy a WebView, RESUME_TIMERS/PAUSE_TIMERS may be still in the queue.
We need to pass them to WebViewCore as they are per process base. If we drop
them, the counter in the JWebCoreJavaBridge can be out of order.

Part 2 of fixing http://b/issue?id=2087410
ebViewCore.java
b127dc29bbe41dde9cb30e178bd252f48e84e533 01-Sep-2009 Derek Sollenberger <djsollen@google.com> Adding classes to enable plugins to use the java view system.

Change-Id: I2a9bb5b3d3759645257263797c977ecc4a44b263
luginActivity.java
luginStub.java
luginUtil.java
169ae05f9f5cce400dd936e2a31676b80d84b862 01-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 23439 into eclair

* changes:
if exception getMessage() is null, don't add it to the error
4e441b711a07ff9cce3dd62169c54e6eea244a0a 01-Sep-2009 Cary Clark <cary@android.com> if exception getMessage() is null, don't add it to the error

Consolidate the error message construction, allowing the
exception getMessage() to fail.
ontentLoader.java
ileLoader.java
5e2a385c0d95f4a99dd8c562c6d2d79aa8546030 01-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 23395 into eclair

* changes:
When we get 304 and switch to cacheLoader, need to set mFromCache to be true. So that the cache loading will not create a new mCacheResult which overwrites the old cache data.
05a6f3cde52e5fbbad5187615bfc87d58559161f 01-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 23434 into eclair

* changes:
Fix a docs comment to match the parameter name.
447811c64f60d29a5c0bf2d7ba94b91c68fe2612 01-Sep-2009 Patrick Scott <phanna@android.com> Fix a docs comment to match the parameter name.
ebViewClient.java
278ce05b52a47a09d2177435b533f4ecb1b9c4da 31-Aug-2009 Cary Clark <cary@android.com> accelerate consecutive flings

Use the fact that the scroller keeps track of the current velocity
to accelerate subsequent flings. The current velocity is added to
the new velocity if the flings are in the same general direction
and if the fling animation hasn't been aborted.

This makes it easier to move to the top or bottom of very large
pages (either in overview mode or reading mode) by taking
consecutive flings as a cue from the user that they want to
page faster. The user can stop the fling with any action as
before.

fixes http://b/issue?id=2066090
ebView.java
05c9ed9ce1d920c322ee1431cfed64541f0acf3c 25-Aug-2009 Patrick Scott <phanna@android.com> Fix the documentation for onReceivedError.

This change adds the EventHandler error codes to WebViewClient for the public
api. Previously, the api was ambiguous about the value of the errorCode
parameter and falsely documented that the values are HTTP status codes.
ebViewClient.java
0c637113381cb49fbb83cf0e753e476d0d0d50eb 01-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 23427 into eclair

* changes:
Moves GoogleLocationSettingManager to its correct location.
b599315910a79ca2a651f48621f6254422033a0e 01-Sep-2009 Steve Block <steveblock@google.com> Moves GoogleLocationSettingManager to its correct location.

This fixes bug http://b/issue?id=2089259.
oogleLocationSettingManager.java
ef32ee3db8c1c48894ce62cd8e151d7fa8501c86 01-Sep-2009 Grace Kloba <klobag@google.com> When we get 304 and switch to cacheLoader, need to set mFromCache to be true.
So that the cache loading will not create a new mCacheResult which overwrites
the old cache data.
oadListener.java
6d45accc7166c84f94fdb5ca35602463ec4a32a4 27-Aug-2009 Cary Clark <cary@android.com> don't layout when setting size from zoom if only height changed

(companion change in external/webkit)
Add a boolean parameter to WebViewCore.java nativeSizeSize().
If set, only layout if the width has also changed.
If clear, layout if the height alone has changed.
Layout is clear when called from zoom setup, and set otherwise.
ebView.java
ebViewCore.java
ce761d3219d1a091e6177ff852d9f0636777f04f 28-Aug-2009 Grace Kloba <klobag@google.com> Only add model in the UA for the release build
ebSettings.java
09b0ca1ceefde02b9ed50dc4dd12774ba569143f 26-Aug-2009 Steve Block <steveblock@google.com> Sets default value of 'enableGeolocation' to true. This allows WebKit's DumpRenderTree to function correctly. Note that when Geolocation is used in the browser, this default value is overridden by the browser's default anyway.
ebSettings.java
7537e3dc9106ad5a4ac06dace3e26ebb341dee8e 27-Aug-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 22453 into eclair

* changes:
Sets or clears Geolocation permissions for Google origins when the 'Location & privacy - Share with Google' sysetm setting is changed.
d875ce6dac3c2e9a671c121c80b40d2536cbb2af 24-Aug-2009 Steve Block <steveblock@google.com> Sets or clears Geolocation permissions for Google origins when the 'Location & privacy - Share with Google' sysetm setting is changed.

This fixes bug http://b/issue?id=1933893
eolocationPermissions.java
ebSettings.java
d497d87650dd79f7d6a4751d79598d68ceb4b789 25-Aug-2009 Ben Murdoch <benm@google.com> Pass the estimated size of new HTML 5 databases to the ChromeClient so it can use that amount to figure an initial default quota.

Change-Id:Ic9372b0c86472b42ba5d0b964aaff1e2bbfe3efa
allbackProxy.java
ebChromeClient.java
ebViewCore.java
4a51c20ce607c74914f90fd897f04080121ac13b 22-Aug-2009 Dianne Hackborn <hackbod@google.com> I am getting tired of the java doc warnings, so fix them.

Change-Id: I2205eebae419eaf4a0992c9f5b7cd807eb843fe1
lugin.java
luginData.java
luginList.java
RLUtil.java
rlInterceptRegistry.java
b2359262b48bf33887c72be94b044cfdfd602858 19-Aug-2009 Leon Scroggins <scroggo@google.com> Implement new title bar hiding/showing behavior.

Remove the code that hides the title bar when the page finishes loading.
When the user double taps, if it did not result in changing the viewing
mode (i.e. on a mobile site), send a message to the client so we can
toggle the title bar's visibility. Required for a change to
packages/apps/Browser

Change-Id: I0040fd183ce5673a4069e943f38eb31599c0ca7d
allbackProxy.java
ebChromeClient.java
ebView.java
ebViewCore.java
840b856d2a7287e98526d3957715eba3677e872f 24-Aug-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 22452 into eclair

* changes:
don't center zoom on size change if zoom is in progress
a91874d1f980f20e874b2d12548fb65334efdfb2 24-Aug-2009 Cary Clark <cary@android.com> don't center zoom on size change if zoom is in progress

The onSizeChange code is called when the device is rotated and
when the title bar is hidden. In the latter case, it is in response
to the zooming transition from overview mode to reading mode, and
the zoom center should not be recomputed.

http://b/issue?id=2060720
ebView.java
d507ff21296b10ed57feec1200a8fe7eb09c0fc4 24-Aug-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 22449 into eclair

* changes:
Check for a null history item to avoid crashing.
af31c3a42d48c9781b40587cf735f96352fe333a 24-Aug-2009 Patrick Scott <phanna@android.com> Check for a null history item to avoid crashing.

The history item may be null if this page is loaded through loadDataWithBaseURL
so we cannot count on the item being non-null.

Bug: 2073490
rowserFrame.java
ba9f5f3f6b0e499708fb9aa05f30f4a2e7d8b616 24-Aug-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 22440 into eclair

* changes:
Java-side changes to persist Geolocation permissions between browser sessions.
4e9718d6ae3433a3f78fddf158a15701101ba781 24-Aug-2009 Patrick Scott <phanna@android.com> Fix synchronous xml requests with ssl errors.

Use the in-memory ssl preference table before posting a message to the WebCore
thread. Since the WebCore thread is blocked waiting for the ssl resource, we
cannot query the user for their preference. If the table does not contain the
user's decision, bail on the request to avoid a deadlock.

Also mark a few of the ssl handler's method's as synchronized. This was reported
by findbugs.
oadListener.java
etwork.java
slErrorHandler.java
7fdab7f9674aadf90c3be1f06d7d34b60151c658 24-Aug-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 22377 into eclair

* changes:
The new webkit won't keep RAM cache if http header has "no-store". So remove it from StreamLoader. And fix the code where we only want to cache network result.
9d3273f62288fa54536a3928383588398ca2d029 21-Aug-2009 Steve Block <steveblock@google.com> Java-side changes to persist Geolocation permissions between browser sessions.

This fixes bug http://b/issue?id=2054365.
ebSettings.java
06cd751b052e65c359b16cce0570b6fab305eb89 21-Aug-2009 Steve Block <steveblock@google.com> Adds Java-side of logic to make Geolocation obey Browser 'Enable Location' setting.

This fixes bug http://b/issue?id=2067559.
ebSettings.java
c3fa098ff60c13ec9d9f61317e766c8f4529ecd3 22-Aug-2009 Grace Kloba <klobag@google.com> The new webkit won't keep RAM cache if http header has "no-store". So remove
it from StreamLoader. And fix the code where we only want to cache network result.
ontentLoader.java
oadListener.java
treamLoader.java
37eb3c35152fadc2541ebe6af3e39b246ca87fb7 18-Aug-2009 Derek Sollenberger <djsollen@google.com> removing old gears code and correcting simple method typo
WebCoreJavaBridge.java
luginManager.java
db33d4bbaeedf2095968ec7795b488038cdcd015 18-Aug-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 21468 into eclair

* changes:
Couple of fixes for viewport.
7a02d6e457073bd7f00546ff4b5b442937724651 18-Aug-2009 Grace Kloba <klobag@google.com> Couple of fixes for viewport.

http://b/issue?id=2053685. This is a tricky one. When Browser is restarted,
we may get first layout even before viewport tag is parsed. This is rare,
but it happens to Google Reader site. So we need to setup the viewport explicitly
if it happens after first layout. There is a pairing webkit change.

http://b/issue?id=2054131. When Google talk is loaded, it goes through an auth
redirect site which means first layout is called with standardLoad as false.
In this case, even the final site uses viewport tag to get mobile experience,
the intermediate one doesn't. To make sure most of the mobile sites, who
define their viewport width as device width, work correctly, we always update
the mRestoreState when we set viewport.

http://b/issue?id=2054121. When Browser is first started or restarted, the
mCurrentViewWidth is 0 as we don't know the WebView's width yet. As we can't
send VIEW_SIZE_CHANGED message directly, we reset WebView's mLastWidthSent
so that VIEW_SIZE_CHANGED will be sent from WebView when it's width is available.
ebViewCore.java
9befde04c3efe82317bf06cb0d841752a71de62c 18-Aug-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 21648 into eclair

* changes:
Remove the hack to include Gears as it is gone now.
325eabdc8518984e3ab44b2e5f94d4f4ed52d8e0 18-Aug-2009 Grace Kloba <klobag@google.com> Remove the hack to include Gears as it is gone now.
luginManager.java
d7660ccb7b23930e3603fa42aae7b40c204e6c29 18-Aug-2009 Grace Kloba <klobag@google.com> Fix 2058938. As zoom control is uesd in overview mode to switch to reading
mode, we also want to hide it after double tap is done.
ebView.java
86192c614c317b428e10c2dc9052a07304aa6c3f 17-Aug-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 21442 into eclair

* changes:
Fix a cookie bug. If "secure" is in the end of the string, it was ignored.
dbdad99813be49f2a64b876507ae18db42db7bbc 16-Aug-2009 Grace Kloba <klobag@google.com> Fix a cookie bug. If "secure" is in the end of the string, it was ignored.
ookieManager.java
f58ffac202b5a15f4bbfd5512c58f202a992f594 13-Aug-2009 Leon Scroggins <scroggo@google.com> Hide the title bar when zoomed in.
allbackProxy.java
ebChromeClient.java
ebView.java
a8dfe24da014b52d7ae93c3fbd7a8b88ec336572 14-Aug-2009 Steve Block <steveblock@google.com> Adds the ability to configure the mock Geolocation service from DumpRenderTree.
ockGeolocation.java
68e530047786b4f9d219d17652d7429e6e5a21bd 13-Aug-2009 Patrick Scott <phanna@android.com> The local loaders assume the url given to them is decoded.

Decode the url before passing down to the local loaders since they do not decode
the url themselves. This was creating a crash on youtube.com since the data url
was percent-encoded and failing to parse from base64.
rameLoader.java
455e3af1f82629d274447cd5d08d3c8dc1c58967 13-Aug-2009 Grace Kloba <klobag@google.com> Fix #2048199. Enable zoom control in the overview mode. When "+" is pressed,
treat it as double click in the middle of the page.
ebView.java
543221fc4b9dd16db2c687cd59f1eeea8d89c5a5 12-Aug-2009 Cary Clark <cary@android.com> handle false results in file.delete

found by findbugs
http://b/issue?id=1856614
acheManager.java
6679f2f70813eb93bf88297dc2de5e56bc7d7ca0 13-Aug-2009 Leon Scroggins <scroggo@google.com> Pass clicks to webkit's textfield to determine the new selection.

Requires a corresponding change to external/webkit. We were previously
letting WebTextView handle clicks, determine the change in selection,
and pass that down to webkit. This sometimes resulted in a different
placement of the caret if the WebTextView and the webkit-rendered
textfield did not line up exactly. Now, we pass the click directly
to webkit, which determines the new selection and passes that info
back to the WebTextView. This also has the benefit of letting
the WebTextView reflect changes in the selection that originated from
webkit. Also remove some unused parameters.
ebTextView.java
ebView.java
ebViewCore.java
385df699a6d602cab501092821a79cc6ab3a390e 13-Aug-2009 Andrei Popescu <andreip@google.com> remove Gears
rameLoader.java
lugin.java
luginContentLoader.java
luginData.java
luginList.java
rlInterceptHandler.java
rlInterceptRegistry.java
ebView.java
ears/AndroidGpsLocationProvider.java
ears/AndroidRadioDataProvider.java
ears/AndroidWifiDataProvider.java
ears/ApacheHttpRequestAndroid.java
ears/DesktopAndroid.java
ears/NativeDialog.java
ears/PluginSettings.java
ears/UrlInterceptHandlerGears.java
ears/VersionExtractor.java
ears/ZipInflater.java
ears/package.html
f2c9b2c0b4e4e7df17ca0ff03311ea3f23cc2148 12-Aug-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 20706

* changes:
Improve Browser performance by 1-2%. To address domain sanity bug, http://b/issue?id=1022797, we decoded/encoded the url for each request. As the url can be long, getBytes() and String.init are taking 1.5% in nytimes.com and 2.4% in cnn.com. By doing a simple URL encoding test, we can shave 1-2 secs thread time during loading.
97732c41c3cd26b12682a780ecdbb91d0351db37 12-Aug-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 20744

* changes:
Adds Java side of browser GeolocationService.
67e1eb686439afba13be3d6e02786ebb07b359da 31-Jul-2009 Steve Block <steveblock@google.com> Adds Java side of browser GeolocationService.
eolocationService.java
ce6182fa490b6dace55cd3339d6f741014295a27 11-Aug-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 20788

* changes:
make private inner classes static
7ec19876c95584c2114982826b2006557b0728d6 11-Aug-2009 Cary Clark <cary@android.com> make private inner classes static

bug found by findbugs
http://b/issue?id=1856695
allbackProxy.java
ebIconDatabase.java
ebStorage.java
2b7d44ed8454b7c8093f535fef518e5496db629f 11-Aug-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 20781

* changes:
replace 'new String()' with ""
686cf75d5cf447d34961f6217f2ea3ce3e484ac2 11-Aug-2009 Cary Clark <cary@android.com> replace 'new String()' with ""

bug reported by findbugs
http://b/issue?id=1856909
rowserFrame.java
acheManager.java
0867e69176858e258b620a1b3acff2363c95b87d 11-Aug-2009 Cary Clark <cary@android.com> make final constants static

found by findbugs
http://b/issue?id=1857033
ttpAuthHandler.java
slErrorHandler.java
758bf410843724d31f4ab48e8d7dd6b7c1240f23 11-Aug-2009 Grace Kloba <klobag@google.com> Improve Browser performance by 1-2%. To address domain sanity bug,
http://b/issue?id=1022797, we decoded/encoded the url for each request. As
the url can be long, getBytes() and String.init are taking 1.5% in nytimes.com
and 2.4% in cnn.com. By doing a simple URL encoding test, we can shave 1-2
secs thread time during loading.
rameLoader.java
RLUtil.java
f280a1b83038a5060eabc474d7fdfeca1d6b81d4 11-Aug-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 20750

* changes:
remove unused locals
a589419c04f278a5d94811091a1100d284f3f2ec 11-Aug-2009 Cary Clark <cary@android.com> remove unused locals

found by findbugs
http://b/issue?id=1857022
ateSorter.java
etwork.java
slErrorHandler.java
44224695dee47a4e5ccd38e8afae68e346811321 11-Aug-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 20632

* changes:
call super.finalize() from WebView
9a4c063874a99e2135b4ca217015b8358f9e0905 10-Aug-2009 Cary Clark <cary@android.com> call super.finalize() from WebView

found by findbugs
http://b/issue?id=1857144
this fixes ViewDebug which otherwise will report the
incorrect number of views
ebView.java
07cbacc11705f1f05a1150083aad000c53942dea 10-Aug-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 20622

* changes:
Remove unused member mHeaderValueIndex
3db35b48ccbf3c795057e3dca8563ed3708282ee 10-Aug-2009 Cary Clark <cary@android.com> Remove unused member mHeaderValueIndex

found by findBugs
fixes http://b/issue?id=1857163
luginData.java
fa32db15a06d952537af046dddf083757de10b6b 10-Aug-2009 Derek Sollenberger <djsollen@google.com> setting the pixel format for a given surface
ebViewCore.java
89325078db6c1369b6c027c4eb3cb6234f11839a 08-Aug-2009 Alex Gruenstein <alexgru@android.com> unhide postUrl
ebView.java
bf951c5afdae020befac8099a9e13a851d26863c 07-Aug-2009 Grace Kloba <klobag@google.com> As createCacheFile is called from WebCore instead of http thread now, remove
the endCacheTransaction/startTransaction pairs.
rowserFrame.java
acheManager.java
e397a88e4fd65ee7d346f63a43e6608dba943ee9 06-Aug-2009 Grace Kloba <klobag@google.com> Couple of tuning for the Browser zoom.

1. Added a setting to control whether a page is loaded with overview mode;
2. If there is no viewport metag tag, a page will be loaded in the viewport
at least 800px wide.
3. When we adjust zoom scale in the overview mode, don't use animation.
4. When zoom out to close to min zoom scale, switch to overview mode. So double
tap will always have visual feedback unless it is mobile site.
ebSettings.java
ebView.java
ebViewCore.java
1bd20523ef1896ad4e6f7026cc54effdd1565d40 06-Aug-2009 Derek Sollenberger <djsollen@google.com> adding ability to fix the size of a surface view when created.
ebViewCore.java
fd055b2d7cebd6693925a30adad6c66a697af407 05-Aug-2009 Grace Kloba <klobag@google.com> Add the support for the new SystemInterface of android_npapi, expose
getApplicationDataDirectory to the plugin.
WebCoreJavaBridge.java
luginManager.java
2ba1262b420ef5b9abebcd818c46774b8517f244 04-Aug-2009 Patrick Scott <phanna@android.com> Add a callback for the url of an apple-touch-icon.

Hide the apis until this is a well-tested feature. The url is reported rather
than the actual icon since it may never be used. The apple-touch-icon is meant
for shortcuts on the home screen.
rowserFrame.java
allbackProxy.java
ebChromeClient.java
ebHistoryItem.java
ebView.java
c93da2c494c979913b237fc6e94c5e5959f157b9 04-Aug-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 9479

* changes:
Enable workers for v8
af98b21ba7e4bf243a773d878dfad2798772cd16 04-Aug-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 9612

* changes:
Fix #2031300. Set only accept unique objects. So we have to assign different value for each cookie when we add them to the SortedSet.
c27a9acb3b7ec4d1845b623cc167e0b62b1d0585 03-Aug-2009 Andrei Popescu <andreip@google.com> Enable workers for v8
ebSettings.java
8ae277735439940480e1301ff729cee32c2ab72e 04-Aug-2009 Grace Kloba <klobag@google.com> Fix #2031300. Set only accept unique objects. So we have to assign different
value for each cookie when we add them to the SortedSet.
ookieManager.java
706cee45e95d513c9d91fdd3f2ab887f4579f744 04-Aug-2009 Feng Qian <fqian@google.com> Fix the missing break statement.

Somehow the break statement after SET_JS_FLAGS was removed.
ebViewCore.java
f6d1a5528ee626487c78f17501d61e61bbe26b10 03-Aug-2009 Grace Kloba <klobag@google.com> resolved conflicts for merge of b8802b21 to master
8050220374e67e0ffa9d92551f422c02cacadd9d 03-Aug-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 9259

* changes:
Fix the cookie order. If multiple cookies satisfy the criteria, the one with more specfic Path precede thoese with less specific.
f4046ba80369efb2d2b75df05dfdf41a07bc8710 03-Aug-2009 Grace Kloba <klobag@google.com> Fix the cookie order. If multiple cookies satisfy the criteria, the one with
more specfic Path precede thoese with less specific.
ookieManager.java
d3c6d54de9b9a599eb33f343fb1e0639fed02094 31-Jul-2009 Grace Kloba <klobag@google.com> Set touch mode to be TOUCH_DONE_MODE when calling doDoubleTap.
ebView.java
4c94304508ec8f7e49ca4531f4aa28f3f08b3bab 31-Jul-2009 Leon Scroggins <scroggo@google.com> Fix a bug in find.

Make setContentScrollBy return a boolean.
Necessary so that a caller of setContentScrollBy in WebView.cpp
can find out whether the page scrolled. Requires a change in
external/webkit/
ebView.java
77d98f4ed7c036b9df8fc3cb07b67df08d0faeec 31-Jul-2009 Cary Clark <cary@android.com> rebuild the nav cache on mouse clicks during page load

On the first tap down, send a message to rebuild the nav
cache so that double taps have a better chance of having
some alignment information to work with.

Also, pass scale information to getBlockLeftEdge to
restrict the alignment search
ebView.java
ebViewCore.java
010582885cbd5e1becadd6c53816c399465b459d 30-Jul-2009 Leon Scroggins <scroggo@google.com> Allow the user to jump to the next textfield.

Requires a change to external/webkit. Set ImeActions for textfields,
depending on the existence of other textfields on the page, and
react accordingly.
ebTextView.java
ebView.java
4c8db8a4feb2afbd9d5f94ff09c7167ca34076c4 31-Jul-2009 Grace Kloba <klobag@google.com> Fix #2025900. If a https request is canceled while openConnection is called
and a ssl error happened, the http thread can be blocked for up to 10 min.
Added code to detect this case and unlock the thread.
oadListener.java
ef347ef9107a8ca6ab85029528e2c1518440b2c3 30-Jul-2009 Grace Kloba <klobag@google.com> Fix 2016808. We used to send the new scale/scroll info to the UI thread after
WebCore finish the first layout. As the picture in the UI thread is still
the previous one, if there is a UI update happened before we generate the new
picture, the new scale/scroll will be applied to the old picture.

On the other hand, we do want to trigger the resize for the new page after
the first layout. e.g. The page was at nytimes.com. Now user types google.com.
google.com is first layout in the wide viewport where nytimes.com is. We dont
want to show that picture. We would like to show the fit to screen version of
google.com as the first picture.

Remove the SnapToAnchor code which is left over from previous zoom attempt.
ebView.java
ebViewCore.java
ce4105002310a22e104d29d56913cbca9cd485be 30-Jul-2009 Android Git Automerger <android-git-automerger@android.com> resolved conflicts for merge of 4d4229e4 to master
4faee09c422a70439129e9fb40dd82f03d42c98d 28-Jul-2009 Steve Block <steveblock@google.com> Adds the Java side of the system to show the Geolocation permissions prompt.
allbackProxy.java
eolocationPermissions.java
ebChromeClient.java
ebViewCore.java
0ac031b3d29c6de90895c875991585812dc7388f 28-Jul-2009 Steve Block <steveblock@google.com> Adds the Java GeolocationPermissions class.

This is used by the Browser 'Website Settings' menu to get information about Geolocation permissions.
eolocationPermissions.java
ebViewCore.java
59e2ad93bf37c7ded44c033d38fe7c972e2f4118 28-Jul-2009 Andrei Popescu <andreip@google.com> Wire in the AppCache out-of-space callback
allbackProxy.java
ebChromeClient.java
ebStorage.java
ebViewCore.java
8b97e4b0fe4a89a76b47a8df422d0d3ea5b70754 28-Jul-2009 Grace Kloba <klobag@google.com> Re-add double tap to the Browser. It only works if WebView uses wide viewport.
It is also controlled by ENABLE_DOUBLETAP_ZOOM flag. Currently the default
is on.

Double tap will toggle between current zoom level and all the way zoom out,
in another word, zoom overview mode.

While in zoom overview mode, don't display zoom control while panning. You
can click to follow the link. If clicking on a text input box, it should
bring it back to the normal mode so that it will be easy to edit text.

While in zoom overview mode, the page is zoomed to fit the width in the
view. While the text paragraph are wrapped to the matching normal mode scale.
So there is no reflow when we switching between two modes.
ebView.java
ebViewCore.java
fd3db87e28e5b9ed186a15944234f6ff520773c6 28-Jul-2009 Chung-yih Wang <cywang@google.com> Support x509-user-cert mime type in browser.

+ Fix the public key matching and intent parameter mismatch.
oadListener.java
imeTypeMap.java
8268170d3fab7c9f2fbd5eab6e79d47ade22a4d8 27-Jul-2009 Grace Kloba <klobag@google.com> DO NOT MERGE.

Per product team request, remove 1x zoom button. Move the zoom overview to
the bottom left and zoom control to the bottom right.
ebView.java
2470a7b4a82f9d1afc3c6b278aa313334f6412ab 25-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am 3b99e64e: Merge change 8475 into donut

Merge commit '3b99e64e5899030b5d6f8201cb56cd149c80b24d'

* commit '3b99e64e5899030b5d6f8201cb56cd149c80b24d':
Per conversation, remove the toast while saving the Certificates to CertTools.
c9d4c8790a6472743c7fa22e2abc72ac9994fe18 24-Jul-2009 Grace Kloba <klobag@google.com> Per conversation, remove the toast while saving the Certificates to CertTools.

Remove the unused strings.
oadListener.java
ee756b3d024b36f9b004598f3b892ed8d4887a0e 24-Jul-2009 Dan Egnor <egnor@google.com> Make HttpDateTime public (but hidden), so the rest of us can use it
instead of SimpleDateTime (which is super slow).
ttpDateTime.java
72543e1bc386f23f5d8f3f21068887ec16408fef 23-Jul-2009 Leon Scroggins <scroggo@google.com> Improvements to dragging on the WebTextView.

When TextView handles a mouse move as a scroll, scroll the
underlying textfield/textarea. Also do not hide the cursor
while scrolling within a text input. Requires a change to
external/webkit.
ebTextView.java
ebView.java
ebViewCore.java
f88c0a0625b136ba26d2e68c692261925a2c9584 23-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 8199

* changes:
Prevent a drag from both scrolling the page and changing the selection.
8dc0c9b4ad2f5c8ddea72dd2e30acf7db793f8a6 23-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 8189

* changes:
Enforce app cache maximum size
675c7d2eb8198c7b68c02da731bc2c5b71d5eb5b 23-Jul-2009 Grace Kloba <klobag@google.com> Fix 1997929. The final mScrollX/Y has been pinned to the legal bounds.
So we can't use it to calculate the intermediate scroll position. Use
the original scroll offset and scale to find the animated scroll position.
ebView.java
eda75723659c537d3e57abe8a123be1235243e4f 22-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 8211

* changes:
cleanup the WebStorage Java class. There were too many calls to syncValues().
9a56bb838c099a318d4f961f290d324ed5f1949d 22-Jul-2009 Andrei Popescu <andreip@google.com> cleanup the WebStorage Java class. There were too many calls to syncValues().
ebStorage.java
416a3c7cdd584e327d9f52ad3adf7c6ee2aeca3a 22-Jul-2009 Leon Scroggins <scroggo@google.com> Prevent a drag from both scrolling the page and changing the selection.

Fix for http://issue?id=1995835. If the user uses touch to drag a
web page by the WebTextView, do not change the selection as well.
ebTextView.java
1c829208eadf175ad4600e70a14013b50a20adfe 22-Jul-2009 Andrei Popescu <andreip@google.com> Enforce app cache maximum size
ebSettings.java
0f5ad842fb3fbc0df2a4c8028940810782cedacc 17-Jul-2009 Leon Scroggins <scroggo@google.com> Allow the user to scroll a webpage by touching a textfield.

Fix for http://b/issue?id=1703971. Because the browser overlays
the WebTextView over textfields, it intercepts all the touch
events, which was preventing the page from scrolling. This
change passes the move events back to the WebView to make
the page scroll.
ebTextView.java
ebView.java
c309e1509ec1e040e98de1f6bff1769f3d383a8e 22-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 8025

* changes:
wire appcache to the HTML5 UI
9f61732e9b5c146d95a0b157da806d58948f81a5 21-Jul-2009 Patrick Scott <phanna@android.com> Add text extensions to the extension mime type map.

The Browser used to have a concern around mapping text extensions to various
text/* mime types. If a text extension mapped to an unknown text/* mime type,
the Browser would attempt to download a url instead of just displaying the
content.

There is another change in external/webkit that uses 2 static functions in
DOMImplementation that determine if a mime type is text or xml. The text
function in particular checks for a leading "text/" string in the mime type.
With that change, pruning text mime types is no longer needed.

Bug: 1988375
imeTypeMap.java
af9c77edbddfcf87a4dc17b95db84bf741674a9a 21-Jul-2009 Andrei Popescu <andreip@google.com> wire appcache to the HTML5 UI
ebStorage.java
c319c69b1228f5eee2f9d71a71ad021f3d8ba82b 20-Jul-2009 Patrick Scott <phanna@android.com> Allow 205 and 305 to have content.

205 is interpreted by Safari to be like 200 and show the given content. Change
canHaveResponseBody to allow 205 to have a body.

305 is a very rare server response indicating to the client to use the given
Location header as a proxy and reissue the original request. Curl doesn't do
anything with this header and neither does internal networking code. For now,
we will just allow the response body to propagate to webcore.
oadListener.java
3f523594854a382d6dc5146fc04e8a9ee8a4aeee 20-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 7910

* changes:
Do not hide the soft keyboard when the DOM has moved focus.
10be4fc63a0d43262f1cfeac3b4a7904fa8fbc14 20-Jul-2009 Leon Scroggins <scroggo@google.com> Do not hide the soft keyboard when the DOM has moved focus.

Instead of calling remove(), which would hide the soft
keyboard, remove the WebTextView manually, so the soft
keyboard remains up (if it was up to begin with). WebView
will properly handle the keys now that the focus has
changed.
ebTextView.java
0e9dd3b008536fe8a116eb6821ff84d34dba9f71 20-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 7827

* changes:
Fix 1986313. WebKit assumes things happened in a certain order. In this case, we can't call LoadListener's nativeError until BrowserFrame's startLoadingResource returns. Otherwise, the failed request will not be removed from the DocLoader's request list. So the page will never finish loading.
cd54538fa6141b688d24829d64c963ed10db0163 20-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 7884

* changes:
Clear the WebTextView in didFirstLayout.
10c7a4da566e9faed84745b75e74b9d1cb410e3f 20-Jul-2009 Leon Scroggins <scroggo@google.com> Clear the WebTextView in didFirstLayout.

When reaching a new page, remove the WebTextView. This
fixes a bug where the user logs into a site, and the
WebTextView remains on screen.
ebView.java
fb6aecb70392516427908c3148c0350840f6bc04 17-Jul-2009 Patrick Scott <phanna@android.com> Added hooks from jni to create and manage SurfaceViews for plugins.

A subclass of SurfaceView is created in order to appear like a normal
SurfaceView to jni but can be managed in Java easily. This class implements the
SurfaceHolder.Callback interface in order to notify the native PluginSurface
when the surface changes.
ebViewCore.java
fadbbd2a0cc94e5da4dea1ec3dac337e274c77c9 18-Jul-2009 Grace Kloba <klobag@google.com> Fix 1986313. WebKit assumes things happened in a certain order. In this case, we can't call LoadListener's nativeError until BrowserFrame's startLoadingResource returns. Otherwise, the failed request will not be removed from the DocLoader's request list. So the page will never finish loading.
rowserFrame.java
0857767516a73cc87e10c8ababa5262114fb0578 16-Jul-2009 Leon Scroggins <scroggo@google.com> Show the password in browser password fields.

Fix for http://b/issue?id=1979719 : cannot see password in browser
textfield. Show the system's password transformation in a password
field, which can be set to show the text partially or completely,
rather than webkit's version, which never shows the text.
ebTextView.java
4c3ca701fe29ed33bf5e984885ba7265a0a4dc65 15-Jul-2009 Patrick Scott <phanna@android.com> Check for a null url before trying to load it.

There are some bad things that happen if WebCore gets a blank url.
ebView.java
d7f2036aaa9f934893703d4314d355aef3ffadcb 15-Jul-2009 Grace Kloba <klobag@google.com> resolved conflicts for merge of 21d769da to master
fe4fec7c66b0d956f008ead0fd899b588cfacb5d 14-Jul-2009 Patrick Scott <phanna@android.com> Remove all our old high priority knowledge since WebCore will manage it.

Also removed an unused variable in RequestQueue.java.
rowserFrame.java
rameLoader.java
oadListener.java
etwork.java
21d769da89ac619ee1b8277a3b97b1b3eab3b218 15-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 6926 into donut

* changes:
Fix #1976384. Add p12 to the MimeTypeMap. When downloading p12 in the WebView, send it to the certTool.
f8ddc988dc2d9be2f75e0b0d9aa234dad7c8258d 15-Jul-2009 Grace Kloba <klobag@google.com> Fix #1976384. Add p12 to the MimeTypeMap. When downloading p12 in the WebView, send it to the certTool.
oadListener.java
imeTypeMap.java
RLUtil.java
190adf7fb20373b2dcbebfa949e47ad399b2524f 14-Jul-2009 Andrei Popescu <andreip@google.com> Remove the Google domains from the Gears permission table when the global location setting is set to false
earsPermissionsManager.java
15d21453b0446cd8ce9551fe3f6b197f14b6addc 10-Jul-2009 Andrei Popescu <andreip@google.com> Do not merge

Install an observer for the Location system setting and
move the Gears permission check to a slightly earlier time.
Move the logic into a separate manager class.

Also delete some whitespace and fix some style issues.
earsPermissionsManager.java
ebSettings.java
972acd0c339db4b6a72c307ae0a0b2b5405376db 10-Jul-2009 Andrei Popescu <andreip@google.com> Undo the changes accidentally merged from Donut
ebSettings.java
ec696c0115bbc915417bd76af6432bc603b680d2 09-Jul-2009 Grace Kloba <klobag@google.com> Fix the build. Remove mPluginsPath as it is not used in the master any more.
ebSettings.java
a5f451f3aec0946360b8bf116c0b83955f2e6d79 09-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am 3bb69233: Merge change 6620 into donut

Merge commit '3bb692338fed7f34f010398fe8b831d0de22c6e8'

* commit '3bb692338fed7f34f010398fe8b831d0de22c6e8':
Keep Gears permissions in sync with system location settings.
215a23654ad6dfcc231793e5fab21e9f71ca374d 08-Jul-2009 Andrei Popescu <andreip@google.com> Keep Gears permissions in sync with system location settings.
ebSettings.java
e541ba9e8d79c5965bf6226a50dffcba25551fee 09-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 6356

* changes:
Add fullscreen support back in.
3c946a1a9637e85e4256f40b68f3b9d4b9f40c27 03-Jul-2009 Andrei Popescu <andreip@google.com> Add fullscreen support back in.
TML5VideoViewProxy.java
iewManager.java
ebChromeClient.java
43488fc78c927c25936e7b90030c5f10d2db94e5 06-Jul-2009 Leon Scroggins <scroggo@google.com> Update text webcore thread's text generation number.

When the user edits text in a textfield, we increase a generation
number so we can mark changes from webkit to be out of date. With
this change, update webcore's notion of the text generation number
in deleteSelection and replaceTextfieldText, in addition to
passToJs. Requires a change in external/webkit.
ebView.java
ebViewCore.java
005ae544f93494eb7d315b2e34aae0ac3c922728 06-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am 79ec07b3: Merge change 6241 into donut

Merge commit '79ec07b333f8982ee83de8eeb0b1927a6cb112ed'

* commit '79ec07b333f8982ee83de8eeb0b1927a6cb112ed':
Fixes #1444844. Set a maximum fling velocity in scrollable views.
4296fc4d326447875c26a925f12b3935632f13bb 06-Jul-2009 Romain Guy <romainguy@android.com> Fixes #1444844. Set a maximum fling velocity in scrollable views.
ebView.java
f6a6cff234e164874233de3618ab98b4fb00efb7 06-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am 4492bcb8: Merge change 6081 into donut

Merge commit '4492bcb851f4ee862a446664eb9045045ebb7b5e'

* commit '4492bcb851f4ee862a446664eb9045045ebb7b5e':
Migrate to the CertTool library.
0a5ce01eda210f83619ada0603a80fd883512fe9 02-Jul-2009 Patrick Scott <phanna@android.com> Basic changes to get embedded video working.

Add the ViewManager class to handle child views within a WebView. This class
attaches and removes the views in the UI thread. It also scales the layout
params based on the scale of the WebView.
TML5VideoViewProxy.java
iewManager.java
ebView.java
ae596082b5e2c6f7e0ad6535bea08d3f22b7c97f 06-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 6159

* changes:
Add the code to detect how long the WebViewCore thread is idle in the real time.
4890feb048e4f0510c577babe3bfd08521a3996b 02-Jul-2009 Leon Scroggins <scroggo@google.com> In WebTextView, check the focus before sending a key.

This fixes a bug where the DOM has moved the focus, but the WebTextView
is still sending keys to the old focus. Requires a change in
external/webkit.
ebTextView.java
ebView.java
bf20b9963add781a35de658f3228760015a163c9 02-Jul-2009 Chung-yih Wang <cywang@google.com> Migrate to the CertTool library.

Keystore is reimplemented and it is mainly for storing
(key, value) pair generically. The certificate related
APIs are moved to the class CertTool instead.

Updates:
Provide the getInstance() which gives the singleton.
Fix the missing construction of the BIO in cert.c.
WebCoreJavaBridge.java
oadListener.java
f099481c26a412b8193847b4c1a145c9f2d59aba 03-Jul-2009 Grace Kloba <klobag@google.com> Add the code to detect how long the WebViewCore thread is idle in the real time.
allbackProxy.java
945f3b43a05cefc7138f1aeab252b43b2d6cea96 02-Jul-2009 Derek Sollenberger <djsollen@google.com> recognize when plugin is eligable for user events and then notify the plugin.
ebView.java
ebViewCore.java
e10809d02cd16bb31e1e9b094c612094af08757c 01-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am 7a573862: Merge change 5720 into donut

Merge commit '7a5738624fa78e328b5f36c687c20b9cf0eb5a60'

* commit '7a5738624fa78e328b5f36c687c20b9cf0eb5a60':
Fix #1876303. Even rfc2616 4.2 says that "Field names are case-insensitive.", servers including Google internal uses case-sensitive checking for "Cookie". So change it.
409812691def88027dc16ac930646eb260536c69 01-Jul-2009 Leon Scroggins <scroggo@google.com> Fixes for moving a focused textfield on screen when entering a character.

When the focused node is a textfield, but the WebView has focus
(for example if the page had an initial focus) and the cursor
is not over a plugin or textfield, rebuild the WebTextView
to handle the keys. Also, remove mScrollToAccommodateCursor,
since now the WebTextView is only showing when we want to
scroll.
ebTextView.java
ebView.java
3ccd3655a09633794f4d815ff85f35fa986a10d4 26-Jun-2009 Leon Scroggins <scroggo@google.com> Fix a WebView longpress bug.

Longpressing on a WebView while the WebTextView is up calls
WebTextView::performLongPress(). This used to be fine, but now
we may still leave the WebTextView up while the user is longpressing
on something else. Check to ensure that the focus is the same
as the cursor before calling WebTextView's version. Also,
send a click if the user longpresses on a different WebTextView,
so it will now behave appropriately. Requires a change in
external/webkit.

Also remove a duplicate check for inEditingMode().
ebView.java
8cdad889154b87bb796de3dc3f57952b6858e884 30-Jun-2009 Leon Scroggins <scroggo@google.com> Make the caret/selection draw when gaining window focus.

When the WebView loses WindowFocus, we stop drawing the
selection. We need to resume drawing it, especially for
the context menu, which steals WindowFocus. Corresponds
to a change in Webkit.
ebView.java
ebViewCore.java
65c0fc4fc445374c7f6e2106e6ed3d6191e45cae 30-Jun-2009 Grace Kloba <klobag@google.com> Fix #1876303. Even rfc2616 4.2 says that "Field names are case-insensitive.", servers including Google internal uses case-sensitive checking for "Cookie". So change it.
rameLoader.java
b308137ed0a3402781a1102567a8b8ffa8adc0f7 30-Jun-2009 Feng Qian <fqian@google.com> Add JS Flag support.
ebView.java
ebViewCore.java
0b956e1353a691674cb22c899c5a444b92532b60 29-Jun-2009 Grace Kloba <klobag@google.com> Add content-disposition into the cache header as it is needed by Flash.

As WebKit is using string version of "expires", pass it with the rest of the headers.
acheLoader.java
acheManager.java
oadListener.java
ebViewDatabase.java
4c41e8dc3bdfd868da2542e19400fb8ea2ca03a9 29-Jun-2009 Derek Sollenberger <djsollen@google.com> Adding support for webkit to request the keyboard.
ebView.java
ebViewCore.java
0ca70883d752cce77b918421ef81f3134f6ccd1e 26-Jun-2009 Leon Scroggins <scroggo@google.com> Assign a field name for textfields in the browser.

Fix for http://b/issue?id=1605291. Store the url and name of the
textfield in EditorInfo.fieldName.
ebTextView.java
ebView.java
0658e8fe4592a26de34170b62a19463fd2add47b 26-Jun-2009 Leon Scroggins <scroggo@google.com> If the cursor moves from a focused textfield to another, remove the WebTextView.

We already remove the blinking caret, implying that if the user
types with the cursor on another textfield, the keys will go there.
This way, the WebView will see the key, and rebuild the WebTextView,
so we no longer use the data from the first textfield. This fixes
a bug where moving from a focused textfield and pressing delete
with the cursor on another was deleting a character from the
first (initially focused) textfield. Also, in WebView::onKeyDown,
only check if the native cursor is a textfield before deciding
whether to send a CLICK, since plugins will be handled differently
(this is part of a different change), and now the cursor may match
the focus, but we still want the click (to make the focusController
active - i.e. make the cursor blink).
ebView.java
243ea06d2bf67e8b54da51977687b08f49aeb093 25-Jun-2009 Cary Clark <cary@android.com> Remove the web text view if the key cannot be handled

Also add some debugging to WebTextView
Requires companion change in external/webkit
ebugFlags.java
ebTextView.java
ebView.java
ebViewCore.java
215b72cbf7e8c8241dd8bbc12b8ad94825cd015e 26-Jun-2009 Cary Clark <cary@android.com> route arrow keys to plugin

see companion change in external/webkit
ebView.java
ebViewCore.java
ef6da8fe3d5bc153eb934d440d0b3bfabd0e3279 26-Jun-2009 Leon Scroggins <scroggo@google.com> Make clicking the trackball on a <select> element work.

Optionally pass a frame and node pointer to nativeClick, since
the hit testing does not find the HTMLSelectElement node. Also
change the signature of nativeClick to return void, since
we never use the return value. Requires a change in
external/webkit.
ebView.java
ebViewCore.java
53d3c1e4513135c5d8f70da4938c7d25455263f5 26-Jun-2009 Grace Kloba <klobag@google.com> Fine tune TOUCH_SENT_INTERVAL for the high speed devices.
ebView.java
ef7b5d6da57b434a739c8e8261dab9380a57e2f9 26-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 5503

* changes:
Update WebKit user agent.
6fa2958059a08390ed2b87b8572f8847ad9999e4 19-Jun-2009 Andrei Popescu <andreip@google.com> Implement support for showing a VideoView.
allbackProxy.java
TML5VideoViewProxy.java
ebChromeClient.java
ebView.java
b4f33445b8106f550ade837362c678cf9de2ecd2 26-Jun-2009 Grace Kloba <klobag@google.com> Update WebKit user agent.
ebSettings.java
d76cd5ebbc8733f781f912ac73be78ea2310fca6 25-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 15760159: Merge change 5413 into donut

Merge commit '157601594fc7139a45ec43a860d36ee0045d0333'

* commit '157601594fc7139a45ec43a860d36ee0045d0333':
Need to write the correct float math.
157601594fc7139a45ec43a860d36ee0045d0333 25-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 5413 into donut

* changes:
Need to write the correct float math.
2b2e9d91521a9f271d8661d4254c4e154e3c0223 25-Jun-2009 Grace Kloba <klobag@google.com> Need to write the correct float math.
ebViewCore.java
959046c3aa38a99acc3f582232710ebc543d938a 25-Jun-2009 Grace Kloba <klobag@google.com> resolved conflicts for merge of 7cb8182e to master
6c451b766d0d24994f2c5ce1750e5351f9f4ba83 25-Jun-2009 Grace Kloba <klobag@google.com> When mPreventDrag is true, don't respond to long press. This should prevent the context menu popping up in the Map sites.
ebView.java
7e89f8eb86ad9b2a5c1e0bc1027174bd9ea05d10 25-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 5383

* changes:
Oops, need to hide the new api.
9994127562ad71168ac0c3a1a5e0d6787f67e7bf 25-Jun-2009 Grace Kloba <klobag@google.com> Oops, need to hide the new api.
acheManager.java
d1ebf538a9f475ef9ac34480ef7ce742454bc899 25-Jun-2009 Grace Kloba <klobag@google.com> resolved conflicts for merge of 0d8b77c2 to master
0d8b77c2453d0e597f94e39212e4bfeed8affffa 25-Jun-2009 Grace Kloba <klobag@google.com> Add ZoomDensity so that we can change the desired default scale.

Fix a bug where we didn't adjust the viewport scale according to our density.
ebSettings.java
ebView.java
ebViewCore.java
e64c5567de20d06ac7ed1f5a01f018991cd40a52 20-Jun-2009 Grace Kloba <klobag@google.com> Fix for the new webkit. Now "expires" takes the string instead of int.

We have to upadte our cache database. Good thing is Gears can avoid the expensive date conversion.
acheManager.java
oadListener.java
ebViewDatabase.java
ears/ApacheHttpRequestAndroid.java
526abb93fb8ce7cc671bed7964ddb1647cf8d2ee 23-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am e8a1f6af: Merge change 4961 into donut

Merge commit 'e8a1f6af96d09d8105621932073d6f79e24a5dc9'

* commit 'e8a1f6af96d09d8105621932073d6f79e24a5dc9':
Set organizations to be null for generateKeyPair to use the default.
9427c285df34a656a095645579d953565c67fea3 22-Jun-2009 Grace Kloba <klobag@google.com> Set organizations to be null for generateKeyPair to use the default.
WebCoreJavaBridge.java
3524be90f60e1ba23818b99221e9e4a5f1d65105 22-Jun-2009 Cary Clark <cary@android.com> In WebView, fix calcVisibleRect bugs

Always use mFindIsUp to adjust computed rect bottom.

Compute the visible rect, but don't send it, when
creating the webTextView.
ebView.java
b0774438ea90ce379ac3f20895f95302248a3844 20-Jun-2009 Grace Kloba <klobag@google.com> am 3af8e938: Change addCertificate to take byte[] instead of String as we don\'t know the encoding.

Merge commit '3af8e9389e008c0076b86cc6b3c6f005e7473d10'

* commit '3af8e9389e008c0076b86cc6b3c6f005e7473d10':
Change addCertificate to take byte[] instead of String as we don't know the encoding.
3af8e9389e008c0076b86cc6b3c6f005e7473d10 20-Jun-2009 Grace Kloba <klobag@google.com> Change addCertificate to take byte[] instead of String as we don't know the encoding.

In WebView, if we run into the certificate, we will save it to the Keystore instead of sending it to the WebKit.
yteArrayBuilder.java
oadListener.java
f418214af37c4e8d7c8f318a282c96e0a364a3d1 19-Jun-2009 The Android Open Source Project <initial-contribution@android.com> merge 9ebd737e w/conflicts
257379162050df40545c464b165c5ed6a158a29c 19-Jun-2009 Grace Kloba <klobag@google.com> dpi changes for webview
ebView.java
ebViewCore.java
cc9baea938803dbed4728c6c008c17cefa87336d 19-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 4621

* changes:
Update WebStorage methods used by DumpRenderTree to complete synchronously if they are called on the webcore thread.
ba165caf441f25e180922f83ce02f91d6e0012f2 19-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am e0b7e916: Merge change 4679 into donut

Merge commit 'e0b7e916a1259d2dd9c116695607f9877ec56056'

* commit 'e0b7e916a1259d2dd9c116695607f9877ec56056':
Replace the dummy code with Keystore for <keygen> support.
0de8e4398d81a770f8bf648e8137272c3d841296 19-Jun-2009 Grace Kloba <klobag@google.com> Replace the dummy code with Keystore for <keygen> support.
WebCoreJavaBridge.java
1155e18ccc1c5dd486aa6e6648f91cbbf1521b92 18-Jun-2009 Feng Qian <fqian@google.com> Merge commit 'goog/master' into webkit_merge
5647bb3cc21428dd5242255323dff13c71a3343d 18-Jun-2009 Ben Murdoch <benm@mojito.lon.corp.google.com> Update WebStorage methods used by DumpRenderTree to complete synchronously if they are called on the webcore thread.
ebStorage.java
ed56eda373b78f47baecf261a3c1e5ac34a2b849 18-Jun-2009 Cary Clark <cary@android.com> clean up mouse move events in webview

Pass moveGeneration to setScrollOffset so it can
generate mouseMove event
Remove node from event messages (no longer used)
Remove CursorData ignoreNullFocus parameter (no longer used)
Fix debug message range
ebView.java
ebViewCore.java
3e399de960869166ea78ed57ea8935bbb7736234 17-Jun-2009 Cary Clark <cary@android.com> add WebView.FindAddress option to ignore case sensitivity

New public interface is set @hide for now. Old interface
uses the new one.

Requires a companion change to external/webkit
http://b/issue?id=1649036
ebView.java
ebViewCore.java
16be88a912e7d39b6dc1375b6346254b3f7629ff 17-Jun-2009 Feng Qian <fqian@google.com> Chagne setCookie API according to new WebCore merge.

Removed the second parameter, policyURL.
WebCoreJavaBridge.java
1bd0d6a53f27b38c10db265f8d85c89eaea527f1 16-Jun-2009 Leon Scroggins <scroggo@google.com> Allow proper text editing after clicking with the trackball.

As with the recent change to make a touch bring up the WebTextView,
so that the trackball can be used, and we get text editing goodness,
we also need to bring up the WebTextView when clicking the trackball.
Also do not call overrideUrlLoading for an input field and add a
comment.
ebView.java
1cc2420d0dfaef8ec0d510b6aa85ecbadf0f62f7 16-Jun-2009 Leon Scroggins <scroggo@google.com> Bring up the WebTextView when pressing a key on textfield.

The old code put the textfield in focus, and resulted in editing
the text semi-appropriately, but now we actually bring up the
WebTextView so that we properly handle the arrow keys, as well
as any substitution that is necessary. This fixes
http://b/issue?id=1918883
ebView.java
fa03cded353bb42c32662f77e36e90c42e7da9d2 15-Jun-2009 Leon Scroggins <scroggo@google.com> Changes to make the cursor blink at the correct times.

Make the blinking caret active when the user actually starts editing
text. To be consistent with that idea, do not rebuild the WebTextView
when the WebView regains focus. Now sendMouseMoveIfLatest takes a
boolean parameter to determine whether to make the focusController
inactive. Requires a matching change in webkit to pass a parameter
to the method. Now that we only call setFocusControllerActive with
false, change the method to no longer take a boolean parameter.
Change names to reflect that.

This change also reflects a behavioral change. If the WebView or
its window lose focus, we do not restore the blinking caret when
focus returns.
ebView.java
ebViewCore.java
e3a6cf3eaab04dede374a3d64cb8db2d20e3820e 15-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 3adf7678: Merge change 4184 into donut

Merge commit '3adf7678cdf8fa955627e096bb5c27b94adc3079'

* commit '3adf7678cdf8fa955627e096bb5c27b94adc3079':
Add permission test structure for private framework permissions.
Add <keygen> support for VPN.
9fac42f8bf4be521be2b68e252a88fcd8076e337 15-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 4168

* changes:
replace webview hashmap with static class
e6881c6300193422af6b33edf4380ac933315504 15-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 4075 into donut

* changes:
Add <keygen> support for VPN.
ded054c9d3efbf49ae491b95470fc1c3069b6a63 15-Jun-2009 Cary Clark <cary@android.com> replace webview hashmap with static class

Hashmaps used to pass parameters between WebView.java and
WebViewCore.java are fragile and sometimes require boxing.
Replace them with static classes that are typesafe and use
less code.
ebView.java
ebViewCore.java
1810fda06f31a4a709d02636df7a879df8c248c1 15-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 2930

* changes:
Add support for toggling DOM Storage support on and off.
274680d9b8fce08f31c23dda796ecec937c942de 28-May-2009 Ben Murdoch <benm@google.com> Add support for toggling DOM Storage support on and off.
ebSettings.java
f958fccf47098700ae04164cf0ff47e5f5200109 12-Jun-2009 Cary Clark <cary@android.com> send click in webview before sending key

Add click check to passToJavaScript if webTextView
receives a key but the field does not yet have webkit focus.
ebView.java
7180efed8990b843321500208e3fe5fbe977bd87 12-Jun-2009 Grace Kloba <klobag@google.com> Add <keygen> support for VPN.
WebCoreJavaBridge.java
aa3f96a745c8285f07d32cf150d8a511ed5f6b05 11-Jun-2009 Leon Scroggins <scroggo@google.com> Move the zoom buttons to the bottom right for the browser.

Per Leland's latest design, the zoom buttons should be on
the bottom right of the screen. Move them there.
ebView.java
e872f3ac96eda6bba79af4d8f29b24325d434869 11-Jun-2009 Cary Clark <cary@android.com> more (browser) trackball-is-a-mouse work in progress

Distinguish between clearing the cursor (causing the next
trackball navigation to start at the page edge) and hiding
the cursor (preventing it from drawing, but leaving it at
the same position).
ebView.java
e0155e955254f4ee4464d4c12545267727fcd89a 10-Jun-2009 Derek Sollenberger <djsollen@google.com> Accept freeMemory messages and pass them to the native code
ebView.java
ebViewCore.java
41d2676dd634f6d0152181a622e8a6c90b062a3a 10-Jun-2009 Grace Kloba <klobag@google.com> DO NOT MERGE.

Merge 2391 from master to donut.

Added postUrl() to WebView so that we can pass lat/lon for the search.
rowserFrame.java
ebView.java
ebViewCore.java
a5645b2e7f521a6f380ba5c585f7fb7e7ba86230 09-Jun-2009 Leon Scroggins <scroggo@google.com> Preparation of WebView for changes in the title bar.

Remove the zoom overview and 1x buttons from the ZoomButtonsController,
since the functionality will now be placed elsewhere. Make zoomScrollOut
and canZoomScrollOut public (albeit hidden), so they can be called by the
Browser. Also rename ExtendedZoomControls' mZoomControls to
mPlusMinusZoomControls so they are not confused with WebView's mZoomControls.
ebView.java
fd06bc8d6e83fc5b92192dedbc46eb70fb86198f 08-Jun-2009 Leon Scroggins <scroggo@google.com> Remove obsolete notion of invalid node.

In the old navigation model, we set focus to a node, and checked to see
if that node was still valid (could have changed since we built the
navigation cache). Then we sent a message back to the UI thread to
tell it to draw the ring differently. In the new model, we are essentially
moving a mouse, so we do not concern ourselves with whether the node is
valid. Removed all the code for passing the message to the UI thread
and calling into native. Needs a change to external/webkit to work
properly.
ebView.java
ebViewCore.java
19436561c60b5a66e7326ac4523841cd7a74351e 04-Jun-2009 Cary Clark <cary@android.com> send click in browser when key is sent to unfocused text field

Also, set focusControllerActive state based on presence of
focus and cursor that wants key events.

Disable focusControllerActive when moved cursor wants key
events.

Remove unused recompute-focus code.
ebView.java
ebViewCore.java
1c7f8c56c858bef24533da344788c688ef6ed404 05-Jun-2009 Leon Scroggins <scroggo@google.com> Update the language from "focus".

Previously, many methods, variables, etc referred to the focus.
Now, they have been changed to refer to the cursor when
appropriate. Some references were changed to the focusCandidate,
since they may apply to either the focus or the cursor, which
is a candidate for focus. Also removed unneeded method
unblockFocus. WebView will not work without a corresponding
change in external/webkit.
ebView.java
ebViewCore.java
6262ae5c9df44c0673cebaeaf7f655094f5b5485 17-Apr-2009 Ben Murdoch <benm@google.com> Implement handling of console messages from WebCore. Default implementation in WebChromeClient is to do nothing.
allbackProxy.java
ebChromeClient.java
ebViewCore.java
49f372210b09c461f7c32dddd9170f9e8dad076f 05-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 12bba912: Merge change 3238 into donut

Merge commit '12bba912238f305d385b30c278a4bdbb027b7a03'

* commit '12bba912238f305d385b30c278a4bdbb027b7a03':
Browser edit fields should report variation WEB_EDIT_TEXT.
88db3448cf334e5e216015e756f27aa1219c5408 05-Jun-2009 Amith Yamasani <yamasani@google.com> Browser edit fields should report variation WEB_EDIT_TEXT.

This will enable the IME to enable/disable prediction features
for browser fields where the exact type is not very well defined.
Part of the fix for #1743620
extDialog.java
e3225673f7dafb703ff542f446a774ace827e57e 03-Jun-2009 Leon Scroggins <scroggo@google.com> Remove handling of ENTER key from WebView.

WebView was (incorrectly) handling the ENTER key as if it could start
a long press like CENTER key does. Separate the two behaviors. Now,
the ENTER key does not do anything unless it is part of a textfield or
the DOM otherwise handles it.

As a result, I was able to remove some orphaned code. Before this
change, pressing ENTER would play a click noise, and animate the
focus ring as if its link were being followed, but do nothing. In
WebViewCore, do not pass the ENTER key back to the Activity.
ebView.java
ebViewCore.java
82aa2f5eecddf723af2e4e134de15bbf5c6b32f4 03-Jun-2009 Leon Scroggins <scroggo@google.com> Remove obsolete flags from WebViewCore and WebView

Remove NO_FOCUS_CHANGE_BLOCK and BLOCK_FOCUS_CHANGE_UNTIL_KEY_UP, which were
part of SET_FINAL_FOCUS (which is no longer used) from WebViewCore. In WebView,
do not pass BLOCK_FOCUS_CHANGE_UNTIL_KEY_UP with SET_MOVE_MOUSE, since the
receiver does not care about it.
ebView.java
ebViewCore.java
2f1d60cd55933f444842991d3bf05a8552cdd30d 03-Jun-2009 Cary Clark <cary@android.com> remove unused text parameters from WebView

The additional parameters are no longer used.
ebView.java
ebViewCore.java
2e5c150e746647a1ce5c10e1708debbf06c45ea7 03-Jun-2009 Derek Sollenberger <djsollen@google.com> Centralized debug flags and enabled more granular control of debug settings.
rowserFrame.java
acheManager.java
allbackProxy.java
ookieManager.java
ookieSyncManager.java
ebugFlags.java
rameLoader.java
WebCoreJavaBridge.java
oadListener.java
etwork.java
slErrorHandler.java
treamLoader.java
RLUtil.java
ebBackForwardList.java
ebSettings.java
ebSyncManager.java
ebView.java
ebViewCore.java
d3465f6021c23ab2fbdbb1b08cde72caac1c2018 02-Jun-2009 Leon Scroggins <scroggo@google.com> Rename the TextDialog to WebTextView.

Rename the TextDialog to be a more accurate description of what it is.
Also rename some methods and variables which pertain to it, and preload
the newly created class.
extDialog.java
ebTextView.java
ebView.java
d6982c9bb46511a5d86458b2dddde0a40e2f4f75 29-May-2009 Cary Clark <cary@android.com> in the browser, make the trackball more like a mouse

Older code treated the trackball as a four way dpad with
equivalents to moving up, down, left and right by generating
arrow key events. This change makes the trackball solely
generate mousemove events.

The old arrow keys in turn were mapped to be as close as
possible to tab-key events that moved the focus. The new
model leaves focus-changes to the DOM.

Clicking the dpad is distinguished from pressing the enter
key to be more compatible with desktop-authored web pages.
extDialog.java
ebView.java
ebViewCore.java
d205d5b57071dd9e53a42184f8a5fc5cd7398209 27-May-2009 Mike Reed <reed@google.com> add onPause and onResume apis, to inform the view when it can pause
its activities associated with the DOM.
ebView.java
ebViewCore.java
46f54ef82adc2fd35f7f5a355acf31bde9d629e5 26-May-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 1876

* changes:
fix warning where we were boxing and int, only to have it automatically unboxed
5753430f6408fc5ddc9ef3592f59b968bcf282cc 23-May-2009 Grace Kloba <klobag@google.com> Added postUrl() to WebView so that we can pass lat/lon for the search.
rowserFrame.java
ebView.java
ebViewCore.java
3246c224d5860b78e1c7264906dbcecca415da9d 26-May-2009 Leon Scroggins <scroggo@google.com> Fix the build.

A previous change changed a public class to be a static class.
Change it back so the API is not changed.
ebView.java
b7eef04564d2568130df297fd55ad3e3c8b1fd62 26-May-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 2267

* changes:
Fix some Java mistakes found by FindBugs.
cc77c6bd6f2adf0ee26480deb1ff8923a7bfa891 25-May-2009 Romain Guy <romainguy@android.com> am ff686ce1: Change when gestures listeners are fired.

Merge commit 'ff686ce11e952a9001b1384d8e7d82127b0529a2'

* commit 'ff686ce11e952a9001b1384d8e7d82127b0529a2':
Change when gestures listeners are fired.
Manual merge from cupcake_dcm. internal CL#148693. Two donottranslate.xml-s are already submitted.
c27d9b5341b29c1b58c882f0a04b4c519d8a9853 25-May-2009 Daisuke Miyakawa <dmiyakawa@google.com> Manual merge from cupcake_dcm. internal CL#148693. Two donottranslate.xml-s are already submitted.
ebSettings.java
213a31c7d5c11ca05fda666e7a697cc94df0d0f1 22-May-2009 Leon Scroggins <scroggo@google.com> Fix some Java mistakes found by FindBugs.

Use Integer.valueOf() instead of new Integer()
Eliminate unused fields in InvokeListBox
Make FocusNode, HitTestRequest, and ExtendedZoomControls
static inner classes.
ebView.java
ad8195bb0ea9ed087519d899402571c8608c0b48 19-May-2009 Android (Google) Code Review <android-gerrit@google.com> am 2f11599e: Merge change 1579 into donut

Merge commit '2f11599eb317887a8cca14d8e66bfc485e5169e7'

* commit '2f11599eb317887a8cca14d8e66bfc485e5169e7':
Teleca 2b changes
e9b06d754af03faf27012fbed1e7559ec1ba7c79 19-May-2009 Wink Saville <wink@google.com> Teleca 2b changes
ears/AndroidRadioDataProvider.java
d96bdb145d51105dc783ba75df2fb42dbb3a96b6 18-May-2009 Mike Reed <reed@google.com> fix warning where we were boxing and int, only to have it automatically unboxed
slErrorHandler.java
aaf0718c589b136aaf3d87f5944dd1028adaf8fd 15-May-2009 Grace Kloba <klobag@google.com> loadListener.transferEncoding() is null if it is not specified in data: schema when DataLoader is constructed. Reverse the checking order.
ataLoader.java
658ab7d787f64987d7c45aae08e5a12a073afe78 14-May-2009 Grace Kloba <klobag@google.com> Added PluginManager to handle getting all the plugin directories from PackageManager.

Deprecated the old api to set a single plugin path.
rowserFrame.java
WebCoreJavaBridge.java
luginManager.java
ebSettings.java
ebView.java
ebViewCore.java
8f9ff7e77f73b2712f775245113ea53614485317 14-May-2009 Cary Clark <cary@android.com> remove isClick parameter in browser touch event handler

isClick is always set to true by the callers, so remove
it and simplify the code
(http://b/issue?id=1666780; see also change in external/webkit)
ebView.java
ebViewCore.java
dbcb3bab20b1402fa38cf83a51c2702d0e10673d 13-May-2009 Android (Google) Code Review <android-gerrit@google.com> am a0f87f6: Merge change 1565 into donut

Merge commit 'a0f87f680cb1dc2a163f89118ffdf38f4c964628'

* commit 'a0f87f680cb1dc2a163f89118ffdf38f4c964628':
Enable filtering <select> lists.
3667ce4caeb83c4746b5366a882db671b4faca19 13-May-2009 Leon Scroggins <scroggo@google.com> Enable filtering <select> lists.

Fix a bug where the filter text could not be deleted,
and another where filtering changes the checked item,
so that filtering <select> lists can be reenabled.
ebView.java
fd4f03602c80652fb5166bee7bbb7d86ce8e53d8 12-May-2009 Android (Google) Code Review <android-gerrit@google.com> am e292086: Merge change 1391 into donut

Merge commit 'e292086e6b5124a8e6b9435609d41c9ab2ef5e22'

* commit 'e292086e6b5124a8e6b9435609d41c9ab2ef5e22':
Fix 1799207. With the new local dns, we should allow the host without any PERIOD. Otherwise http://go won't work properly.
10e4d2068aa687e30dd4e5fcae6417f66874823b 12-May-2009 Guang Zhu <guangzhu@google.com> merged 25fdf35, resolved conflicts
11e8fe5a7208c9cd6afc2a0373761ae506d7707f 11-May-2009 Nicolas Roard <nicolasroard@google.com> Add modifications to handle the WebStorage settings + the WebStorage bridge native functions
ebSettings.java
ebStorage.java
ebViewCore.java
e292086e6b5124a8e6b9435609d41c9ab2ef5e22 11-May-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 1391 into donut

* changes:
Fix 1799207. With the new local dns, we should allow the host without any PERIOD. Otherwise http://go won't work properly.
6b4e4275d374e47e4b87b57bbabf94d5dd55e7b3 11-May-2009 Grace Kloba <klobag@google.com> Fix 1799207. With the new local dns, we should allow the host without any PERIOD. Otherwise http://go won't work properly.
ookieManager.java
81e41434b3421a89e3e967e866238719e8468bd5 09-May-2009 Guang Zhu <guangzhu@google.com> Added Java callback for JavaScript execution timeout.
allbackProxy.java
ebChromeClient.java
ebViewCore.java
7df1985e86635af006be3dfa65987d60e290b5de 22-Apr-2009 Ben Murdoch <benm@google.com> Merges p9 CLs 144856 and 145055 to GIT to enable the Database API in the browser.
allbackProxy.java
ebChromeClient.java
ebSettings.java
ebStorage.java
ebViewCore.java
e82dc4205285a40d6c2227e362c30ce24c96a552 29-Apr-2009 Patrick Scott <phanna@android.com> Parse the base64 data before creating the data stream.

This will ensure that we do not parse the data in chunks when passing it to the
LoadListener. Decoding in chunks can lead to incomplete sequences which will
lead to a failed decode.

Check for a cancelled LoadListener in StreamLoader and stop the load. This is
just a shortcut for downloaded or failed resources.

Cleanup some of the LoadListener code around resetting a few member variables.
Reset them in the status callback since that indicates a new response from the
server (or StreamLoader).
ataLoader.java
oadListener.java
treamLoader.java
2ca912ec1350a8196abe4630e6c629ee8191926d 28-Apr-2009 Leon Scroggins <scroggo@google.com> Lazily initialize the TextDialog.
ebView.java
f0c70a83562a27c424554f609eb1d4cdebf06df4 28-Apr-2009 Patrick Scott <phanna@android.com> Treat application/xhtml+xml as xhtml+xml instead of text/html.

Previously we had converted application/xhtml+xml to text/html because of bad
server data. Now we need to treat xhtml as xhtml to get svg to be interpreted
correctly.
oadListener.java
imeTypeMap.java
bc2e33b5c81b1d5ddc112ea004a0b7866bd00bec 23-Apr-2009 Cary Clark <cary@android.com> don't swap out the history picture too soon

Wait until either the picture is not blank or
the progress is complete.
ebView.java
ebViewCore.java
843bbb8597d561c2541f86d1f391ae65261cf743 20-Apr-2009 Cary Clark <cary@android.com> reset select/copy state if key is pressed while shift is down

If a webpage suppresses keys from getting echoed back to the
browser app, then also disable select/copy when a key follows
a shift key press.

Also add in missing debug string to permit debug builds.
ebView.java
ebViewCore.java
74008f608af0c567456d37e63d48643689388c74 23-Apr-2009 Jean-Baptiste Queru <jbq@google.com> Merge donut into master
24a4320f9cf1ba5fa57beef3e3bad9076d6e853f 20-Apr-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 261

* changes:
Enable Application Caches.
60a9a7d05577a65c8904fcb5f32b6a7a10886a13 17-Apr-2009 Andrei Popescu <andreip@google.com> Enable Application Caches.
ebSettings.java
7bec074f254b00a3d040c41f707d1a1284435434 17-Apr-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 164

* changes:
Use lower case mime type, encoding, and transfer encoding.
2563ed8f70c45d78f9d64cfec2c7d35026176a7f 14-Apr-2009 Patrick Scott <phanna@android.com> Use lower case mime type, encoding, and transfer encoding.
oadListener.java
63dda1c7b405524384e53a67be5735d9026650db 15-Apr-2009 Leon Scroggins <scroggo@google.com> Make webkit's cursor draw at the correct times.

This change is dependent on another change to external/webkit. Tell the WebViewCore to change its FocusController's "active" status depending upon whether the WebView has focus. This fixes a bug where we were showing the blinking cursor when the WebView was not in focus.
ebView.java
ebViewCore.java
e2393c5792e968e3fe2467fd1e81c8072c7dbd59 14-Apr-2009 Android (Google) Code Review <android-gerrit@google.com> Merge changes 108,130,131 into donut

* changes:
util/DebugUtils: Remove references to android.util.Config
text: Remove references to android.util.Config
Remove references to android.util.Config
90402eb626eba6cbb1377b6b2a37875ca51129f3 14-Apr-2009 Leon Scroggins <> Merge branch 'readonly-p4-master'
17c3bfc8c9ad47b6e7dda9f9ddbfba7ee8d092d9 14-Apr-2009 Leon Scroggins <> AI 146153: Make the TextDialog invisible, so that we only show WebKit's rendering of the textfield, yet we retain the benefits of having the TextDialog.
Frame.cpp:
Removed a line that should not be there anyway. Somehow when merging in Apple's ENABLE(TEXT_CARET) changes we left in a line that disables the blinking Cursor.
Platform.h:
Let WebKit draw the cursor.
RenderThemeAndroid.cpp:
Make the active selection color (the color of a selection in an active <textfield> or <textarea>) visible, and match the selection color shown in other places in Android.
WebViewCore.cpp:
Make the focused node's document's focus controller active. This allows webkit to draw the cursor.
TextDialog.java:
Set WillNotDraw to true, and remove our background, so that the TextDialog is completely invisible. Note that I have not changed its visibility to View.VISIBLE, which would have other undesired effects (would not accept touch events, for example). Since we are not drawing, remove onPreDraw, which is no longer necessary. In onSelectionChanged, pass a message to webkit telling it that the selection has changed. It is important that the two threads always agree (albeit webkit may be behind) because the user will now only see the selection drawn by webkit. Remove some old flawed code whose purpose was to keep the selection up to date and do not send key events for arrow keys (which would mess up the selection that was correct thanks to onSelectionChanged).
BUG=1781070,1712752,916193,1411370,1160999,1775425,1354814

Automated import of CL 146153
extDialog.java
75534fbe246e5562779500bc7cf7f0ddfe9b8330 14-Apr-2009 Dianne Hackborn <> Merge branch 'readonly-p4-master'
935ae463d495d41155e27feb849768ad2b8b16db 14-Apr-2009 Dianne Hackborn <> AI 145994: Integrate #145778 from Donut.

Automated import of CL 145994
ebHistoryItem.java
ebView.java
b1d0403c661c2e6cf042a7f22847aa255c421d67 14-Apr-2009 Dave Bort <dbort@android.com> Remove references to android.util.Config

The semantics of Config.DEBUG will be changing soon, and all other
Config.* fields will become deprecated/hidden.

BUG=1780938
ears/AndroidWifiDataProvider.java
ears/ApacheHttpRequestAndroid.java
42bc2ff5d2e3a10ab6c1fb1e716a124f2b446dbc 14-Apr-2009 Dave Bort <dbort@android.com> Remove references to android.util.Config

The semantics of Config.DEBUG will be changing soon, and all other
Config.* fields will become deprecated/hidden.

BUG=1780938
rowserFrame.java
acheManager.java
allbackProxy.java
ookieManager.java
ookieSyncManager.java
rameLoader.java
WebCoreJavaBridge.java
oadListener.java
etwork.java
slErrorHandler.java
treamLoader.java
RLUtil.java
ebBackForwardList.java
ebSettings.java
ebSyncManager.java
ebView.java
ebViewCore.java
0f87ca2037e60dc4b988838b510bc8c1576e7d6b 13-Apr-2009 Grace Kloba <> Merge branch 'readonly-p4-master'
b3230cb1e33c3de7ae7d63217617606d23943708 13-Apr-2009 Grace Kloba <> AI 145922: Fix #1640053, #1777704. When WebKit set scroll position through jni, we need to check whether there is a pending draw as the scroll position should be based on the new picture, not the current picture.
BUG=1640053,1777704

Automated import of CL 145922
ebViewCore.java
3d4122c5a2c44d7bb58db07594dcb50022bf6ea9 11-Apr-2009 Feng Qian <> Merge branch 'readonly-p4-master'
9ae010a349e953a443f1cc8bc33ff1becf997a19 11-Apr-2009 Feng Qian <> AI 145796: Land the WebKit merge @r42026.

Automated import of CL 145796
WebCoreJavaBridge.java
f8a7ceaef2e7d5cd530c9426bde91b6fa9a40b75 11-Apr-2009 Andy Stadler <> AI 145778: Manual merge changes 145382-145384 from cupcake.

Automated import of CL 145778
ebHistoryItem.java
ebView.java
974bd7f2989fc20b44af308c2569f66ec8952851 06-Apr-2009 Grace Kloba <> Merge branch 'readonly-p4-master'
45dee41f5c55cd18c7f3716fbac765016132a214 06-Apr-2009 Grace Kloba <> AI 144661: Fix #175030. Preserve the zoom factor during refresh. Remove the code change in FrameLoader.cpp which was to preserve the zoom factor when we first did layout. Now we only use the initialZoomScale if it is a standard load. If it is history load, restoreScale() should be called before didFirstLayout(), in the other cases, like reload, refresh, replace, we don't change the zoom factor.
BUG=175030

Automated import of CL 144661
ebView.java
ebViewCore.java
d3af72792792dbd332446993c941e2714032d09f 02-Apr-2009 The Android Open Source Project <initial-contribution@android.com> Merge branch 'readonly-p4-master'

Conflicts:

telephony/java/com/android/internal/telephony/gsm/RIL.java
resolved by removing gsm/RIL.java
04e71b3db84fd5f7fc4eefb49a33154ea91ec9fc 02-Apr-2009 Wink Saville <> AI 144245: Fix merge conflict for megering in the CDMA changes in to master from donutburger.

Automated import of CL 144245
ears/AndroidRadioDataProvider.java
029a8c38c67de1b2177a10c9b20f9c4ec070072d 02-Apr-2009 Grace Kloba <> Merge branch 'readonly-p4-master'
3afdd56470d6d4dcb20fe0f68ec9e54a167a9d74 02-Apr-2009 Grace Kloba <> AI 144242: Fix 1750062. When createCacheFile, if we get 303, or redirect with cookies, or "no-store", make sure to remove the existing entry in the cache db before returning null for CachedResult.
BUG=1750062

Automated import of CL 144242
acheManager.java
c9222aa0f2c6a00e6242630fed5df6b08166d38f 02-Apr-2009 Leon Scroggins <> Merge branch 'readonly-p4-master'
238ddbb8a2961e6919d802694ef9ce7743cff61c 02-Apr-2009 Leon Scroggins <> AI 144235: Fix for 1752906: clicking "cancel" on a multiple <select> element disables future select elements from working. Add a listener for cancel, which will clear out the old popup, and allow a new one to be brought up in the future.
BUG=1752906

Automated import of CL 144235
ebView.java
3c44286190003c6d765b542807e0466de07b3733 02-Apr-2009 Grace Kloba <> Merge branch 'readonly-p4-master'
a72cc098e28cd27621e3dafab95117af5b42407a 02-Apr-2009 Grace Kloba <> AI 144000: am: CL 143999 am: CL 143998 Fix #1750489. Call WebKit's setNetworkOnLine from WebCore thread instead of UI thread as WebKit is not thread safe.
Using the same code pattern as the rest of the file:
. throw IllegalStateException if BrowserFrame.sJavaBridge is null in pauseTimers/resumeTimers.
. use (msg.arg1 == 1) to pass the boolean from WebView to WebViewCore as in CLEAR_CACHE
Original author: klobag
Merged from: //branches/cupcake/...
Original author: android-build
Merged from: //branches/donutburger/...

Automated import of CL 144000
ebView.java
ebViewCore.java
767a662ecde33c3979bf02b793d392aca0403162 02-Apr-2009 Wink Saville <> AI 144185: Integrate cdma into the main code base.

Automated import of CL 144185
ears/AndroidRadioDataProvider.java
c6c318dffbb411c2cb04740a8dcc18d21c14f361 01-Apr-2009 Grace Kloba <> AI 143999: am: CL 143998 Fix #1750489. Call WebKit's setNetworkOnLine from WebCore thread instead of UI thread as WebKit is not thread safe.
Using the same code pattern as the rest of the file:
. throw IllegalStateException if BrowserFrame.sJavaBridge is null in pauseTimers/resumeTimers.
. use (msg.arg1 == 1) to pass the boolean from WebView to WebViewCore as in CLEAR_CACHE
Original author: klobag
Merged from: //branches/cupcake/...

Automated import of CL 143999
ebView.java
ebViewCore.java
caee1703fee75fbf37ba7774db64479a33cda82b 01-Apr-2009 The Android Open Source Project <initial-contribution@android.com> Merge commit 'goog/readonly-p4-master'
bed911a44a3df311c3af7d8cb821544609bced9a 31-Mar-2009 Leon Scroggins <> AI 143733: Fix for issue 1648553: IME overlaps over focus ring in gmail search box. In WebView::requestChildRectangleOnScreen we now move a rectangle up if its bottom is offscreen, even if its top is not. We also move it so that its top is at the top third of the WebView's height (if it still fits on screen) so that you can see space (and potentially other input fields) below it.
BUG=1648553

Automated import of CL 143733
ebView.java
762d30a31365e5cae9ba7c2802de60a2f8c3513d 29-Mar-2009 The Android Open Source Project <initial-contribution@android.com> Merge branch 'open_source' into google_internal

Conflicts:
core/java/android/widget/TwoLineListItem.java
core/res/res/values/public.xml
preloaded-classes
7977a6130837cf3d1a162ec1d294b5a1d9f5168f 28-Mar-2009 Nicolas Roard <> AI 143336: am: CL 143185 am: CL 142930 Adds a straightforward abort() function in addition to interrupt(). Used on the gears C++ side to get rid of the thread leaking introduced with the HttpRequest refactoring.
Original author: nicolasroard
Merged from: //branches/cupcake/...
Original author: android-build
Merged from: //branches/donutburger/...

Automated import of CL 143336
ears/ApacheHttpRequestAndroid.java
209d4152b638561f354578ab12ac98586d611fe5 28-Mar-2009 Nicolas Roard <> AI 143185: am: CL 142930 Adds a straightforward abort() function in addition to interrupt(). Used on the gears C++ side to get rid of the thread leaking introduced with the HttpRequest refactoring.
Original author: nicolasroard
Merged from: //branches/cupcake/...

Automated import of CL 143185
ears/ApacheHttpRequestAndroid.java
e1861133d51b9e6a6f658eb366630ad4f4d3ff8f 27-Mar-2009 The Android Open Source Project <initial-contribution@android.com> Merge commit 'korg/cupcake'

Conflicts:
core/java/android/webkit/WebView.java
core/java/android/widget/TwoLineListItem.java
preloaded-classes
33b7987c5c8fc2443b50e31246272ba42b4d1add 26-Mar-2009 Nicolas Roard <> Automated import from //branches/cupcake/...@142930,142930
ears/ApacheHttpRequestAndroid.java
52cf58a2a47e4dc975314fab44783c7e4654ca6d 26-Mar-2009 Grace Kloba <> Automated import from //branches/master/...@142846,142846
acheManager.java
6e3835ff4a77517856db58b715e12e9dfeb6a334 25-Mar-2009 Leon Scroggins <> Automated import from //branches/master/...@142632,142632
extDialog.java
ebView.java
e0e37bc2b4eee442e5a7f63f4054dfa9b639a721 25-Mar-2009 Grace Kloba <> Automated import from //branches/master/...@140426,140426
ontentLoader.java
ac9de62d2bdc3f16a43cc6681e0a10a9a366a54f 25-Mar-2009 Grace Kloba <> Automated import from //branches/donutburger/...@140424,140424
ontentLoader.java
c2ad241504fcaa12d4579d3b0b4038d1ca8d08c9 20-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake_rel/...@141571
ontentLoader.java
7b0b1ed979aa665175bf3952c8902ce13c763ab8 19-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import //branches/master/...@140412
ttpDateTime.java
105925376f8d0f6b318c9938c7b83ef7fef094da 19-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake_rel/...@140373
acheManager.java
ttpAuthHandler.java
oadListener.java
imeTypeMap.java
etwork.java
slErrorHandler.java
ebSettings.java
ebView.java
2a73de7b21a89aa2ba4c254d28658b49793425b2 18-Mar-2009 Jean-Baptiste Queru <jbq@google.com> Merge commit 'remotes/korg/cupcake' into merge

Conflicts:
core/java/android/view/animation/TranslateAnimation.java
core/jni/Android.mk
core/res/res/values-en-rGB/strings.xml
libs/audioflinger/AudioFlinger.cpp
libs/surfaceflinger/LayerScreenshot.cpp
packages/SettingsProvider/src/com/android/providers/settings/SettingsProvider.java
ba87e3e6c985e7175152993b5efcc7dd2f0e1c93 13-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake_rel/...@138607
acheManager.java
allbackProxy.java
ookieManager.java
ebView.java
ebViewCore.java
ears/DesktopAndroid.java
c39a6e0c51e182338deb8b63d07933b585134929 11-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@137873
oadListener.java
extDialog.java
ebSettings.java
ebView.java
ebViewCore.java
b2a3dd88a53cc8c6d19f6dc8ec4f3d6c4abd9b54 09-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@137197
extDialog.java
ebView.java
4df2423a947bcd3f024cc3d3a1a315a8dc428598 05-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@136594
rowserFrame.java
rameLoader.java
oadListener.java
luginContentLoader.java
luginData.java
extDialog.java
rlInterceptHandler.java
rlInterceptRegistry.java
ebView.java
ears/UrlInterceptHandlerGears.java
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
rowserFrame.java
yteArrayBuilder.java
acheLoader.java
acheManager.java
allbackProxy.java
ontentLoader.java
ookieManager.java
ookieSyncManager.java
ataLoader.java
ateSorter.java
ownloadListener.java
ileLoader.java
rameLoader.java
ttpAuthHandler.java
ttpDateTime.java
WebCoreJavaBridge.java
sPromptResult.java
sResult.java
oadListener.java
imeTypeMap.java
etwork.java
erfChecker.java
lugin.java
luginList.java
slErrorHandler.java
treamLoader.java
extDialog.java
RLUtil.java
rlInterceptHandler.java
rlInterceptRegistry.java
ebBackForwardList.java
ebChromeClient.java
ebHistoryItem.java
ebIconDatabase.java
ebSettings.java
ebSyncManager.java
ebView.java
ebViewClient.java
ebViewCore.java
ebViewDatabase.java
ears/AndroidGpsLocationProvider.java
ears/AndroidRadioDataProvider.java
ears/AndroidWifiDataProvider.java
ears/ApacheHttpRequestAndroid.java
ears/DesktopAndroid.java
ears/NativeDialog.java
ears/PluginSettings.java
ears/UrlInterceptHandlerGears.java
ears/VersionExtractor.java
ears/ZipInflater.java
ears/package.html
ackage.html
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
rowserFrame.java
yteArrayBuilder.java
acheLoader.java
acheManager.java
allbackProxy.java
ontentLoader.java
ookieManager.java
ookieSyncManager.java
ataLoader.java
ateSorter.java
ownloadListener.java
ileLoader.java
rameLoader.java
ttpAuthHandler.java
ttpDateTime.java
WebCoreJavaBridge.java
sPromptResult.java
sResult.java
oadListener.java
imeTypeMap.java
etwork.java
erfChecker.java
lugin.java
luginList.java
slErrorHandler.java
treamLoader.java
extDialog.java
RLUtil.java
rlInterceptHandler.java
rlInterceptRegistry.java
ebBackForwardList.java
ebChromeClient.java
ebHistoryItem.java
ebIconDatabase.java
ebSettings.java
ebSyncManager.java
ebView.java
ebViewClient.java
ebViewCore.java
ebViewDatabase.java
ears/AndroidGpsLocationProvider.java
ears/AndroidRadioDataProvider.java
ears/AndroidWifiDataProvider.java
ears/ApacheHttpRequestAndroid.java
ears/DesktopAndroid.java
ears/NativeDialog.java
ears/PluginSettings.java
ears/UrlInterceptHandlerGears.java
ears/VersionExtractor.java
ears/ZipInflater.java
ears/package.html
ackage.html
076357b8567458d4b6dfdcf839ef751634cd2bfb 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@132589
allbackProxy.java
extDialog.java
ebView.java
ebViewCore.java
3dec7d563a2f3e1eb967ce2054a00b6620e3558c 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@137055
allbackProxy.java
extDialog.java
ebView.java
ebViewCore.java
15ab3eae2ec3d73b3e8aa60b33ae41445bf83f4b 20-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@132569
ebSettings.java
ebView.java
ebViewCore.java
ears/GearsPluginSettings.java
ears/HtmlDialogAndroid.java
ears/IGearsDialogService.java
3001a035439d8134a7d70d796376d1dfbff3cdcd 19-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@132276
rowserFrame.java
oadListener.java
extDialog.java
ebView.java
ebViewCore.java
ears/HttpRequestAndroid.java
ears/UrlInterceptHandlerGears.java
da996f390e17e16f2dfa60e972e7ebc4f868f37e 13-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@131421
ookieManager.java
ebView.java
ebViewCore.java
ebViewDatabase.java
d24b8183b93e781080b2c16c487e60d51c12da31 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
yteArrayBuilder.java
ileLoader.java
rameLoader.java
oadListener.java
imeTypeMap.java
extDialog.java
ebSettings.java
ebView.java
ebViewCore.java
adcd2ed8d24deddee528e96260d0ed673eeb261c 21-Jan-2009 Mike Hearn <hearn@google.com> Add some documentation to WebView, WebSettings and CookieSyncManager.
Double-tree rendering is deprecated.
ookieSyncManager.java
ebSettings.java
ebView.java
f1e484acb594a726fb57ad0ae4cfe902c7f35858 22-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@127436
oadListener.java
ebView.java
22f7dfd23490a3de2f21ff96949ba47003aac8f8 20-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@127101
allbackProxy.java
extDialog.java
ebView.java
9266c558bf1d21ff647525ff99f7dadbca417309 16-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@126645
imeTypeMap.java
ebView.java
ears/ApacheHttpRequestAndroid.java
b798689749c64baba81f02e10cf2157c747d6b46 10-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@125939
ookieManager.java
extDialog.java
ebView.java
ebViewCore.java
f013e1afd1e68af5e3b868c26a653bbfb39538f8 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
rowserFrame.java
acheManager.java
allbackProxy.java
ookieManager.java
ateSorter.java
ileLoader.java
rameLoader.java
ttpDateTime.java
WebCoreJavaBridge.java
oadListener.java
imeTypeMap.java
etwork.java
extDialog.java
RLUtil.java
ebBackForwardList.java
ebHistoryItem.java
ebSettings.java
ebView.java
ebViewCore.java
ebViewDatabase.java
ears/AndroidWifiDataProvider.java
ears/DesktopAndroid.java
ears/HttpRequestAndroid.java
ears/NativeDialog.java
ears/PluginSettings.java
ears/UrlInterceptHandlerGears.java
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
rowserFrame.java
yteArrayBuilder.java
acheLoader.java
acheManager.java
allbackProxy.java
ontentLoader.java
ookieManager.java
ookieSyncManager.java
ataLoader.java
ateSorter.java
ownloadListener.java
ileLoader.java
rameLoader.java
ttpAuthHandler.java
ttpDateTime.java
WebCoreJavaBridge.java
sPromptResult.java
sResult.java
oadListener.java
imeTypeMap.java
etwork.java
erfChecker.java
lugin.java
luginList.java
slErrorHandler.java
treamLoader.java
extDialog.java
RLUtil.java
rlInterceptHandler.java
rlInterceptRegistry.java
ebBackForwardList.java
ebChromeClient.java
ebHistoryItem.java
ebIconDatabase.java
ebSettings.java
ebSyncManager.java
ebView.java
ebViewClient.java
ebViewCore.java
ebViewDatabase.java
ears/AndroidGpsLocationProvider.java
ears/AndroidRadioDataProvider.java
ears/DesktopAndroid.java
ears/GearsPluginSettings.java
ears/HtmlDialogAndroid.java
ears/HttpRequestAndroid.java
ears/IGearsDialogService.java
ears/UrlInterceptHandlerGears.java
ears/VersionExtractor.java
ears/ZipInflater.java
ears/package.html
ackage.html