| 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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 LoginDisplay(Delegate* delegate, const gfx::Rect& background_bounds); | 129 LoginDisplay(Delegate* delegate, const gfx::Rect& background_bounds); |
| 130 virtual ~LoginDisplay(); | 130 virtual ~LoginDisplay(); |
| 131 | 131 |
| 132 // Clears and enables fields on user pod or GAIA frame. | 132 // Clears and enables fields on user pod or GAIA frame. |
| 133 virtual void ClearAndEnablePassword() = 0; | 133 virtual void ClearAndEnablePassword() = 0; |
| 134 | 134 |
| 135 // Initializes login UI with the user pods based on list of known users and | 135 // Initializes login UI with the user pods based on list of known users and |
| 136 // guest, new user pods if those are enabled. | 136 // guest, new user pods if those are enabled. |
| 137 virtual void Init(const UserList& users, | 137 virtual void Init(const UserList& users, |
| 138 bool show_guest, | 138 bool show_guest, |
| 139 bool show_supervised, |
| 139 bool show_users, | 140 bool show_users, |
| 140 bool show_new_user) = 0; | 141 bool show_new_user) = 0; |
| 141 | 142 |
| 142 // Notifies the login UI that the preferences defining how to visualize it to | 143 // Notifies the login UI that the preferences defining how to visualize it to |
| 143 // the user have changed and it needs to refresh. | 144 // the user have changed and it needs to refresh. |
| 144 virtual void OnPreferencesChanged() = 0; | 145 virtual void OnPreferencesChanged() = 0; |
| 145 | 146 |
| 146 // Called when user image has been changed. | 147 // Called when user image has been changed. |
| 147 // |user| contains updated user. | 148 // |user| contains updated user. |
| 148 virtual void OnUserImageChanged(const User& user) = 0; | 149 virtual void OnUserImageChanged(const User& user) = 0; |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 // in redesigned login stack. | 235 // in redesigned login stack. |
| 235 // Login stack (and this object) will be recreated for next user sign in. | 236 // Login stack (and this object) will be recreated for next user sign in. |
| 236 bool is_signin_completed_; | 237 bool is_signin_completed_; |
| 237 | 238 |
| 238 DISALLOW_COPY_AND_ASSIGN(LoginDisplay); | 239 DISALLOW_COPY_AND_ASSIGN(LoginDisplay); |
| 239 }; | 240 }; |
| 240 | 241 |
| 241 } // namespace chromeos | 242 } // namespace chromeos |
| 242 | 243 |
| 243 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_DISPLAY_H_ | 244 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOGIN_DISPLAY_H_ |
| OLD | NEW |