• Home
  • History
  • Annotate
  • only in /frameworks/webview/chromium/java/
History log of /frameworks/webview/chromium/java/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6138d17c5fd136a215078b4a9ae818d73cfa8b9a 11-Oct-2013 Torne (Richard Coles) <torne@google.com> Provide a video poster even if the client doesn't.

To match the behaviour of the old webview, use the framework resource
ic_media_video_poster as the default video poster if the WebChromeClient
provided by the client doesn't give us one.

Bug: 11158656
Change-Id: Id8c5b4e546081ed765356c38308cf1b6f198109d
om/android/webview/chromium/WebViewContentsClientAdapter.java
58ca6d4c0f3ea5d35d313ac13915a5a6b5c1ce9e 10-Oct-2013 Jonathan Dixon <joth@google.com> Merge "Set the webview-classic-workarounds for targetSDk < KLP" into klp-dev
b965bec90a986fbd4fb7ffc4fe3ff08bf7fd380e 25-Sep-2013 Jonathan Dixon <joth@google.com> Set the webview-classic-workarounds for targetSDk < KLP

Bug 10569530

Change-Id: I943b18c2a6af3c860720a2d31348a700e0903a82
om/android/webview/chromium/WebViewChromiumFactoryProvider.java
916f857e0af25e8b179f60f532065386607567d7 08-Oct-2013 Jonathan Dixon <joth@google.com> For apps targeting JB MR2+, bind to the first thread using WebView

Bug 10937207

This reflects base change to bind to the first thread that instantiates
a WebView.

Change-Id: I2994db6e72b80ff24b93df3fbbd6c57ea9267657
om/android/webview/chromium/WebViewChromium.java
91472035f666e633d4c299617ae1b20ccd3b6e0c 08-Oct-2013 Kristian Monsen <kristianm@google.com> Merge "Possible fix for bug b/11114227: Occasional crash on rotation" into klp-dev
59a30ac62fdd1e22b59776547730ac8d8be68531 08-Oct-2013 Kristian Monsen <kristianm@google.com> Possible fix for bug b/11114227: Occasional crash on rotation

Checking the View has a parent before sending the longclick.

Change-Id: I6d4ff5d5b726d1d1220891099754195e2616dd8b
om/android/webview/chromium/WebViewChromium.java
1bd0fb5f6962e25d89aa61e0f3098ac57c446fe8 07-Oct-2013 Ben Murdoch <benm@google.com> Merge "Enable favicon downloading." into klp-dev
54bae732019ac13327c0a68a6f8a82548d73ea9e 03-Oct-2013 Ben Murdoch <benm@google.com> Enable favicon downloading.

If an app is targetting >= K, always download favicons (as the legacy
method for enabling the behavior is deprecated). Also enable favicon
downloading for legacy apps that use the deprecated method.

Bug: 10825362
Change-Id: Ia0037365fc7211cdf01714d8385907f017225386
om/android/webview/chromium/WebIconDatabaseAdapter.java
om/android/webview/chromium/WebViewChromium.java
9dab5652ee2433cb990baca967d4331be0b2d3f3 03-Oct-2013 Torne (Richard Coles) <torne@google.com> Allow CookieManager to be used without starting Chromium.

If getCookieManager is called without Chromium having been started, set
the application context but don't start Chromium. The native code will
create a temporary cookie manager.

Bug: 10969703
Change-Id: Ic1bd67d352dee78a761a4abf549cd9ba9ddb9f8d
om/android/webview/chromium/WebViewChromiumFactoryProvider.java
30c0a035f7c865ee300a3d8a9a3e515a66c6a818 27-Sep-2013 Ben Murdoch <benm@google.com> Do not assume WebView is running on the main thread.

WebView will run at most one UI thread per process, but that
thread is not necessarily the main thread.

If the first WebView that an app constructs is on the main thread,
then we will bind Chromium's notion of the UI thread to the main
thread. This mitigates the risk introduced by this refactoring for the vast
majority of apps that create their Views on the main thread.

In the case that the WebView is created on a background thread, we delay
binding of Chromium's notion of the UI thread until we get a clear
signal from the apps usage of WebView that it is intended to use that
background thread as an Android UI thread.

In the case that the app does not intend to use the thread it creates
the WebView on as an Android UI thread, we defer as long as possible
before we are required to run operations that require Chromium to be
started, at which point we bind to the main thread. This covers the case
that an app creates WebView on a background thread to read some state
from it (e.g. the user agent) and then later intends to use WebView
as a View on the main thread.

This change does not support:
- Apps that create more than one Android UI thread in the same process
and expect to use a WebView as a View on both of them.

Bug 10932261

Change-Id: I981136571782352889684e4c3181d8cc22a1679d
om/android/webview/chromium/ContentSettingsAdapter.java
om/android/webview/chromium/WebViewChromium.java
om/android/webview/chromium/WebViewChromiumFactoryProvider.java
om/android/webview/chromium/WebViewContentsClientAdapter.java
157c78cfd4127a0b39d3c55c95c7cec23ccdc234 27-Sep-2013 Bo Liu <boliu@google.com> Use View.executeHardwareAction for onDetachedFromWindow

If AwContents has hardware resources to clean up in
onDetachedFromWindow (ie functor is not null), then use
View.executeHardwareAction to ensure that a context is current in
detach.

BUG: 10911502

Change-Id: I69392745cc375bc2f804fbc056d29d58ce06c000
om/android/webview/chromium/WebViewChromium.java
4cde2296b2a773d3139ed97daa097eefa42b511a 24-Sep-2013 Kristian Monsen <kristianm@google.com> Making super_onGenericMotionEvent call the super event

Part of fix for bug 9230062

Change-Id: I41264cde1105b7eca25e8e4adbccc1d591ddb2e7
(cherry picked from commit ae81cc9f8d4a6af28017849a637dc61186c04d60)
om/android/webview/chromium/WebViewChromium.java
588476c7a7151edd9f01401cd905c8b7229b2b75 21-Sep-2013 Ben Murdoch <benm@google.com> Wire up Select Action Bar in WebView.

Bug: 10800319

Change-Id: I0a855f97c8229b2bb3d325ad62e8ff7a103ae8b1
om/android/webview/chromium/ResourceProvider.java
d21b8fe00b21742cc36929cb02eef6ad25946512 21-Sep-2013 Kristian Monsen <kristianm@google.com> Using the chromium clearView implementation

Landed upstream in:
https://codereview.chromium.org/22849016/

Fix for bug 5012842

Change-Id: I74e2822bb41ba4fb6f6b73248bef52d423c7903b
(cherry picked from commit 618af7f3f0bf2d0713e1e38e4dbd041c3ba8a299)
om/android/webview/chromium/WebViewChromium.java
e36bb83b4a1907d71527d3a8ef54db1ec8de3188 21-Sep-2013 Jonathan Dixon <joth@google.com> Revert "Revert "Implement the new WebView.setWebContentsDebuggingEnabled API""

This reverts commit 36cab4579d7633fa3bc89bd550a01cc0e39fb163.

Change-Id: I57caa1c4ce572ecb70ef1a06fa6b0f6c78d2bc2d
om/android/webview/chromium/WebViewChromiumFactoryProvider.java
36cab4579d7633fa3bc89bd550a01cc0e39fb163 21-Sep-2013 Jonathan Dixon <joth@google.com> Revert "Implement the new WebView.setWebContentsDebuggingEnabled API"

chromium_org this relies on is reverted so this must be too.

This reverts commit d9e4aedf3d14b3494d54dbb482ece3603d0f693d.

Change-Id: I260c806028eb5368cb639876a727ce710e9b4f2b
om/android/webview/chromium/WebViewChromiumFactoryProvider.java
d9e4aedf3d14b3494d54dbb482ece3603d0f693d 18-Sep-2013 Mikhail Naganov <mnaganov@google.com> Implement the new WebView.setWebContentsDebuggingEnabled API

BUG: 8691809
Change-Id: I62441515da9bf70712305ba245db53bb22f52fbf
om/android/webview/chromium/WebViewChromiumFactoryProvider.java
1a0ca658d1d188ed9dc9b2163be0f2ee89e06a1e 18-Sep-2013 Kristian Monsen <kristianm@google.com> Posting additional log message if apps have a blocked URL

This is to make sure it is easy to spot even if app
intentionally override it.

Partial fix for bug 10570054

Change-Id: Ic100ed110c69488a489bb303597a6cbcd852806b
(cherry picked from commit cd7ea20fdcedc8cf0a8beb9e3a0f3ec2e7955a29)
om/android/webview/chromium/WebViewContentsClientAdapter.java
a622984698ea393f81ce968ec87bab75087af7dc 16-Sep-2013 Kristian Monsen <kristianm@google.com> Adding a fake on page started for data url's since we know it wont be sent

Fix for bug 10570052

Change-Id: Ib4d6373da2601e0165a9f44160d2d465daeadcdf
(cherry picked from commit f401798d628ddb492defeb0a00bf289284d1677a)
om/android/webview/chromium/WebViewChromium.java
1a692d93c0172dc09a316bbf9a54896f1d40234f 16-Sep-2013 Kristian Monsen <kristianm@google.com> Fixing up the checkThread exception message

Fix for bug 10428080

Change-Id: I746f6d0131405f3963897e1ae9f311ab32260afa
(cherry picked from commit 8830d3b3f159bedcad3a8f52099da5ff0634a5dd)
om/android/webview/chromium/WebViewChromium.java
f2b715bee3bb3a41e59f80ae53b45f249d9559c5 16-Sep-2013 Kristian Monsen <kristianm@google.com> Removing UnimplementedWebViewApi.invoke from methods that are not needed to implement

Replacing with a // Intentional no-op comment

Part of fix for bug 9230062

Change-Id: I25dc869dcad0726bd9c56a4cc82c4681cc59e01e
(cherry picked from commit b147392394af2430ddaccafde0dd1e90cf9cfb99)
om/android/webview/chromium/WebViewChromium.java
412d84be859ce0eb91baf2f9afe5e6326a15d76a 07-Sep-2013 Selim Gurun <sgurun@google.com> DO NOT MERGE Reflect print API changes

Bug:10652036
Change-Id: Id379d9dbbdcfe722d9b899fea5dd80751b86bcfd
om/android/webview/chromium/WebViewChromium.java
2c11b458a21170c4eacba6c072f695c465f1c083 12-Sep-2013 Kristian Monsen <kristianm@google.com> Post all functions returning a value to the UI thread

All functions should now either be evalued and considered safe,
posted to the UI thread or new in K.

Fix for bug 10208157

Change-Id: Ia9ef928254a0396423eff64987a36088161f0411
(cherry picked from commit 4f6d854132c5bb539cd4edde985435859d393d25)
om/android/webview/chromium/WebViewChromium.java
81cdab1b4a022515f0234daafb3e224d13f20a9f 10-Sep-2013 Kristian Monsen <kristianm@google.com> Posting ALL the void functions to UI thread

Also removing some old out of date TODO's.

Part of fix for bug 10208157

Change-Id: I060c0969400e9497062ad985201a83ddfdd08c9f
(cherry picked from commit be5b09396cb34b040528eacff45069658897c3bc)
om/android/webview/chromium/WebViewChromium.java
41618b2aeb0a500c740a75871a8f614cb6543362 12-Sep-2013 Kristian Monsen <kristianm@google.com> Null check url before using instance methods

Also early out to match classic behaviour.

Fix for bug 10688422

Change-Id: Ic6cff8271e6c0c92ca583e4a2cf61567aa27dc00
(cherry picked from commit a5d717b8b2047e74e6b1ba6084e96f5e28e0c5e7)
om/android/webview/chromium/WebViewChromium.java
4fb262f34ba888eaacc24a83d94a56b8d7bcef2b 10-Sep-2013 Kristian Monsen <kristianm@google.com> Post init to the UI thread blocking with a timeout to detect deadlock

Fix for bug 10208157, and several others.

init() is called right after the constructor, and must be posted to the UI thread.
(The constructor itself does not require this treatment as it does not touch any
global / non-threadsafe state)

Change-Id: I72db913f4d560b0d2979226384adb6631f836c73
(cherry picked from commit f7823c0ca540eb039e0b4400bbefdf5a3dd0d127)
om/android/webview/chromium/WebViewChromium.java
855ab488e8afd5297b312a9cf2c06ada3a286593 09-Sep-2013 Primiano Tucci <primiano@google.com> Wire up stylable attributes for <select> dialogs.

This complements crrev.com/23523025 and overrides the layouts used
for rendering the <select> dialogs using the same ones used by classic
WebView. Clank's default layouts, in fact, can be (graphically) broken
by apps if they override, for instance as happened in b/10549550, the
text color for their alert dialogs and show the WebView in an alert dialog.
Bug: 10549550

Change-Id: Ie64d11a85fd39425915122fa11901989bee9d5a7
(cherry picked from commit 28dd03bb3206928814a5598fbfd6d9695bd46e44)
om/android/webview/chromium/ResourceProvider.java
c8523c99833f364c64744d60e408510fb83b998b 06-Sep-2013 Kristian Monsen <kristianm@google.com> Letting onDraw be called from other threads

Fix for bug 10624076

Change-Id: I9d59cbf600a4deb17f9324c9970033b951180250
(cherry picked from commit d12274bf92a1b0126db3a678f96c26d74cf25b24)
om/android/webview/chromium/WebViewChromium.java
e80eedd97cf65f058960f6d07cdc7c1bc457035f 09-Sep-2013 Kristian Monsen <kristianm@google.com> Merge "Post stopLoading() to the UI thread" into klp-dev
4ce3edbffa79974f160605c4bc997b1b08d262b2 09-Sep-2013 Kristian Monsen <kristianm@google.com> Merge "Allow getScale on all threads" into klp-dev
56eb9568f2dea488c0be768e5117f428378d7003 09-Sep-2013 Martin Kosiba <mkosiba@google.com> Merge "Hook up requestChildRectangleOnScreen." into klp-dev
fa62be4cdc2630566ee179843393d4a6f9893966 07-Sep-2013 Kristian Monsen <kristianm@google.com> Allow getScale on all threads

Similar to the others we think is just thread safe enough to
not throw exception for now.

Bug: 10652991

Change-Id: I19ce1babb7e371054d35926e18a35d30aef3b5b5
(cherry picked from commit 774546b62c2de2030f09cdad8bcd6cce0581c222)
om/android/webview/chromium/WebViewChromium.java
19af3f6395d08f8d2b106b8d205260d3194e1017 06-Sep-2013 Kristian Monsen <kristianm@google.com> Post stopLoading() to the UI thread

Fix for bug 10648349. Usual racyness disclaimer applies.

Change-Id: I984b239f8563760ba77105804147068a1419afbf
(cherry picked from commit 68cbc0faa699037b3fa3859cb8285a205d7ea592)
om/android/webview/chromium/WebViewChromium.java
d6b155b4e96e8f6158063de6c2118e20d72010fa 06-Sep-2013 Kristian Monsen <kristianm@google.com> Merge "Post destroy() to UI thread" into klp-dev
3c50ec3fdce2a693d065395040276630fd89106c 06-Sep-2013 Jonathan Dixon <joth@google.com> Merge "Allow null inputs in loadDataWithBaseURL" into klp-dev
370194f596d6ed2b410d67a65782e5a6dc24a4e3 06-Sep-2013 Kristian Monsen <kristianm@google.com> Post destroy() to UI thread

Fix for bug 10647580, could not reproduce locally.

Change-Id: I2812a448c44da694249f355ad1f20b941b86d3ab
(cherry picked from commit 83db12f61a60a4c7fe8d1cd5bc7770a162c0e078)
om/android/webview/chromium/WebViewChromium.java
ffabf2e121746d06b9930b1ae8fea243c4f5cb9d 28-Aug-2013 Mikhail Naganov <mnaganov@google.com> Enable web layout quirks for apps with targetSdkVersion < K

BUG=10183494

Change-Id: I00cf59abc99dd22f03004c78e98599309f151638
om/android/webview/chromium/WebViewChromium.java
1610a52469877adaa73b088589f86dfe9d2f00df 06-Sep-2013 Ben Murdoch <benm@google.com> Merge "Wire up stylable attributes." into klp-dev
7720b10b55b5db5564a72c2e4c2c23631acbff0a 05-Sep-2013 Kristian Monsen <kristianm@google.com> Letting getSettings be called from any thread

First step in working around bug 10623987

Change-Id: Iee45e3d4638632fc573a947461800d7f902d50b3
(cherry picked from commit 95278543021160239b54daf28f634c131bb91032)
om/android/webview/chromium/WebViewChromium.java
19bc90be698e6d86ec6c77ea8b43bb6778bcc89d 05-Sep-2013 Jonathan Dixon <joth@google.com> Allow null inputs in loadDataWithBaseURL

Bug 10636629

We were inconsitently null checking inputs at various places, this
brings them all into one place and consistent with WebViewClassic

Change-Id: Ia08addeaa4027abffd2a02758d7b738e1c9dc8fb
om/android/webview/chromium/WebViewChromium.java
4e8f7b0d88d73b1ac77efc24e63ebc731a4c31d9 05-Sep-2013 Kristian Monsen <kristianm@google.com> Merge "Let getContentHeight be used from any thread" into klp-dev
9cd49cbc245e07e8e8c360fd22821a2918f99eae 05-Sep-2013 Chet Haase <chet@google.com> Change build version from KEY_LIME_PIE to KITKAT

Issue #10631619 Change build version to KitKat

Change-Id: Iad11c5c4d2d02d4f2b51333e973853d7ffdbe022
om/android/webview/chromium/WebViewChromium.java
94a8e6a6d7d1b2a6b3718eb91956403ef6b03d9c 05-Sep-2013 Kristian Monsen <kristianm@google.com> Let getContentHeight be used from any thread

Fix for bug 10594869

Change-Id: I94c9840811abb207c23db8816f2e282e7807c746
(cherry picked from commit a6213458ba6a6342c9ec5e5f2da5da22eb0e7706)
om/android/webview/chromium/WebViewChromium.java
e27917ca170c4df6f2a949c58820ac1d841a57e2 04-Sep-2013 Jonathan Dixon <joth@google.com> Merge "Don't check thread access for HierarchyHandler methods" into klp-dev
d1ffc88d65afb8216a08d6f7ca86cc2a925a8dd7 30-Aug-2013 Ben Murdoch <benm@google.com> Wire up stylable attributes.

This is needed so that we resolve the correct styles for drawables based
on the theme currently in use.

Bug: 10110507
Change-Id: I42663436e8229dd7d7d4c8c4c1529d2f4e6e6a05
om/android/webview/chromium/ResourceProvider.java
1c461659158e85411f91076b0c81c5e5a72c2106 31-Aug-2013 Kristian Monsen <kristianm@google.com> Don't check thread access for HierarchyHandler methods

We don't implement them anyway. I would like to remove the interface,
but not sure if it is worth the trouble with all the branches.

Fix for bug 10545918

Change-Id: Ica17857ab43f9d01640483efdbdfce7feffde9d1
(cherry picked from commit e31af40d99db027e63b70be18f83a481c6a7a967)
om/android/webview/chromium/WebViewChromium.java
081c438a8201fe2d1248f487808b3bae6706aa7e 29-Aug-2013 Jonathan Dixon <joth@google.com> Add tracing for WebviewChromium callbacks

Bug: 10488419

Depends on I5d0d2e253499741c5f9454582988c99e42dc0a81

Change-Id: I92a6477486528b49b7786564d746d69ec4bc8666
om/android/webview/chromium/WebViewContentsClientAdapter.java
5be0edbd27f9402ee53ab7d6dc16a06de540325c 30-Aug-2013 Ben Murdoch <benm@google.com> Merge "Implement WebViewChromium.freeMemory." into klp-dev
a8d0ef2693c3bcd4a091cc7fa49b69b54e3472c4 29-Aug-2013 Selim Gurun <sgurun@google.com> DO NOT MERGE Printing API changes for supporting better page layout

Bug: 10507857
Change-Id: I4535846d2dfe52c8739cd428a13f2213d5ec786e
om/android/webview/chromium/WebViewChromium.java
9cf31969a3e2e33d750b881ac6a4b3e980a5952a 30-Aug-2013 Jonathan Dixon <joth@google.com> Merge "Fix bug 10533304 - HD Wallpapers access getProgress on wrong thread" into klp-dev
3b31fa53b24614e84d1c04354abc2703391bfb19 29-Aug-2013 Kristian Monsen <kristianm@google.com> Merge "More diagnostics for methods called from the wrong thread" into klp-dev
9cb4b295387c46126e4dbb2b0035310fa9f27038 29-Aug-2013 Ben Murdoch <benm@google.com> Merge "Change WebView.setNetworkAvailable plumbing." into klp-dev
d43c55dd91cf7dd1bcd18d01e16acd5e55de0471 29-Aug-2013 Ben Murdoch <benm@google.com> Implement WebViewChromium.freeMemory.

This API now an intentional no-op as Chromium will manage
WebView memory automatically.

Bug: 5012874
Change-Id: I0d72a80333704bb88af96e9492a9029b02c93280
om/android/webview/chromium/WebViewChromium.java
c0c86c037ea697da375ae28c543cae9b050d6b68 29-Aug-2013 Jonathan Dixon <joth@google.com> Fix bug 10533304 - HD Wallpapers access getProgress on wrong thread

As this value is cached in java in the implementation, we can just skip
the thread check (new apps still get the WebView layer checkThread
exception as intended).

Change-Id: Ic6e75f184a5f73f4841ac6797dfd4f16cf01882f
(cherry picked from commit 82b14b967dab90194bd2ce69539031e46a82dfe9)
om/android/webview/chromium/WebViewChromium.java
ab73853ea633a4ada353f5a2321c6bf0e6c108e5 27-Aug-2013 Kristian Monsen <kristianm@google.com> More diagnostics for methods called from the wrong thread

- Add checkThread for constructor
- Throw Exception from both threads

BUG 10428080

Change-Id: Iea350f541953c8af00217acd6f1c93a5f57fd6e3
(cherry picked from commit 8be13fb6c221129a454f0a58d38df7bd75b4be0f)
om/android/webview/chromium/WebViewChromium.java
fe4c571226f77a661de8e3a576ece2d9a314001e 27-Aug-2013 Ben Murdoch <benm@google.com> Merge "Fix styled attribute resolution in WebView." into klp-dev
0363422b19ca6263dbfbcd0d9daa6d1abe5c6892 27-Aug-2013 Ben Murdoch <benm@google.com> Change WebView.setNetworkAvailable plumbing.

Use new AwContents API for backwards compatibility rather than
informing the network stack.

Bug: 10154677
Change-Id: I85db125c7bbcd7ac8d4fce9e689df519a5ebe365
om/android/webview/chromium/WebViewChromium.java
8a6963ba9b282825e8932e018ab6e2e53ddd9260 23-Aug-2013 Ben Murdoch <benm@google.com> Fix styled attribute resolution in WebView.

We need to correctly style the resource ID for the current app rather
than just extracting the resource from the Theme.

Bug: 10110507
Change-Id: I1d6a90580c95f23fdb36a53557f675bb820b314f
om/android/webview/chromium/ResourceProvider.java
57b714b4b5f44c9a385836c7074e4f879ad7a767 26-Aug-2013 Kristian Monsen <kristianm@google.com> Ferrying setBackgroundColor to the UI thread

It is just a void setter so trivial. Marking getViewDelegate as
threadsafe since it is harder to move that to the UI thread, and
it is safe (just return this).

Finally throwing the thread violation exception on the UI thread
so it will (most likely) kill the app. Creating the exception on
the violating thread so we get the right stack trace.

BUG=10468752

Change-Id: If151594517406952342a64c89caddac334aa255a
(cherry picked from commit fd8af99006b1b5afbc9168994390a9df94e884d2)
om/android/webview/chromium/WebViewChromium.java
1f76368786ae12898311d148b0057403db2fb36a 15-Aug-2013 Martin Kosiba <mkosiba@google.com> Hook up requestChildRectangleOnScreen.

Bug: 8272756

Cherry-pick from master-chromium
I121d9d4ac847f7db41763f92ba3eef406f06134f
+ conflict manually resolved

Change-Id: I121d9d4ac847f7db41763f92ba3eef406f06134f
om/android/webview/chromium/WebViewChromium.java
da5db0dadd27c0fdd3b626b8705cb9b1d91d2da3 23-Aug-2013 Kristian Monsen <kristianm@google.com> Merge "Fix for b/10428080: Check that apps are calling View methods on UI thread" into klp-dev
62389e2d66a99e936652092333782947e363241d 22-Aug-2013 Kristian Monsen <kristianm@google.com> Fix for b/10428080: Check that apps are calling View methods on UI thread

Change-Id: If71020921e9f89def38f2fa6399de363b3fb85d4
om/android/webview/chromium/WebViewChromium.java
3d52163e1c466860651414670c59762f5bdd269f 22-Aug-2013 Tao Bai <michaelbai@google.com> Use evaluateJavaScriptEvenIfNotYetNavigated for loadUrl JavaScript:

This will initialize an empty initial document if there is no existing one.

Bug: 10123053

Depends on change Ic7c99f9bedf3c8bed74b1e5b8ff8b8f388be8330

Change-Id: Id404822e76e3742a88dbe7a6934a9d06ecf143ae
(cherry picked from commit 71e5c429c0e4cf5deacc79b03e30d139024c67f2)
om/android/webview/chromium/WebViewChromium.java
307a2740a4425c9714da2a5c007d0cccb4810429 21-Aug-2013 Selim Gurun <sgurun@google.com> Merge "Added the callback signal to the glue layer." into klp-dev
54a6e3d0cc566df6cec6807c0c03f05664de0a55 20-Aug-2013 Selim Gurun <sgurun@google.com> Added the callback signal to the glue layer.

Bug: 10190508

Change-Id: Ic5ce72dc6dcdd2fe0cb7d4d6a15f9245f3dec18f
om/android/webview/chromium/WebViewChromium.java
33e1eeae98299666b8c2d1e879f92d1c83fe33fb 19-Aug-2013 Ben Murdoch <benm@google.com> Show visible feedback that private browsing not supported.

Cherry pick of
https://googleplex-android-review.googlesource.com/#/c/345036/

As well as a message in logcat, provide visual feedback that the
WebView no longer supports private browsing when an app attempts
to create one.

Bug: 7390806
Change-Id: Ife5af3968bd830bedc49fe217df523a05bcd016d
om/android/webview/chromium/WebViewChromium.java
fa824b4e111b53fb0981eb0dec3d254bf2c300ee 14-Aug-2013 Kristian Monsen <kristianm@google.com> Follow up fix for bug 10154699

My last fix hangs the UI thread as this is different on the old
and new WebView.

Change-Id: I95675d2735f62ab06644c7d6edf1525b4266e58f
om/android/webview/chromium/WebViewContentsClientAdapter.java
9cdb871719cf8c695e829eacdb24c50b1bd884cf 14-Aug-2013 Kristian Monsen <kristianm@google.com> Merge "Fix for bug 10154699, debug popups" into klp-dev
f7c51728c43a6d0a981492f7f40bff313fc0401a 14-Aug-2013 Selim Gurun <sgurun@google.com> Merge "Correctly specify the content type for post data." into klp-dev
b8281877c710018a3bc8066be17b1e11822be015 13-Aug-2013 Selim Gurun <sgurun@google.com> Correctly specify the content type for post data.

Bug: 10188709

The webview classic sets the content type to application/x-www-form-urlencoded
for all posts. Keep the same behavior.

Change-Id: I1d154b4e9681403d26bb405de9b7b2ca6d321d38
om/android/webview/chromium/WebViewChromium.java
384082f8b157276c85b658d8dc254e3489f8f944 13-Aug-2013 Kristian Monsen <kristianm@google.com> Fix for bug 10154699, debug popups

Classic WebView had a state with a null webchromeclient, and did
not show alerts when that was the case.

Change-Id: I7f48dca440f1f6e61ad19c43e9e9d9769d30b581
om/android/webview/chromium/WebViewContentsClientAdapter.java
5fab542d36a1708295ea802401708ba393eae026 12-Aug-2013 Selim Gurun <sgurun@google.com> Merge "Add the webview glue layer API for exporting pdf" into klp-dev
49a1a6f9f27b63687edc1d98f842627d4719a327 06-Aug-2013 Selim Gurun <sgurun@google.com> Add the webview glue layer API for exporting pdf

Bug:10190508

Note that this does not implement the call to the upstream logic
yet. That is for a follow up CL.

Change-Id: I59f74139f0d41a51bf2f3b038564a4fbcd50a2e6
om/android/webview/chromium/WebViewChromium.java
bd819ca872a1711e4607ef11cd8b0b2156241897 06-Aug-2013 Martin Kosiba <mkosiba@google.com> Hook up scrollbar support.

This hooks up scrollbar support.

BUG:4591822,6702676
Change-Id: I476e0d010298202c1b38ef5c385791d9b4544d69
om/android/webview/chromium/WebViewChromium.java
0514f684d6c9e6212990287746aa8f58f7f43c57 07-Aug-2013 Martin Kosiba <mkosiba@google.com> Merge "Add the super_getScrollBarStyle InternalAccessAdapter method." into master-chromium
0088640069ac3ed389f4d78582966248b0869ce9 06-Aug-2013 Martin Kosiba <mkosiba@google.com> Add the super_getScrollBarStyle InternalAccessAdapter method.

This will be required once http://crrev.com/22456002 lands.

Change-Id: Idb1d8853535a987598fc93fe17229d69b6ee9f0c
om/android/webview/chromium/WebViewChromium.java
e20af1033cdbf091333cad7b359ed9d25fc6fcbb 07-Aug-2013 Kristian Monsen <kristianm@google.com> Merge "Fix for bug 10152391: Apps using loadDateWith... on other threads" into master-chromium
a125e0eeade22bc4b7a998e8f0e732c0f965663f 05-Aug-2013 Kristian Monsen <kristianm@google.com> Fix for bug 10152391: Apps using loadDateWith... on other threads

Posting it to the UI thread for them. Tempted to do it proactivly
for a few other methods as well.

Change-Id: I9ef050e4aac66af2157bb46a018aa9e5d71d0b1f
om/android/webview/chromium/WebViewChromium.java
19b22dbf30aec2f35bfbdbc80f9fa01e98d563e8 06-Aug-2013 Ben Murdoch <benm@google.com> Fix up NPE in onNewPicture from onPageFinished.

Some apps are relying on a non-null Picture still. So to enable
wider dogfooding, don't crash them.

BUG=b/10141739

Change-Id: Idbd477373b81e3ece8ec3157670d76b1098adb45
om/android/webview/chromium/WebViewContentsClientAdapter.java
2a120ba09921dbb1e8354ecbc4a6e063ec891101 01-Aug-2013 Martin Kosiba <mkosiba@google.com> Hook up computeScroll.

This hooks up the computeScroll call.

Change-Id: If5b86e3e858f0476b95ad9415ca52dcbca6c4f5a
om/android/webview/chromium/WebViewChromium.java
6c29f2c2125858406c6e2562deab6e0a35fe746a 31-Jul-2013 Ben Murdoch <benm@google.com> Add Colour picker border resources.

Depends on https://chromiumcodereview.appspot.com/19690009/
rolling down.

Change-Id: Ia6dcd47120c39d420d478d314f5da2ece84fa49d
om/android/webview/chromium/ResourceProvider.java
72db47d0508d6733072c38ee44883ecfaf612ca6 31-Jul-2013 Jonathan Dixon <joth@google.com> Fix possible race deadlock in webview chromium init

Bug: 10094744

Don't block waiting on UI thread to do work that needs to take the lock
we're already holding.

Change-Id: Ia37f5c6e29899c99e17342c9c065c88429323cd0
om/android/webview/chromium/WebViewChromiumFactoryProvider.java
2841152693d0410f8e8c309aae514329f008a612 25-Jul-2013 Martin Kosiba <mkosiba@google.com> Add a comment to setOverScrollMode.

This explains why mAwContents can be null in that method.

Change-Id: I6350f8e65258dea462bb3ce5496d2af2bea271ae
om/android/webview/chromium/WebViewChromium.java
ab5398debe64d34306b0f709a93d840078ae181d 23-Jul-2013 Martin Kosiba <mkosiba@google.com> Hookup setOverScrollMode.

This hooks up the setOverScrollMode API.

BUG:6946454
Change-Id: Ied414e1ec61e9d687f774389388d84086a1b62de
om/android/webview/chromium/WebViewChromium.java
e82e60cfe4df180d0a5b0ec1f40187c4b1dbcaed 24-Jul-2013 Jonathan Dixon <joth@google.com> Merge "Hookup WebViewChromium.setBackgroundColor" into master-chromium
efea4d8fe88696d8ced7711192e8471eabd7c3d8 22-Jul-2013 Ben Murdoch <benm@google.com> Fix handling of non-data: base-URL loads.

When faced with a non-data:scheme base URL, the classic WebView
would simply dump the data string into the WebView (using the passed
mime type) without performing the usual URL loading steps such as
decoding URL encoded entities.

Fix the WebViewChromium implementation to also have this behavior -
prior to this CL we would load all data (regardless of the base URL)
passed to loadDataWithBaseUrl as a data: URL. This meant that inside
the Chromium stack we'd treat these loads as regular URL loads and
perform the URL entity decode. Some apps relied on this decode not
happening so this is primarily a backwards compatibility quirk.

Bug: 9894754

Change-Id: I942634a09dbcf6db799a1daf64ba334757b1fa79
om/android/webview/chromium/WebViewChromium.java
058714d7ae16bbfc096d9b4e0423efeb897bae68 20-Jul-2013 Jonathan Dixon <joth@google.com> Hookup WebViewChromium.setBackgroundColor

Change-Id: Ie22b18beef01a4a6d539adf3579d56615de7a820
om/android/webview/chromium/WebViewChromium.java
245b3a6a2a7850a46536a423594286e04e702006 19-Jul-2013 Jonathan Dixon <joth@google.com> Add tracing for client callbacks

This should be useful for app compat and perf tracing

Change-Id: I878bee4971c8a15746f189ee5e2d922c80d268bf
om/android/webview/chromium/WebViewContentsClientAdapter.java
6ef347a29d692df672aaf59ee4926a476288476a 16-Jul-2013 Ben Murdoch <benm@google.com> Backwards compatibility for loadUrl and JavaScript URLs.

Apps targetting <= JBMR2 should not have the content replaced when
loading a javascript: URL for backwards compatibility with the
classic WebView. Apps targetting K or higher should use the new
WebView.evaluateJavaScript API instead of loading a javascript:
URL (WebView API to be added in a later CL).

BUG=9814043

Change-Id: I5209a61694ad4250c6e3000ec6f97b83db27eeab
om/android/webview/chromium/WebViewChromium.java
d892da7b96ede661d549be446c6f4c4dd884ed0c 11-Jul-2013 Ben Murdoch <benm@google.com> Parse Cookie URLs before passing into into android_webview/

The classic cookie manager would do some parsing on the url supplied
to the CookieManager methods to get it into a reasonable shape if
necessary. Apps rely on the fixing up, so replicate it for the
Chromium Cookie Manager.

Change-Id: I942f0946ef85f717ddb845c9a280575113469773
om/android/webview/chromium/CookieManagerAdapter.java
1e5325bde6fb074ce556a4e2833114d890ed21f3 11-Jul-2013 Jonathan Dixon <joth@google.com> Enable WebView GL mode.

Turn on GL be default. It can still be disabled via
--disable-webview-gl-mode if needed.

Change-Id: I1b07ad7757dcb2cf90410e13d1df7fb68cf23b71
om/android/webview/chromium/WebViewChromiumFactoryProvider.java
ade6d4efff010f977b95945fa3d7aa5b92862e80 09-Jul-2013 Martin Kosiba <mkosiba@google.com> Add autofill_popup_window resource.

This adds the missing mapping for the new autofill_popup_window
resource (added in http://crrev.com/18207004)

Change-Id: Ie2b15abbb1fc48041d4fff499290a484d2614cf7
om/android/webview/chromium/ResourceProvider.java
3951fbadf5157dd3fe73decc879f9b763e780b09 05-Jul-2013 Martin Kosiba <mkosiba@google.com> Overscroll hookup [2/2]

This adds the InternalAccessAdapter implementations needed by
https://codereview.chromium.org/18717002/.

Change-Id: Ied89661e26e804b2d00452bde36c8b53809e54a8
om/android/webview/chromium/WebViewChromium.java
2a5e561c09bd9fc7b369d99c9166fa588e20ed38 28-Jun-2013 Martin Kosiba <mkosiba@google.com> Overscroll hookup [1/2]

This adds the InternalAccessAdapter implementations needed by
https://codereview.chromium.org/18717002/.

Change-Id: I108ad7b0b36de8d357c36011f25fd0c3ac75f933
om/android/webview/chromium/WebViewChromium.java
a6f2939f98aeaf67533a7fd3f5c999f207451f1c 29-Jun-2013 Selim Gurun <sgurun@google.com> Remove deprecated static method.

Remove deprecated getInstance() method from HttpAuthDatabase. Depends
on https://codereview.chromium.org/18051014/.

Change-Id: I984451b102126b861f360af8cb2911e78d124f04
om/android/webview/chromium/WebViewChromiumFactoryProvider.java
om/android/webview/chromium/WebViewDatabaseAdapter.java
743e12bea37cd90ecba611e55632acfb7d0ef625 02-Jul-2013 Mikhail Naganov <mnaganov@google.com> Merge "Trivial fix to unlock the automerger." into master-chromium
3d35289789339fbe14c141542499fd11d83bf394 02-Jul-2013 Primiano Tucci <primiano@google.com> Trivial fix to unlock the automerger.

http://crrev.com/18051014 broke the automerger.

Change-Id: I7c5dde6c9bc192f63e4439cbf7091d0449f7f7ab
om/android/webview/chromium/WebViewDatabaseAdapter.java
ffa63216ba3a69255af88d436feb2f7d758cc321 01-Jul-2013 Marcin Kosiba <mkosiba@google.com> Merge "Ensure that the description in onReceivedError is not null." into master-chromium
3740f51cc627b7e9274f8614fe78962f259547b8 28-Jun-2013 Selim Gurun <sgurun@google.com> Merge "Add ui resources mapping for autofill" into master-chromium
bbef8de5696d48fc6458c926026fc524a62814e1 01-Jun-2013 Selim Gurun <sgurun@google.com> Add ui resources mapping for autofill

Add mapping for ui resources to the glue layer. This CL depends
on https://codereview.chromium.org/16212007/.

Bug: 5013406
Change-Id: Ia5a51b1f2fbaafa63efebbc5f2c25ce8ffa53527
om/android/webview/chromium/ResourceProvider.java
om/android/webview/chromium/WebViewChromium.java
5c990caf9c0237064dab94059f6c46fc2d51cd97 05-Jun-2013 Ben Murdoch <benm@google.com> Plumbing for new Accessibilty implementation.

Plumb WebViewProvider.getAccessibilityNodeProvider through
to AwContents.

Change-Id: I426ca76d23722e8afcdfe1d910b675c16153c238
om/android/webview/chromium/WebViewChromium.java
4dcabaef9151384b571327b62234409b31caef38 21-Jun-2013 Jonathan Dixon <joth@google.com> Provide softer fallback for legacy apps attempting private browsing

Bug: 7390806

Rather than throw an exception on pre-KLP apps, vend a DOA WebView
instance. This ensures no privacy info can leak through the app
misusing a 'normal' functioning instance.

Change-Id: Id6afd4639ce4b0cc076e1fa03d96e94194fc5a0d
om/android/webview/chromium/WebViewChromium.java
c3d28c85f3c7710e9af4a8c404426aac2a3721b1 20-Jun-2013 Ben Murdoch <benm@google.com> Rename resource IDs in the month picker and add week picker* resources.

The sanity that exists in resource loading is restored.

* week picker is disabled behind a flag in chromium for the time being.

Change-Id: I295818989271fc760f59656a09845682281b7b5b
om/android/webview/chromium/ResourceProvider.java
c8a03efcd8addbebb32b708b67efa869591e8ef7 20-Jun-2013 Ben Murdoch <benm@google.com> Allow automerger to merge down new resource id names.

Remove runtime check that resources are mapped so that WebView
can start up, but don't try and open a month picker :0

Change-Id: Idc433d7f9e5c5c041effdf9c0c993c46f7415024
om/android/webview/chromium/ResourceProvider.java
11f7c1b02e49a6a8eaec26111f08edec45feb01a 12-Jun-2013 Torne (Richard Coles) <torne@google.com> Revert "Load the JNI code in a static initialiser."

This is too magical an approach; put it back how it was in preparation
for a new implementation.

This reverts commit cf95a6ca0ef9d9f6f4721cfc76805ce624808a1a.
om/android/webview/chromium/WebViewChromiumFactoryProvider.java
22698156cb046f2a2d6874d952548835fdbe8588 17-Jun-2013 Jonathan Dixon <joth@google.com> Merge "Fix for popup blocker" into master-chromium
bbfef40e5fc625f4821f012fae7f16468b7308cf 15-Jun-2013 Jonathan Dixon <joth@google.com> Fix for popup blocker

Some applications are known to send a null WebView as the child
view to block popups, so add support for this.
Depends on http://crrev.com/206516

Bug: 8267689

Change-Id: I32a97caee1a3499c08fabfca55988787c2af0fa2
om/android/webview/chromium/WebViewChromium.java
om/android/webview/chromium/WebViewContentsClientAdapter.java
68b88aabcf7e24e16e8c1f9080a8f7925663342d 03-Jun-2013 Ben Murdoch <benm@google.com> Import resources needed for colour chooser.

Bug: 7621527

Change-Id: I15c0dae203913fb76fb8cad33406f1d811c77fb9
om/android/webview/chromium/ResourceProvider.java
cf95a6ca0ef9d9f6f4721cfc76805ce624808a1a 04-Jun-2013 Torne (Richard Coles) <torne@google.com> Load the JNI code in a static initialiser.

Rather than wait until an instance of WebViewChromiumFactoryProvider is
constructed, load the JNI libraries in that class's static initialiser
instead. Static initialisers are run while preloading classes into the
zygote, so this change means that the JNI library can be preloaded by
adding this class to the list.

Change-Id: I31aea43a6faf6d084439760f4f7617991d7306ed
om/android/webview/chromium/WebViewChromiumFactoryProvider.java
a92695363c0578f14a809f61b657f009564985c0 03-Jun-2013 Ben Murdoch <benm@google.com> Refactor ResourceProvider.verifyFields.

Tidy up the code the resource provider uses to check for unmapped
resources brought in from Chromium.

Change-Id: I56c8e6ab95b8ac96065f926f1878c3997086ba1c
om/android/webview/chromium/ResourceProvider.java
a7fba41c5661cb61b41c8a4ff2d69e5153666f7f 03-Jun-2013 Ben Murdoch <benm@google.com> Implement WebViewChromium.shouldDelayChildPressedState

Trivial implementation of shouldDelayChildPressedState. Always return
true as the WebView may scroll. Classic WebView does the same; this
doesn't need to be part of the WebViewProvider interface as the default
implementation also just returns true. Once we track master we can
remove entirely.

Bug: 9230062
Change-Id: If8b74356730d35b3e23bd5533b31a069988deceb
om/android/webview/chromium/WebViewChromium.java
53527087680509612ee5d1a5ab34244fd3de368d 31-May-2013 Jonathan Dixon <joth@google.com> Merge "Make findAll call through to the async version" into master-chromium
f37548d6d8e2a73c65d675a26706a38f52960800 31-May-2013 Jonathan Dixon <joth@google.com> Make findAll call through to the async version

Required for upstream change https://codereview.chromium.org/16231015

Change-Id: I2f1295adeac386f0424e14026d1913c650a02d4f
om/android/webview/chromium/WebViewChromium.java
55809b524523f9aa9428892c5977d2ba3c31f65e 30-May-2013 Mikhail Naganov <mnaganov@google.com> Merge "Make WebSettings.{get|set}DefaultZoom a no-op" into master-chromium
a9381cc42091886e65a8875d66ac682e77787790 23-May-2013 Mikhail Naganov <mnaganov@google.com> Make WebSettings.{get|set}DefaultZoom a no-op

See the bug for the discussion.

Bug: 9004875

Change-Id: Ie5e08f2eacec4b75fa2979095ff08392b6023ec7
om/android/webview/chromium/ContentSettingsAdapter.java
4da292028d64b1df39a43abc83b397cc8583bb55 26-May-2013 Jonathan Dixon <joth@google.com> Temporarily enable merge thread mode

Doing a trial enable of the new (Software) render mode to gather data on
test stability.

Change-Id: I59cb8e932e4f3063afafedcd1d5261ca4ae8d8ef
om/android/webview/chromium/WebViewChromiumFactoryProvider.java
fe5174cf1ef1aab1071aa2f10e45e1bfc7e57d1c 17-May-2013 Selim Gurun <sgurun@google.com> Merge "Enable [get/set]SaveFormData Apis" into master-chromium
f2036938bc8f731e42e69d1956a490b607cf865f 16-May-2013 Selim Gurun <sgurun@google.com> Enable [get/set]SaveFormData Apis

Bug: 6335434
Change-Id: I5064b14b3b2a42f64e5a32a15875eb9beba4938e
om/android/webview/chromium/ContentSettingsAdapter.java
b7b706b2ed5cbb77dd690f5405b626a429989714 16-May-2013 Ben Murdoch <benm@google.com> Hook up WebViewChromium.performAccessibilityAction correctly.

Bug: 8482000
Change-Id: Ic92b2fed8a9a78d28e2f3c70128b688e5b722ed1
om/android/webview/chromium/WebViewChromium.java
961066b0d942b7708d4472d18d532f21987085db 09-May-2013 Selim Gurun <sgurun@google.com> Implement hasFormData api

Bug: 6234236
Change-Id: Ieb35d03aa12c1a83216090bb7af416968acf1949
om/android/webview/chromium/WebViewDatabaseAdapter.java
80dc82497c6ce3f7855b65f725575054e5d57960 09-May-2013 Selim Gurun <sgurun@google.com> Merge "Implement WebViewDatabase.clearFormData API" into master-chromium
2a365e86836ab9512d75cfe570520eefb5dd4565 08-May-2013 Mikhail Naganov <mnaganov@google.com> Merge "Switch zoom settings to AwSettings" into master-chromium
7962d3fa1b66ed25aba03a2d48f6c47528d7d95c 07-May-2013 Primiano Tucci <primiano@google.com> Switched WebView command line to use file instead of system property.

Removed the former |webview.chromium.flags| system property.
Now WebView startup paths load the command line arguments from
/data/local/tmp/webview-command-line (if the file exists).
Adding also the webview_command_line script for getting/setting the
file contents (like adb_content_shell_command_line).

BUG:8357127
Change-Id: Ic8962d88e7d8895f04897fb34303abf8517fc560
om/android/webview/chromium/WebViewChromiumFactoryProvider.java
49ff1a6656a115852ee45955985f791429e23527 03-May-2013 Primiano Tucci <primiano@google.com> Added support to load command line flags from external file.

If the system property |webview.chromium.flags| evaluates to an existing file, WebView startup paths will init the command line using the contents of the file.

BUG:8357127
Change-Id: I5c819e0f41d94bbca40caf6c80254a08ced90a35
om/android/webview/chromium/WebViewChromiumFactoryProvider.java
420c0da3a4e06e1ac5574091e7c9c286ef012369 03-May-2013 Mikhail Naganov <mnaganov@google.com> Switch zoom settings to AwSettings

ContentSettings are no more used in WebView!

Depends on https://codereview.chromium.org/14840011/

BUG=8296421

Change-Id: I2aa90c4b6550e8f8092a023ea24e3d5551c4298b
om/android/webview/chromium/ContentSettingsAdapter.java
om/android/webview/chromium/WebViewChromium.java
91211061b2b94878b701a70dc94d456c3d5391f4 29-Apr-2013 Ben Murdoch <benm@google.com> Merge "Revert "Stub out pause/ResumeTimers until b/8639231 is resolved."" into master-chromium
98c49cd8d9e1ebba49e508ca516ece4f76753e3f 26-Apr-2013 Jonathan Dixon <joth@google.com> Merge "Cleanup onDraw() method" into master-chromium
7ab33360e331e04f515d532064670e210d174a7a 23-Apr-2013 Tao Bai <michaelbai@google.com> Cleanup onDraw() method

Removed logic were pushed to AwContents.onDraw.

Change-Id: I89cfea2db8f9d507331d04c0970d8efed46fb696
om/android/webview/chromium/WebViewChromium.java
669bb1a0d4a4acef0729688f96eb3da001725d9a 26-Apr-2013 Jonathan Dixon <joth@google.com> Merge "Set no-merge-ui-and-compositor-threads by default." into master-chromium
531e68a2b50a5e542eeede13907f29e463a99ebf 26-Apr-2013 Ben Murdoch <benm@google.com> Revert "Stub out pause/ResumeTimers until b/8639231 is resolved."

The bug is now fixed.

This reverts commit 06f656d1143ad9c738eff35a0a8c557adf036362.

Change-Id: I6bf37969a096af64ddbd30b85aa0cb2e9d52c279
om/android/webview/chromium/WebViewChromium.java
bbe58198e8cce0c35c42809aebc965aa2b476e1c 26-Apr-2013 Tao Bai <michaelbai@google.com> Calling 2-param onShowCustomeView()

Change-Id: I2937a115c10c1b8b532b7283d566d43d0c75ee31
om/android/webview/chromium/WebViewContentsClientAdapter.java
0657abeb9374dfb8c49010c08d8da417f22d8e21 26-Apr-2013 Tao Bai <michaelbai@google.com> Set no-merge-ui-and-compositor-threads by default.

Change-Id: I0c0b7206c0ad0f28e12e7712c9d8e4acdf840ea2
om/android/webview/chromium/WebViewChromiumFactoryProvider.java
a74f09e2e4f2801677feee63ffdd741fb9acae61 25-Apr-2013 Mikhail Naganov <mnaganov@google.com> Merge "Switch over to AwSettings in ContentSettingsAdapter" into master-chromium
d6b56ff89338d0b3a6ba0cb413b1fe559d6284e0 24-Apr-2013 Mikhail Naganov <mnaganov@google.com> Switch over to AwSettings in ContentSettingsAdapter

Depends on https://codereview.chromium.org/14271024/

BUG=8296421

Change-Id: Ic49dc42a541949f36d2cad1a3f52a25d8f276f82
om/android/webview/chromium/ContentSettingsAdapter.java
om/android/webview/chromium/WebViewChromiumFactoryProvider.java
6832aa63c94ee9ea1ebbee7e7e40b7d2dda0e820 04-Apr-2013 Kristian Monsen <kristianm@google.com> Fix for bug 8322948: implement default JS dialogs

Using the new JsDialogHelper

Change-Id: I7c6be7b4e195e2cc7228706f1a7b60e1ef655c2a
om/android/webview/chromium/WebViewContentsClientAdapter.java
09e718bac5900c84b8402b774d306dca7f7fdf09 22-Apr-2013 Selim Gurun <sgurun@google.com> Implement WebViewDatabase.clearFormData API

Bug: 6234236

Implement WebViewDatabase.clearFormData for chromium based webview.

Change-Id: Ia86905b090bdc5062b41fee04abd5bc8a1f7c837
om/android/webview/chromium/WebViewChromiumFactoryProvider.java
om/android/webview/chromium/WebViewDatabaseAdapter.java
06f656d1143ad9c738eff35a0a8c557adf036362 23-Apr-2013 Ben Murdoch <benm@google.com> Stub out pause/ResumeTimers until b/8639231 is resolved.

Change-Id: Ie0d3b3648a3cf237e4a7a952aff3c1e5204ecf81
om/android/webview/chromium/WebViewChromium.java
51f7cf16cd02f14050bb723175a2a57570e8486d 23-Apr-2013 Tao Bai <michaelbai@google.com> Allow compositor to request a GL functor callback outside of draw cycle

This is the first patch, and provide a way for AwContents to requestDrawGL.
Change-Id: I8ed54849befcc678482a56f89383ee7c5f1f9249
om/android/webview/chromium/DrawGLFunctor.java
om/android/webview/chromium/WebViewChromium.java
86ba4c3b3e059bdddcace47df9c47723b4fb3abc 19-Apr-2013 Ben Murdoch <benm@google.com> Remove import that was deleted upstream.

Change-Id: Iff6e292f843720f264a5d7a3a08d3a3ba7014a27
om/android/webview/chromium/WebViewChromium.java
2b8b247b4f69989baf2b403c2a25676d431ca9cf 17-Apr-2013 Ben Murdoch <benm@google.com> Fix setting of Chromium command line via System properties.

We need to read system properties set via adb shell setprop
from android.os.SystemProperties, not java.lang.System.

Change-Id: If58f03a3427d5fdd6b3f127619cd73050e62f0a0
om/android/webview/chromium/WebViewChromiumFactoryProvider.java
c5cde8c18df853e11d1ec528508fd0fe2e742d5c 22-Feb-2013 Kaan Baloglu <kaanb@google.com> Implementation of the graphic buffer interface for cc

Change-Id: Ic023e690448abbbae8689d13b3357ec497808ea7
om/android/webview/chromium/GraphicsUtils.java
om/android/webview/chromium/WebViewChromiumFactoryProvider.java
b873835a4c4b17a0962f92b9f9158476c96c6c1f 11-Apr-2013 Marcin Kosiba <mkosiba@google.com> Remove references to removed resource.

This fixes the build break caused by https://codereview.chromium.org/13862016.

Change-Id: I12a0d9758a4eaf75618b8d180203f94d8612abac
om/android/webview/chromium/ResourceProvider.java
075c4696421fc54a5c21c746c900b9281e7ae476 08-Apr-2013 Bo Liu <boliu@google.com> Fix unchecked operation in WebBackForwardListChromium.java

Change-Id: Ifba1a5dd0b3ce7608ff837755818a462adc868c8
om/android/webview/chromium/WebBackForwardListChromium.java
be2a57c401cf1bb65d541b0bef30d71962d22488 03-Apr-2013 Tao Bai <michaelbai@google.com> Plumb WebChromeClient.getDefaultVideoPoster.

Change-Id: I95ae5ddc91b8f07671f95182684662e7d32c9980
om/android/webview/chromium/WebViewContentsClientAdapter.java
c3716ed7c818292fad946647afe3a230cc743fcb 02-Apr-2013 Ben Murdoch <benm@google.com> Fix WebView build.

After https://codereview.chromium.org/12939021/
LibraryLoader.getLibraryToLoad no longer exists.

Remove our only call to it as it's only used in an exception
message.

Change-Id: If170629dd0e9e3aaaf743ef9495e18adb6601cd4
om/android/webview/chromium/WebViewChromiumFactoryProvider.java
8dad8ce44efeb25d5780d4d6f28b45b95ad194c4 29-Mar-2013 Jonathan Dixon <joth@google.com> Merge "WebIconDatabase -> no-op" into master-chromium
4e6a034f041cbb629386a6f4dd45f1cdbd6e1abf 28-Mar-2013 Jonathan Dixon <joth@google.com> WebIconDatabase -> no-op

Bug: 7331507

This is deprecated, and its only useful function was to enable favicon
downloading, which chromium webview does automatically.

Change-Id: I0e864fb7bb29f58fc31fa9d3cfbcd0baa66e3fca
om/android/webview/chromium/WebIconDatabaseAdapter.java
f909ca91bfefe7344f9a0e2c684150df1376d9a4 28-Mar-2013 Jonathan Dixon <joth@google.com> Remove ContentViewClient dependency

This is in preperation for AwContentClient no longer extending
ContentViewClient. See upstream patch
https://codereview.chromium.org/13136002

Change-Id: Iee9355d18eff132dae2e353b8aaa2f02275a9a1e
om/android/webview/chromium/WebViewContentsClientAdapter.java
782fea892aaa4a0867547697d49f6a1dd265d437 27-Mar-2013 Tao Bai <michaelbai@google.com> Plumb WebChromeClient.onHideCustomView().

Change-Id: If35d31865645432b6a8b4f700462c2e0a78d064e
om/android/webview/chromium/WebViewContentsClientAdapter.java
e478bc775f7f0804009e89325a91e6a88374b62d 13-Mar-2013 Selim Gurun <sgurun@google.com> Merge "Implement touch icon functionality" into master-chromium
7da9c0c080655cfd18bb4ab0937d89be4c2ca659 12-Mar-2013 Marcin Kosiba <mkosiba@google.com> Ensure that the description in onReceivedError is not null.

This is identical to the code in BrowserFrame.onReceivedError.

Change-Id: Ifd6c293b2c22e9e3203ed9ae0e4266bd492b74c8
om/android/webview/chromium/WebViewContentsClientAdapter.java
690b7c64c2aaae62680d137fca34c7fac5176ed2 12-Mar-2013 Selim Gurun <sgurun@google.com> Implement touch icon functionality

Bug: 6295380
Change-Id: If70a5157f11158b080bbdad60d4331f9e710317d
om/android/webview/chromium/WebViewContentsClientAdapter.java
7cb3dd1c0aca371b628b80afa69c58638de30fa1 11-Mar-2013 Martin Kosiba <mkosiba@google.com> Use AwContents methods directly instead of using ContentViewCore.

This removes all references to the ContentViewCore type from WebViewChromium.
Depends on https://codereview.chromium.org/12611008/.

Change-Id: Ia6bb975482cbbedda26c1237a4ee383103cf0646
om/android/webview/chromium/WebViewChromium.java
2729ce59ec2479c72f2422f49c2f0f0a121ee5b4 07-Mar-2013 Tao Bai <michaelbai@google.com> Plumb WebChromeClient.getVideoLoadingProgressView

Change-Id: I2414a6e538962aee4ef272054c3f37546f946a82
om/android/webview/chromium/WebViewContentsClientAdapter.java
5cc4057b3fdf00edfa10678c02f5dc3478150ea3 07-Mar-2013 Kristian Monsen <kristianm@google.com> Merge "Use AwBrowserContext in the glue layer" into master-chromium
aa8b39f3e3f208586f3750d7278f1239a09ebd32 07-Mar-2013 Kristian Monsen <kristianm@google.com> Use AwBrowserContext in the glue layer

Change-Id: I9b1491768ca99396cdea2d133524e2de0bc34960
om/android/webview/chromium/WebViewChromium.java
om/android/webview/chromium/WebViewChromiumFactoryProvider.java
7113a884c4b0cf3d78d77648e9724145fa24e82c 05-Mar-2013 Tao Bai <michaelbai@google.com> Plumb WebSettings.set/getMediaPlaybackRequiresUserGesture.

Bug: 6842070

Change-Id: Iacaa35c487d2a596efff1460936acf25a9d8c880
om/android/webview/chromium/ContentSettingsAdapter.java
3520eb778d668dc76ca4541c69abd568b9d02691 08-Feb-2013 Mikhail Naganov <mnaganov@google.com> Plumb WebView.setInitialScale

Also, make sure that WebView.getScale and WebViewClient.OnScaleChanged
doesn't take into account device screen density, for legacy compatibility

BUG=5012880,5012790

Change-Id: Iaaaee588728464b5a003a2292141c780a9f17577
om/android/webview/chromium/WebViewChromium.java
om/android/webview/chromium/WebViewContentsClientAdapter.java
4a0a38f783cb93f6a600da3ab296b72499239ffb 02-Mar-2013 Jonathan Dixon <joth@google.com> Comment out computeScroll logging

Bug: 6029133

This is too noisy in everyday use. But keeping the function call in the
code (not-commented out) for easy grepping and tracking.

Change-Id: Ic6c760fcd53da1c27f320b70122b23e9b889c7e7
om/android/webview/chromium/WebViewChromium.java
6a72d0b9821d4b547f6c4c34902685965e9645b1 01-Mar-2013 Mikhail Naganov <mnaganov@google.com> Merge "Plumb WebSettings.loadWithOverviewMode" into master-chromium
d97646176837536731ca7747dfdf506482c853c7 28-Feb-2013 Mikhail Naganov <mnaganov@google.com> Change 'use fixed layout mode' setting in sync with 'use wide viewport'

Change-Id: Ica0c23dcd9d8125c6e4fb01b09548d751c53e8cd
om/android/webview/chromium/ContentSettingsAdapter.java
4a2dbffec6475c4685eafcc83e7a4a03d6c1bdcd 06-Feb-2013 Mikhail Naganov <mnaganov@google.com> Plumb WebSettings.loadWithOverviewMode

No CTS tests for this setting.

Change-Id: I87f4bc45038410901014342d9d23207cfcdc5b4e
om/android/webview/chromium/ContentSettingsAdapter.java
970a2065df4f96ceaa9bc38d82caea9221dfa4c9 24-Dec-2012 Jonathan Dixon <joth@google.com> Enabling DCHECKs - logging only for now.

Bug: 8263274

still need:
- install report handler to actually make it assert
- fixing the failing DCHECKs!

Change-Id: I2a650eec4a6eed1ce3478e7a77c640a83ea3f767
om/android/webview/chromium/WebViewChromiumFactoryProvider.java
1b05bd67b2b2118b8de9089edd265b14735fbac0 26-Feb-2013 Selim Gurun <sgurun@google.com> Merge "Implement onReceivedSslError" into master-chromium
6f0462d7f9823471f64087345b22f5a6e1c9cef7 26-Feb-2013 Ben Murdoch <benm@google.com> Merge "No-op ContentSettingsAdapter.setAppCacheMaxSize." into master-chromium
652dff60810f6f60981ccaefdb55e905d3e70625 26-Feb-2013 Ben Murdoch <benm@google.com> Merge "Fix build." into master-chromium
edb98e3c667e37b00f338b51fb2e5d6bece4c447 26-Feb-2013 Ben Murdoch <benm@google.com> Fix build.

PictureListener changes are now targetting JB MR2 and the K constant
no longer exists.

Change-Id: If403e69d072cf27ee780644d3828ec51e4f882b1
om/android/webview/chromium/WebViewChromium.java
5ad9b56f2db23760d3096476916f6ee9ad25747d 25-Feb-2013 Ben Murdoch <benm@google.com> No-op ContentSettingsAdapter.setAppCacheMaxSize.

This is not planned to be implemented.

Bug: 6294639
Change-Id: If308ccba3640b656427b6648a88d722bad83bd32
om/android/webview/chromium/ContentSettingsAdapter.java
9405536501747e2d7b4fc46a33e5f0a1e7fd47ac 23-Feb-2013 Jonathan Dixon <joth@google.com> Mark more methods that won't be implemented as no-op.

Bug: 7331507,5012890

Most of the WebIconDatabase is planned to be a no-op on chromium.
Likewise save/restorePicture will not be supported.
Also, wire up getFavicon.

Change-Id: Ibe0558f771e61c08ea288ea7f0fdd52a077c74d7
om/android/webview/chromium/WebIconDatabaseAdapter.java
om/android/webview/chromium/WebViewChromium.java
810dbede330745ea00d2d1d746d39d6e8cd3c16b 25-Feb-2013 Ben Murdoch <benm@google.com> Plumb WebSettings.get/setDomStorageEnabled.

Bug: 6295301, 8260794
Change-Id: I676642c2e94a3f2400da51237d30c023f139aa3b
om/android/webview/chromium/ContentSettingsAdapter.java
62c1f9e94fbc64193ded0449b96dd2a44f810061 01-Feb-2013 Selim Gurun <sgurun@google.com> Implement onReceivedSslError

Bug: 6204287
Change-Id: I68529ceef8ec1a3e9f03ba30ffcb02a481db7fe3
om/android/webview/chromium/WebViewContentsClientAdapter.java
5d20093562806fbce9cc0d3eb4a411ed6c5ce1c0 23-Feb-2013 Bo Liu <boliu@google.com> Hook up WebStorageAdapter methods

Change-Id: Ie61645920c0a6f5ae1535d628c4fb1ce833fbc8a
om/android/webview/chromium/WebStorageAdapter.java
om/android/webview/chromium/WebViewChromiumFactoryProvider.java
e51e2365d481a173bd2275e2b3f8d62f0d99898d 21-Feb-2013 Ben Murdoch <benm@google.com> Fake an onNewPicture callback after onPageFinished.

The new upstream rendering path altered the timing on onNewPicture
callbacks such that some of the CTS tests became flaky, timing out
waiting for pages to load. Re-introduce a hack in the glue layer that
will fake an onNewPicture callback at the time the CTS tests expect
to deflake them.

Bug: 8208948
Change-Id: I21f20880099dd3d5f06079ba8662981764991455
om/android/webview/chromium/WebViewContentsClientAdapter.java
6b5f3d1546ae2a9c712cde60c54ec027582bc4e6 21-Feb-2013 Martin Kosiba <mkosiba@google.com> Use getContentHeight/WidthCss methods from AwContents.

This switches WebViewChromium to use the newly exposed width and height
getters.

Change-Id: Ia21921e8bcdd604a11a030810b741f134a57ec82
om/android/webview/chromium/WebViewChromium.java
ebeaef778ad1703817402c2e4463e8779ea63a5c 19-Feb-2013 Kristian Monsen <kristianm@google.com> Merge "Enable geolocation for the chromiumpowered webview." into master-chromium
ff2704e614eb490baea0acb5c8ab22e061033694 09-Feb-2013 Kristian Monsen <kristianm@google.com> Enable geolocation for the chromiumpowered webview.

Previously this change caused bug 7929330, I will monitor
the bots after landing this and revert if it happens again.
It is not reproducible locally.

Change-Id: Id1290f6fd28328e197088250f0c9c6982ce1c933
om/android/webview/chromium/WebViewChromiumFactoryProvider.java
1e2928bab700c1a4c5a99d4e8c87e259866beb1d 18-Feb-2013 Ben Murdoch <benm@google.com> Plumb WebChromeClient.onReceivedIcon.

Bug: 6295041
Change-Id: I5810b01aec831632e83f3550c2aa66007511647d
om/android/webview/chromium/WebViewContentsClientAdapter.java
09d178c3fcae5bb8ab8a7806f3730b94abeba548 15-Feb-2013 Kristian Monsen <kristianm@google.com> Merge "Create geolocationpermissions when creating a webview" into master-chromium
8166110add693878f19ab0551c630a22caa2e30c 15-Feb-2013 Kristian Monsen <kristianm@google.com> Create geolocationpermissions when creating a webview

It can be used inside the webview, so it cannot be lazily created.

Change-Id: If8754c6c7d999291b2d4295db1dcaf37b1190cef
om/android/webview/chromium/WebViewChromiumFactoryProvider.java
86417b31b19f32d6ffcb8114babc92ad40d34f62 15-Feb-2013 Kristian Monsen <kristianm@google.com> Merge "Fix for b/6295008 Implementing setGeolocationEnabled" into master-chromium
7dd19d26947b4aec3e97bc360c7f9a333e224b49 15-Feb-2013 Mikhail Naganov <mnaganov@google.com> Merge "Plumb WebSettings.setTextZoom for non-text autosizing layout modes" into master-chromium
1d48c7210b6a3bbf9cc9dd16d6bd36522e3952ce 15-Feb-2013 Mikhail Naganov <mnaganov@google.com> Plumb WebSettings.setTextZoom for non-text autosizing layout modes

BUG=7873666

Change-Id: Icb4078f2a06f40dea08982229a1d4776671ee8c5
om/android/webview/chromium/ContentSettingsAdapter.java
37495d9c1479f71f702ca3587a5952c133c35878 15-Feb-2013 Ben Murdoch <benm@google.com> Merge "Revert "Revert "Implement WebSettings.[get|set]DatabaseEnabled""" into master-chromium
f7bb780599aea67773e11763850892a6de69b4f0 15-Feb-2013 Leandro Gracia Gil <leandrogracia@google.com> Merge "Enable the capturePicture API." into master-chromium
e10a89c002f0d4699bc9ab64f37a3fc62ce2a7b6 15-Feb-2013 Ben Murdoch <benm@google.com> Revert "Revert "Implement WebSettings.[get|set]DatabaseEnabled""

The required patch from upstream Chromium has landed into
our downstream branch, so now downstream code can depend
on it.

This reverts commit 1b1de1da02cd1a8140b1dbb589cd71e23b46caf0.
om/android/webview/chromium/ContentSettingsAdapter.java
1b1de1da02cd1a8140b1dbb589cd71e23b46caf0 15-Feb-2013 Ben Murdoch <benm@google.com> Revert "Implement WebSettings.[get|set]DatabaseEnabled"

We need to wait for the requisite patch to land upstream first, and
merge down.

(https://codereview.chromium.org/12194033/)

This reverts commit ba70f865080c28469dafe3639948f358bb2e34f9.
om/android/webview/chromium/ContentSettingsAdapter.java
3a6311ba5c2f60d56ca04c06c415bdc8804cb313 15-Feb-2013 Ben Murdoch <benm@google.com> Merge "Add Chromium content/ resources overlay." into master-chromium
5d225eb06da31d8536d5239ad8445bc501d9795d 15-Feb-2013 Kristian Monsen <kristianm@google.com> Fix for b/6295008 Implementing setGeolocationEnabled

Hooking it up to the chromium webview settings.

Change-Id: I523ed8700b677ba39c2ed41bcff240bdc196c035
om/android/webview/chromium/ContentSettingsAdapter.java
1a801894ce6b0a86d58f1f768db7b2c48b4d6bc7 15-Feb-2013 Selim Gurun <sgurun@google.com> Merge "Implement WebSettings.[get|set]DatabaseEnabled" into master-chromium
0b3d6b3eed98293d3509b05241071ad7ffe76bf1 14-Feb-2013 Kristian Monsen <kristianm@google.com> Merge "Removing parameter not used inside the constructor of AwContents" into master-chromium
d441624dc5747bee621b07ba2017b0122ce0f601 08-Feb-2013 Kristian Monsen <kristianm@google.com> Removing parameter not used inside the constructor of AwContents

Create the native window separatly. Can be done since
https://codereview.chromium.org/12225090/
has landed.

Change-Id: I352ab7883cc3c701673550aabcc1af649cc79407
om/android/webview/chromium/WebViewChromium.java
e98a8a77d3f27ef6f5d34a17c845b66b1998fc06 13-Feb-2013 Bo Liu <boliu@google.com> Plumb through onShowCustomView callback

Original patch by acleung@google.com

Change-Id: Ibac9c402600300d3f89ff6db93b31235813e6ef9
om/android/webview/chromium/WebViewContentsClientAdapter.java
ba70f865080c28469dafe3639948f358bb2e34f9 05-Feb-2013 Selim Gurun <sgurun@google.com> Implement WebSettings.[get|set]DatabaseEnabled

Bug: 6294786

Implement Websql database. Also implement no-op methods for
[get|set]DatabasePath.

Change-Id: I7dd9161d12aaac34b6a14e4b53f8df5acee6e6a1
om/android/webview/chromium/ContentSettingsAdapter.java
e396494c3962a9625ba61472b56d20472258544a 07-Jan-2013 Ben Murdoch <benm@google.com> Add Chromium content/ resources overlay.

This CL introduces a resource overlay for the Chromium
powered WebView. These resources are imported from
upstream chromium.org and renamed with a "webviewchromium_"
prefix.

At build time, they will be injected into the
com.android.internal.R namespace so that they can be
referred to in code.

Bug: 7908547
Change-Id: Ifa00bae10118659c03c049d2a51f350144fe56a7
om/android/webview/chromium/ResourceProvider.java
96ee10cad186df4cc46eabf38ef37773eed75fef 07-Feb-2013 Ben Murdoch <benm@google.com> WebSettings.setRenderPriority -> no-op.

As discussed in the bug, implementing this as a no-op for
Chromium WebView.

Bug: 6335436
Change-Id: I2ca615cdcf5d6c3da416ddc6cc378b1b48c2b880
om/android/webview/chromium/ContentSettingsAdapter.java
b8ca3b2f5e893995542f08433289fbce9fe1283a 07-Feb-2013 Ben Murdoch <benm@google.com> Merge "Plumb WebViewDatabaseAdapter.clear/hasHttpAuthUsernamePassword." into master-chromium
b28c1d4a675b413827067961110b55c02f507038 07-Feb-2013 Ben Murdoch <benm@google.com> Merge "WebSettings.get/setSavePassword --> no-op." into master-chromium
e21ee6e79c57596d44737139b97c093167b58808 06-Feb-2013 Ben Murdoch <benm@google.com> Plumb WebViewDatabaseAdapter.clear/hasHttpAuthUsernamePassword.

These methods have been implemented upstream, we just need to plumb
them.

BUG:6234236
Change-Id: I387b8d2a953342121328fffb5f1e0ae7676ffcb1
om/android/webview/chromium/WebViewChromiumFactoryProvider.java
om/android/webview/chromium/WebViewDatabaseAdapter.java
94fff0308975ad0d5b19c744d4b3a5a700692638 06-Feb-2013 Ben Murdoch <benm@google.com> WebSettings.get/setSavePassword --> no-op.

WebViewChromium does not support the WebView APIs for inferring
and storing usernames and passwords used in web forms, so turn
the setting accessors into no-ops.

BUG: 6335194
Change-Id: I9c9695654cb48067f784506b4da02f31328560cb
om/android/webview/chromium/ContentSettingsAdapter.java
7f2e765819ddf5283ab25c9d07cb037de5405573 07-Feb-2013 Kristian Monsen <kristianm@google.com> Merge "Not using unused parameter private browsing when create AwContents" into master-chromium
a1f818cfa81f35795e5806671116cc5fe25ee035 06-Feb-2013 Kristian Monsen <kristianm@google.com> Not using unused parameter private browsing when create AwContents

Change-Id: Icea2ca5e6a982fe2498ed526daa5b6e40413c680
om/android/webview/chromium/WebViewChromium.java
98955223101eb30c5d820d14827e9047c9182f4f 06-Feb-2013 Jonathan Dixon <joth@google.com> Merge "Revert "Hookup Resources on video views"" into master-chromium
fd04fd7bd39559bae780324aed460f5b6685c477 06-Feb-2013 Jonathan Dixon <joth@google.com> Revert "Hookup Resources on video views"

This reverts commit 5ac5a8b4d70f29100dc140bfdcd4c3ed0c2c1a38

Change-Id: Ie0f2b6fe2cbfad2aa91d4507060352b6da62f3a7
om/android/webview/chromium/ResourceProvider.java
om/android/webview/chromium/WebViewContentsClientAdapter.java
de851dfb391f9a259cdb211dc930e9c505a2ff4b 06-Feb-2013 Jonathan Dixon <joth@google.com> Merge "Hookup Resources on video views" into master-chromium
5ac5a8b4d70f29100dc140bfdcd4c3ed0c2c1a38 29-Jan-2013 Alan Leung <acleung@google.com> Hookup Resources on video views

Change-Id: I53e72f695941a7f81cc39f78422fa72647ad643e
om/android/webview/chromium/ResourceProvider.java
om/android/webview/chromium/WebViewContentsClientAdapter.java
f15e28c8d30c2ccea58871c9d22f8b47e53d6ea4 09-Jan-2013 Leandro Gracia Gil <leandrogracia@google.com> Update the onNewPicture callback to support external native SkPictures.

Needs to be landed after https://codereview.chromium.org/11823027/ .

Change-Id: I1febd5330e61e84733d11b835142cb05cf21795e
om/android/webview/chromium/WebViewChromium.java
606709d4b1cd2a512db3ffc3fa6667fb76ac5509 01-Feb-2013 Kristian Monsen <kristianm@google.com> Part of fix for bug 6295008

Removing not implemented from setGeolocationDatabasePath. No plans
to let the user set this individual path, and storing the data in
a chromium webview shared preference.

Change-Id: I8996adfc48f67e0af80fedfd83248d60c769056b
om/android/webview/chromium/ContentSettingsAdapter.java
8979b2e6bf3b6b9236c949e0566ab710beb01b5b 28-Jan-2013 Kristian Monsen <kristianm@google.com> Merge "Wire up WebViewClient.onReceivedLoginRequest" into master-chromium
48e8d7bc6b971ae8a75713cc16c620385fa02705 28-Jan-2013 Kristian Monsen <kristianm@google.com> Merge "Hook up getVisitedHistory updated callback" into master-chromium
6d4097cfa188a95c95fd5d0c86238c91f817c3ed 18-Jan-2013 Ben Murdoch <benm@google.com> Plumb WebView.showFindDialog

Implement in terms of android.webkit.FindActionModeCallback.

Requires framework change: Ic3156eb50f99033a17ba3f83d0b4f39ba992afa8

BUG=5006564
Change-Id: Ic0b9a1a0f3c55b7a4339b3e2716279ac19a58db2
om/android/webview/chromium/WebViewChromium.java
34f6f8b237be5b481edd02143c673dc20d2015d4 18-Jan-2013 Jonathan Dixon <joth@google.com> Merge "Add a provider method to be added in framework." into master-chromium
fde8dae44f74be3de69ce6dd07b0023279b485a0 18-Jan-2013 Ben Murdoch <benm@google.com> Add a provider method to be added in framework.

This avoids us breaking the glue layer when the
frameworks/base change lands.

(see Change-Id: Ic3156eb50f99033a17ba3f83d0b4f39ba992afa8)

Change-Id: I5b5c2985d47ec10497675b8b4764824076c77906
om/android/webview/chromium/WebViewChromium.java
97a5fe19fb8224fd8ce867edf6692eceb5fd70d1 18-Jan-2013 Bo Liu <boliu@google.com> Wire up WebViewClient.onReceivedLoginRequest

Change-Id: I2dcf67a1f2900f817356792cad86b0a991c0926f
om/android/webview/chromium/WebViewContentsClientAdapter.java
809cfd05f0ac95dda1a754b0a3b6283112f12def 16-Jan-2013 Bo Liu <boliu@google.com> Hook up getVisitedHistory updated callback

Change-Id: Ifeb861338f7f5210528b9acd7d85db667eeb9f01
om/android/webview/chromium/WebViewContentsClientAdapter.java
10e88eb5c30d54aa9dbc588a84fb04a2b5fedb7c 16-Jan-2013 Kristian Monsen <kristianm@google.com> Catching generic Exception to get the automerger rolling

Change-Id: If7a58e524093e6acd8433551c41485e14fe4794b
om/android/webview/chromium/WebViewChromiumFactoryProvider.java
979b73ce2c37f98f70f482489b3977876ea2e6fa 16-Jan-2013 Kristian Monsen <kristianm@google.com> Fix build break

Change-Id: I7f4b414be983a3688833c7c357d32e0f69949ab4
om/android/webview/chromium/WebViewChromiumFactoryProvider.java
e59502f680ec71d2df3af0bab59d4ec3778052ae 15-Jan-2013 Bo Liu <boliu@google.com> Fix build after

onEvaluateJavaScriptResult was removed from the AwContentsClient
interface in
http://src.chromium.org/viewvc/chrome?view=rev&revision=176773

Change-Id: I772b6674ed92b2e571eced59f087236d686509ec
om/android/webview/chromium/WebViewContentsClientAdapter.java
52b029e1492481071624d91db3b26c08bba755cf 14-Jan-2013 Jonathan Dixon <joth@google.com> Merge "No-ops for some methods that won't be supported" into master-chromium
c991423af549558cc959aaf7b920d5dd40175241 14-Jan-2013 Marcin Kosiba <mkosiba@google.com> Merge "Implement WebView.onMeasure" into master-chromium
71678822f1ec93ebcee1e917fa5b52ff37ce65d4 12-Jan-2013 Jonathan Dixon <joth@google.com> No-ops for some methods that won't be supported

Bug: 6295357, 6295308

getEnableSmoothTransition
setEnableSmoothTransition
getNavDump
setNavDump
getUseWebViewBackgroundForOverscrollBackground
setUseWebViewBackgroundForOverscrollBackground

Change-Id: I490979b014a133dfecfef78462e6498e2b37c1da
om/android/webview/chromium/ContentSettingsAdapter.java
14c985bb8bea1ed45638d07fd72734dac7f818a0 11-Jan-2013 Selim Gurun <sgurun@google.com> Merge "Provide no-op implementations for deprecated APIs" into master-chromium
adc6c4d74c77a617100bdfeb174ab0c314b24ea8 11-Jan-2013 Selim Gurun <sgurun@google.com> Provide no-op implementations for deprecated APIs

Bug: 5012826
Change-Id: Icfd13d14f5d41876a29c0e51e62759aa466d0b72
om/android/webview/chromium/WebViewChromium.java
om/android/webview/chromium/WebViewDatabaseAdapter.java
d7bf6ab0cd8cc4005b112e4358eb797bb178a85f 02-Jan-2013 Marcin Kosiba <mkosiba@google.com> Implement WebView.onMeasure

Use the AwLayoutSizer to implement onMeasure.

Change-Id: Ieeed7cc20f713d139d66f4c62d4134d5b0c2a5a9
om/android/webview/chromium/WebViewChromium.java
5e5e4c68d3bdf49d684cbd0cbc437b6dec34074f 11-Jan-2013 Marcin Kosiba <mkosiba@google.com> Merge "Use AwContents.InternalAccessDelegate." into master-chromium
6861e6a860586938a127ed1f4c0c30043279594c 04-Jan-2013 Mikhail Naganov <mnaganov@google.com> Plumb WebSettings.{get|set}UseWideViewPort

BUG=6295354,6946506

Change-Id: I800a571889a25dd9a16f9ba76dc043c719545280
om/android/webview/chromium/ContentSettingsAdapter.java
9c5a40623b62737244deb2d04a98830d7ffa8404 28-Dec-2012 Leandro Gracia Gil <leandrogracia@google.com> Enable the capturePicture API.

Change-Id: I90a00045c07b5653ac868b01ce64f98e09fd42e8
om/android/webview/chromium/WebViewChromium.java
om/android/webview/chromium/WebViewContentsClientAdapter.java
4702a6de6031477029de5e6f5777c8b3e7846d35 10-Jan-2013 Marcin Kosiba <mkosiba@google.com> Use AwContents.InternalAccessDelegate.

This migrates WebViewChromium over to using AwContents.InternalAccessDelegate.
This change also adds an implementation of the setMeasuredDimension
callback which is required to implement onMeasure.

BUG=7380310

Change-Id: I6dda0ef01c6ce82fb92817de6afbe01c1b208f80
om/android/webview/chromium/WebViewChromium.java
36bc7b31b703081e48b6e4f56bbe50e1e3b32c45 09-Jan-2013 Leandro Gracia Gil <leandrogracia@google.com> Merge "Remove the scroll correction introduced in preDispatchDraw." into master-chromium
0b528e4924a7c14687181185bc66173ad18f00ea 08-Jan-2013 Leandro Gracia Gil <leandrogracia@google.com> Remove the scroll correction introduced in preDispatchDraw.

This is an obsolete workaround that was previously needed to make the defunct
TextureView (child-view) based render path work.

Change-Id: I22423fb9e67bbb93a5d15345f51403d548f8e1bc
om/android/webview/chromium/WebViewChromium.java
ba03529fdf8d5cfed0e2d8c0fe81eb1028a5b4ca 05-Jan-2013 Jonathan Dixon <joth@google.com> Minimal get/set UserAgent implementation

Just adding the minimum to keep basic backward compat.

Bug: 6212306

Change-Id: I6b0f4f02616bbce6c5795804d0527673c72d424d
om/android/webview/chromium/ContentSettingsAdapter.java
424a662ac1e640a72b14616a02e6e938a496f88e 03-Jan-2013 Ben Murdoch <benm@google.com> Merge "Throw exception when entering incognito mode with WebViewChromium." into master-chromium
9d18f71cd72e86382c4df71a8de70e27f69793fc 03-Jan-2013 Jonathan Dixon <joth@google.com> Merge "Re-attempt at refctoring libary loading" into master-chromium
5a25477f4323996be9d5cc32935066c73b47061b 03-Jan-2013 Ben Murdoch <benm@google.com> Throw exception when entering incognito mode with WebViewChromium.

BUG:7908757
Change-Id: I4b9d1e688b9540b76fe5d7637f3aa6e0f2b9f457
om/android/webview/chromium/WebViewChromium.java
58d5e9da9756274fa2cede82ab12723555ef0ed3 02-Jan-2013 Leandro Gracia Gil <leandrogracia@google.com> Merge "Override onNewPicture in preparation of the incoming new abstract method in AwContentsClient." into master-chromium
f3e3e4e6b6c5798f435c1d14379edeb479e3b25d 02-Jan-2013 Jonathan Dixon <joth@google.com> Re-attempt at refctoring libary loading

This is a reworked version of https://googleplex-android-review.googlesource.com/#/c/255006/
- that CL never stuck due to unrelated problem it exposed with the
GeolocationPermissions (see Bug 7929330).
The original patch does not apply now so this picks out the important parts,
switching to use AwBrowserProcess to control the startup flow.

Change-Id: I818297a503a3bab82cdf0653ad26e0b32294a930
om/android/webview/chromium/WebViewChromiumFactoryProvider.java
5ca5f5c6e538735aa0d0c840eb745cdc4e4a34bb 31-Dec-2012 Leandro Gracia Gil <leandrogracia@google.com> Override onNewPicture in preparation of the incoming new abstract method in AwContentsClient.

Change-Id: I07fd14d4c899eca370386768dbb211bcd5911519
om/android/webview/chromium/WebViewContentsClientAdapter.java
99c797fce63d081079efb964bb01047f76efdf62 31-Dec-2012 Martin Kosiba <mkosiba@google.com> Merge "Fix NPE when visibility is changed before initialization has completed." into master-chromium
151ee73066d5ae9caa8afb828befd9cfbc199b62 31-Dec-2012 Ben Murdoch <benm@google.com> Merge "Implement binding for HttpAuthHandler.useHttpAuthUsernamePassword." into master-chromium
0df758101bdd74c264b69ca69a397088833b8cbb 30-Dec-2012 Jonathan Dixon <joth@google.com> Work-around for bug 7929330

Bug: 7929330

For some reason returning non-null GeolocationPermissions breaks many
other CTS tests (on the bots only)

Change-Id: I4098443fbfc5fa1a69019d55abfe0050752beaee
om/android/webview/chromium/WebViewChromiumFactoryProvider.java
50a184c1e058bc62f659fb80e09e7507ef13d6c9 29-Dec-2012 Jonathan Dixon <joth@google.com> Remove spurious mGeolocationPermissionsAdapter field

re-landing parts of If4b52eb6442c0c5a0d4ec19ba1de2183a753c324
incrementally.

Change-Id: I317bf0989024474261ad496166f19ac94e32bc1b
om/android/webview/chromium/WebViewChromiumFactoryProvider.java
9aa44b4e29be9f4b271edb3f4d438d806d4cc176 29-Dec-2012 Jonathan Dixon <joth@google.com> Roll-back libary loader refactoring

There's still a problem that is causing the CTS tests to fail on
bots so this effectively rolls the file back to prior to change
If4b52eb6442c0c5a0d4ec19ba1de2183a753c324

Change-Id: Ie854798d142b9049ca4cbe6043bd68233c7187c6
om/android/webview/chromium/WebViewChromiumFactoryProvider.java
f0bc6659b31dd5a3ed4a3f9eda7bdd4d291881b6 29-Dec-2012 Jonathan Dixon <joth@google.com> Second attempt at getting the CTS bot happy

Change-Id: Ie228e7b3e871156fd22ced9373b742ff21a213a4
om/android/webview/chromium/WebViewChromiumFactoryProvider.java
7b77b2fb0f7148bc31e23cabadb234231699ff93 29-Dec-2012 Jonathan Dixon <joth@google.com> Trial fix for CTS failures

Ensure the webview library is loaded (on main thread) prior to
configuring path service.

Change-Id: I8644ee6be23300a8e533d3d1093e058367299b5a
om/android/webview/chromium/WebViewChromiumFactoryProvider.java
72ef17f90661d3631e8bc9e0d7b116a8c5498494 29-Dec-2012 Jonathan Dixon <joth@google.com> Merge "re-land "Simplify the library load, and prepare for zygote"" into master-chromium
f0f355514e4420755c15491fe3b21a2eeaa42654 19-Dec-2012 Jonathan Dixon <joth@google.com> re-land "Simplify the library load, and prepare for zygote"

Relanding patch now https://codereview.chromium.org/11665023/
has rolled into the android tree

This reverts commit e49b38ed53e1b3be1530e4eb1b49ce6ba6f62db1.

Change-Id: If4b52eb6442c0c5a0d4ec19ba1de2183a753c324
om/android/webview/chromium/WebViewChromiumFactoryProvider.java
049667de06aaf4efd4570eccfdeb1bc9cc67c997 27-Dec-2012 Kristian Monsen <kristianm@google.com> Merge "Implemted the frameworks/webview part of GeolocationPermissions" into master-chromium
885c764368483b3082be2eccfab3c8a9f72f95b1 27-Dec-2012 Kristian Monsen <kristianm@google.com> Implemted the frameworks/webview part of GeolocationPermissions

Change-Id: I2a1714a91e3b92e5c75100aa233d6a3763afbafb
om/android/webview/chromium/WebViewContentsClientAdapter.java
991b0c63bb8c0b0d8577a255b026117e9f37cece 27-Dec-2012 Jonathan Dixon <joth@google.com> Revert "Revert "Connect up DrawSW interface""

This re-lands Ie9e6a28213167e0e7eaf9d91668466935d14fe38 as the dependent change has now rolled into android tree.

Change-Id: I121d7de9c1428e773fde54653d7e60fa898c7acd
om/android/webview/chromium/GraphicsUtils.java
om/android/webview/chromium/WebViewChromiumFactoryProvider.java
d72ea1e90563e7d3056eef86c3c7dd0c526b718f 26-Dec-2012 Jonathan Dixon <joth@google.com> Revert "Connect up DrawSW interface"

This reverts commit 8a8a1f9b5ea238437196790b89f4dbec78fda4e9

The dependent patch hadn't yet rolled into Android tree - will re-land this one when it does.

Change-Id: If4241162a9c26997cdd6636b17cbd4182ac85096
om/android/webview/chromium/GraphicsUtils.java
om/android/webview/chromium/WebViewChromiumFactoryProvider.java
8a8a1f9b5ea238437196790b89f4dbec78fda4e9 22-Dec-2012 Jonathan Dixon <joth@google.com> Connect up DrawSW interface

Depends on https://codereview.chromium.org/11665020

Provides the underlying code with direct access to native bitmap
pixels that back the java Canvas.

Change-Id: Ie9e6a28213167e0e7eaf9d91668466935d14fe38
om/android/webview/chromium/GraphicsUtils.java
om/android/webview/chromium/WebViewChromiumFactoryProvider.java
d32343c77868461af07738ac7abd802000490d3d 21-Dec-2012 Ben Murdoch <benm@google.com> Implement binding for HttpAuthHandler.useHttpAuthUsernamePassword.

Query the AwHttpAuthHandler for whether this is the first
auth attempt for this request.

BUG:7034995
Change-Id: I081969d2900aeec17878fdae47a1baf22120f734
om/android/webview/chromium/WebViewContentsClientAdapter.java
c346a83062dfbf50ac2275813ccb2e36f9e778e9 07-Dec-2012 Martin Kosiba <mkosiba@google.com> Fix NPE when visibility is changed before initialization has completed.

Becasue WebViewChromium uses a two-step initialization mechanism it is
possible for an instance of the class to receive method calls from the
view system before it is fully initialized.

Fortunately it is safe to ignore onVisibilityChanged callbacks if the
AwContents hasn't been created yet.

BUG=7622923

Change-Id: I50fdfc4cd194c21cc64506a1f9aa6f3a38a19173
om/android/webview/chromium/WebViewChromium.java
037e86f2095d1ca3fc1dff8e4ee82457257e8ea0 21-Dec-2012 Ben Murdoch <benm@google.com> Merge "Wire up WebSettings#setNeedInitialFocus" into master-chromium
d5f17bbd8703a56ac084a64b1ce2f673f67bd72d 20-Dec-2012 Kristian Monsen <kristianm@google.com> Renaming org.chromium.android_webview.CookieManager to AwCookieManager

Part 2, first part here:
https://chromiumcodereview.appspot.com/11614014/

Change-Id: Iafe7e7f68002d2cf32b8e6f4408233b65d212ceb
om/android/webview/chromium/CookieManagerAdapter.java
om/android/webview/chromium/WebViewChromiumFactoryProvider.java
4cee3bf50c125a52a49323aa999f4b619fa18c10 20-Dec-2012 Ben Murdoch <benm@google.com> Wire up WebSettings#setNeedInitialFocus

Wire up the setting we need to determine if we should give focus
to the first element in the DOM when we get the WebVuew#requestFocus
API call.

Change-Id: Ia39f14c31c7ba5c5c976c91a2b9486571d55f1f1
om/android/webview/chromium/ContentSettingsAdapter.java
om/android/webview/chromium/WebViewChromium.java
e49b38ed53e1b3be1530e4eb1b49ce6ba6f62db1 18-Dec-2012 Bo Liu <boliu@google.com> Revert "Simplify the library load, and prepare for zygote"

This broke a bunch of cts tests.

This reverts commit 3053d8bc3be48b0cbc6f33e1975c03a10ac303a5.
om/android/webview/chromium/WebViewChromiumFactoryProvider.java
f5abbf577ce5deb1ad906a713e23a27d97a2d2f3 18-Dec-2012 Ben Murdoch <benm@google.com> Merge "Pass encoding as charset for data: URLs." into master-chromium
85b4c793416fb9674ac026fa11389c18a0f8f73e 14-Dec-2012 Mikhail Naganov <mnaganov@google.com> Plumb WebSettings.{get|set}LayoutAlgorithm

BUG=6294649

Change-Id: If5b838dfbc8ef31edb4145570c5250c26deefc13
om/android/webview/chromium/ContentSettingsAdapter.java
e81c29ecd0a1429b00a86622e86c1184062ff336 18-Dec-2012 Mikhail Naganov <mnaganov@google.com> Merge "Remove unneeded stubs from ContentSettingsAdapter" into master-chromium
3053d8bc3be48b0cbc6f33e1975c03a10ac303a5 30-Nov-2012 Jonathan Dixon <joth@google.com> Simplify the library load, and prepare for zygote

Depends on https://codereview.chromium.org/11416226

Change-Id: Iefe025d73e22e5540feaddf0e1e0c26680806d31
om/android/webview/chromium/WebViewChromiumFactoryProvider.java
7f85cf77a1e97aa6816e2ae75c3a5c240050cae1 18-Dec-2012 Jonathan Dixon <joth@google.com> Merge "Hook up WebViewClient.doUpdateVisitedHistory" into master-chromium
59b28f7ffcc57f460e22162ca01eb660b94d3151 18-Dec-2012 Jonathan Dixon <joth@google.com> Fix build - resolve error

Change-Id: Iccc71bbe92acee430febe7a9264b341fe96060be
om/android/webview/chromium/WebViewChromiumFactoryProvider.java
bdc62fb18c751c2149ffa582e6568905f26d608d 18-Dec-2012 Jonathan Dixon <joth@google.com> Merge "Add workaround for http://b/7697782" into master-chromium
b41273d0be7e2355603c963fd29fdf41ef4699fa 18-Dec-2012 Jonathan Dixon <joth@google.com> Merge "Wire up CookieManagerAdapter.flushCookieStore" into master-chromium
aadb04e4198e1f0dce390e9434cb189603b8e713 17-Dec-2012 Jonathan Dixon <joth@google.com> Add missing singletons in the WebView Factory

This more or less completes the skeleton implementation of webview chromium.

Change-Id: Id048aaba565a1a8b64988b7b671312afcd924921
om/android/webview/chromium/GeolocationPermissionsAdapter.java
om/android/webview/chromium/WebIconDatabaseAdapter.java
om/android/webview/chromium/WebStorageAdapter.java
om/android/webview/chromium/WebViewChromiumFactoryProvider.java
om/android/webview/chromium/WebViewDatabaseAdapter.java
c9b9de39c2ff74490e48c4c445cd57541bfb13ca 17-Dec-2012 Kristian Monsen <kristianm@google.com> Merge "Adding the frameworks/webview part of GeolocationPermissions" into master-chromium
e3b7ae477e13bf3d8355767fc301389de77e418d 07-Dec-2012 Mikhail Naganov <mnaganov@google.com> Remove unneeded stubs from ContentSettingsAdapter

These getters/setters are empty methods in WebSettings.java,
no need to override.

Change-Id: I12be1c7683d2eb931dd28d8eadd8e9a50b6d09c1
om/android/webview/chromium/ContentSettingsAdapter.java
1127e126a25f26d7d255c73e19d2e07f1c854781 13-Dec-2012 Ben Murdoch <benm@google.com> Pass encoding as charset for data: URLs.

To maintain backwards compatibility with the legacy WebView,
WebViewChromium should use the |encoding| value passed into the
loadDataWithBaseUrl API to set the charset of the data: URL it loads.

Bug=7379767

Change-Id: I19ace9ca6052f1f94bea6f9a1ece93eccd5da4bb
om/android/webview/chromium/WebViewChromium.java
3c4cc4ad5269837048ffabfa3e749a30b6d17e25 28-Nov-2012 Alan Leung <acleung@google.com> Add onScaleChange to WebViewContentsClientAdapter

Change-Id: I42a7d43ba09fb8ae097904f7d606e0ed60f6868a
om/android/webview/chromium/WebViewContentsClientAdapter.java
41add43530356824dda62932a8b723c427052146 15-Dec-2012 Jonathan Dixon <joth@google.com> Merge "Remove JB branch workarounds" into master-chromium
c59b3c38490ed42e9d16c3c2617dcbc2a44add7a 14-Dec-2012 Jonathan Dixon <joth@google.com> Merge "Implement isPrivateBrowsingEnabled" into master-chromium
d2dcef4d9edfb7af7abff85b0867c3d6a363feb7 14-Dec-2012 Jonathan Dixon <joth@google.com> Remove JB branch workarounds

Change-Id: I060a1380e2983f6d279ab31e155483c5262b0cc5
om/android/webview/chromium/WebViewChromium.java
6d58f78e7fc0412a58b163559cb8e9c4af5c6fe1 14-Dec-2012 Jonathan Dixon <joth@google.com> Implement isPrivateBrowsingEnabled

Bug: 5012966

Just a trivial getter for webview chromium

Change-Id: Ia63b86b01d1d34bab38d69eb249deca65657d6b6
om/android/webview/chromium/WebViewChromium.java
9050d6419e4b8a5b1182054eeed3db32b6f45077 12-Dec-2012 Jonathan Dixon <joth@google.com> Wire up CookieManagerAdapter.flushCookieStore

Bug: 6952852

This is still accessible via CookieSyncManager.sync()

Depends on https://codereview.chromium.org/11553042/

Change-Id: I150b2fdbeaab55bf8bb07d066cb27cdc92d1829f
om/android/webview/chromium/CookieManagerAdapter.java
5e59ff9ab94d503528ef61ccd1c71adb887b5e01 14-Dec-2012 Bo Liu <boliu@google.com> Hook up WebViewClient.doUpdateVisitedHistory

Also update cts test expectation. testAccessLightTouchEnabled was
removed.

Change-Id: I3585aab66c47e818fd7b1db5d5970246f1f54000
om/android/webview/chromium/WebViewContentsClientAdapter.java
50de8bf74a15b4db17dcc0aee998ee3e39013eae 13-Dec-2012 Ben Murdoch <benm@google.com> Merge "Wire up WebChromeClient#onRequestFocus" into master-chromium
7bc1fd3e42c1a731a7891043f0f8ee96be1b598c 13-Dec-2012 Jonathan Dixon <joth@google.com> Merge "Remove NullWebViewClient.mContext" into master-chromium
fe742c86d6f6e12bd339c9c2efd947d55c910e2d 13-Dec-2012 Bo Liu <boliu@google.com> Remove NullWebViewClient.mContext

Change-Id: I1aead0c85523130970e476d243ebb225db6c9f09
om/android/webview/chromium/WebViewContentsClientAdapter.java
798497deb835ed2270e3d25143926ad7b7659c25 13-Dec-2012 Jonathan Dixon <joth@google.com> Merge "Wire up content intent" into master-chromium
3e9ca893bb8fb7e0038c04bd04ae78f40233db4f 12-Dec-2012 Bo Liu <boliu@google.com> Wire up content intent

WebKitClassic behavior is if client is set, then simply call
WebViewClient.shouldOverrideUrlLoading. If client is not set,
fire the intent directly.

Change-Id: Icdb1c9faa75fd80d0cc6b4e5c724af1ed0406874
om/android/webview/chromium/WebViewContentsClientAdapter.java
dbf5fb6a16fdda89f80bc2c4b71bc3cabfa07c37 12-Dec-2012 Selim Gurun <sgurun@google.com> Merge "Implement lighttouchenabled API." into master-chromium
bb0c065b8521a51a13127d917970f5b91205ac40 12-Dec-2012 Selim Gurun <sgurun@google.com> Implement lighttouchenabled API.

Bug: 7683972

The lighttouchenabled API is a no-op in webview classic, therefore
we also provide a no-op implementation.

Change-Id: I7e090c8f00e4e22808a3cd89dc25ac6b6c933715
om/android/webview/chromium/ContentSettingsAdapter.java
d7fde5118cb6e238163c9755ab581b82eea47dba 12-Dec-2012 Ben Murdoch <benm@google.com> Wire up WebChromeClient#onRequestFocus

BUG=6295042

Change-Id: I7c96be1c0ef5dbb7e561e147214b98e6b13725d1
om/android/webview/chromium/WebViewContentsClientAdapter.java
3411fdf2737f3f0dd0c1fa20045356cf89f34edd 12-Dec-2012 Bo Liu <boliu@google.com> onMeasure workaround for failing cts tests

This is in response to crrev.com/172173 which no longer adds a childview
to WebView and we are no longer getting minimum size for free.

WebKit will not run javascript on 0x0 views.

BUG=7380310

Change-Id: I3e91c2b125c8a251fb7aa3a3857bb5a4a545a260
om/android/webview/chromium/WebViewChromium.java
009ed27511c4606dcd16b352489b2d3f70b4b513 28-Nov-2012 Kristian Monsen <kristianm@google.com> Adding the frameworks/webview part of GeolocationPermissions

Change-Id: I3b44ad56951ccb1e43801c513f2ed3b89c01219a
om/android/webview/chromium/GeolocationPermissionsAdapter.java
om/android/webview/chromium/WebViewChromiumFactoryProvider.java
decc147cebc8f73d355c024d92c60d3f727cab31 08-Dec-2012 Bo Liu <boliu@google.com> Plumb through long press event

Change-Id: I7b3351e9588ff1fab3e451e0a93f10c56cd54fa7
om/android/webview/chromium/WebViewChromium.java
b5d9eb0196b542499722ffcc8ede41c0eae53516 08-Dec-2012 Jonathan Dixon <joth@google.com> Add workaround for http://b/7697782

Always skip sending system key events to WebKit. This retains compatibility
with WebViewClassic but note this differs from the chrome app, which has a
more focused list in ContentViewClient.shouldOverrideKeyEvent.

BUG: 7697782
Change-Id: I8bcca749f11797a5dfee9132204abf64004040f4
om/android/webview/chromium/WebViewContentsClientAdapter.java
ea844f60b1b559788566fe6e004b1eeca53a8039 08-Dec-2012 Jonathan Dixon <joth@google.com> Fix build - addPossiblyUnsafeJavascriptInterface

Signature needed a specific Class<> type passed through

Change-Id: Iccd3093be4500da58eb96006cbe5c4a2e5ecdfef
om/android/webview/chromium/WebViewChromium.java
67988f46dfb22493cf36759f44a5ab41c0c66a35 08-Dec-2012 Jonathan Dixon <joth@google.com> Merge "Wire up JavascriptInterface annotation" into master-chromium
4320e428efc3bf69387f3b9d5a0589b2b8746409 04-Dec-2012 Bo Liu <boliu@google.com> Re-implement setDownloadListener

Change-Id: Iffef094f82d4f586353450d3caf7322ca3c4ffba
om/android/webview/chromium/WebViewChromium.java
om/android/webview/chromium/WebViewContentsClientAdapter.java
012a79d6f21e286f63d3c2f98f305b1ec91b0560 27-Nov-2012 Mikhail Naganov <mnaganov@google.com> Wire up setAppCacheEnabled and setAppCachePath in the glue layer

Update CTS tests status

Change-Id: I82e9d44bc56c0b535c1e94feda4bc368d1cc478c
om/android/webview/chromium/ContentSettingsAdapter.java
7db34d3dcaac936566f912e1b0b21f3f103029ff 05-Dec-2012 Jonathan Dixon <joth@google.com> Wire up JavascriptInterface annotation

Must be landed in lock step with rolling in https://chromiumcodereview.appspot.com/11308356/

Change-Id: I3ced900b5c8caf9cec00f8ea0b6cbe472ae1204e
om/android/webview/chromium/WebViewChromium.java
ac12a6df0bcf708921aa049836f330f423083c7a 04-Dec-2012 Mikhail Naganov <mnaganov@google.com> Merge "Add more plumbing into ContentSettingsAdapter" into master-chromium
6083bf7436b99ec8b3826d7da28fc4e9eb450960 03-Dec-2012 Mikhail Naganov <mnaganov@google.com> Add more plumbing into ContentSettingsAdapter

Update CTS tests status.

Change-Id: I660ba756c1596fa25259cf775d792b9a6fdfd09b
om/android/webview/chromium/ContentSettingsAdapter.java
d988b42ca3f28aea23dc968b2f7ed79dae868fc6 05-Nov-2012 Ben Murdoch <benm@google.com> Hook up WebChromeClient.onCloseWindow

Landing without @Override in preparation for:
https://codereview.chromium.org/11418292/

to roll downstream. Once it's rolled we can add
the Override back in.

Change-Id: Ia4eab3913334504829b3abd582fdc71063e4077f
om/android/webview/chromium/WebViewContentsClientAdapter.java
ffb968aa50f4adb20ce9e9c2ab5ab9c94885cb40 03-Dec-2012 Ben Murdoch <benm@google.com> Merge "onCreateWindow callback plumbing part 2" into master-chromium
1ee9dd0420198429115c3fe8cf0b0502fab9cf62 13-Nov-2012 Ben Murdoch <benm@google.com> onCreateWindow callback plumbing part 2

Support the "true case" i.e. that the user would like to display
the pop up window and has provided us with a new WebView to do so.
Change-Id: Ib6c6aa4cf88b5942feba9671c0904533cb403b67
om/android/webview/chromium/WebViewChromium.java
om/android/webview/chromium/WebViewContentsClientAdapter.java
7290b5e6b264a4e4190b890afc2e384bec97c4d9 01-Dec-2012 Jonathan Dixon <joth@google.com> Fix settings getter mistake

Change-Id: I7b4c217589f828d090e28f74f9c559f55c8d5dea
om/android/webview/chromium/WebViewChromium.java
e78d6e40e4e78671e6621ba8cf49835568704899 30-Nov-2012 Jonathan Dixon <joth@google.com> Provide trivial implementation of getZoomControls

BUG: 5012841
Change-Id: Ie07c5d45a567d3ce924ed0e8949a78bb411db9f9
om/android/webview/chromium/WebViewChromium.java
2d9f16b8677f87aa89d296aac10f359f5f1de2bd 27-Nov-2012 Newton Allen <newt@google.com> Remove unused R.java.

R.java has been moved to the chromium repository under
content/public/android/java/resource_map.

BUG: crbug.com/136704

Change-Id: I1eda4b356dee7e0bd64817bf5c849fe66d665cd6
rg/chromium/content/R.java
33d470f7a97be1d96615ccae1e259ad6f9b22cbf 15-Nov-2012 Newton Allen <newt@google.com> Remove references to AppResource.

Once http://codereview.chromium.org/11360207/ lands, WebView will be
accessing Java resources via the R classes and we can remove the
obsolete AppResource.

BUG: crbug.com/136704
Change-Id: I9eaeb19f5b07279935e70db9a14b47405cc13954
om/android/webview/chromium/ResourceProvider.java
859ee06993e78bc89aa7bd4a1acb86ed7164701e 26-Nov-2012 Jonathan Dixon <joth@google.com> Merge "Implement save/restoreState glue" into master-chromium
bf49aa66156d16df0c3d3ab4aa03e7cc291fbf1f 26-Nov-2012 Mikhail Naganov <mnaganov@google.com> Merge "Plug in {get|set}CacheMode into ContentSettingsAdapter" into master-chromium
a08e8aada16dc4dbfb8745532169fb4a8347541d 21-Nov-2012 Bo Liu <boliu@google.com> Implement save/restoreState glue

CTS test expects us to have the optimization of not saving the bundle if
there has been no navigations. Decided to put that check here to make it
easier.

Change-Id: Ia2c996a27c355c8bd7bf4d6479d9026896356c17
om/android/webview/chromium/WebViewChromium.java
c9e6245b3f3b6ac5e37cade2bfcda265eaa3e9e2 21-Nov-2012 Mikhail Naganov <mnaganov@google.com> Plug in {get|set}CacheMode into ContentSettingsAdapter

BUG=6294798

Change-Id: Ifc5bd3f6d21dbec67e7bf43d8744268a14778758
om/android/webview/chromium/ContentSettingsAdapter.java
08a5e00cdfb74f4ffd843d2d0a9b0b40b86b107a 21-Nov-2012 Bo Liu <boliu@google.com> Add glue for copyBackForwardList

The code has been implemented in ContentViewCore for awhile now.
And new cts test passes with this.

Change-Id: Ia3512d06e20d03b4e2739664ee10f5860c33e921
om/android/webview/chromium/WebBackForwardListChromium.java
om/android/webview/chromium/WebHistoryItemChromium.java
om/android/webview/chromium/WebViewChromium.java
83114b14dac747eb6b34679763bab4cfe7e3413e 16-Nov-2012 Jonathan Dixon <joth@google.com> Merge "Plumb through more methods to AwContents" into master-chromium-dev
1cc4c3210fd2ea027bd6d883a15c3951476642bb 14-Nov-2012 Jonathan Dixon <joth@google.com> Plumb through more methods to AwContents

Depends onhttps://codereview.chromium.org/11365248

Change-Id: I95e09297ef2811cead21e541f27266d767b7d1b9
om/android/webview/chromium/WebViewChromium.java
e82b66d0da05c71c1953a891c3b9e80acf9339a6 15-Nov-2012 Ben Murdoch <benm@google.com> Merge "Supplement AppResource with a manually maintained R.java." into master-chromium-dev
317070273e8a9f5c513815f09133608079227c25 14-Nov-2012 Newton Allen <newt@google.com> Supplement AppResource with a manually maintained R.java.

This prepares webview for the imminent change in Chromium to start referencing
resources via the R class instead of through AppResource:
http://codereview.chromium.org/11360207/

BUG: crbug.com/136704

Change-Id: Ibbf01f47c692338fb19a35927a431998c4db624b
om/android/webview/chromium/ResourceProvider.java
rg/chromium/content/R.java
03679fc5e0d499f28722e35c23ca2de22d807d6c 15-Nov-2012 Ben Murdoch <benm@google.com> Merge "Plumb WebChromeClient.onCreateWindow callback through glue." into master-chromium-dev
5df69cc93257f8b26bbf32e4cc97265e7b38f392 14-Nov-2012 Jonathan Dixon <joth@google.com> Merge "Add input event glue implementation." into master-chromium-dev
c3fbc0fea57ba0dd4cf9eb8cc4d12f1b0edbcc5c 12-Nov-2012 Bo Liu <boliu@google.com> Add input event glue implementation.

Change-Id: Ic2807fb3de100314f84f9271ee95f37c61b2cb72
om/android/webview/chromium/WebViewChromium.java
a2b0d0b4d6d1ff22fbb1329e358e1cc0a112aab3 12-Nov-2012 Jonathan Dixon <joth@google.com> Plumb through the glue layer functor to AwContents

Adds new glue-layer .so and code to load it from Java.
Depends on upstream patch https://codereview.chromium.org/11358118/
Together these changes provide all the plumbing needed to get GL
functor calls through to the chromium backend.

Change-Id: I1899d59ab6f13de6d9fb07147d36b08504ef955e
om/android/webview/chromium/DrawGLFunctor.java
om/android/webview/chromium/WebViewChromium.java
om/android/webview/chromium/WebViewChromiumFactoryProvider.java
9b5e2bd7d0951a560aa848ff5e74b45560fee045 08-Nov-2012 Ben Murdoch <benm@google.com> Plumb WebChromeClient.onCreateWindow callback through glue.

For now, we only allow the embedder to return false from this
callback, i.e. the popup should be blocked.

Change-Id: I513e2fee6063cbbef1ceeee448410140ac553638
om/android/webview/chromium/WebViewContentsClientAdapter.java
3949435b480cb71106f65b237025da359cf8a8ca 06-Nov-2012 Ben Murdoch <benm@google.com> Remove ContentViewCore from WebViewChromium.

AwContents now owns the ContentViewCore instance.

Change-Id: Id57c4ed4a0c7026a61380b9f987d4d427d8e504e
om/android/webview/chromium/WebViewChromium.java
77a1992a81c32c8f04a2528c7333efb9647aa59c 01-Nov-2012 Ben Murdoch <benm@google.com> Merge "Plumb WebSettings.[set]supportMultipleWindows." into master-chromium
a136fa49c1f49a35e9a7caf886e70f5dc41cda91 01-Nov-2012 Ben Murdoch <benm@google.com> Plumb WebSettings.[set]supportMultipleWindows.

Bug: 7262225
Change-Id: Ia229179ea8edb97d938e683d29285ef265e0711c
om/android/webview/chromium/ContentSettingsAdapter.java
11d3f99ef2bccfa1118daddc2ab5606cb2709804 31-Oct-2012 Ben Murdoch <benm@google.com> Plumb through WebSettings.get/setJavaScriptCanOpenWindowsAutomatically

BUG=7262225

Change-Id: I6d659ab7890d8180003d809657a84e0096f05874
om/android/webview/chromium/ContentSettingsAdapter.java
251a1c8d0a987b0df24e19904d0c0ef492304286 25-Oct-2012 Bo Liu <boliu@google.com> onFormResubmission glue implementation

Change-Id: Ie388329c85823dc4ed573f5a1653886eb77393f1
om/android/webview/chromium/WebViewContentsClientAdapter.java
46f104289826e85ba76a1a2139d7ecc7daca07b1 23-Oct-2012 Torne (Richard Coles) <torne@google.com> Add initial version of webviewchromium glue layer.

Import the webviewchromium glue layer from the internal forked branch
where it was developed.

Change-Id: I685af58b50fc53a3e17f4506b2f8e830370c7840
om/android/webview/chromium/ContentSettingsAdapter.java
om/android/webview/chromium/CookieManagerAdapter.java
om/android/webview/chromium/ResourceProvider.java
om/android/webview/chromium/UnimplementedWebViewApi.java
om/android/webview/chromium/WebViewChromium.java
om/android/webview/chromium/WebViewChromiumFactoryProvider.java
om/android/webview/chromium/WebViewContentsClientAdapter.java