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[]; | 28 |
| 29 #if defined(OS_CHROMEOS) |
| 30 ASH_EXPORT extern const char kAshDisableAudioDeviceMenu[]; |
| 31 #endif |
| 32 |
29 ASH_EXPORT extern const char kAshDisableDockedWindows[]; | 33 ASH_EXPORT extern const char kAshDisableDockedWindows[]; |
30 ASH_EXPORT extern const char kAshDisableOverviewMode[]; | 34 ASH_EXPORT extern const char kAshDisableOverviewMode[]; |
31 ASH_EXPORT extern const char kAshEnableAdvancedGestures[]; | 35 ASH_EXPORT extern const char kAshEnableAdvancedGestures[]; |
32 ASH_EXPORT extern const char kAshEnableAlternateFrameCaptionButtonStyle[]; | 36 ASH_EXPORT extern const char kAshEnableAlternateFrameCaptionButtonStyle[]; |
33 ASH_EXPORT extern const char kAshEnableBrightnessControl[]; | 37 ASH_EXPORT extern const char kAshEnableBrightnessControl[]; |
34 ASH_EXPORT extern const char kAshEnableImmersiveFullscreenForAllWindows[]; | 38 ASH_EXPORT extern const char kAshEnableImmersiveFullscreenForAllWindows[]; |
35 ASH_EXPORT extern const char kAshEnableImmersiveFullscreenForBrowserOnly[]; | 39 ASH_EXPORT extern const char kAshEnableImmersiveFullscreenForBrowserOnly[]; |
36 #if defined(OS_CHROMEOS) | 40 #if defined(OS_CHROMEOS) |
37 ASH_EXPORT extern const char kAshEnableMagnifierKeyScroller[]; | 41 ASH_EXPORT extern const char kAshEnableMagnifierKeyScroller[]; |
38 ASH_EXPORT extern const char kAshEnableMultiUserTray[]; | 42 ASH_EXPORT extern const char kAshEnableMultiUserTray[]; |
39 #endif | 43 #endif |
40 ASH_EXPORT extern const char kAshEnableSoftwareMirroring[]; | 44 ASH_EXPORT extern const char kAshEnableSoftwareMirroring[]; |
41 ASH_EXPORT extern const char kAshEnableSystemSounds[]; | 45 ASH_EXPORT extern const char kAshEnableSystemSounds[]; |
42 ASH_EXPORT extern const char kAshEnableTouchViewTesting[]; | 46 ASH_EXPORT extern const char kAshEnableTouchViewTesting[]; |
43 ASH_EXPORT extern const char kAshEnableTrayDragging[]; | 47 ASH_EXPORT extern const char kAshEnableTrayDragging[]; |
44 ASH_EXPORT extern const char kAshGuestWallpaperLarge[]; | 48 ASH_EXPORT extern const char kAshGuestWallpaperLarge[]; |
45 ASH_EXPORT extern const char kAshGuestWallpaperSmall[]; | 49 ASH_EXPORT extern const char kAshGuestWallpaperSmall[]; |
46 ASH_EXPORT extern const char kAshHideNotificationsForFactory[]; | 50 ASH_EXPORT extern const char kAshHideNotificationsForFactory[]; |
47 ASH_EXPORT extern const char kAshHostWindowBounds[]; | 51 ASH_EXPORT extern const char kAshHostWindowBounds[]; |
48 ASH_EXPORT extern const char kAshSecondaryDisplayLayout[]; | 52 ASH_EXPORT extern const char kAshSecondaryDisplayLayout[]; |
49 ASH_EXPORT extern const char kAshTouchHud[]; | 53 ASH_EXPORT extern const char kAshTouchHud[]; |
50 ASH_EXPORT extern const char kAshUseAlternateShelfLayout[]; | |
51 ASH_EXPORT extern const char kAshUseFirstDisplayAsInternal[]; | 54 ASH_EXPORT extern const char kAshUseFirstDisplayAsInternal[]; |
52 ASH_EXPORT extern const char kAuraLegacyPowerButton[]; | 55 ASH_EXPORT extern const char kAuraLegacyPowerButton[]; |
53 #if defined(OS_WIN) | 56 #if defined(OS_WIN) |
54 ASH_EXPORT extern const char kForceAshToDesktop[]; | 57 ASH_EXPORT extern const char kForceAshToDesktop[]; |
55 #endif | 58 #endif |
56 | 59 |
57 // Returns true if the alternate visual style for the caption buttons (minimize, | 60 // Returns true if the alternate visual style for the caption buttons (minimize, |
58 // maximize, restore, close) should be used. | 61 // maximize, restore, close) should be used. |
59 ASH_EXPORT bool UseAlternateFrameCaptionButtonStyle(); | 62 ASH_EXPORT bool UseAlternateFrameCaptionButtonStyle(); |
60 | 63 |
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 |