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

Unified Diff: chrome/browser/about_flags.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: update histograms.xml 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/ui/panels/panel_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 8c96baaaf3a57b4c74d721844b4eb4242e9f5950..c998275fd892dc0c8c91324095da31f82972a177 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -665,7 +665,8 @@ const FeatureEntry kFeatureEntries[] = {
IDS_FLAGS_PANELS_NAME,
IDS_FLAGS_PANELS_DESCRIPTION,
kOsDesktop,
- SINGLE_VALUE_TYPE(switches::kEnablePanels)},
+ ENABLE_DISABLE_VALUE_TYPE(switches::kEnablePanels,
+ switches::kDisablePanels)},
{// See http://crbug.com/120416 for how to remove this flag.
"save-page-as-mhtml", // FLAGS:RECORD_UMA
IDS_FLAGS_SAVE_PAGE_AS_MHTML_NAME,
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/ui/panels/panel_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698