diff options
author | boliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-07 07:30:56 +0000 |
---|---|---|
committer | boliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-07 07:30:56 +0000 |
commit | a217b8af416f1368b8e094da66ae017c83c78eee (patch) | |
tree | 7fdec9be22e48254da3754d834959958ff02c245 /android_webview/native/aw_settings.h | |
parent | aebb622ac1a99e346b9b3b0a7cdbec38aafb28c5 (diff) | |
download | chromium_src-a217b8af416f1368b8e094da66ae017c83c78eee.zip chromium_src-a217b8af416f1368b8e094da66ae017c83c78eee.tar.gz chromium_src-a217b8af416f1368b8e094da66ae017c83c78eee.tar.bz2 |
[Android WebView] Disable shrinksStandaloneImagesToFit
If shrinksStandaloneImagesToFit is true, then it breaks single image
documents in wrap contents mode.
BUG=
NOTRY=true
Review URL: https://codereview.chromium.org/26207002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227261 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'android_webview/native/aw_settings.h')
-rw-r--r-- | android_webview/native/aw_settings.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/android_webview/native/aw_settings.h b/android_webview/native/aw_settings.h index 29c477b..d1f81c3 100644 --- a/android_webview/native/aw_settings.h +++ b/android_webview/native/aw_settings.h @@ -41,6 +41,9 @@ class AwSettings : public content::WebContentsObserver { AwRenderViewHostExt* GetAwRenderViewHostExt(); void UpdateEverything(); + // Fixed WebPreferences for Android WebView. + static void PopulateFixedPreferences(WebPreferences* web_prefs); + // WebContentsObserver overrides: virtual void RenderViewCreated( content::RenderViewHost* render_view_host) OVERRIDE; |