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