Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2125)

Unified Diff: chrome/browser/extensions/extension_host.h

Issue 9702068: Move extension pop-ups and notifications to the new auto-resize code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: small update Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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(
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_host.cc » ('j') | content/browser/renderer_host/render_widget_host_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698