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" |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 ASH_EXPORT extern const char kAshEnableTrayDragging[]; | 61 ASH_EXPORT extern const char kAshEnableTrayDragging[]; |
62 ASH_EXPORT extern const char kAshForceMirrorMode[]; | 62 ASH_EXPORT extern const char kAshForceMirrorMode[]; |
63 ASH_EXPORT extern const char kAshGuestWallpaperLarge[]; | 63 ASH_EXPORT extern const char kAshGuestWallpaperLarge[]; |
64 ASH_EXPORT extern const char kAshGuestWallpaperSmall[]; | 64 ASH_EXPORT extern const char kAshGuestWallpaperSmall[]; |
65 ASH_EXPORT extern const char kAshHideNotificationsForFactory[]; | 65 ASH_EXPORT extern const char kAshHideNotificationsForFactory[]; |
66 ASH_EXPORT extern const char kAshHostWindowBounds[]; | 66 ASH_EXPORT extern const char kAshHostWindowBounds[]; |
67 ASH_EXPORT extern const char kAshOverviewDelayOnAltTab[]; | 67 ASH_EXPORT extern const char kAshOverviewDelayOnAltTab[]; |
68 ASH_EXPORT extern const char kAshSecondaryDisplayLayout[]; | 68 ASH_EXPORT extern const char kAshSecondaryDisplayLayout[]; |
69 ASH_EXPORT extern const char kAshMultipleSnapWindowWidths[]; | 69 ASH_EXPORT extern const char kAshMultipleSnapWindowWidths[]; |
70 ASH_EXPORT extern const char kAshTouchHud[]; | 70 ASH_EXPORT extern const char kAshTouchHud[]; |
71 ASH_EXPORT extern const char kAshUseAlternateShelfLayout[]; | |
72 ASH_EXPORT extern const char kAshUseFirstDisplayAsInternal[]; | 71 ASH_EXPORT extern const char kAshUseFirstDisplayAsInternal[]; |
73 ASH_EXPORT extern const char kAuraLegacyPowerButton[]; | 72 ASH_EXPORT extern const char kAuraLegacyPowerButton[]; |
74 #if defined(OS_WIN) | 73 #if defined(OS_WIN) |
75 ASH_EXPORT extern const char kForceAshToDesktop[]; | 74 ASH_EXPORT extern const char kForceAshToDesktop[]; |
76 #endif | 75 #endif |
77 ASH_EXPORT extern const char kShowShelfAlignmentMenu[]; | 76 ASH_EXPORT extern const char kShowShelfAlignmentMenu[]; |
78 ASH_EXPORT extern const char kHideShelfAlignmentMenu[]; | 77 ASH_EXPORT extern const char kHideShelfAlignmentMenu[]; |
79 | 78 |
80 // Returns true if the alternate visual style for the caption buttons (minimize, | 79 // Returns true if the alternate visual style for the caption buttons (minimize, |
81 // maximize, restore, close) should be used. | 80 // maximize, restore, close) should be used. |
82 ASH_EXPORT bool UseAlternateFrameCaptionButtonStyle(); | 81 ASH_EXPORT bool UseAlternateFrameCaptionButtonStyle(); |
83 | 82 |
84 // Returns true if the alternate shelf layout should be used. | |
85 ASH_EXPORT bool UseAlternateShelfLayout(); | |
86 | |
87 // Returns true if items can be dragged off the shelf to unpin. | 83 // Returns true if items can be dragged off the shelf to unpin. |
88 ASH_EXPORT bool UseDragOffShelf(); | 84 ASH_EXPORT bool UseDragOffShelf(); |
89 | 85 |
90 // Returns true if all windows (barring frameless apps) can be put into | 86 // Returns true if all windows (barring frameless apps) can be put into |
91 // immersive fullscreen via <F4>. | 87 // immersive fullscreen via <F4>. |
92 ASH_EXPORT bool UseImmersiveFullscreenForAllWindows(); | 88 ASH_EXPORT bool UseImmersiveFullscreenForAllWindows(); |
93 | 89 |
94 // Returns true if side shelf alignment is enabled. | 90 // Returns true if side shelf alignment is enabled. |
95 ASH_EXPORT bool ShowShelfAlignmentMenu(); | 91 ASH_EXPORT bool ShowShelfAlignmentMenu(); |
96 | 92 |
(...skipping 15 matching lines...) Expand all Loading... |
112 | 108 |
113 // Returns true if a notification should appear when a low-power USB charger | 109 // Returns true if a notification should appear when a low-power USB charger |
114 // is connected. | 110 // is connected. |
115 ASH_EXPORT bool UseUsbChargerNotification(); | 111 ASH_EXPORT bool UseUsbChargerNotification(); |
116 #endif | 112 #endif |
117 | 113 |
118 } // namespace switches | 114 } // namespace switches |
119 } // namespace ash | 115 } // namespace ash |
120 | 116 |
121 #endif // ASH_ASH_SWITCHES_H_ | 117 #endif // ASH_ASH_SWITCHES_H_ |
OLD | NEW |