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 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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) | 392 #if defined(ENABLE_TASK_MANAGER) |
393 extern const char kDisableNewTaskManager[]; | 393 extern const char kDisableNewTaskManager[]; |
394 #endif // defined(ENABLE_TASK_MANAGER) | 394 #endif // defined(ENABLE_TASK_MANAGER) |
395 | 395 |
| 396 #if defined(FULL_SAFE_BROWSING) |
| 397 extern const char kAllowUncheckedDangerousDownloads[]; |
| 398 extern const char kDisallowUncheckedDangerousDownloads[]; |
| 399 #endif |
| 400 |
396 #if defined(ENABLE_WAYLAND_SERVER) | 401 #if defined(ENABLE_WAYLAND_SERVER) |
397 extern const char kEnableWaylandServer[]; | 402 extern const char kEnableWaylandServer[]; |
398 #endif | 403 #endif |
399 | 404 |
400 #if defined(OS_WIN) || defined(OS_LINUX) | 405 #if defined(OS_WIN) || defined(OS_LINUX) |
401 extern const char kEnableInputImeAPI[]; | 406 extern const char kEnableInputImeAPI[]; |
402 extern const char kDisableInputImeAPI[]; | 407 extern const char kDisableInputImeAPI[]; |
403 #endif | 408 #endif |
404 | 409 |
405 bool AboutInSettingsEnabled(); | 410 bool AboutInSettingsEnabled(); |
406 bool MdExtensionsEnabled(); | 411 bool MdExtensionsEnabled(); |
407 bool MdFeedbackEnabled(); | 412 bool MdFeedbackEnabled(); |
408 bool MdPolicyPageEnabled(); | 413 bool MdPolicyPageEnabled(); |
409 bool PdfMaterialUIEnabled(); | 414 bool PdfMaterialUIEnabled(); |
410 bool SettingsWindowEnabled(); | 415 bool SettingsWindowEnabled(); |
411 | 416 |
412 #if defined(OS_CHROMEOS) | 417 #if defined(OS_CHROMEOS) |
413 bool PowerOverlayEnabled(); | 418 bool PowerOverlayEnabled(); |
414 #endif | 419 #endif |
415 | 420 |
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 | 421 // 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). | 422 // alphabetical order, or in one of the ifdefs (also in order in each section). |
422 | 423 |
423 } // namespace switches | 424 } // namespace switches |
424 | 425 |
425 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 426 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
OLD | NEW |