Index: chrome/browser/extensions/extension_host.h |
diff --git a/chrome/browser/extensions/extension_host.h b/chrome/browser/extensions/extension_host.h |
index 8c1a36c8f7947077e4b667b442e0193bc8577d75..e4a177c99fced04ad0f5a6692e60de82cbaa03d1 100644 |
--- a/chrome/browser/extensions/extension_host.h |
+++ b/chrome/browser/extensions/extension_host.h |
@@ -141,10 +141,6 @@ class ExtensionHost : public content::WebContentsDelegate, |
// Insert a default style sheet for Extension Infobars. |
void InsertInfobarCSS(); |
- // 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); |
- |
// content::WebContentsObserver |
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; |
virtual void RenderViewCreated( |
@@ -165,8 +161,8 @@ class ExtensionHost : public content::WebContentsDelegate, |
bool* is_keyboard_shortcut) OVERRIDE; |
virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) |
OVERRIDE; |
- virtual void UpdatePreferredSize(content::WebContents* source, |
- const gfx::Size& pref_size) OVERRIDE; |
+ virtual void ResizeDueToAutoResize(content::WebContents* source, |
+ const gfx::Size& new_size) OVERRIDE; |
virtual content::JavaScriptDialogCreator* GetJavaScriptDialogCreator() |
OVERRIDE; |
virtual void RunFileChooser( |