Index: chrome/browser/ui/browser_window.h |
diff --git a/chrome/browser/ui/browser_window.h b/chrome/browser/ui/browser_window.h |
index 7053e4934e255e286f85eebe71a64d39e469bb18..5a27041d07df0188dae76e5d9e35774d14a7effe 100644 |
--- a/chrome/browser/ui/browser_window.h |
+++ b/chrome/browser/ui/browser_window.h |
@@ -370,6 +370,10 @@ class BrowserWindow { |
virtual void UpdatePreferredSize(content::WebContents* web_contents, |
const gfx::Size& pref_size) {} |
+ // Invoked when the contents auto-resized and the container should match it. |
+ virtual void ResizeDueToAutoResize(content::WebContents* web_contents, |
+ const gfx::Size& new_size) {} |
+ |
// Construct a BrowserWindow implementation for the specified |browser|. |
static BrowserWindow* CreateBrowserWindow(Browser* browser); |