| 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 |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 extern const char kDisableCastStreamingHWEncoding[]; | 67 extern const char kDisableCastStreamingHWEncoding[]; |
| 68 extern const char kDisableChildAccountDetection[]; | 68 extern const char kDisableChildAccountDetection[]; |
| 69 extern const char kDisableClearBrowsingDataCounters[]; | 69 extern const char kDisableClearBrowsingDataCounters[]; |
| 70 extern const char kDisableClientSidePhishingDetection[]; | 70 extern const char kDisableClientSidePhishingDetection[]; |
| 71 extern const char kDisableComponentExtensionsWithBackgroundPages[]; | 71 extern const char kDisableComponentExtensionsWithBackgroundPages[]; |
| 72 extern const char kDisableComponentUpdate[]; | 72 extern const char kDisableComponentUpdate[]; |
| 73 extern const char kDisableDefaultApps[]; | 73 extern const char kDisableDefaultApps[]; |
| 74 extern const char kDisableDeviceDiscoveryNotifications[]; | 74 extern const char kDisableDeviceDiscoveryNotifications[]; |
| 75 extern const char kDisableDomainReliability[]; | 75 extern const char kDisableDomainReliability[]; |
| 76 extern const char kDisableExtensions[]; | 76 extern const char kDisableExtensions[]; |
| 77 extern const char kDisableExtensionsExcept[]; |
| 77 extern const char kDisableExtensionsFileAccessCheck[]; | 78 extern const char kDisableExtensionsFileAccessCheck[]; |
| 78 extern const char kDisableExtensionsHttpThrottling[]; | 79 extern const char kDisableExtensionsHttpThrottling[]; |
| 79 extern const char kDisableFieldTrialTestingConfig[]; | 80 extern const char kDisableFieldTrialTestingConfig[]; |
| 80 extern const char kDisableHttp2[]; | 81 extern const char kDisableHttp2[]; |
| 81 extern const char kDisableMinimizeOnSecondLauncherItemClick[]; | 82 extern const char kDisableMinimizeOnSecondLauncherItemClick[]; |
| 82 extern const char kDisableNewBookmarkApps[]; | 83 extern const char kDisableNewBookmarkApps[]; |
| 83 extern const char kDisableOfflineAutoReload[]; | 84 extern const char kDisableOfflineAutoReload[]; |
| 84 extern const char kDisableOfflineAutoReloadVisibleOnly[]; | 85 extern const char kDisableOfflineAutoReloadVisibleOnly[]; |
| 85 extern const char kDisableOutOfProcessPac[]; | 86 extern const char kDisableOutOfProcessPac[]; |
| 86 extern const char kDisablePanels[]; | 87 extern const char kDisablePanels[]; |
| (...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 382 #if defined(ENABLE_WAYLAND_SERVER) | 383 #if defined(ENABLE_WAYLAND_SERVER) |
| 383 extern const char kEnableWaylandServer[]; | 384 extern const char kEnableWaylandServer[]; |
| 384 #endif | 385 #endif |
| 385 | 386 |
| 386 #if defined(OS_WIN) || defined(OS_LINUX) | 387 #if defined(OS_WIN) || defined(OS_LINUX) |
| 387 extern const char kDisableInputImeAPI[]; | 388 extern const char kDisableInputImeAPI[]; |
| 388 extern const char kEnableInputImeAPI[]; | 389 extern const char kEnableInputImeAPI[]; |
| 389 #endif | 390 #endif |
| 390 | 391 |
| 391 bool AboutInSettingsEnabled(); | 392 bool AboutInSettingsEnabled(); |
| 393 bool ExtensionsDisabled(); |
| 392 bool MdFeedbackEnabled(); | 394 bool MdFeedbackEnabled(); |
| 393 bool MdPolicyPageEnabled(); | 395 bool MdPolicyPageEnabled(); |
| 394 bool PdfMaterialUIEnabled(); | 396 bool PdfMaterialUIEnabled(); |
| 395 bool SettingsWindowEnabled(); | 397 bool SettingsWindowEnabled(); |
| 396 | 398 |
| 397 #if defined(OS_CHROMEOS) | 399 #if defined(OS_CHROMEOS) |
| 398 bool PowerOverlayEnabled(); | 400 bool PowerOverlayEnabled(); |
| 399 #endif | 401 #endif |
| 400 | 402 |
| 401 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 403 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
| 402 // alphabetical order, or in one of the ifdefs (also in order in each section). | 404 // alphabetical order, or in one of the ifdefs (also in order in each section). |
| 403 | 405 |
| 404 } // namespace switches | 406 } // namespace switches |
| 405 | 407 |
| 406 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 408 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
| OLD | NEW |