Chromium Code Reviews| 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 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 394 #if defined(ENABLE_PRINT_PREVIEW) && !defined(OFFICIAL_BUILD) | 394 #if defined(ENABLE_PRINT_PREVIEW) && !defined(OFFICIAL_BUILD) |
| 395 extern const char kDebugPrint[]; | 395 extern const char kDebugPrint[]; |
| 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 extern const char kRebaselinePixelTests[]; | |
|
Lei Zhang
2015/10/21 07:24:52
Maybe this should go in chrome/test/base/test_swit
tommycli
2015/10/21 18:16:04
Done.
Lei Zhang
2015/10/21 23:25:33
chrome/test/base/test_switches.h != base/test/test
tommycli
2015/10/21 23:57:22
Done. Doh!
| |
| 404 #endif | 405 #endif |
| 405 | 406 |
| 406 #if defined(ENABLE_TASK_MANAGER) | 407 #if defined(ENABLE_TASK_MANAGER) |
| 407 extern const char kDisableNewTaskManager[]; | 408 extern const char kDisableNewTaskManager[]; |
| 408 #endif // defined(ENABLE_TASK_MANAGER) | 409 #endif // defined(ENABLE_TASK_MANAGER) |
| 409 | 410 |
| 410 bool AboutInSettingsEnabled(); | 411 bool AboutInSettingsEnabled(); |
| 411 bool MdExtensionsEnabled(); | 412 bool MdExtensionsEnabled(); |
| 412 bool MdPolicyPageEnabled(); | 413 bool MdPolicyPageEnabled(); |
| 413 bool MediaRouterEnabled(); | 414 bool MediaRouterEnabled(); |
| 414 bool PdfMaterialUIEnabled(); | 415 bool PdfMaterialUIEnabled(); |
| 415 bool SettingsWindowEnabled(); | 416 bool SettingsWindowEnabled(); |
| 416 | 417 |
| 417 #if defined(OS_CHROMEOS) | 418 #if defined(OS_CHROMEOS) |
| 418 bool PowerOverlayEnabled(); | 419 bool PowerOverlayEnabled(); |
| 419 #endif | 420 #endif |
| 420 | 421 |
| 421 #if defined(ENABLE_TASK_MANAGER) | 422 #if defined(ENABLE_TASK_MANAGER) |
| 422 bool NewTaskManagerEnabled(); | 423 bool NewTaskManagerEnabled(); |
| 423 #endif // defined(ENABLE_TASK_MANAGER) | 424 #endif // defined(ENABLE_TASK_MANAGER) |
| 424 | 425 |
| 425 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 426 // 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). | 427 // alphabetical order, or in one of the ifdefs (also in order in each section). |
| 427 | 428 |
| 428 } // namespace switches | 429 } // namespace switches |
| 429 | 430 |
| 430 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 431 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
| OLD | NEW |