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