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

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

Issue 7537030: Make panel adjust bounds per preferred size change notification on Windows. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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/tab_contents/tab_contents.cc
===================================================================
--- content/browser/tab_contents/tab_contents.cc (revision 95921)
+++ content/browser/tab_contents/tab_contents.cc (working copy)
@@ -1919,3 +1919,8 @@
RenderWidgetHostView* rwh_view = view()->CreateViewForWidget(rvh);
rwh_view->SetSize(view()->GetContainerSize());
}
+
+void TabContents::UpdatePreferredSize(const gfx::Size& pref_size) {
+ if (delegate_)
+ delegate_->UpdatePreferredSize(pref_size);
brettw 2011/08/10 23:39:36 In other places, we've just made the views call th
jianli 2011/08/10 23:57:18 Removed.
+}

Powered by Google App Engine
This is Rietveld 408576698