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 kAshDebugShowPreferredNetworks
[];
25 ASH_EXPORT
extern const char kAshDefaultWallpaperIsOem
[];
26 ASH_EXPORT
extern const char kAshDefaultWallpaperLarge
[];
27 ASH_EXPORT
extern const char kAshDefaultWallpaperSmall
[];
28 ASH_EXPORT
extern const char kAshDisableAlternateFrameCaptionButtonStyle
[];
29 ASH_EXPORT
extern const char kAshDisableAlternateShelfLayout
[];
30 ASH_EXPORT
extern const char kAshDisableDockedWindows
[];
31 ASH_EXPORT
extern const char kAshDisableDragOffShelf
[];
32 ASH_EXPORT
extern const char kAshDisableOverviewMode
[];
33 ASH_EXPORT
extern const char kAshEnableAdvancedGestures
[];
34 ASH_EXPORT
extern const char kAshEnableAlternateFrameCaptionButtonStyle
[];
35 ASH_EXPORT
extern const char kAshEnableBrightnessControl
[];
36 ASH_EXPORT
extern const char kAshEnableImmersiveFullscreenForAllWindows
[];
37 ASH_EXPORT
extern const char kAshEnableImmersiveFullscreenForBrowserOnly
[];
38 #if defined(OS_CHROMEOS)
39 ASH_EXPORT
extern const char kAshEnableMagnifierKeyScroller
[];
40 ASH_EXPORT
extern const char kAshEnableMultiUserTray
[];
42 ASH_EXPORT
extern const char kAshEnableSoftwareMirroring
[];
43 ASH_EXPORT
extern const char kAshEnableSystemSounds
[];
44 ASH_EXPORT
extern const char kAshEnableTouchViewTesting
[];
45 ASH_EXPORT
extern const char kAshEnableTrayDragging
[];
46 ASH_EXPORT
extern const char kAshGuestWallpaperLarge
[];
47 ASH_EXPORT
extern const char kAshGuestWallpaperSmall
[];
48 ASH_EXPORT
extern const char kAshHideNotificationsForFactory
[];
49 ASH_EXPORT
extern const char kAshHostWindowBounds
[];
50 ASH_EXPORT
extern const char kAshSecondaryDisplayLayout
[];
51 ASH_EXPORT
extern const char kAshTouchHud
[];
52 ASH_EXPORT
extern const char kAshUseAlternateShelfLayout
[];
53 ASH_EXPORT
extern const char kAshUseFirstDisplayAsInternal
[];
54 ASH_EXPORT
extern const char kAuraLegacyPowerButton
[];
56 ASH_EXPORT
extern const char kForceAshToDesktop
[];
59 // Returns true if the alternate visual style for the caption buttons (minimize,
60 // maximize, restore, close) should be used.
61 ASH_EXPORT
bool UseAlternateFrameCaptionButtonStyle();
63 // Returns true if the alternate shelf layout should be used.
64 ASH_EXPORT
bool UseAlternateShelfLayout();
66 // Returns true if items can be dragged off the shelf to unpin.
67 ASH_EXPORT
bool UseDragOffShelf();
69 // Returns true if all windows (barring frameless apps) can be put into
70 // immersive fullscreen via <F4>.
71 ASH_EXPORT
bool UseImmersiveFullscreenForAllWindows();
73 // Returns true if overview mode should be activated for window switching.
74 ASH_EXPORT
bool UseOverviewMode();
76 // Returns true if docked windows feature is enabled.
77 ASH_EXPORT
bool UseDockedWindows();
79 #if defined(OS_CHROMEOS)
80 // Returns true if a notification should appear when a low-power USB charger
82 ASH_EXPORT
bool UseUsbChargerNotification();
85 } // namespace switches
88 #endif // ASH_ASH_SWITCHES_H_