| 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 | 69 |
| 70 // Called when existing user pod is selected in the UI. | 70 // Called when existing user pod is selected in the UI. |
| 71 virtual void OnUserSelected(const std::string& username) = 0; | 71 virtual void OnUserSelected(const std::string& username) = 0; |
| 72 | 72 |
| 73 // Called when the user requests enterprise enrollment. | 73 // Called when the user requests enterprise enrollment. |
| 74 virtual void OnStartEnterpriseEnrollment() = 0; | 74 virtual void OnStartEnterpriseEnrollment() = 0; |
| 75 | 75 |
| 76 // Called when the user requests device reset. | 76 // Called when the user requests device reset. |
| 77 virtual void OnStartDeviceReset() = 0; | 77 virtual void OnStartDeviceReset() = 0; |
| 78 | 78 |
| 79 // Shows wrong HWID screen. |
| 80 virtual void ShowWrongHWIDScreen() = 0; |
| 81 |
| 79 // Ignore password change, remove existing cryptohome and | 82 // Ignore password change, remove existing cryptohome and |
| 80 // force full sync of user data. | 83 // force full sync of user data. |
| 81 virtual void ResyncUserData() = 0; | 84 virtual void ResyncUserData() = 0; |
| 82 | 85 |
| 83 // Sets the displayed email for the next login attempt with |CompleteLogin|. | 86 // Sets the displayed email for the next login attempt with |CompleteLogin|. |
| 84 // If it succeeds, user's displayed email value will be updated to |email|. | 87 // If it succeeds, user's displayed email value will be updated to |email|. |
| 85 virtual void SetDisplayEmail(const std::string& email) = 0; | 88 virtual void SetDisplayEmail(const std::string& email) = 0; |
| 86 | 89 |
| 87 // Sign out the currently signed in user. | 90 // Sign out the currently signed in user. |
| 88 // Used when the lock screen is being displayed. | 91 // Used when the lock screen is being displayed. |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 | 167 |
| 165 // Bounds of the login UI background. | 168 // Bounds of the login UI background. |
| 166 gfx::Rect background_bounds_; | 169 gfx::Rect background_bounds_; |
| 167 | 170 |
| 168 DISALLOW_COPY_AND_ASSIGN(LoginDisplay); | 171 DISALLOW_COPY_AND_ASSIGN(LoginDisplay); |
| 169 }; | 172 }; |
| 170 | 173 |
| 171 } // namespace chromeos | 174 } // namespace chromeos |
| 172 | 175 |
| 173 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_DISPLAY_H_ | 176 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_DISPLAY_H_ |
| OLD | NEW |