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

Unified Diff: content/browser/tab_contents/tab_contents.cc

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/browser/tab_contents/tab_contents.h ('k') | content/common/view_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/tab_contents/tab_contents.cc
diff --git a/content/browser/tab_contents/tab_contents.cc b/content/browser/tab_contents/tab_contents.cc
index 80dbc0e7ee8850b040fb8af4c0362d9516a4ce5c..92c1fb282264b7edde5d4d7d14ee047a515e846e 100644
--- a/content/browser/tab_contents/tab_contents.cc
+++ b/content/browser/tab_contents/tab_contents.cc
@@ -970,6 +970,11 @@ void TabContents::UpdatePreferredSize(const gfx::Size& pref_size) {
delegate_->UpdatePreferredSize(this, pref_size);
}
+void TabContents::ResizeDueToAutoResize(const gfx::Size& new_size) {
+ if (delegate_)
+ delegate_->ResizeDueToAutoResize(this, new_size);
+}
+
void TabContents::WebUISend(RenderViewHost* render_view_host,
const GURL& source_url,
const std::string& name,
« no previous file with comments | « content/browser/tab_contents/tab_contents.h ('k') | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698