| 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 | 97 |
| 98 // Called after SystemTray has been instantiated. | 98 // Called after SystemTray has been instantiated. |
| 99 virtual void Initialize(); | 99 virtual void Initialize(); |
| 100 | 100 |
| 101 // Gets information about the active user. | 101 // Gets information about the active user. |
| 102 virtual LoginStatus GetUserLoginStatus() const; | 102 virtual LoginStatus GetUserLoginStatus() const; |
| 103 | 103 |
| 104 // Returns the domain that manages the device, if it is enterprise-enrolled. | 104 // Returns the domain that manages the device, if it is enterprise-enrolled. |
| 105 virtual std::string GetEnterpriseDomain() const; | 105 virtual std::string GetEnterpriseDomain() const; |
| 106 | 106 |
| 107 // Returns the realm that manages the device, if it is enterprise enrolled |
| 108 // with Active Directory and joined the realm (Active Directory domain). |
| 109 virtual std::string GetEnterpriseRealm() const; |
| 110 |
| 107 // Returns notification for enterprise enrolled devices. | 111 // Returns notification for enterprise enrolled devices. |
| 108 virtual base::string16 GetEnterpriseMessage() const; | 112 virtual base::string16 GetEnterpriseMessage() const; |
| 109 | 113 |
| 110 // Returns the display email of the user that manages the current supervised | 114 // Returns the display email of the user that manages the current supervised |
| 111 // user. | 115 // user. |
| 112 virtual std::string GetSupervisedUserManager() const; | 116 virtual std::string GetSupervisedUserManager() const; |
| 113 | 117 |
| 114 // Returns the name of the user that manages the current supervised user. | 118 // Returns the name of the user that manages the current supervised user. |
| 115 virtual base::string16 GetSupervisedUserManagerName() const; | 119 virtual base::string16 GetSupervisedUserManagerName() const; |
| 116 | 120 |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 240 // Creates a system tray item for display rotation lock. | 244 // Creates a system tray item for display rotation lock. |
| 241 // TODO(jamescook): Remove this when mus has support for display management | 245 // TODO(jamescook): Remove this when mus has support for display management |
| 242 // and we have a DisplayManager equivalent. See http://crbug.com/548429 | 246 // and we have a DisplayManager equivalent. See http://crbug.com/548429 |
| 243 virtual std::unique_ptr<SystemTrayItem> CreateRotationLockTrayItem( | 247 virtual std::unique_ptr<SystemTrayItem> CreateRotationLockTrayItem( |
| 244 SystemTray* tray); | 248 SystemTray* tray); |
| 245 }; | 249 }; |
| 246 | 250 |
| 247 } // namespace ash | 251 } // namespace ash |
| 248 | 252 |
| 249 #endif // ASH_COMMON_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ | 253 #endif // ASH_COMMON_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ |
| OLD | NEW |