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