Index: content/public/browser/web_contents_delegate.h |
diff --git a/content/public/browser/web_contents_delegate.h b/content/public/browser/web_contents_delegate.h |
index 8d76810319d10a653605147c46fc61b3bc4122dc..b6498722bf2f10bb1f41cd9db53a4702b62dc7ed 100644 |
--- a/content/public/browser/web_contents_delegate.h |
+++ b/content/public/browser/web_contents_delegate.h |
@@ -362,6 +362,10 @@ class CONTENT_EXPORT WebContentsDelegate { |
virtual void UpdatePreferredSize(WebContents* tab, |
const gfx::Size& pref_size) {} |
+ // Invoked when the contents auto-resized and the container should match it. |
+ virtual void ResizeDueToAutoResize(WebContents* tab, |
+ const gfx::Size& new_size) {} |
+ |
// Notification message from HTML UI. |
virtual void WebUISend(WebContents* tab, |
const GURL& source_url, |