diff options
Diffstat (limited to 'android_webview/browser/browser_view_renderer.h')
-rw-r--r-- | android_webview/browser/browser_view_renderer.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/android_webview/browser/browser_view_renderer.h b/android_webview/browser/browser_view_renderer.h index 4261f2b..951e5cc 100644 --- a/android_webview/browser/browser_view_renderer.h +++ b/android_webview/browser/browser_view_renderer.h @@ -54,8 +54,11 @@ class BrowserViewRenderer { // Is a WebView-managed fling in progress? virtual bool IsFlingActive() const = 0; - // Set the current page scale to |page_scale_factor|. - virtual void SetPageScaleFactor(float page_scale_factor) = 0; + // Set the current page scale to |page_scale_factor| and page scale limits + // to |min_page_scale_factor|..|max_page_scale_factor|. + virtual void SetPageScaleFactorAndLimits(float page_scale_factor, + float min_page_scale_factor, + float max_page_scale_factor) = 0; // Set the current contents_size to |contents_size_dip|. virtual void SetContentsSize(gfx::SizeF contents_size_dip) = 0; |