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
3 // found in the LICENSE file.
5 #ifndef ASH_ASH_SWITCHES_H_
6 #define ASH_ASH_SWITCHES_H_
8 #include "ash/ash_export.h"
10 #include "build/build_config.h"
15 // Note: If you add a switch, consider if it needs to be copied to a subsequent
16 // command line if the process executes a new copy of itself. (For example,
17 // see chromeos::LoginUtil::GetOffTheRecordCommandLine().)
19 // Please keep alphabetized.
20 ASH_EXPORT
extern const char kAshAnimateFromBootSplashScreen
[];
21 ASH_EXPORT
extern const char kAshConstrainPointerToRoot
[];
22 ASH_EXPORT
extern const char kAshCopyHostBackgroundAtBoot
[];
23 ASH_EXPORT
extern const char kAshDebugShortcuts
[];
24 ASH_EXPORT
extern const char kAshDisableAutoMaximizing
[];
25 ASH_EXPORT
extern const char kAshDisableAutoWindowPlacement
[];
26 ASH_EXPORT
extern const char kAshDisableDisplayChangeLimiter
[];
27 ASH_EXPORT
extern const char kAshDisableImmersiveFullscreen
[];
28 ASH_EXPORT
extern const char kAshDisableNewAudioHandler
[];
29 ASH_EXPORT
extern const char kAshDisableNewLockAnimations
[];
30 ASH_EXPORT
extern const char kAshDisablePerAppLauncher
[];
31 ASH_EXPORT
extern const char kAshDisableUIScaling
[];
32 ASH_EXPORT
extern const char kAshDisableDisplayRotation
[];
33 ASH_EXPORT
extern const char kAshDisableDragAndDropAppListToLauncher
[];
34 #if defined(OS_CHROMEOS)
35 ASH_EXPORT
extern const char kAshDisableSoftwareMirroring
[];
37 ASH_EXPORT
extern const char kAshEnableAudioDeviceMenu
[];
38 ASH_EXPORT
extern const char kAshEnableAdvancedGestures
[];
39 ASH_EXPORT
extern const char kAshEnableBrightnessControl
[];
41 ASH_EXPORT
extern const char kAshEnableMemoryMonitor
[];
43 ASH_EXPORT
extern const char kAshEnableImmersiveFullscreen
[];
44 ASH_EXPORT
extern const char kAshEnableOak
[];
45 ASH_EXPORT
extern const char kAshEnableStickyEdges
[];
46 ASH_EXPORT
extern const char kAshEnableTrayDragging
[];
47 ASH_EXPORT
extern const char kAshEnableWorkspaceScrubbing
[];
48 ASH_EXPORT
extern const char kAshForceMirrorMode
[];
49 ASH_EXPORT
extern const char kAshHostWindowBounds
[];
50 ASH_EXPORT
extern const char kAshImmersiveHideTabIndicators
[];
51 ASH_EXPORT
extern const char kAshSecondaryDisplayLayout
[];
52 ASH_EXPORT
extern const char kAshTouchHud
[];
53 ASH_EXPORT
extern const char kAshUseAlternateShelfLayout
[];
54 ASH_EXPORT
extern const char kAshUseFirstDisplayAsInternal
[];
55 ASH_EXPORT
extern const char kAuraLegacyPowerButton
[];
57 ASH_EXPORT
extern const char kForceAshToDesktop
[];
59 ASH_EXPORT
extern const char kForcedMaximizeMode
[];
61 // Returns true if new audio handler should be used.
62 ASH_EXPORT
bool UseNewAudioHandler();
64 // Returns true if we should show the audio device switching UI.
65 ASH_EXPORT
bool ShowAudioDeviceMenu();
67 // Returns true if the alternate shelf layout should be used.
68 ASH_EXPORT
bool UseAlternateShelfLayout();
70 } // namespace switches
73 #endif // ASH_ASH_SWITCHES_H_