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

Unified Diff: content/browser/renderer_host/render_view_host.h

Issue 9517010: Change panels to be able to turn off autoresize. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address feedback and fix issue with preferred size and auto resize having the same callback. 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
Index: content/browser/renderer_host/render_view_host.h
diff --git a/content/browser/renderer_host/render_view_host.h b/content/browser/renderer_host/render_view_host.h
index 0b79125f423660b9f4a5cd9b02c7a53ec3c76158..32f868dbae78a42b1e833b2fb2d76041e62ed046 100644
--- a/content/browser/renderer_host/render_view_host.h
+++ b/content/browser/renderer_host/render_view_host.h
@@ -458,6 +458,9 @@ class CONTENT_EXPORT RenderViewHost : public RenderWidgetHostImpl {
// for the new size.
void EnableAutoResize(const gfx::Size& min_size, const gfx::Size& max_size);
+ // Turns off auto-resize and gives a new size that the view should be.
+ void DisableAutoResize(const gfx::Size& new_size);
+
// Executes custom context menu action that was provided from WebKit.
void ExecuteCustomContextMenuCommand(
int action, const content::CustomContextMenuContext& context);

Powered by Google App Engine
This is Rietveld 408576698