Chromium Code Reviews| 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 the shared command-line switches used by code in the Chrome | 5 // Defines the shared command-line switches used by code in the Chrome |
| 6 // directory that don't have anywhere more specific to go. | 6 // directory that don't have anywhere more specific to go. |
| 7 | 7 |
| 8 #ifndef CHROME_COMMON_CHROME_SWITCHES_H_ | 8 #ifndef CHROME_COMMON_CHROME_SWITCHES_H_ |
| 9 #define CHROME_COMMON_CHROME_SWITCHES_H_ | 9 #define CHROME_COMMON_CHROME_SWITCHES_H_ |
| 10 | 10 |
| 11 #include "base/feature_list.h" | |
|
tsergeant
2016/03/11 04:48:38
Nit: Remove this line
ddoman
2016/03/11 06:02:59
Done.
| |
| 11 #include "build/build_config.h" | 12 #include "build/build_config.h" |
| 12 | 13 |
| 13 // Don't add more switch files here. This is linked into some places like the | 14 // Don't add more switch files here. This is linked into some places like the |
| 14 // installer where dependencies should be limited. Instead, have files | 15 // installer where dependencies should be limited. Instead, have files |
| 15 // directly include your switch file. | 16 // directly include your switch file. |
| 16 | 17 |
| 17 namespace switches { | 18 namespace switches { |
| 18 | 19 |
| 19 // ----------------------------------------------------------------------------- | 20 // ----------------------------------------------------------------------------- |
| 20 // Can't find the switch you are looking for? Try looking in | 21 // Can't find the switch you are looking for? Try looking in |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 115 extern const char kEnableClearBrowsingDataCounters[]; | 116 extern const char kEnableClearBrowsingDataCounters[]; |
| 116 extern const char kEnableCloudPrintProxy[]; | 117 extern const char kEnableCloudPrintProxy[]; |
| 117 extern const char kEnableDevToolsExperiments[]; | 118 extern const char kEnableDevToolsExperiments[]; |
| 118 extern const char kEnableDeviceDiscoveryNotifications[]; | 119 extern const char kEnableDeviceDiscoveryNotifications[]; |
| 119 extern const char kEnableDomainReliability[]; | 120 extern const char kEnableDomainReliability[]; |
| 120 extern const char kEnableExperimentalHotwordHardware[]; | 121 extern const char kEnableExperimentalHotwordHardware[]; |
| 121 extern const char kEnableExtensionActivityLogging[]; | 122 extern const char kEnableExtensionActivityLogging[]; |
| 122 extern const char kEnableExtensionActivityLogTesting[]; | 123 extern const char kEnableExtensionActivityLogTesting[]; |
| 123 extern const char kEnableFastUnload[]; | 124 extern const char kEnableFastUnload[]; |
| 124 extern const char kEnableMaterialDesignExtensions[]; | 125 extern const char kEnableMaterialDesignExtensions[]; |
| 125 extern const char kEnableMaterialDesignHistory[]; | |
| 126 extern const char kEnableMaterialDesignPolicyPage[]; | 126 extern const char kEnableMaterialDesignPolicyPage[]; |
| 127 extern const char kEnableNaCl[]; | 127 extern const char kEnableNaCl[]; |
| 128 extern const char kEnableNativeNotifications[]; | 128 extern const char kEnableNativeNotifications[]; |
| 129 extern const char kEnableNavigationTracing[]; | 129 extern const char kEnableNavigationTracing[]; |
| 130 extern const char kEnableNetBenchmarking[]; | 130 extern const char kEnableNetBenchmarking[]; |
| 131 extern const char kEnableNewBookmarkApps[]; | 131 extern const char kEnableNewBookmarkApps[]; |
| 132 extern const char kEnableNTPPopularSites[]; | 132 extern const char kEnableNTPPopularSites[]; |
| 133 extern const char kEnableNTPSearchEngineCountryDetection[]; | 133 extern const char kEnableNTPSearchEngineCountryDetection[]; |
| 134 extern const char kEnableOfflineAutoReload[]; | 134 extern const char kEnableOfflineAutoReload[]; |
| 135 extern const char kEnableOfflineAutoReloadVisibleOnly[]; | 135 extern const char kEnableOfflineAutoReloadVisibleOnly[]; |
| (...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 394 extern const char kEnableWaylandServer[]; | 394 extern const char kEnableWaylandServer[]; |
| 395 #endif | 395 #endif |
| 396 | 396 |
| 397 #if defined(OS_WIN) || defined(OS_LINUX) | 397 #if defined(OS_WIN) || defined(OS_LINUX) |
| 398 extern const char kEnableInputImeAPI[]; | 398 extern const char kEnableInputImeAPI[]; |
| 399 extern const char kDisableInputImeAPI[]; | 399 extern const char kDisableInputImeAPI[]; |
| 400 #endif | 400 #endif |
| 401 | 401 |
| 402 bool AboutInSettingsEnabled(); | 402 bool AboutInSettingsEnabled(); |
| 403 bool MdExtensionsEnabled(); | 403 bool MdExtensionsEnabled(); |
| 404 bool MdHistoryEnabled(); | |
| 405 bool MdPolicyPageEnabled(); | 404 bool MdPolicyPageEnabled(); |
| 406 bool PdfMaterialUIEnabled(); | 405 bool PdfMaterialUIEnabled(); |
| 407 bool SettingsWindowEnabled(); | 406 bool SettingsWindowEnabled(); |
| 408 | 407 |
| 409 #if defined(OS_CHROMEOS) | 408 #if defined(OS_CHROMEOS) |
| 410 bool PowerOverlayEnabled(); | 409 bool PowerOverlayEnabled(); |
| 411 #endif | 410 #endif |
| 412 | 411 |
| 413 #if defined(ENABLE_TASK_MANAGER) | 412 #if defined(ENABLE_TASK_MANAGER) |
| 414 bool NewTaskManagerEnabled(); | 413 bool NewTaskManagerEnabled(); |
| 415 #endif // defined(ENABLE_TASK_MANAGER) | 414 #endif // defined(ENABLE_TASK_MANAGER) |
| 416 | 415 |
| 417 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 416 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
| 418 // alphabetical order, or in one of the ifdefs (also in order in each section). | 417 // alphabetical order, or in one of the ifdefs (also in order in each section). |
| 419 | 418 |
| 420 } // namespace switches | 419 } // namespace switches |
| 421 | 420 |
| 422 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 421 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
| OLD | NEW |