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 <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 // Called after SystemTray has been instantiated. | 127 // Called after SystemTray has been instantiated. |
128 virtual void Initialize(); | 128 virtual void Initialize(); |
129 | 129 |
130 // Called before SystemTray is destroyed. | 130 // Called before SystemTray is destroyed. |
131 virtual void Shutdown(); | 131 virtual void Shutdown(); |
132 | 132 |
133 // Returns true if system tray should be visible on startup. | 133 // Returns true if system tray should be visible on startup. |
134 virtual bool GetTrayVisibilityOnStartup(); | 134 virtual bool GetTrayVisibilityOnStartup(); |
135 | 135 |
136 // Gets information about the active user. | 136 // Gets information about the active user. |
137 virtual user::LoginStatus GetUserLoginStatus() const; | 137 virtual LoginStatus GetUserLoginStatus() const; |
138 | 138 |
139 // Shows UI for changing user's profile picture. | 139 // Shows UI for changing user's profile picture. |
140 virtual void ChangeProfilePicture(); | 140 virtual void ChangeProfilePicture(); |
141 | 141 |
142 // Returns the domain that manages the device, if it is enterprise-enrolled. | 142 // Returns the domain that manages the device, if it is enterprise-enrolled. |
143 virtual std::string GetEnterpriseDomain() const; | 143 virtual std::string GetEnterpriseDomain() const; |
144 | 144 |
145 // Returns notification for enterprise enrolled devices. | 145 // Returns notification for enterprise enrolled devices. |
146 virtual base::string16 GetEnterpriseMessage() const; | 146 virtual base::string16 GetEnterpriseMessage() const; |
147 | 147 |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
333 // asynchronously calls |callback| once a trusted policy becomes available. | 333 // asynchronously calls |callback| once a trusted policy becomes available. |
334 virtual void ShouldRebootOnShutdown(const RebootOnShutdownCallback& callback); | 334 virtual void ShouldRebootOnShutdown(const RebootOnShutdownCallback& callback); |
335 | 335 |
336 // Returns VPNDelegate. May return nullptr. | 336 // Returns VPNDelegate. May return nullptr. |
337 virtual VPNDelegate* GetVPNDelegate() const; | 337 virtual VPNDelegate* GetVPNDelegate() const; |
338 }; | 338 }; |
339 | 339 |
340 } // namespace ash | 340 } // namespace ash |
341 | 341 |
342 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ | 342 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ |
OLD | NEW |