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