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