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

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: Nits 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
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | third_party/closure_compiler/compiled_resources.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/chrome_switches.cc
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index 1d1e140a327d12d7e1a38ea5c1cdfc467faece4a..3f5c62421d1195422d8a1b99f43963b275472d0b 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -452,6 +452,9 @@ const char kEnableInsecureQuic[] = "enable-insecure-quic";
// Enables the Material Design version of chrome://downloads.
const char kEnableMaterialDesignDownloads[] = "enable-md-downloads";
+// Enables the Material Design version of chrome://extensions.
+const char kEnableMaterialDesignExtensions[] = "enable-md-extensions";
+
// Enables the material design Settings feature.
const char kEnableMaterialDesignSettings[] = "enable-md-settings";
@@ -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);
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | third_party/closure_compiler/compiled_resources.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698