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