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