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

Unified Diff: chrome/browser/ui/browser.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: chrome/browser/ui/browser.cc
===================================================================
--- chrome/browser/ui/browser.cc (revision 97010)
+++ chrome/browser/ui/browser.cc (working copy)
@@ -3159,11 +3159,6 @@
params.window_action = browser::NavigateParams::SHOW_WINDOW;
params.user_gesture = user_gesture;
browser::Navigate(&params);
-
- NotificationService::current()->Notify(
- content::NOTIFICATION_TAB_ADDED,
- Source<TabContentsDelegate>(this),
- Details<TabContents>(new_contents));
}
void Browser::ActivateContents(TabContents* contents) {
@@ -3522,6 +3517,11 @@
return GetJavaScriptDialogCreatorInstance();
}
+void Browser::UpdatePreferredSize(TabContents* source,
+ const gfx::Size& pref_size) {
+ window_->UpdatePreferredSize(source, pref_size);
+}
+
///////////////////////////////////////////////////////////////////////////////
// Browser, TabContentsWrapperDelegate implementation:

Powered by Google App Engine
This is Rietveld 408576698