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 #ifndef ASH_ASH_SWITCHES_H_ | 5 #ifndef ASH_ASH_SWITCHES_H_ |
6 #define ASH_ASH_SWITCHES_H_ | 6 #define ASH_ASH_SWITCHES_H_ |
7 | 7 |
8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
9 | 9 |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
11 | 11 |
12 namespace ash { | 12 namespace ash { |
13 namespace switches { | 13 namespace switches { |
14 | 14 |
15 // Note: If you add a switch, consider if it needs to be copied to a subsequent | 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, | 16 // command line if the process executes a new copy of itself. (For example, |
17 // see chromeos::LoginUtil::GetOffTheRecordCommandLine().) | 17 // see chromeos::LoginUtil::GetOffTheRecordCommandLine().) |
18 | 18 |
19 // Please keep alphabetized. | 19 // Please keep alphabetized. |
20 ASH_EXPORT extern const char kAshAnimateFromBootSplashScreen[]; | 20 ASH_EXPORT extern const char kAshAnimateFromBootSplashScreen[]; |
21 ASH_EXPORT extern const char kAshConstrainPointerToRoot[]; | 21 ASH_EXPORT extern const char kAshConstrainPointerToRoot[]; |
22 ASH_EXPORT extern const char kAshCopyHostBackgroundAtBoot[]; | 22 ASH_EXPORT extern const char kAshCopyHostBackgroundAtBoot[]; |
23 ASH_EXPORT extern const char kAshDebugShortcuts[]; | 23 ASH_EXPORT extern const char kAshDebugShortcuts[]; |
24 ASH_EXPORT extern const char kAshDefaultWallpaperIsOem[]; | 24 ASH_EXPORT extern const char kAshDefaultWallpaperIsOem[]; |
25 ASH_EXPORT extern const char kAshDefaultWallpaperLarge[]; | 25 ASH_EXPORT extern const char kAshDefaultWallpaperLarge[]; |
26 ASH_EXPORT extern const char kAshDefaultWallpaperSmall[]; | 26 ASH_EXPORT extern const char kAshDefaultWallpaperSmall[]; |
27 ASH_EXPORT extern const char kAshDisableAlternateFrameCaptionButtonStyle[]; | 27 ASH_EXPORT extern const char kAshDisableAlternateFrameCaptionButtonStyle[]; |
28 | 28 ASH_EXPORT extern const char kAshDisableAlternateShelfLayout[]; |
29 #if defined(OS_CHROMEOS) | |
30 ASH_EXPORT extern const char kAshDisableAudioDeviceMenu[]; | |
31 #endif | |
32 | |
33 ASH_EXPORT extern const char kAshDisableDockedWindows[]; | 29 ASH_EXPORT extern const char kAshDisableDockedWindows[]; |
34 ASH_EXPORT extern const char kAshDisableOverviewMode[]; | 30 ASH_EXPORT extern const char kAshDisableOverviewMode[]; |
35 ASH_EXPORT extern const char kAshEnableAdvancedGestures[]; | 31 ASH_EXPORT extern const char kAshEnableAdvancedGestures[]; |
36 ASH_EXPORT extern const char kAshEnableAlternateFrameCaptionButtonStyle[]; | 32 ASH_EXPORT extern const char kAshEnableAlternateFrameCaptionButtonStyle[]; |
37 ASH_EXPORT extern const char kAshEnableBrightnessControl[]; | 33 ASH_EXPORT extern const char kAshEnableBrightnessControl[]; |
38 ASH_EXPORT extern const char kAshEnableImmersiveFullscreenForAllWindows[]; | 34 ASH_EXPORT extern const char kAshEnableImmersiveFullscreenForAllWindows[]; |
39 ASH_EXPORT extern const char kAshEnableImmersiveFullscreenForBrowserOnly[]; | 35 ASH_EXPORT extern const char kAshEnableImmersiveFullscreenForBrowserOnly[]; |
40 #if defined(OS_CHROMEOS) | 36 #if defined(OS_CHROMEOS) |
41 ASH_EXPORT extern const char kAshEnableMagnifierKeyScroller[]; | 37 ASH_EXPORT extern const char kAshEnableMagnifierKeyScroller[]; |
42 ASH_EXPORT extern const char kAshEnableMultiUserTray[]; | 38 ASH_EXPORT extern const char kAshEnableMultiUserTray[]; |
43 #endif | 39 #endif |
44 ASH_EXPORT extern const char kAshEnableSoftwareMirroring[]; | 40 ASH_EXPORT extern const char kAshEnableSoftwareMirroring[]; |
45 ASH_EXPORT extern const char kAshEnableSystemSounds[]; | 41 ASH_EXPORT extern const char kAshEnableSystemSounds[]; |
46 ASH_EXPORT extern const char kAshEnableTouchViewTesting[]; | 42 ASH_EXPORT extern const char kAshEnableTouchViewTesting[]; |
47 ASH_EXPORT extern const char kAshEnableTrayDragging[]; | 43 ASH_EXPORT extern const char kAshEnableTrayDragging[]; |
48 ASH_EXPORT extern const char kAshGuestWallpaperLarge[]; | 44 ASH_EXPORT extern const char kAshGuestWallpaperLarge[]; |
49 ASH_EXPORT extern const char kAshGuestWallpaperSmall[]; | 45 ASH_EXPORT extern const char kAshGuestWallpaperSmall[]; |
50 ASH_EXPORT extern const char kAshHideNotificationsForFactory[]; | 46 ASH_EXPORT extern const char kAshHideNotificationsForFactory[]; |
51 ASH_EXPORT extern const char kAshHostWindowBounds[]; | 47 ASH_EXPORT extern const char kAshHostWindowBounds[]; |
52 ASH_EXPORT extern const char kAshSecondaryDisplayLayout[]; | 48 ASH_EXPORT extern const char kAshSecondaryDisplayLayout[]; |
53 ASH_EXPORT extern const char kAshTouchHud[]; | 49 ASH_EXPORT extern const char kAshTouchHud[]; |
| 50 ASH_EXPORT extern const char kAshUseAlternateShelfLayout[]; |
54 ASH_EXPORT extern const char kAshUseFirstDisplayAsInternal[]; | 51 ASH_EXPORT extern const char kAshUseFirstDisplayAsInternal[]; |
55 ASH_EXPORT extern const char kAuraLegacyPowerButton[]; | 52 ASH_EXPORT extern const char kAuraLegacyPowerButton[]; |
56 #if defined(OS_WIN) | 53 #if defined(OS_WIN) |
57 ASH_EXPORT extern const char kForceAshToDesktop[]; | 54 ASH_EXPORT extern const char kForceAshToDesktop[]; |
58 #endif | 55 #endif |
59 | 56 |
60 // Returns true if the alternate visual style for the caption buttons (minimize, | 57 // Returns true if the alternate visual style for the caption buttons (minimize, |
61 // maximize, restore, close) should be used. | 58 // maximize, restore, close) should be used. |
62 ASH_EXPORT bool UseAlternateFrameCaptionButtonStyle(); | 59 ASH_EXPORT bool UseAlternateFrameCaptionButtonStyle(); |
63 | 60 |
| 61 // Returns true if the alternate shelf layout should be used. |
| 62 ASH_EXPORT bool UseAlternateShelfLayout(); |
| 63 |
64 // Returns true if items can be dragged off the shelf to unpin. | 64 // Returns true if items can be dragged off the shelf to unpin. |
65 ASH_EXPORT bool UseDragOffShelf(); | 65 ASH_EXPORT bool UseDragOffShelf(); |
66 | 66 |
67 // Returns true if all windows (barring frameless apps) can be put into | 67 // Returns true if all windows (barring frameless apps) can be put into |
68 // immersive fullscreen via <F4>. | 68 // immersive fullscreen via <F4>. |
69 ASH_EXPORT bool UseImmersiveFullscreenForAllWindows(); | 69 ASH_EXPORT bool UseImmersiveFullscreenForAllWindows(); |
70 | 70 |
71 // Returns true if overview mode should be activated for window switching. | 71 // Returns true if overview mode should be activated for window switching. |
72 ASH_EXPORT bool UseOverviewMode(); | 72 ASH_EXPORT bool UseOverviewMode(); |
73 | 73 |
74 // Returns true if docked windows feature is enabled. | 74 // Returns true if docked windows feature is enabled. |
75 ASH_EXPORT bool UseDockedWindows(); | 75 ASH_EXPORT bool UseDockedWindows(); |
76 | 76 |
77 #if defined(OS_CHROMEOS) | 77 #if defined(OS_CHROMEOS) |
78 // Returns true if a notification should appear when a low-power USB charger | 78 // Returns true if a notification should appear when a low-power USB charger |
79 // is connected. | 79 // is connected. |
80 ASH_EXPORT bool UseUsbChargerNotification(); | 80 ASH_EXPORT bool UseUsbChargerNotification(); |
81 #endif | 81 #endif |
82 | 82 |
83 } // namespace switches | 83 } // namespace switches |
84 } // namespace ash | 84 } // namespace ash |
85 | 85 |
86 #endif // ASH_ASH_SWITCHES_H_ | 86 #endif // ASH_ASH_SWITCHES_H_ |
OLD | NEW |