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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 // Returns true if the alternate shelf layout should be used. | 70 // Returns true if the alternate shelf layout should be used. |
71 ASH_EXPORT bool UseAlternateShelfLayout(); | 71 ASH_EXPORT bool UseAlternateShelfLayout(); |
72 | 72 |
73 // Returns true if items can be dragged off the shelf to unpin. | 73 // Returns true if items can be dragged off the shelf to unpin. |
74 ASH_EXPORT bool UseDragOffShelf(); | 74 ASH_EXPORT bool UseDragOffShelf(); |
75 | 75 |
76 // Returns true if all windows (barring frameless apps) can be put into | 76 // Returns true if all windows (barring frameless apps) can be put into |
77 // immersive fullscreen via <F4>. | 77 // immersive fullscreen via <F4>. |
78 ASH_EXPORT bool UseImmersiveFullscreenForAllWindows(); | 78 ASH_EXPORT bool UseImmersiveFullscreenForAllWindows(); |
79 | 79 |
80 // Returns true if multiple user icons are allowed in the tray. | |
81 ASH_EXPORT bool UseMultiUserTray(); | |
82 | |
83 // Returns true if overview mode should be activated for window switching. | 80 // Returns true if overview mode should be activated for window switching. |
84 ASH_EXPORT bool UseOverviewMode(); | 81 ASH_EXPORT bool UseOverviewMode(); |
85 | 82 |
86 // Returns true if docked windows feature is enabled. | 83 // Returns true if docked windows feature is enabled. |
87 ASH_EXPORT bool UseDockedWindows(); | 84 ASH_EXPORT bool UseDockedWindows(); |
88 | 85 |
89 // Returns true if we should show the audio device switching UI. | 86 // Returns true if we should show the audio device switching UI. |
90 ASH_EXPORT bool ShowAudioDeviceMenu(); | 87 ASH_EXPORT bool ShowAudioDeviceMenu(); |
91 | 88 |
92 #if defined(OS_CHROMEOS) | 89 #if defined(OS_CHROMEOS) |
93 // Returns true if a notification should appear when a low-power USB charger | 90 // Returns true if a notification should appear when a low-power USB charger |
94 // is connected. | 91 // is connected. |
95 ASH_EXPORT bool UseUsbChargerNotification(); | 92 ASH_EXPORT bool UseUsbChargerNotification(); |
96 #endif | 93 #endif |
97 | 94 |
98 } // namespace switches | 95 } // namespace switches |
99 } // namespace ash | 96 } // namespace ash |
100 | 97 |
101 #endif // ASH_ASH_SWITCHES_H_ | 98 #endif // ASH_ASH_SWITCHES_H_ |
OLD | NEW |