summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_contents.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/tab_contents.cc')
-rw-r--r--chrome/browser/tab_contents.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/tab_contents.cc b/chrome/browser/tab_contents.cc
index ebd8f2b..ffd17cb 100644
--- a/chrome/browser/tab_contents.cc
+++ b/chrome/browser/tab_contents.cc
@@ -292,6 +292,8 @@ void TabContents::AddNewContents(TabContents* new_contents,
delegate_->AddNewContents(this, new_contents, disposition, initial_pos,
user_gesture);
+
+ PopupNotificationVisibilityChanged(ShowingBlockedPopupNotification());
}
}
@@ -311,6 +313,7 @@ void TabContents::AddConstrainedPopup(TabContents* new_contents,
}
blocked_popups_->AddTabContents(new_contents, initial_pos);
+ PopupNotificationVisibilityChanged(ShowingBlockedPopupNotification());
}
void TabContents::CloseAllSuppressedPopups() {