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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 | 132 |
133 // Returns the domain that manages the device, if it is enterprise-enrolled. | 133 // Returns the domain that manages the device, if it is enterprise-enrolled. |
134 virtual const std::string GetEnterpriseDomain() const = 0; | 134 virtual const std::string GetEnterpriseDomain() const = 0; |
135 | 135 |
136 // Returns notification for enterprise enrolled devices. | 136 // Returns notification for enterprise enrolled devices. |
137 virtual const base::string16 GetEnterpriseMessage() const = 0; | 137 virtual const base::string16 GetEnterpriseMessage() const = 0; |
138 | 138 |
139 // Returns the email of user that manages current locally managed user. | 139 // Returns the email of user that manages current locally managed user. |
140 virtual const std::string GetLocallyManagedUserManager() const = 0; | 140 virtual const std::string GetLocallyManagedUserManager() const = 0; |
141 | 141 |
| 142 // Returns the email of user that manages current locally managed user. |
| 143 virtual const base::string16 GetLocallyManagedUserManagerName() const = 0; |
| 144 |
142 // Returns notification for locally managed users. | 145 // Returns notification for locally managed users. |
143 virtual const base::string16 GetLocallyManagedUserMessage() const = 0; | 146 virtual const base::string16 GetLocallyManagedUserMessage() const = 0; |
144 | 147 |
145 // Returns whether a system upgrade is available. | 148 // Returns whether a system upgrade is available. |
146 virtual bool SystemShouldUpgrade() const = 0; | 149 virtual bool SystemShouldUpgrade() const = 0; |
147 | 150 |
148 // Returns the desired hour clock type. | 151 // Returns the desired hour clock type. |
149 virtual base::HourClockType GetHourClockType() const = 0; | 152 virtual base::HourClockType GetHourClockType() const = 0; |
150 | 153 |
151 // Shows settings. | 154 // Shows settings. |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
308 // Speaks the given text if spoken feedback is enabled. | 311 // Speaks the given text if spoken feedback is enabled. |
309 virtual void MaybeSpeak(const std::string& utterance) const = 0; | 312 virtual void MaybeSpeak(const std::string& utterance) const = 0; |
310 | 313 |
311 // Creates a dummy delegate for testing. | 314 // Creates a dummy delegate for testing. |
312 static SystemTrayDelegate* CreateDummyDelegate(); | 315 static SystemTrayDelegate* CreateDummyDelegate(); |
313 }; | 316 }; |
314 | 317 |
315 } // namespace ash | 318 } // namespace ash |
316 | 319 |
317 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ | 320 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ |
OLD | NEW |