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

Unified Diff: chrome/browser/ui/browser_navigator.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_navigator.cc
===================================================================
--- chrome/browser/ui/browser_navigator.cc (revision 97010)
+++ chrome/browser/ui/browser_navigator.cc (working copy)
@@ -474,6 +474,11 @@
if (params->source_contents != params->target_contents)
params->browser->ActivateTabAt(singleton_index, user_initiated);
}
+
+ NotificationService::current()->Notify(
+ content::NOTIFICATION_TAB_ADDED,
+ Source<TabContentsDelegate>(params->browser),
+ Details<TabContents>(params->target_contents->tab_contents()));
}
// Returns the index of an existing singleton tab in |params->browser| matching

Powered by Google App Engine
This is Rietveld 408576698