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

Unified Diff: chrome/browser/ui/browser_tab_contents.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_tab_contents.cc
diff --git a/chrome/browser/ui/browser_tab_contents.cc b/chrome/browser/ui/browser_tab_contents.cc
index e356025b08998824603f746e50d7799cca334c88..02c169168a455ae4914e8c7f352ba248aa7092d4 100644
--- a/chrome/browser/ui/browser_tab_contents.cc
+++ b/chrome/browser/ui/browser_tab_contents.cc
@@ -137,8 +137,8 @@ void BrowserTabContents::AttachTabHelpers(WebContents* web_contents) {
web_contents, PasswordManagerDelegateImpl::FromWebContents(web_contents));
PDFTabHelper::CreateForWebContents(web_contents);
PluginObserver::CreateForWebContents(web_contents);
- if (CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableBetterPopupBlocking)) {
+ if (!CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kDisableBetterPopupBlocking)) {
PopupBlockerTabHelper::CreateForWebContents(web_contents);
}
PrefsTabHelper::CreateForWebContents(web_contents);

Powered by Google App Engine
This is Rietveld 408576698