Chromium Code Reviews| 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); |