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 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
382 #if defined(ENABLE_PRINT_PREVIEW) && !defined(OFFICIAL_BUILD) | 382 #if defined(ENABLE_PRINT_PREVIEW) && !defined(OFFICIAL_BUILD) |
383 extern const char kDebugPrint[]; | 383 extern const char kDebugPrint[]; |
384 #endif | 384 #endif |
385 | 385 |
386 #if defined(ENABLE_PLUGINS) | 386 #if defined(ENABLE_PLUGINS) |
387 extern const char kAllowNaClCrxFsAPI[]; | 387 extern const char kAllowNaClCrxFsAPI[]; |
388 extern const char kAllowNaClFileHandleAPI[]; | 388 extern const char kAllowNaClFileHandleAPI[]; |
389 extern const char kAllowNaClSocketAPI[]; | 389 extern const char kAllowNaClSocketAPI[]; |
390 #endif | 390 #endif |
391 | 391 |
392 #if defined(ENABLE_TASK_MANAGER) | |
393 extern const char kDisableNewTaskManager[]; | |
394 #endif // defined(ENABLE_TASK_MANAGER) | |
395 | |
396 #if defined(ENABLE_WAYLAND_SERVER) | 392 #if defined(ENABLE_WAYLAND_SERVER) |
397 extern const char kEnableWaylandServer[]; | 393 extern const char kEnableWaylandServer[]; |
398 #endif | 394 #endif |
399 | 395 |
400 #if defined(OS_WIN) || defined(OS_LINUX) | 396 #if defined(OS_WIN) || defined(OS_LINUX) |
401 extern const char kEnableInputImeAPI[]; | 397 extern const char kEnableInputImeAPI[]; |
402 extern const char kDisableInputImeAPI[]; | 398 extern const char kDisableInputImeAPI[]; |
403 #endif | 399 #endif |
404 | 400 |
405 bool AboutInSettingsEnabled(); | 401 bool AboutInSettingsEnabled(); |
406 bool MdExtensionsEnabled(); | 402 bool MdExtensionsEnabled(); |
407 bool MdFeedbackEnabled(); | 403 bool MdFeedbackEnabled(); |
408 bool MdPolicyPageEnabled(); | 404 bool MdPolicyPageEnabled(); |
409 bool PdfMaterialUIEnabled(); | 405 bool PdfMaterialUIEnabled(); |
410 bool SettingsWindowEnabled(); | 406 bool SettingsWindowEnabled(); |
411 | 407 |
412 #if defined(OS_CHROMEOS) | 408 #if defined(OS_CHROMEOS) |
413 bool PowerOverlayEnabled(); | 409 bool PowerOverlayEnabled(); |
414 #endif | 410 #endif |
415 | 411 |
416 #if defined(ENABLE_TASK_MANAGER) | |
417 bool NewTaskManagerEnabled(); | |
418 #endif // defined(ENABLE_TASK_MANAGER) | |
419 | |
420 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 412 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
421 // alphabetical order, or in one of the ifdefs (also in order in each section). | 413 // alphabetical order, or in one of the ifdefs (also in order in each section). |
422 | 414 |
423 } // namespace switches | 415 } // namespace switches |
424 | 416 |
425 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 417 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
OLD | NEW |