diff options
author | benm@chromium.org <benm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-27 00:18:13 +0000 |
---|---|---|
committer | benm@chromium.org <benm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-27 00:18:13 +0000 |
commit | 9f8797b3915aff60fa64c5d414a60f63a7aa8cdc (patch) | |
tree | 762f1e8e9af3e20279226b5d6f3cf7ee893131cc /android_webview/browser/jni_dependency_factory.h | |
parent | 0de80bb69486b39355955c36228d75573a31982e (diff) | |
download | chromium_src-9f8797b3915aff60fa64c5d414a60f63a7aa8cdc.zip chromium_src-9f8797b3915aff60fa64c5d414a60f63a7aa8cdc.tar.gz chromium_src-9f8797b3915aff60fa64c5d414a60f63a7aa8cdc.tar.bz2 |
Currently Android WebView will push settings from the java side to the renderer, but if the browser needs to read those settings back we will use a default set from WebContentsImpl as we neglect to override ContentBrowserClient::OverrideWebKitPrefs. This means that the browser and renderer can see out of sync preference values.
Review URL: https://codereview.chromium.org/23619089
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225611 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'android_webview/browser/jni_dependency_factory.h')
-rw-r--r-- | android_webview/browser/jni_dependency_factory.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/android_webview/browser/jni_dependency_factory.h b/android_webview/browser/jni_dependency_factory.h index 4adcc25..e6e0ea9 100644 --- a/android_webview/browser/jni_dependency_factory.h +++ b/android_webview/browser/jni_dependency_factory.h @@ -15,6 +15,7 @@ namespace android_webview { class AwBrowserContext; class AwQuotaManagerBridge; +class AwWebPreferencesPopulater; // Used to create instances of objects under native that are used in browser. class JniDependencyFactory { @@ -27,6 +28,7 @@ class JniDependencyFactory { AwBrowserContext* browser_context) = 0; virtual content::WebContentsViewDelegate* CreateViewDelegate( content::WebContents* web_contents) = 0; + virtual AwWebPreferencesPopulater* CreateWebPreferencesPopulater() = 0; }; } // namespace android_webview |