summaryrefslogtreecommitdiffstats
path: root/chrome/browser/blocked_popup_container.cc
diff options
context:
space:
mode:
authorpinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-01 15:50:51 +0000
committerpinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-01 15:50:51 +0000
commitdd716ab80774cba276e8b5eb61041f9497ddf642 (patch)
tree1e408f488b0a8b2fb8f38481e042f1f6db12e658 /chrome/browser/blocked_popup_container.cc
parent31a9bdff16526415c4c00aba0cb41cc6654d3e69 (diff)
downloadchromium_src-dd716ab80774cba276e8b5eb61041f9497ddf642.zip
chromium_src-dd716ab80774cba276e8b5eb61041f9497ddf642.tar.gz
chromium_src-dd716ab80774cba276e8b5eb61041f9497ddf642.tar.bz2
First cut at popup blocking for Mac. Remove ifdefs in cross-platform code. Implement displaying of notification, menu of popups still to come.
BUG=13160 TEST=popup notification should display and popups blocked accordingly. Can close notification widget to prevent more notifications for this tab. Review URL: http://codereview.chromium.org/150132 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19735 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/blocked_popup_container.cc')
-rw-r--r--chrome/browser/blocked_popup_container.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/chrome/browser/blocked_popup_container.cc b/chrome/browser/blocked_popup_container.cc
index 7bab882..49b5012 100644
--- a/chrome/browser/blocked_popup_container.cc
+++ b/chrome/browser/blocked_popup_container.cc
@@ -15,15 +15,9 @@ BlockedPopupContainer* BlockedPopupContainer::Create(
TabContents* owner, Profile* profile) {
BlockedPopupContainer* container =
new BlockedPopupContainer(owner, profile->GetPrefs());
-
- // TODO(port): This ifdef goes away once Mac peeps write a Cocoa
- // implementation of BlockedPopupContainerView.
-#if defined(OS_WIN) || defined(OS_LINUX)
BlockedPopupContainerView* view =
BlockedPopupContainerView::Create(container);
container->set_view(view);
-#endif
-
return container;
}