OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 virtual void ShowWrongHWIDScreen() = 0; | 153 virtual void ShowWrongHWIDScreen() = 0; |
154 | 154 |
155 // Sets the displayed email for the next login attempt. If it succeeds, | 155 // Sets the displayed email for the next login attempt. If it succeeds, |
156 // user's displayed email value will be updated to |email|. | 156 // user's displayed email value will be updated to |email|. |
157 virtual void SetDisplayEmail(const std::string& email) = 0; | 157 virtual void SetDisplayEmail(const std::string& email) = 0; |
158 | 158 |
159 // --------------- Rest of the methods. | 159 // --------------- Rest of the methods. |
160 // Cancels user adding. | 160 // Cancels user adding. |
161 virtual void CancelUserAdding() = 0; | 161 virtual void CancelUserAdding() = 0; |
162 | 162 |
163 // Load wallpaper for given |username|. | 163 // Load wallpaper for given |account_id|. |
164 virtual void LoadWallpaper(const std::string& username) = 0; | 164 virtual void LoadWallpaper(const AccountId& account_id) = 0; |
165 | 165 |
166 // Loads the default sign-in wallpaper. | 166 // Loads the default sign-in wallpaper. |
167 virtual void LoadSigninWallpaper() = 0; | 167 virtual void LoadSigninWallpaper() = 0; |
168 | 168 |
169 // Attempts to remove given user. | 169 // Attempts to remove given user. |
170 virtual void RemoveUser(const AccountId& account_id) = 0; | 170 virtual void RemoveUser(const AccountId& account_id) = 0; |
171 | 171 |
172 // Let the delegate know about the handler it is supposed to be using. | 172 // Let the delegate know about the handler it is supposed to be using. |
173 virtual void SetWebUIHandler(LoginDisplayWebUIHandler* webui_handler) = 0; | 173 virtual void SetWebUIHandler(LoginDisplayWebUIHandler* webui_handler) = 0; |
174 | 174 |
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
489 scoped_ptr<ErrorScreensHistogramHelper> histogram_helper_; | 489 scoped_ptr<ErrorScreensHistogramHelper> histogram_helper_; |
490 | 490 |
491 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; | 491 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; |
492 | 492 |
493 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); | 493 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); |
494 }; | 494 }; |
495 | 495 |
496 } // namespace chromeos | 496 } // namespace chromeos |
497 | 497 |
498 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ | 498 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ |
OLD | NEW |