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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 ASH_EXPORT extern const char kAshOverviewDelayOnAltTab[]; | 65 ASH_EXPORT extern const char kAshOverviewDelayOnAltTab[]; |
66 ASH_EXPORT extern const char kAshSecondaryDisplayLayout[]; | 66 ASH_EXPORT extern const char kAshSecondaryDisplayLayout[]; |
67 ASH_EXPORT extern const char kAshMultipleSnapWindowWidths[]; | 67 ASH_EXPORT extern const char kAshMultipleSnapWindowWidths[]; |
68 ASH_EXPORT extern const char kAshTouchHud[]; | 68 ASH_EXPORT extern const char kAshTouchHud[]; |
69 ASH_EXPORT extern const char kAshUseAlternateShelfLayout[]; | 69 ASH_EXPORT extern const char kAshUseAlternateShelfLayout[]; |
70 ASH_EXPORT extern const char kAshUseFirstDisplayAsInternal[]; | 70 ASH_EXPORT extern const char kAshUseFirstDisplayAsInternal[]; |
71 ASH_EXPORT extern const char kAuraLegacyPowerButton[]; | 71 ASH_EXPORT extern const char kAuraLegacyPowerButton[]; |
72 #if defined(OS_WIN) | 72 #if defined(OS_WIN) |
73 ASH_EXPORT extern const char kForceAshToDesktop[]; | 73 ASH_EXPORT extern const char kForceAshToDesktop[]; |
74 #endif | 74 #endif |
75 ASH_EXPORT extern const char kShowShelfAlignmentMenu[]; | |
76 ASH_EXPORT extern const char kHideShelfAlignmentMenu[]; | |
77 | 75 |
78 // Returns true if the alternate visual style for the caption buttons (minimize, | 76 // Returns true if the alternate visual style for the caption buttons (minimize, |
79 // maximize, restore, close) should be used. | 77 // maximize, restore, close) should be used. |
80 ASH_EXPORT bool UseAlternateFrameCaptionButtonStyle(); | 78 ASH_EXPORT bool UseAlternateFrameCaptionButtonStyle(); |
81 | 79 |
82 // Returns true if the alternate shelf layout should be used. | 80 // Returns true if the alternate shelf layout should be used. |
83 ASH_EXPORT bool UseAlternateShelfLayout(); | 81 ASH_EXPORT bool UseAlternateShelfLayout(); |
84 | 82 |
85 // 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. |
86 ASH_EXPORT bool UseDragOffShelf(); | 84 ASH_EXPORT bool UseDragOffShelf(); |
87 | 85 |
88 // 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 |
89 // immersive fullscreen via <F4>. | 87 // immersive fullscreen via <F4>. |
90 ASH_EXPORT bool UseImmersiveFullscreenForAllWindows(); | 88 ASH_EXPORT bool UseImmersiveFullscreenForAllWindows(); |
91 | 89 |
92 // Returns true if side shelf alignment is enabled. | |
93 ASH_EXPORT bool ShowShelfAlignmentMenu(); | |
94 | |
95 // Returns true if multiple user icons are allowed in the tray. | 90 // Returns true if multiple user icons are allowed in the tray. |
96 ASH_EXPORT bool UseMultiUserTray(); | 91 ASH_EXPORT bool UseMultiUserTray(); |
97 | 92 |
98 // Returns true if overview mode should be activated for window switching. | 93 // Returns true if overview mode should be activated for window switching. |
99 ASH_EXPORT bool UseOverviewMode(); | 94 ASH_EXPORT bool UseOverviewMode(); |
100 | 95 |
101 // Returns true if docked windows feature is enabled. | 96 // Returns true if docked windows feature is enabled. |
102 ASH_EXPORT bool UseDockedWindows(); | 97 ASH_EXPORT bool UseDockedWindows(); |
103 | 98 |
104 #if defined(OS_CHROMEOS) | 99 #if defined(OS_CHROMEOS) |
105 // Returns true if we should show the audio device switching UI. | 100 // Returns true if we should show the audio device switching UI. |
106 ASH_EXPORT bool ShowAudioDeviceMenu(); | 101 ASH_EXPORT bool ShowAudioDeviceMenu(); |
107 | 102 |
108 // Returns true if a notification should appear when a low-power USB charger | 103 // Returns true if a notification should appear when a low-power USB charger |
109 // is connected. | 104 // is connected. |
110 ASH_EXPORT bool UseUsbChargerNotification(); | 105 ASH_EXPORT bool UseUsbChargerNotification(); |
111 #endif | 106 #endif |
112 | 107 |
113 } // namespace switches | 108 } // namespace switches |
114 } // namespace ash | 109 } // namespace ash |
115 | 110 |
116 #endif // ASH_ASH_SWITCHES_H_ | 111 #endif // ASH_ASH_SWITCHES_H_ |
OLD | NEW |