| 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_COMMON_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ | 5 #ifndef ASH_COMMON_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ |
| 6 #define ASH_COMMON_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ | 6 #define ASH_COMMON_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 | 135 |
| 136 // Returns true if notification tray should appear. | 136 // Returns true if notification tray should appear. |
| 137 virtual bool ShouldShowNotificationTray() const; | 137 virtual bool ShouldShowNotificationTray() const; |
| 138 | 138 |
| 139 // Shows information about enterprise enrolled devices. | 139 // Shows information about enterprise enrolled devices. |
| 140 virtual void ShowEnterpriseInfo(); | 140 virtual void ShowEnterpriseInfo(); |
| 141 | 141 |
| 142 // Shows login UI to add other users to this session. | 142 // Shows login UI to add other users to this session. |
| 143 virtual void ShowUserLogin(); | 143 virtual void ShowUserLogin(); |
| 144 | 144 |
| 145 // Attempts to sign out the user. | |
| 146 virtual void SignOut(); | |
| 147 | |
| 148 // Attempts to restart the system for update. | |
| 149 virtual void RequestRestartForUpdate(); | |
| 150 | |
| 151 // Returns a list of available bluetooth devices. | 145 // Returns a list of available bluetooth devices. |
| 152 virtual void GetAvailableBluetoothDevices(BluetoothDeviceList* devices); | 146 virtual void GetAvailableBluetoothDevices(BluetoothDeviceList* devices); |
| 153 | 147 |
| 154 // Requests bluetooth start discovering devices. | 148 // Requests bluetooth start discovering devices. |
| 155 virtual void BluetoothStartDiscovering(); | 149 virtual void BluetoothStartDiscovering(); |
| 156 | 150 |
| 157 // Requests bluetooth stop discovering devices. | 151 // Requests bluetooth stop discovering devices. |
| 158 virtual void BluetoothStopDiscovering(); | 152 virtual void BluetoothStopDiscovering(); |
| 159 | 153 |
| 160 // Connect to a specific bluetooth device. | 154 // Connect to a specific bluetooth device. |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 229 // Creates a system tray item for display rotation lock. | 223 // Creates a system tray item for display rotation lock. |
| 230 // TODO(jamescook): Remove this when mus has support for display management | 224 // TODO(jamescook): Remove this when mus has support for display management |
| 231 // and we have a DisplayManager equivalent. See http://crbug.com/548429 | 225 // and we have a DisplayManager equivalent. See http://crbug.com/548429 |
| 232 virtual std::unique_ptr<SystemTrayItem> CreateRotationLockTrayItem( | 226 virtual std::unique_ptr<SystemTrayItem> CreateRotationLockTrayItem( |
| 233 SystemTray* tray); | 227 SystemTray* tray); |
| 234 }; | 228 }; |
| 235 | 229 |
| 236 } // namespace ash | 230 } // namespace ash |
| 237 | 231 |
| 238 #endif // ASH_COMMON_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ | 232 #endif // ASH_COMMON_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ |
| OLD | NEW |