| 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 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 396 #endif | 396 #endif |
| 397 | 397 |
| 398 #if defined(ENABLE_PLUGINS) | 398 #if defined(ENABLE_PLUGINS) |
| 399 extern const char kAllowNaClCrxFsAPI[]; | 399 extern const char kAllowNaClCrxFsAPI[]; |
| 400 extern const char kAllowNaClFileHandleAPI[]; | 400 extern const char kAllowNaClFileHandleAPI[]; |
| 401 extern const char kAllowNaClSocketAPI[]; | 401 extern const char kAllowNaClSocketAPI[]; |
| 402 extern const char kDisablePluginPowerSaver[]; | 402 extern const char kDisablePluginPowerSaver[]; |
| 403 extern const char kEnablePluginPowerSaver[]; | 403 extern const char kEnablePluginPowerSaver[]; |
| 404 #endif | 404 #endif |
| 405 | 405 |
| 406 #if defined(FULL_SAFE_BROWSING) |
| 407 extern const char kAllowUncheckedDangerousDownloads[]; |
| 408 extern const char kDisallowUncheckedDangerousDownloads[]; |
| 409 #endif |
| 410 |
| 406 #if defined(ENABLE_TASK_MANAGER) | 411 #if defined(ENABLE_TASK_MANAGER) |
| 407 extern const char kDisableNewTaskManager[]; | 412 extern const char kDisableNewTaskManager[]; |
| 408 #endif // defined(ENABLE_TASK_MANAGER) | 413 #endif // defined(ENABLE_TASK_MANAGER) |
| 409 | 414 |
| 410 bool AboutInSettingsEnabled(); | 415 bool AboutInSettingsEnabled(); |
| 411 bool MdExtensionsEnabled(); | 416 bool MdExtensionsEnabled(); |
| 412 bool MdPolicyPageEnabled(); | 417 bool MdPolicyPageEnabled(); |
| 413 bool MediaRouterEnabled(); | 418 bool MediaRouterEnabled(); |
| 414 bool PdfMaterialUIEnabled(); | 419 bool PdfMaterialUIEnabled(); |
| 415 bool SettingsWindowEnabled(); | 420 bool SettingsWindowEnabled(); |
| 416 | 421 |
| 417 #if defined(OS_CHROMEOS) | 422 #if defined(OS_CHROMEOS) |
| 418 bool PowerOverlayEnabled(); | 423 bool PowerOverlayEnabled(); |
| 419 #endif | 424 #endif |
| 420 | 425 |
| 421 #if defined(ENABLE_TASK_MANAGER) | 426 #if defined(ENABLE_TASK_MANAGER) |
| 422 bool NewTaskManagerEnabled(); | 427 bool NewTaskManagerEnabled(); |
| 423 #endif // defined(ENABLE_TASK_MANAGER) | 428 #endif // defined(ENABLE_TASK_MANAGER) |
| 424 | 429 |
| 425 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 430 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
| 426 // alphabetical order, or in one of the ifdefs (also in order in each section). | 431 // alphabetical order, or in one of the ifdefs (also in order in each section). |
| 427 | 432 |
| 428 } // namespace switches | 433 } // namespace switches |
| 429 | 434 |
| 430 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 435 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
| OLD | NEW |