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 ASH_EXPORT extern const char kAshDisableAlternateShelfLayout[]; | |
29 ASH_EXPORT extern const char kAshDisableDockedWindows[]; | 28 ASH_EXPORT extern const char kAshDisableDockedWindows[]; |
30 ASH_EXPORT extern const char kAshEnableAlternateFrameCaptionButtonStyle[]; | 29 ASH_EXPORT extern const char kAshEnableAlternateFrameCaptionButtonStyle[]; |
31 #if defined(OS_CHROMEOS) | 30 #if defined(OS_CHROMEOS) |
32 ASH_EXPORT extern const char kAshEnableMagnifierKeyScroller[]; | 31 ASH_EXPORT extern const char kAshEnableMagnifierKeyScroller[]; |
33 ASH_EXPORT extern const char kAshEnableMultiUserTray[]; | 32 ASH_EXPORT extern const char kAshEnableMultiUserTray[]; |
34 #endif | 33 #endif |
35 ASH_EXPORT extern const char kAshEnableSoftwareMirroring[]; | 34 ASH_EXPORT extern const char kAshEnableSoftwareMirroring[]; |
36 ASH_EXPORT extern const char kAshEnableSystemSounds[]; | 35 ASH_EXPORT extern const char kAshEnableSystemSounds[]; |
37 ASH_EXPORT extern const char kAshEnableTouchViewTesting[]; | 36 ASH_EXPORT extern const char kAshEnableTouchViewTesting[]; |
38 ASH_EXPORT extern const char kAshEnableTrayDragging[]; | 37 ASH_EXPORT extern const char kAshEnableTrayDragging[]; |
39 ASH_EXPORT extern const char kAshGuestWallpaperLarge[]; | 38 ASH_EXPORT extern const char kAshGuestWallpaperLarge[]; |
40 ASH_EXPORT extern const char kAshGuestWallpaperSmall[]; | 39 ASH_EXPORT extern const char kAshGuestWallpaperSmall[]; |
41 ASH_EXPORT extern const char kAshHideNotificationsForFactory[]; | 40 ASH_EXPORT extern const char kAshHideNotificationsForFactory[]; |
42 ASH_EXPORT extern const char kAshHostWindowBounds[]; | 41 ASH_EXPORT extern const char kAshHostWindowBounds[]; |
43 ASH_EXPORT extern const char kAshSecondaryDisplayLayout[]; | 42 ASH_EXPORT extern const char kAshSecondaryDisplayLayout[]; |
44 ASH_EXPORT extern const char kAshTouchHud[]; | 43 ASH_EXPORT extern const char kAshTouchHud[]; |
45 ASH_EXPORT extern const char kAshUseAlternateShelfLayout[]; | |
46 ASH_EXPORT extern const char kAshUseFirstDisplayAsInternal[]; | 44 ASH_EXPORT extern const char kAshUseFirstDisplayAsInternal[]; |
47 ASH_EXPORT extern const char kAuraLegacyPowerButton[]; | 45 ASH_EXPORT extern const char kAuraLegacyPowerButton[]; |
48 #if defined(OS_WIN) | 46 #if defined(OS_WIN) |
49 ASH_EXPORT extern const char kForceAshToDesktop[]; | 47 ASH_EXPORT extern const char kForceAshToDesktop[]; |
50 #endif | 48 #endif |
51 | 49 |
52 // Returns true if the alternate visual style for the caption buttons (minimize, | 50 // Returns true if the alternate visual style for the caption buttons (minimize, |
53 // maximize, restore, close) should be used. | 51 // maximize, restore, close) should be used. |
54 ASH_EXPORT bool UseAlternateFrameCaptionButtonStyle(); | 52 ASH_EXPORT bool UseAlternateFrameCaptionButtonStyle(); |
55 | 53 |
56 // Returns true if the alternate shelf layout should be used. | |
57 ASH_EXPORT bool UseAlternateShelfLayout(); | |
58 | |
59 // Returns true if items can be dragged off the shelf to unpin. | 54 // Returns true if items can be dragged off the shelf to unpin. |
60 ASH_EXPORT bool UseDragOffShelf(); | 55 ASH_EXPORT bool UseDragOffShelf(); |
61 | 56 |
62 // Returns true if docked windows feature is enabled. | 57 // Returns true if docked windows feature is enabled. |
63 ASH_EXPORT bool UseDockedWindows(); | 58 ASH_EXPORT bool UseDockedWindows(); |
64 | 59 |
65 #if defined(OS_CHROMEOS) | 60 #if defined(OS_CHROMEOS) |
66 // Returns true if a notification should appear when a low-power USB charger | 61 // Returns true if a notification should appear when a low-power USB charger |
67 // is connected. | 62 // is connected. |
68 ASH_EXPORT bool UseUsbChargerNotification(); | 63 ASH_EXPORT bool UseUsbChargerNotification(); |
69 #endif | 64 #endif |
70 | 65 |
71 } // namespace switches | 66 } // namespace switches |
72 } // namespace ash | 67 } // namespace ash |
73 | 68 |
74 #endif // ASH_ASH_SWITCHES_H_ | 69 #endif // ASH_ASH_SWITCHES_H_ |
OLD | NEW |