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 CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_DISPLAY_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_DISPLAY_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_DISPLAY_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_DISPLAY_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 // Sign in into guest session. | 60 // Sign in into guest session. |
61 virtual void LoginAsGuest() = 0; | 61 virtual void LoginAsGuest() = 0; |
62 | 62 |
63 // Decrypt cryptohome using user provided |old_password| | 63 // Decrypt cryptohome using user provided |old_password| |
64 // and migrate to new password. | 64 // and migrate to new password. |
65 virtual void MigrateUserData(const std::string& old_password) = 0; | 65 virtual void MigrateUserData(const std::string& old_password) = 0; |
66 | 66 |
67 // Sign in into the public account identified by |username|. | 67 // Sign in into the public account identified by |username|. |
68 virtual void LoginAsPublicAccount(const std::string& username) = 0; | 68 virtual void LoginAsPublicAccount(const std::string& username) = 0; |
69 | 69 |
| 70 // Notify the delegate when the sign-in UI is finished loading. |
| 71 virtual void OnSigninScreenReady() = 0; |
| 72 |
70 // Called when existing user pod is selected in the UI. | 73 // Called when existing user pod is selected in the UI. |
71 virtual void OnUserSelected(const std::string& username) = 0; | 74 virtual void OnUserSelected(const std::string& username) = 0; |
72 | 75 |
73 // Called when the user requests enterprise enrollment. | 76 // Called when the user requests enterprise enrollment. |
74 virtual void OnStartEnterpriseEnrollment() = 0; | 77 virtual void OnStartEnterpriseEnrollment() = 0; |
75 | 78 |
76 // Called when the user requests device reset. | 79 // Called when the user requests device reset. |
77 virtual void OnStartDeviceReset() = 0; | 80 virtual void OnStartDeviceReset() = 0; |
78 | 81 |
79 // Shows wrong HWID screen. | 82 // Shows wrong HWID screen. |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 | 170 |
168 // Bounds of the login UI background. | 171 // Bounds of the login UI background. |
169 gfx::Rect background_bounds_; | 172 gfx::Rect background_bounds_; |
170 | 173 |
171 DISALLOW_COPY_AND_ASSIGN(LoginDisplay); | 174 DISALLOW_COPY_AND_ASSIGN(LoginDisplay); |
172 }; | 175 }; |
173 | 176 |
174 } // namespace chromeos | 177 } // namespace chromeos |
175 | 178 |
176 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_DISPLAY_H_ | 179 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_DISPLAY_H_ |
OLD | NEW |