| 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 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 | 225 |
| 226 // Attempts to sign out the user. | 226 // Attempts to sign out the user. |
| 227 virtual void SignOut(); | 227 virtual void SignOut(); |
| 228 | 228 |
| 229 // Attempts to lock the screen. | 229 // Attempts to lock the screen. |
| 230 virtual void RequestLockScreen(); | 230 virtual void RequestLockScreen(); |
| 231 | 231 |
| 232 // Attempts to restart the system for update. | 232 // Attempts to restart the system for update. |
| 233 virtual void RequestRestartForUpdate(); | 233 virtual void RequestRestartForUpdate(); |
| 234 | 234 |
| 235 // Attempts to shut down the system. |
| 236 virtual void RequestShutdown(); |
| 237 |
| 235 // Returns a list of available bluetooth devices. | 238 // Returns a list of available bluetooth devices. |
| 236 virtual void GetAvailableBluetoothDevices(BluetoothDeviceList* devices); | 239 virtual void GetAvailableBluetoothDevices(BluetoothDeviceList* devices); |
| 237 | 240 |
| 238 // Requests bluetooth start discovering devices. | 241 // Requests bluetooth start discovering devices. |
| 239 virtual void BluetoothStartDiscovering(); | 242 virtual void BluetoothStartDiscovering(); |
| 240 | 243 |
| 241 // Requests bluetooth stop discovering devices. | 244 // Requests bluetooth stop discovering devices. |
| 242 virtual void BluetoothStopDiscovering(); | 245 virtual void BluetoothStopDiscovering(); |
| 243 | 246 |
| 244 // Connect to a specific bluetooth device. | 247 // Connect to a specific bluetooth device. |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 333 // asynchronously calls |callback| once a trusted policy becomes available. | 336 // asynchronously calls |callback| once a trusted policy becomes available. |
| 334 virtual void ShouldRebootOnShutdown(const RebootOnShutdownCallback& callback); | 337 virtual void ShouldRebootOnShutdown(const RebootOnShutdownCallback& callback); |
| 335 | 338 |
| 336 // Returns VPNDelegate. May return nullptr. | 339 // Returns VPNDelegate. May return nullptr. |
| 337 virtual VPNDelegate* GetVPNDelegate() const; | 340 virtual VPNDelegate* GetVPNDelegate() const; |
| 338 }; | 341 }; |
| 339 | 342 |
| 340 } // namespace ash | 343 } // namespace ash |
| 341 | 344 |
| 342 #endif // ASH_COMMON_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ | 345 #endif // ASH_COMMON_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ |
| OLD | NEW |