| 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 <memory> | 9 #include <memory> |
| 10 #include <set> | 10 #include <set> |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 // Shows Reset screen. | 154 // Shows Reset screen. |
| 155 virtual void ShowKioskAutolaunchScreen() = 0; | 155 virtual void ShowKioskAutolaunchScreen() = 0; |
| 156 | 156 |
| 157 // Show wrong hwid screen. | 157 // Show wrong hwid screen. |
| 158 virtual void ShowWrongHWIDScreen() = 0; | 158 virtual void ShowWrongHWIDScreen() = 0; |
| 159 | 159 |
| 160 // Sets the displayed email for the next login attempt. If it succeeds, | 160 // Sets the displayed email for the next login attempt. If it succeeds, |
| 161 // user's displayed email value will be updated to |email|. | 161 // user's displayed email value will be updated to |email|. |
| 162 virtual void SetDisplayEmail(const std::string& email) = 0; | 162 virtual void SetDisplayEmail(const std::string& email) = 0; |
| 163 | 163 |
| 164 // Sets the displayed name and given name for the next login attempt. If it |
| 165 // succeeds, user's displayed name and give name values will be updated to |
| 166 // |display_name| and |given_name|. |
| 167 virtual void SetDisplayAndGivenName(const std::string& display_name, |
| 168 const std::string& given_name) = 0; |
| 169 |
| 164 // --------------- Rest of the methods. | 170 // --------------- Rest of the methods. |
| 165 // Cancels user adding. | 171 // Cancels user adding. |
| 166 virtual void CancelUserAdding() = 0; | 172 virtual void CancelUserAdding() = 0; |
| 167 | 173 |
| 168 // Load wallpaper for given |account_id|. | 174 // Load wallpaper for given |account_id|. |
| 169 virtual void LoadWallpaper(const AccountId& account_id) = 0; | 175 virtual void LoadWallpaper(const AccountId& account_id) = 0; |
| 170 | 176 |
| 171 // Loads the default sign-in wallpaper. | 177 // Loads the default sign-in wallpaper. |
| 172 virtual void LoadSigninWallpaper() = 0; | 178 virtual void LoadSigninWallpaper() = 0; |
| 173 | 179 |
| (...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 512 std::unique_ptr<LoginFeedback> login_feedback_; | 518 std::unique_ptr<LoginFeedback> login_feedback_; |
| 513 | 519 |
| 514 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; | 520 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; |
| 515 | 521 |
| 516 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); | 522 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); |
| 517 }; | 523 }; |
| 518 | 524 |
| 519 } // namespace chromeos | 525 } // namespace chromeos |
| 520 | 526 |
| 521 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ | 527 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ |
| OLD | NEW |