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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 // Returns true if system tray should be visible on startup. | 134 // Returns true if system tray should be visible on startup. |
135 virtual bool GetTrayVisibilityOnStartup(); | 135 virtual bool GetTrayVisibilityOnStartup(); |
136 | 136 |
137 // Gets information about the active user. | 137 // Gets information about the active user. |
138 virtual user::LoginStatus GetUserLoginStatus() const; | 138 virtual user::LoginStatus GetUserLoginStatus() const; |
139 | 139 |
140 // Shows UI for changing user's profile picture. | 140 // Shows UI for changing user's profile picture. |
141 virtual void ChangeProfilePicture(); | 141 virtual void ChangeProfilePicture(); |
142 | 142 |
143 // Returns the domain that manages the device, if it is enterprise-enrolled. | 143 // Returns the domain that manages the device, if it is enterprise-enrolled. |
144 virtual const std::string GetEnterpriseDomain() const; | 144 virtual std::string GetEnterpriseDomain() const; |
145 | 145 |
146 // Returns notification for enterprise enrolled devices. | 146 // Returns notification for enterprise enrolled devices. |
147 virtual const base::string16 GetEnterpriseMessage() const; | 147 virtual const base::string16 GetEnterpriseMessage() const; |
148 | 148 |
149 // Returns the display email of the user that manages the current supervised | 149 // Returns the display email of the user that manages the current supervised |
150 // user. | 150 // user. |
151 virtual const std::string GetSupervisedUserManager() const; | 151 virtual const std::string GetSupervisedUserManager() const; |
152 | 152 |
153 // Returns the name of the user that manages the current supervised user. | 153 // Returns the name of the user that manages the current supervised user. |
154 virtual const base::string16 GetSupervisedUserManagerName() const; | 154 virtual const base::string16 GetSupervisedUserManagerName() const; |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
335 // asynchronously calls |callback| once a trusted policy becomes available. | 335 // asynchronously calls |callback| once a trusted policy becomes available. |
336 virtual void ShouldRebootOnShutdown(const RebootOnShutdownCallback& callback); | 336 virtual void ShouldRebootOnShutdown(const RebootOnShutdownCallback& callback); |
337 | 337 |
338 // Returns VPNDelegate. May return nullptr. | 338 // Returns VPNDelegate. May return nullptr. |
339 virtual VPNDelegate* GetVPNDelegate() const; | 339 virtual VPNDelegate* GetVPNDelegate() const; |
340 }; | 340 }; |
341 | 341 |
342 } // namespace ash | 342 } // namespace ash |
343 | 343 |
344 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ | 344 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ |
OLD | NEW |