Index: chrome/browser/tab_contents/tab_contents.cc |
=================================================================== |
--- chrome/browser/tab_contents/tab_contents.cc (revision 26154) |
+++ chrome/browser/tab_contents/tab_contents.cc (working copy) |
@@ -832,6 +832,10 @@ |
new_contents->DisassociateFromPopupCount(); |
delegate_->AddNewContents(this, new_contents, disposition, initial_pos, |
user_gesture); |
+ NotificationService::current()->Notify( |
+ NotificationType::TAB_ADDED, |
+ Source<TabContentsDelegate>(delegate_), |
+ Details<TabContents>(this)); |
} |
PopupNotificationVisibilityChanged(ShowingBlockedPopupNotification()); |
} |