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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 | 94 |
95 // Returns true if multiple user icons are allowed in the tray. | 95 // Returns true if multiple user icons are allowed in the tray. |
96 ASH_EXPORT bool UseMultiUserTray(); | 96 ASH_EXPORT bool UseMultiUserTray(); |
97 | 97 |
98 // Returns true if overview mode should be activated for window switching. | 98 // Returns true if overview mode should be activated for window switching. |
99 ASH_EXPORT bool UseOverviewMode(); | 99 ASH_EXPORT bool UseOverviewMode(); |
100 | 100 |
101 // Returns true if docked windows feature is enabled. | 101 // Returns true if docked windows feature is enabled. |
102 ASH_EXPORT bool UseDockedWindows(); | 102 ASH_EXPORT bool UseDockedWindows(); |
103 | 103 |
104 #if defined(OS_CHROMEOS) | |
105 // Returns true if we should show the audio device switching UI. | 104 // Returns true if we should show the audio device switching UI. |
106 ASH_EXPORT bool ShowAudioDeviceMenu(); | 105 ASH_EXPORT bool ShowAudioDeviceMenu(); |
107 | 106 |
| 107 #if defined(OS_CHROMEOS) |
108 // Returns true if a notification should appear when a low-power USB charger | 108 // Returns true if a notification should appear when a low-power USB charger |
109 // is connected. | 109 // is connected. |
110 ASH_EXPORT bool UseUsbChargerNotification(); | 110 ASH_EXPORT bool UseUsbChargerNotification(); |
111 #endif | 111 #endif |
112 | 112 |
113 } // namespace switches | 113 } // namespace switches |
114 } // namespace ash | 114 } // namespace ash |
115 | 115 |
116 #endif // ASH_ASH_SWITCHES_H_ | 116 #endif // ASH_ASH_SWITCHES_H_ |
OLD | NEW |