| 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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 | 133 |
| 134 // Shows UI for changing user's profile picture. | 134 // Shows UI for changing user's profile picture. |
| 135 virtual void ChangeProfilePicture() = 0; | 135 virtual void ChangeProfilePicture() = 0; |
| 136 | 136 |
| 137 // Returns the domain that manages the device, if it is enterprise-enrolled. | 137 // Returns the domain that manages the device, if it is enterprise-enrolled. |
| 138 virtual const std::string GetEnterpriseDomain() const = 0; | 138 virtual const std::string GetEnterpriseDomain() const = 0; |
| 139 | 139 |
| 140 // Returns notification for enterprise enrolled devices. | 140 // Returns notification for enterprise enrolled devices. |
| 141 virtual const base::string16 GetEnterpriseMessage() const = 0; | 141 virtual const base::string16 GetEnterpriseMessage() const = 0; |
| 142 | 142 |
| 143 // Returns the display email of user that manages current | 143 // Returns the display email of the user that manages the current supervised |
| 144 // locally managed user. | 144 // user. |
| 145 virtual const std::string GetLocallyManagedUserManager() const = 0; | 145 virtual const std::string GetSupervisedUserManager() const = 0; |
| 146 | 146 |
| 147 // Returns the name of user that manages current locally managed user. | 147 // Returns the name of the user that manages the current supervised user. |
| 148 virtual const base::string16 GetLocallyManagedUserManagerName() const = 0; | 148 virtual const base::string16 GetSupervisedUserManagerName() const = 0; |
| 149 | 149 |
| 150 // Returns notification for locally managed users. | 150 // Returns the notification for supervised users. |
| 151 virtual const base::string16 GetLocallyManagedUserMessage() const = 0; | 151 virtual const base::string16 GetSupervisedUserMessage() const = 0; |
| 152 | 152 |
| 153 // Returns whether a system upgrade is available. | 153 // Returns whether a system upgrade is available. |
| 154 virtual bool SystemShouldUpgrade() const = 0; | 154 virtual bool SystemShouldUpgrade() const = 0; |
| 155 | 155 |
| 156 // Returns the desired hour clock type. | 156 // Returns the desired hour clock type. |
| 157 virtual base::HourClockType GetHourClockType() const = 0; | 157 virtual base::HourClockType GetHourClockType() const = 0; |
| 158 | 158 |
| 159 // Shows settings. | 159 // Shows settings. |
| 160 virtual void ShowSettings() = 0; | 160 virtual void ShowSettings() = 0; |
| 161 | 161 |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 | 199 |
| 200 // Show the settings related to accessilibity. | 200 // Show the settings related to accessilibity. |
| 201 virtual void ShowAccessibilitySettings() = 0; | 201 virtual void ShowAccessibilitySettings() = 0; |
| 202 | 202 |
| 203 // Shows more information about public account mode. | 203 // Shows more information about public account mode. |
| 204 virtual void ShowPublicAccountInfo() = 0; | 204 virtual void ShowPublicAccountInfo() = 0; |
| 205 | 205 |
| 206 // Shows information about enterprise enrolled devices. | 206 // Shows information about enterprise enrolled devices. |
| 207 virtual void ShowEnterpriseInfo() = 0; | 207 virtual void ShowEnterpriseInfo() = 0; |
| 208 | 208 |
| 209 // Shows information about locally managed users. | 209 // Shows information about supervised users. |
| 210 virtual void ShowLocallyManagedUserInfo() = 0; | 210 virtual void ShowSupervisedUserInfo() = 0; |
| 211 | 211 |
| 212 // Shows login UI to add other users to this session. | 212 // Shows login UI to add other users to this session. |
| 213 virtual void ShowUserLogin() = 0; | 213 virtual void ShowUserLogin() = 0; |
| 214 | 214 |
| 215 // Shows the spring charger replacement dialog if necessary. | 215 // Shows the spring charger replacement dialog if necessary. |
| 216 // Returns true if the dialog is shown by the call. | 216 // Returns true if the dialog is shown by the call. |
| 217 virtual bool ShowSpringChargerReplacementDialog() = 0; | 217 virtual bool ShowSpringChargerReplacementDialog() = 0; |
| 218 | 218 |
| 219 // True if the spring charger replacement dialog is visible. | 219 // True if the spring charger replacement dialog is visible. |
| 220 virtual bool IsSpringChargerReplacementDialogVisible() = 0; | 220 virtual bool IsSpringChargerReplacementDialogVisible() = 0; |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 337 virtual bool IsSearchKeyMappedToCapsLock() = 0; | 337 virtual bool IsSearchKeyMappedToCapsLock() = 0; |
| 338 | 338 |
| 339 // Returns accounts delegate for given user. | 339 // Returns accounts delegate for given user. |
| 340 virtual tray::UserAccountsDelegate* GetUserAccountsDelegate( | 340 virtual tray::UserAccountsDelegate* GetUserAccountsDelegate( |
| 341 const std::string& user_id) = 0; | 341 const std::string& user_id) = 0; |
| 342 }; | 342 }; |
| 343 | 343 |
| 344 } // namespace ash | 344 } // namespace ash |
| 345 | 345 |
| 346 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ | 346 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ |
| OLD | NEW |