| 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 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 390 #endif | 390 #endif |
| 391 | 391 |
| 392 #if defined(ENABLE_PRINT_PREVIEW) && !defined(OFFICIAL_BUILD) | 392 #if defined(ENABLE_PRINT_PREVIEW) && !defined(OFFICIAL_BUILD) |
| 393 extern const char kDebugPrint[]; | 393 extern const char kDebugPrint[]; |
| 394 #endif | 394 #endif |
| 395 | 395 |
| 396 #if defined(ENABLE_PLUGINS) | 396 #if defined(ENABLE_PLUGINS) |
| 397 extern const char kAllowNaClCrxFsAPI[]; | 397 extern const char kAllowNaClCrxFsAPI[]; |
| 398 extern const char kAllowNaClFileHandleAPI[]; | 398 extern const char kAllowNaClFileHandleAPI[]; |
| 399 extern const char kAllowNaClSocketAPI[]; | 399 extern const char kAllowNaClSocketAPI[]; |
| 400 extern const char kDisablePluginPowerSaver[]; |
| 401 extern const char kEnablePluginPowerSaver[]; |
| 400 #endif | 402 #endif |
| 401 | 403 |
| 402 #ifndef NDEBUG | 404 #ifndef NDEBUG |
| 403 extern const char kFileManagerExtensionPath[]; | 405 extern const char kFileManagerExtensionPath[]; |
| 404 #endif | 406 #endif |
| 405 | 407 |
| 406 bool AboutInSettingsEnabled(); | 408 bool AboutInSettingsEnabled(); |
| 407 bool MdSettingsEnabled(); | 409 bool MdSettingsEnabled(); |
| 408 bool MediaRouterEnabled(); | 410 bool MediaRouterEnabled(); |
| 409 bool NewOfflineErrorPageEnabled(); | 411 bool NewOfflineErrorPageEnabled(); |
| 410 bool OutOfProcessPdfEnabled(); | 412 bool OutOfProcessPdfEnabled(); |
| 411 bool PdfMaterialUIEnabled(); | 413 bool PdfMaterialUIEnabled(); |
| 412 bool SettingsWindowEnabled(); | 414 bool SettingsWindowEnabled(); |
| 413 | 415 |
| 414 #if defined(OS_CHROMEOS) | 416 #if defined(OS_CHROMEOS) |
| 415 bool PowerOverlayEnabled(); | 417 bool PowerOverlayEnabled(); |
| 416 #endif | 418 #endif |
| 417 | 419 |
| 418 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 420 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
| 419 // alphabetical order, or in one of the ifdefs (also in order in each section). | 421 // alphabetical order, or in one of the ifdefs (also in order in each section). |
| 420 | 422 |
| 421 } // namespace switches | 423 } // namespace switches |
| 422 | 424 |
| 423 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 425 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
| OLD | NEW |