summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_host.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/extension_host.h')
-rw-r--r--chrome/browser/extensions/extension_host.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/extensions/extension_host.h b/chrome/browser/extensions/extension_host.h
index c5ea9b2..fd155d7 100644
--- a/chrome/browser/extensions/extension_host.h
+++ b/chrome/browser/extensions/extension_host.h
@@ -100,6 +100,10 @@ class ExtensionHost : public ExtensionPopupHost::PopupDelegate,
// Insert the theme CSS for a toolstrip/mole.
void InsertThemeCSS();
+ // Tell the renderer not to draw scrollbars on windows smaller than
+ // |size_limit| in both width and height.
+ void DisableScrollbarsForSmallWindows(const gfx::Size& size_limit);
+
// RenderViewHostDelegate implementation.
virtual RenderViewHostDelegate::View* GetViewDelegate();
virtual const GURL& GetURL() const { return url_; }