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

Side by Side Diff: chrome/common/chrome_switches.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/common/chrome_switches.h" 5 #include "chrome/common/chrome_switches.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 9
10 namespace switches { 10 namespace switches {
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 265
266 // Disables background mode (background apps will not keep chrome running in 266 // Disables background mode (background apps will not keep chrome running in
267 // the background). 267 // the background).
268 const char kDisableBackgroundMode[] = "disable-background-mode"; 268 const char kDisableBackgroundMode[] = "disable-background-mode";
269 269
270 // Disable several subsystems which run network requests in the background. 270 // Disable several subsystems which run network requests in the background.
271 // This is for use when doing network performance testing to avoid noise in the 271 // This is for use when doing network performance testing to avoid noise in the
272 // measurements. 272 // measurements.
273 const char kDisableBackgroundNetworking[] = "disable-background-networking"; 273 const char kDisableBackgroundNetworking[] = "disable-background-networking";
274 274
275 // Disables more strict popup blocking.
276 const char kDisableBetterPopupBlocking[] = "disable-better-popup-blocking";
277
275 // Disables the bundled PPAPI version of Flash. 278 // Disables the bundled PPAPI version of Flash.
276 const char kDisableBundledPpapiFlash[] = "disable-bundled-ppapi-flash"; 279 const char kDisableBundledPpapiFlash[] = "disable-bundled-ppapi-flash";
277 280
278 // Disables the bookmark autocomplete provider (BookmarkProvider). 281 // Disables the bookmark autocomplete provider (BookmarkProvider).
279 const char kDisableBookmarkAutocompleteProvider[] = 282 const char kDisableBookmarkAutocompleteProvider[] =
280 "disable-bookmark-autocomplete-provider"; 283 "disable-bookmark-autocomplete-provider";
281 284
282 // Disables the client-side phishing detection feature. Note that even if 285 // Disables the client-side phishing detection feature. Note that even if
283 // client-side phishing detection is enabled, it will only be active if the 286 // client-side phishing detection is enabled, it will only be active if the
284 // user has opted in to UMA stats and SafeBrowsing is enabled in the 287 // user has opted in to UMA stats and SafeBrowsing is enabled in the
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
501 "enable-password-autofill-public-suffix-domain-matching"; 504 "enable-password-autofill-public-suffix-domain-matching";
502 505
503 // Enables the pre- and auto-login features. When a user signs in to sync, the 506 // Enables the pre- and auto-login features. When a user signs in to sync, the
504 // browser's cookie jar is pre-filled with GAIA cookies. When the user visits a 507 // browser's cookie jar is pre-filled with GAIA cookies. When the user visits a
505 // GAIA login page, an info bar can help the user login. 508 // GAIA login page, an info bar can help the user login.
506 const char kEnableAutologin[] = "enable-autologin"; 509 const char kEnableAutologin[] = "enable-autologin";
507 510
508 // Enables the benchmarking extensions. 511 // Enables the benchmarking extensions.
509 const char kEnableBenchmarking[] = "enable-benchmarking"; 512 const char kEnableBenchmarking[] = "enable-benchmarking";
510 513
511 // Enables (experimental) more strict popup blocking.
512 const char kEnableBetterPopupBlocking[] = "enable-better-popup-blocking";
513
514 // Enables a sync promo that is displayed in the bookmark bubble. 514 // Enables a sync promo that is displayed in the bookmark bubble.
515 const char kEnableBookmarkSyncPromo[] = "enable-bookmark-sync-promo"; 515 const char kEnableBookmarkSyncPromo[] = "enable-bookmark-sync-promo";
516 516
517 // This applies only when the process type is "service". Enables the Cloud 517 // This applies only when the process type is "service". Enables the Cloud
518 // Print Proxy component within the service process. 518 // Print Proxy component within the service process.
519 const char kEnableCloudPrintProxy[] = "enable-cloud-print-proxy"; 519 const char kEnableCloudPrintProxy[] = "enable-cloud-print-proxy";
520 520
521 // Enables fetching and storing cloud policy for components. This currently 521 // Enables fetching and storing cloud policy for components. This currently
522 // supports policy for extensions on Chrome OS. 522 // supports policy for extensions on Chrome OS.
523 const char kEnableComponentCloudPolicy[] = "enable-component-cloud-policy"; 523 const char kEnableComponentCloudPolicy[] = "enable-component-cloud-policy";
(...skipping 1044 matching lines...) Expand 10 before | Expand all | Expand 10 after
1568 1568
1569 // ----------------------------------------------------------------------------- 1569 // -----------------------------------------------------------------------------
1570 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1570 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1571 // 1571 //
1572 // You were going to just dump your switches here, weren't you? Instead, please 1572 // You were going to just dump your switches here, weren't you? Instead, please
1573 // put them in alphabetical order above, or in order inside the appropriate 1573 // put them in alphabetical order above, or in order inside the appropriate
1574 // ifdef at the bottom. The order should match the header. 1574 // ifdef at the bottom. The order should match the header.
1575 // ----------------------------------------------------------------------------- 1575 // -----------------------------------------------------------------------------
1576 1576
1577 } // namespace switches 1577 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698