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

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: 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
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 0340754d271759bb79b9182b7f25393484d18378..838bc79c296e7c19a9a09c8e130242b3ef424c1c 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);
« no previous file with comments | « chrome/browser/ui/panels/panel_overflow_browsertest.cc ('k') | content/browser/renderer_host/render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698