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