Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4762)

Unified Diff: chrome/browser/blocked_popup_container.cc

Issue 150132: First cut at popup blocking for Mac. Remove ifdefs in cross-platform code. Im... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/blocked_popup_container.cc
===================================================================
--- chrome/browser/blocked_popup_container.cc (revision 19587)
+++ chrome/browser/blocked_popup_container.cc (working copy)
@@ -16,15 +16,9 @@
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;
}

Powered by Google App Engine
This is Rietveld 408576698