MD Extensions: add --enable-md-extensions to about:flags
[email protected]
BUG=529395
Review URL: https://codereview.chromium.org/1497693005
Cr-Commit-Position: refs/heads/master@{#363652}
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 1763a049..ade3803 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -2054,6 +2054,13 @@
IDS_FLAGS_FORCE_UI_DIRECTION_DESCRIPTION,
kOsAll,
MULTI_VALUE_TYPE(kForceUIDirectionChoices)},
+#if defined(ENABLE_EXTENSIONS)
+ {"enable-md-extensions",
+ IDS_FLAGS_ENABLE_MATERIAL_DESIGN_EXTENSIONS_NAME,
+ IDS_FLAGS_ENABLE_MATERIAL_DESIGN_EXTENSIONS_DESCRIPTION,
+ kOsDesktop,
+ SINGLE_VALUE_TYPE(switches::kEnableMaterialDesignExtensions)},
+#endif
// NOTE: Adding new command-line switches requires adding corresponding
// entries to enum "LoginCustomFlags" in histograms.xml. See note in
// histograms.xml and don't forget to run AboutFlagsHistogramTest unit test.