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 all the command-line switches used by Chrome. | 5 // Defines all the command-line switches used by Chrome. |
6 | 6 |
7 #ifndef CHROME_COMMON_CHROME_SWITCHES_H_ | 7 #ifndef CHROME_COMMON_CHROME_SWITCHES_H_ |
8 #define CHROME_COMMON_CHROME_SWITCHES_H_ | 8 #define CHROME_COMMON_CHROME_SWITCHES_H_ |
9 | 9 |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
424 #if defined(OS_WIN) | 424 #if defined(OS_WIN) |
425 extern const char kDisableDesktopShortcuts[]; | 425 extern const char kDisableDesktopShortcuts[]; |
426 extern const char kEnableSyncCredentialCaching[]; | 426 extern const char kEnableSyncCredentialCaching[]; |
427 extern const char kForceImmersive[]; | 427 extern const char kForceImmersive[]; |
428 extern const char kForceDesktop[]; | 428 extern const char kForceDesktop[]; |
429 extern const char kPrintRaster[]; | 429 extern const char kPrintRaster[]; |
430 extern const char kRelaunchShortcut[]; | 430 extern const char kRelaunchShortcut[]; |
431 extern const char kWaitForMutex[]; | 431 extern const char kWaitForMutex[]; |
432 #endif | 432 #endif |
433 | 433 |
434 #if defined(USE_AURA) | |
435 extern const char kOpenAsh[]; | |
436 #endif | |
437 | |
438 #if defined(USE_ASH) | |
439 extern const char kEnableAsh[]; | |
440 #endif | |
441 | |
442 #ifndef NDEBUG | 434 #ifndef NDEBUG |
443 extern const char kFileManagerExtensionPath[]; | 435 extern const char kFileManagerExtensionPath[]; |
444 extern const char kDumpProfileDependencyGraph[]; | 436 extern const char kDumpProfileDependencyGraph[]; |
445 #endif | 437 #endif |
446 | 438 |
447 #if defined(GOOGLE_CHROME_BUILD) | 439 #if defined(GOOGLE_CHROME_BUILD) |
448 extern const char kDisablePrintPreview[]; | 440 extern const char kDisablePrintPreview[]; |
449 #else | 441 #else |
450 extern const char kEnablePrintPreview[]; | 442 extern const char kEnablePrintPreview[]; |
451 #endif | 443 #endif |
452 | 444 |
453 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 445 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
454 // alphabetical order, or in one of the ifdefs (also in order in each section). | 446 // alphabetical order, or in one of the ifdefs (also in order in each section). |
455 | 447 |
456 } // namespace switches | 448 } // namespace switches |
457 | 449 |
458 namespace chrome { | 450 namespace chrome { |
459 | 451 |
460 // Returns true if the new frameless constrained window style is enabled. | 452 // Returns true if the new frameless constrained window style is enabled. |
461 // TODO(sail): Remove this once the feature is fully baked. | 453 // TODO(sail): Remove this once the feature is fully baked. |
462 bool IsFramelessConstrainedDialogEnabled(); | 454 bool IsFramelessConstrainedDialogEnabled(); |
463 | 455 |
464 } // namespace chrome | 456 } // namespace chrome |
465 | 457 |
466 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 458 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
OLD | NEW |