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

Unified Diff: chrome/common/chrome_switches.cc

Issue 1319163004: [Extensions Page MD] Stub out a materialized extensions page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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/common/chrome_switches.cc
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index 1d1e140a327d12d7e1a38ea5c1cdfc467faece4a..97b209fd63e73a4787b9aafb9e28922a13a81e2d 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -449,6 +449,9 @@ const char kEnableFeatures[] = "enable-features";
// This is a temporary testing flag.
const char kEnableInsecureQuic[] = "enable-insecure-quic";
+// Enables the Material Design version of chrome://extensions.
+const char kEnableMaterialDesignExtensions[] = "enable-md-extensions";
Dan Beam 2015/09/09 00:05:02 nit: below Downloads for alphabetization purposes
Devlin 2015/09/09 15:46:06 Done.
+
// Enables the Material Design version of chrome://downloads.
const char kEnableMaterialDesignDownloads[] = "enable-md-downloads";
@@ -1323,6 +1326,11 @@ bool AboutInSettingsEnabled() {
::switches::kDisableAboutInSettings);
}
+bool MdExtensionsEnabled() {
+ return base::CommandLine::ForCurrentProcess()->HasSwitch(
+ ::switches::kEnableMaterialDesignExtensions);
+}
+
bool MdSettingsEnabled() {
return base::CommandLine::ForCurrentProcess()->HasSwitch(
::switches::kEnableMaterialDesignSettings);

Powered by Google App Engine
This is Rietveld 408576698