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

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 1541033002: Add --disable-panels for blocking all extensions from using panels. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
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 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
457 const char kEnableNTPSearchEngineCountryDetection[] = 457 const char kEnableNTPSearchEngineCountryDetection[] =
458 "enable-ntp-search-engine-country-detection"; 458 "enable-ntp-search-engine-country-detection";
459 459
460 // Enable auto-reload of error pages if offline. 460 // Enable auto-reload of error pages if offline.
461 const char kEnableOfflineAutoReload[] = "enable-offline-auto-reload"; 461 const char kEnableOfflineAutoReload[] = "enable-offline-auto-reload";
462 462
463 // Only auto-reload error pages when the tab is visible. 463 // Only auto-reload error pages when the tab is visible.
464 const char kEnableOfflineAutoReloadVisibleOnly[] = 464 const char kEnableOfflineAutoReloadVisibleOnly[] =
465 "enable-offline-auto-reload-visible-only"; 465 "enable-offline-auto-reload-visible-only";
466 466
467 // Enables panels (always on-top docked pop-up windows). 467 // Enables or disables panels (always on-top docked pop-up windows).
468 const char kEnablePanels[] = "enable-panels"; 468 const char kEnablePanels[] = "enable-panels";
469 const char kDisablePanels[] = "disable-panels";
469 470
470 // Enables the Permissions Blacklist, which blocks access to permissions 471 // Enables the Permissions Blacklist, which blocks access to permissions
471 // for blacklisted sites. 472 // for blacklisted sites.
472 const char kEnablePermissionsBlacklist[] = "enable-permissions-blacklist"; 473 const char kEnablePermissionsBlacklist[] = "enable-permissions-blacklist";
473 474
474 // Enables a number of potentially annoying security features (strict mixed 475 // Enables a number of potentially annoying security features (strict mixed
475 // content mode, powerful feature restrictions, etc.) 476 // content mode, powerful feature restrictions, etc.)
476 const char kEnablePotentiallyAnnoyingSecurityFeatures[] = 477 const char kEnablePotentiallyAnnoyingSecurityFeatures[] =
477 "enable-potentially-annoying-security-features"; 478 "enable-potentially-annoying-security-features";
478 479
(...skipping 901 matching lines...) Expand 10 before | Expand all | Expand 10 after
1380 1381
1381 // ----------------------------------------------------------------------------- 1382 // -----------------------------------------------------------------------------
1382 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1383 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1383 // 1384 //
1384 // You were going to just dump your switches here, weren't you? Instead, please 1385 // You were going to just dump your switches here, weren't you? Instead, please
1385 // put them in alphabetical order above, or in order inside the appropriate 1386 // put them in alphabetical order above, or in order inside the appropriate
1386 // ifdef at the bottom. The order should match the header. 1387 // ifdef at the bottom. The order should match the header.
1387 // ----------------------------------------------------------------------------- 1388 // -----------------------------------------------------------------------------
1388 1389
1389 } // namespace switches 1390 } // namespace switches
OLDNEW
« chrome/browser/about_flags.cc ('K') | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698