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

Unified Diff: chrome/browser/ui/browser_tabstrip.cc

Issue 20209004: Turn on better popup blocker by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 5 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/ui/browser_tabstrip.cc
diff --git a/chrome/browser/ui/browser_tabstrip.cc b/chrome/browser/ui/browser_tabstrip.cc
index 38d33e5a1e27e617e0358a6d2a5b64e4c166861f..e5572b5f7a696ebe8794d7c9b7b9f48601b0d3f0 100644
--- a/chrome/browser/ui/browser_tabstrip.cc
+++ b/chrome/browser/ui/browser_tabstrip.cc
@@ -77,8 +77,8 @@ void AddWebContents(Browser* browser,
disposition == NEW_BACKGROUND_TAB) && !user_gesture &&
!CommandLine::ForCurrentProcess()->HasSwitch(
switches::kDisablePopupBlocking) &&
- !CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableBetterPopupBlocking)) {
+ CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kDisableBetterPopupBlocking)) {
// Unrequested popups from normal pages are constrained unless they're in
// the white list. The popup owner will handle checking this.
source_blocked_content->AddPopup(

Powered by Google App Engine
This is Rietveld 408576698