| 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_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ | 5 #ifndef ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ |
| 6 #define ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ | 6 #define ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 | 198 |
| 199 // Shows information about enterprise enrolled devices. | 199 // Shows information about enterprise enrolled devices. |
| 200 virtual void ShowEnterpriseInfo() = 0; | 200 virtual void ShowEnterpriseInfo() = 0; |
| 201 | 201 |
| 202 // Shows information about supervised users. | 202 // Shows information about supervised users. |
| 203 virtual void ShowSupervisedUserInfo() = 0; | 203 virtual void ShowSupervisedUserInfo() = 0; |
| 204 | 204 |
| 205 // Shows login UI to add other users to this session. | 205 // Shows login UI to add other users to this session. |
| 206 virtual void ShowUserLogin() = 0; | 206 virtual void ShowUserLogin() = 0; |
| 207 | 207 |
| 208 // Attempts to shut down the system. | |
| 209 virtual void ShutDown() = 0; | |
| 210 | |
| 211 // Attempts to sign out the user. | 208 // Attempts to sign out the user. |
| 212 virtual void SignOut() = 0; | 209 virtual void SignOut() = 0; |
| 213 | 210 |
| 214 // Attempts to lock the screen. | 211 // Attempts to lock the screen. |
| 215 virtual void RequestLockScreen() = 0; | 212 virtual void RequestLockScreen() = 0; |
| 216 | 213 |
| 217 // Attempts to restart the system for update. | 214 // Attempts to restart the system for update. |
| 218 virtual void RequestRestartForUpdate() = 0; | 215 virtual void RequestRestartForUpdate() = 0; |
| 219 | 216 |
| 220 // Returns a list of available bluetooth devices. | 217 // Returns a list of available bluetooth devices. |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 301 virtual void AddCustodianInfoTrayObserver( | 298 virtual void AddCustodianInfoTrayObserver( |
| 302 CustodianInfoTrayObserver* observer) = 0; | 299 CustodianInfoTrayObserver* observer) = 0; |
| 303 | 300 |
| 304 virtual void RemoveCustodianInfoTrayObserver( | 301 virtual void RemoveCustodianInfoTrayObserver( |
| 305 CustodianInfoTrayObserver* observer) = 0; | 302 CustodianInfoTrayObserver* observer) = 0; |
| 306 }; | 303 }; |
| 307 | 304 |
| 308 } // namespace ash | 305 } // namespace ash |
| 309 | 306 |
| 310 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ | 307 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ |
| OLD | NEW |