Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / ash / ash_switches.h
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.
4
5 #ifndef ASH_ASH_SWITCHES_H_
6 #define ASH_ASH_SWITCHES_H_
7
8 #include "ash/ash_export.h"
9
10 #include "build/build_config.h"
11
12 namespace ash {
13 namespace switches {
14
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().)
18
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 #if defined(OS_CHROMEOS)
31 ASH_EXPORT extern const char kAshDisableAudioDeviceMenu[];
32 #endif
33 ASH_EXPORT extern const char kAshDisableAutoMaximizing[];
34 ASH_EXPORT extern const char kAshDisableDisplayChangeLimiter[];
35 ASH_EXPORT extern const char kAshDisableDockedWindows[];
36 ASH_EXPORT extern const char kAshDisableDragAndDropAppListToLauncher[];
37 ASH_EXPORT extern const char kAshDisableDragOffShelf[];
38 ASH_EXPORT extern const char kAshDisableOverviewMode[];
39 #if defined(OS_CHROMEOS)
40 ASH_EXPORT extern const char kAshDisableUsbChargerNotification[];
41 ASH_EXPORT extern const char kAshEnableAudioDeviceMenu[];
42 #endif
43 ASH_EXPORT extern const char kAshEnableAdvancedGestures[];
44 ASH_EXPORT extern const char kAshEnableAlternateFrameCaptionButtonStyle[];
45 ASH_EXPORT extern const char kAshEnableBrightnessControl[];
46 ASH_EXPORT extern const char kAshEnableImmersiveFullscreenForAllWindows[];
47 ASH_EXPORT extern const char kAshEnableImmersiveFullscreenForBrowserOnly[];
48 #if defined(OS_LINUX)
49 ASH_EXPORT extern const char kAshEnableMemoryMonitor[];
50 #endif
51 #if defined(OS_CHROMEOS)
52 ASH_EXPORT extern const char kAshEnableMagnifierKeyScroller[];
53 ASH_EXPORT extern const char kAshEnableMultiUserTray[];
54 #endif
55 ASH_EXPORT extern const char kAshEnableOak[];
56 ASH_EXPORT extern const char kAshEnableSoftwareMirroring[];
57 ASH_EXPORT extern const char kAshEnableStickyEdges[];
58 ASH_EXPORT extern const char kAshEnableSystemSounds[];
59 ASH_EXPORT extern const char kAshEnableTrayDragging[];
60 ASH_EXPORT extern const char kAshForceMirrorMode[];
61 ASH_EXPORT extern const char kAshGuestWallpaperLarge[];
62 ASH_EXPORT extern const char kAshGuestWallpaperSmall[];
63 ASH_EXPORT extern const char kAshHideNotificationsForFactory[];
64 ASH_EXPORT extern const char kAshHostWindowBounds[];
65 ASH_EXPORT extern const char kAshOverviewDelayOnAltTab[];
66 ASH_EXPORT extern const char kAshSecondaryDisplayLayout[];
67 ASH_EXPORT extern const char kAshMultipleSnapWindowWidths[];
68 ASH_EXPORT extern const char kAshTouchHud[];
69 ASH_EXPORT extern const char kAshUseAlternateShelfLayout[];
70 ASH_EXPORT extern const char kAshUseFirstDisplayAsInternal[];
71 ASH_EXPORT extern const char kAuraLegacyPowerButton[];
72 #if defined(OS_WIN)
73 ASH_EXPORT extern const char kForceAshToDesktop[];
74 #endif
75 ASH_EXPORT extern const char kShowShelfAlignmentMenu[];
76 ASH_EXPORT extern const char kHideShelfAlignmentMenu[];
77
78 // Returns true if the alternate visual style for the caption buttons (minimize,
79 // maximize, restore, close) should be used.
80 ASH_EXPORT bool UseAlternateFrameCaptionButtonStyle();
81
82 // Returns true if the alternate shelf layout should be used.
83 ASH_EXPORT bool UseAlternateShelfLayout();
84
85 // Returns true if items can be dragged off the shelf to unpin.
86 ASH_EXPORT bool UseDragOffShelf();
87
88 // Returns true if all windows (barring frameless apps) can be put into
89 // immersive fullscreen via <F4>.
90 ASH_EXPORT bool UseImmersiveFullscreenForAllWindows();
91
92 // Returns true if side shelf alignment is enabled.
93 ASH_EXPORT bool ShowShelfAlignmentMenu();
94
95 // Returns true if multiple user icons are allowed in the tray.
96 ASH_EXPORT bool UseMultiUserTray();
97
98 // Returns true if overview mode should be activated for window switching.
99 ASH_EXPORT bool UseOverviewMode();
100
101 // Returns true if docked windows feature is enabled.
102 ASH_EXPORT bool UseDockedWindows();
103
104 #if defined(OS_CHROMEOS)
105 // Returns true if we should show the audio device switching UI.
106 ASH_EXPORT bool ShowAudioDeviceMenu();
107
108 // Returns true if a notification should appear when a low-power USB charger
109 // is connected.
110 ASH_EXPORT bool UseUsbChargerNotification();
111 #endif
112
113 }  // namespace switches
114 }  // namespace ash
115
116 #endif  // ASH_ASH_SWITCHES_H_