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

Unified Diff: content/public/browser/web_contents_delegate.h

Issue 9517010: Change panels to be able to turn off autoresize. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix assert at the end of RenderWidget::Resize which fixes the tests on OSX. Created 8 years, 10 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
« no previous file with comments | « content/public/browser/render_view_host_delegate.h ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « content/public/browser/render_view_host_delegate.h ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698