summaryrefslogtreecommitdiffstats
path: root/android_webview/renderer/aw_render_view_ext.h
diff options
context:
space:
mode:
authormnaganov@chromium.org <mnaganov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-26 12:31:49 +0000
committermnaganov@chromium.org <mnaganov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-26 12:31:49 +0000
commitf4a3a0415ed2288e9086fdf692b53eeda573da9a (patch)
treea4d14b381ced13bf196c7708a6a2fe6a331349da /android_webview/renderer/aw_render_view_ext.h
parent8e88fcef1ace1f0eb142bba4ba2d93bdffc94470 (diff)
downloadchromium_src-f4a3a0415ed2288e9086fdf692b53eeda573da9a.zip
chromium_src-f4a3a0415ed2288e9086fdf692b53eeda573da9a.tar.gz
chromium_src-f4a3a0415ed2288e9086fdf692b53eeda573da9a.tar.bz2
[Android WebView] Implement WebSettings.{get|set}LoadWithOverviewMode
The 'LoadWithOverviewMode' setting controls, whether the page needs to be scaled to fit contents into the viewport. Chrome on Android always adjusts page scale to fit contents. We need to make this behavior controllable. Review URL: https://chromiumcodereview.appspot.com/12217134 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184631 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'android_webview/renderer/aw_render_view_ext.h')
-rw-r--r--android_webview/renderer/aw_render_view_ext.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/android_webview/renderer/aw_render_view_ext.h b/android_webview/renderer/aw_render_view_ext.h
index 8cea6e4..88f9338 100644
--- a/android_webview/renderer/aw_render_view_ext.h
+++ b/android_webview/renderer/aw_render_view_ext.h
@@ -43,6 +43,8 @@ class AwRenderViewExt : public content::RenderViewObserver,
void OnSetTextZoomLevel(double zoom_level);
+ void OnResetScrollAndScaleState();
+
// WebKit::WebPermissionClient implementation.
virtual bool allowImage(WebKit::WebFrame* frame,
bool enabledPerSettings,