| 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 | 386 |
| 387 #if defined(FULL_SAFE_BROWSING) | 387 #if defined(FULL_SAFE_BROWSING) |
| 388 extern const char kAllowUncheckedDangerousDownloads[]; | 388 extern const char kAllowUncheckedDangerousDownloads[]; |
| 389 extern const char kDisallowUncheckedDangerousDownloads[]; | 389 extern const char kDisallowUncheckedDangerousDownloads[]; |
| 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(ENABLE_WAYLAND_SERVER) |
| 397 extern const char kEnableWaylandServer[]; |
| 398 #endif |
| 399 |
| 396 bool AboutInSettingsEnabled(); | 400 bool AboutInSettingsEnabled(); |
| 397 bool MdExtensionsEnabled(); | 401 bool MdExtensionsEnabled(); |
| 398 bool MdPolicyPageEnabled(); | 402 bool MdPolicyPageEnabled(); |
| 399 bool PdfMaterialUIEnabled(); | 403 bool PdfMaterialUIEnabled(); |
| 400 bool SettingsWindowEnabled(); | 404 bool SettingsWindowEnabled(); |
| 401 | 405 |
| 402 #if defined(OS_CHROMEOS) | 406 #if defined(OS_CHROMEOS) |
| 403 bool PowerOverlayEnabled(); | 407 bool PowerOverlayEnabled(); |
| 404 #endif | 408 #endif |
| 405 | 409 |
| 406 #if defined(ENABLE_TASK_MANAGER) | 410 #if defined(ENABLE_TASK_MANAGER) |
| 407 bool NewTaskManagerEnabled(); | 411 bool NewTaskManagerEnabled(); |
| 408 #endif // defined(ENABLE_TASK_MANAGER) | 412 #endif // defined(ENABLE_TASK_MANAGER) |
| 409 | 413 |
| 410 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 414 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
| 411 // alphabetical order, or in one of the ifdefs (also in order in each section). | 415 // alphabetical order, or in one of the ifdefs (also in order in each section). |
| 412 | 416 |
| 413 } // namespace switches | 417 } // namespace switches |
| 414 | 418 |
| 415 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 419 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
| OLD | NEW |