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