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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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 kDisableExtensionsFileAccessCheck[]; | 76 extern const char kDisableExtensionsFileAccessCheck[]; |
77 extern const char kDisableExtensionsHttpThrottling[]; | 77 extern const char kDisableExtensionsHttpThrottling[]; |
78 extern const char kDisableExtensions[]; | 78 extern const char kDisableExtensions[]; |
79 extern const char kDisableIPv6[]; | 79 extern const char kDisableIPv6[]; |
80 extern const char kDisableJavaScriptHarmonyShipping[]; | 80 extern const char kDisableJavaScriptHarmonyShipping[]; |
81 extern const char kDisableMinimizeOnSecondLauncherItemClick[]; | 81 extern const char kDisableMinimizeOnSecondLauncherItemClick[]; |
82 extern const char kDisableNewOfflineErrorPage[]; | |
82 extern const char kDisableNTPOtherSessionsMenu[]; | 83 extern const char kDisableNTPOtherSessionsMenu[]; |
83 extern const char kDisableOfflineAutoReload[]; | 84 extern const char kDisableOfflineAutoReload[]; |
84 extern const char kDisableOfflineAutoReloadVisibleOnly[]; | 85 extern const char kDisableOfflineAutoReloadVisibleOnly[]; |
85 extern const char kDisableOriginChip[]; | 86 extern const char kDisableOriginChip[]; |
86 extern const char kDisableOutOfProcessPdf[]; | 87 extern const char kDisableOutOfProcessPdf[]; |
87 extern const char kDisablePasswordManagerReauthentication[]; | 88 extern const char kDisablePasswordManagerReauthentication[]; |
88 extern const char kDisablePdfMaterialUI[]; | 89 extern const char kDisablePdfMaterialUI[]; |
89 extern const char kDisablePermissionsBubbles[]; | 90 extern const char kDisablePermissionsBubbles[]; |
90 extern const char kDisablePopupBlocking[]; | 91 extern const char kDisablePopupBlocking[]; |
91 extern const char kDisablePreconnect[]; | 92 extern const char kDisablePreconnect[]; |
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
391 #endif | 392 #endif |
392 | 393 |
393 #ifndef NDEBUG | 394 #ifndef NDEBUG |
394 extern const char kFileManagerExtensionPath[]; | 395 extern const char kFileManagerExtensionPath[]; |
395 #endif | 396 #endif |
396 | 397 |
397 bool AboutInSettingsEnabled(); | 398 bool AboutInSettingsEnabled(); |
398 bool OutOfProcessPdfEnabled(); | 399 bool OutOfProcessPdfEnabled(); |
399 bool PdfMaterialUIEnabled(); | 400 bool PdfMaterialUIEnabled(); |
400 bool SettingsWindowEnabled(); | 401 bool SettingsWindowEnabled(); |
402 bool NewOfflineErrorPageEnabled(); | |
sky
2015/01/29 23:45:56
nit: keep sort order.
afakhry
2015/01/30 00:24:38
Done.
| |
401 | 403 |
402 #if defined(OS_CHROMEOS) | 404 #if defined(OS_CHROMEOS) |
403 bool PowerOverlayEnabled(); | 405 bool PowerOverlayEnabled(); |
404 #endif | 406 #endif |
405 | 407 |
406 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 408 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
407 // alphabetical order, or in one of the ifdefs (also in order in each section). | 409 // alphabetical order, or in one of the ifdefs (also in order in each section). |
408 | 410 |
409 } // namespace switches | 411 } // namespace switches |
410 | 412 |
411 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 413 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
OLD | NEW |