diff options
Diffstat (limited to 'chrome/browser/tab_contents/tab_contents.cc')
-rw-r--r-- | chrome/browser/tab_contents/tab_contents.cc | 5 |
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; } |