summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_contents/tab_contents.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/tab_contents/tab_contents.cc')
-rw-r--r--chrome/browser/tab_contents/tab_contents.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/tab_contents/tab_contents.cc b/chrome/browser/tab_contents/tab_contents.cc
index 18880c1..3fdce1d 100644
--- a/chrome/browser/tab_contents/tab_contents.cc
+++ b/chrome/browser/tab_contents/tab_contents.cc
@@ -1805,6 +1805,11 @@ TabContents* TabContents::GetAsTabContents() {
return this;
}
+void TabContents::AddBlockedNotice(const GURL& url, const string16& reason) {
+ CreateBlockedPopupContainerIfNecessary();
+ blocked_popups_->AddBlockedNotice(url, reason);
+}
+
ViewType::Type TabContents::GetRenderViewType() const {
return ViewType::TAB_CONTENTS;
}