OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Defines all the command-line switches used by Chrome. | 5 // Defines all the command-line switches used by Chrome. |
6 | 6 |
7 #ifndef CHROME_COMMON_CHROME_SWITCHES_H_ | 7 #ifndef CHROME_COMMON_CHROME_SWITCHES_H_ |
8 #define CHROME_COMMON_CHROME_SWITCHES_H_ | 8 #define CHROME_COMMON_CHROME_SWITCHES_H_ |
9 | 9 |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 extern const char kEnableDownloadNotification[]; | 123 extern const char kEnableDownloadNotification[]; |
124 extern const char kEnableDomainReliability[]; | 124 extern const char kEnableDomainReliability[]; |
125 extern const char kEnableEphemeralAppsInWebstore[]; | 125 extern const char kEnableEphemeralAppsInWebstore[]; |
126 extern const char kEnableExperimentalHotwordHardware[]; | 126 extern const char kEnableExperimentalHotwordHardware[]; |
127 extern const char kEnableExtensionActivityLogging[]; | 127 extern const char kEnableExtensionActivityLogging[]; |
128 extern const char kEnableExtensionActivityLogTesting[]; | 128 extern const char kEnableExtensionActivityLogTesting[]; |
129 extern const char kEnableFastUnload[]; | 129 extern const char kEnableFastUnload[]; |
130 extern const char kEnableInsecureQuic[]; | 130 extern const char kEnableInsecureQuic[]; |
131 extern const char kEnableMaterialDesignDownloads[]; | 131 extern const char kEnableMaterialDesignDownloads[]; |
132 extern const char kEnableMaterialDesignExtensions[]; | 132 extern const char kEnableMaterialDesignExtensions[]; |
| 133 extern const char kEnableMaterialDesignPolicyPage[]; |
133 extern const char kEnableMediaRouter[]; | 134 extern const char kEnableMediaRouter[]; |
134 extern const char kEnableNaCl[]; | 135 extern const char kEnableNaCl[]; |
135 extern const char kEnableNavigationTracing[]; | 136 extern const char kEnableNavigationTracing[]; |
136 extern const char kEnableNetBenchmarking[]; | 137 extern const char kEnableNetBenchmarking[]; |
137 extern const char kEnableNewBookmarkApps[]; | 138 extern const char kEnableNewBookmarkApps[]; |
138 extern const char kEnableNTPPopularSites[]; | 139 extern const char kEnableNTPPopularSites[]; |
139 extern const char kEnableNTPSearchEngineCountryDetection[]; | 140 extern const char kEnableNTPSearchEngineCountryDetection[]; |
140 extern const char kEnableOfflineAutoReload[]; | 141 extern const char kEnableOfflineAutoReload[]; |
141 extern const char kEnableOfflineAutoReloadVisibleOnly[]; | 142 extern const char kEnableOfflineAutoReloadVisibleOnly[]; |
142 extern const char kEnablePanels[]; | 143 extern const char kEnablePanels[]; |
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
399 extern const char kDisablePluginPowerSaver[]; | 400 extern const char kDisablePluginPowerSaver[]; |
400 extern const char kEnablePluginPowerSaver[]; | 401 extern const char kEnablePluginPowerSaver[]; |
401 #endif | 402 #endif |
402 | 403 |
403 #if defined(ENABLE_TASK_MANAGER) | 404 #if defined(ENABLE_TASK_MANAGER) |
404 extern const char kDisableNewTaskManager[]; | 405 extern const char kDisableNewTaskManager[]; |
405 #endif // defined(ENABLE_TASK_MANAGER) | 406 #endif // defined(ENABLE_TASK_MANAGER) |
406 | 407 |
407 bool AboutInSettingsEnabled(); | 408 bool AboutInSettingsEnabled(); |
408 bool MdExtensionsEnabled(); | 409 bool MdExtensionsEnabled(); |
| 410 bool MdPolicyPageEnabled(); |
409 bool MediaRouterEnabled(); | 411 bool MediaRouterEnabled(); |
410 bool PdfMaterialUIEnabled(); | 412 bool PdfMaterialUIEnabled(); |
411 bool SettingsWindowEnabled(); | 413 bool SettingsWindowEnabled(); |
412 | 414 |
413 #if defined(OS_CHROMEOS) | 415 #if defined(OS_CHROMEOS) |
414 bool PowerOverlayEnabled(); | 416 bool PowerOverlayEnabled(); |
415 #endif | 417 #endif |
416 | 418 |
417 #if defined(ENABLE_TASK_MANAGER) | 419 #if defined(ENABLE_TASK_MANAGER) |
418 bool NewTaskManagerEnabled(); | 420 bool NewTaskManagerEnabled(); |
419 #endif // defined(ENABLE_TASK_MANAGER) | 421 #endif // defined(ENABLE_TASK_MANAGER) |
420 | 422 |
421 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 423 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
422 // alphabetical order, or in one of the ifdefs (also in order in each section). | 424 // alphabetical order, or in one of the ifdefs (also in order in each section). |
423 | 425 |
424 } // namespace switches | 426 } // namespace switches |
425 | 427 |
426 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 428 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
OLD | NEW |