| 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 <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 // Create a new locally managed user. | 99 // Create a new locally managed user. |
| 100 virtual void CreateLocallyManagedUser(const string16& display_name, | 100 virtual void CreateLocallyManagedUser(const string16& display_name, |
| 101 const std::string password) = 0; | 101 const std::string password) = 0; |
| 102 | 102 |
| 103 // Load wallpaper for given |username|. | 103 // Load wallpaper for given |username|. |
| 104 virtual void LoadWallpaper(const std::string& username) = 0; | 104 virtual void LoadWallpaper(const std::string& username) = 0; |
| 105 | 105 |
| 106 // Loads the default sign-in wallpaper. | 106 // Loads the default sign-in wallpaper. |
| 107 virtual void LoadSigninWallpaper() = 0; | 107 virtual void LoadSigninWallpaper() = 0; |
| 108 | 108 |
| 109 // Notify the delegate when the sign-in UI is finished loading. |
| 110 virtual void OnSigninScreenReady() = 0; |
| 111 |
| 109 // Attempts to remove given user. | 112 // Attempts to remove given user. |
| 110 virtual void RemoveUser(const std::string& username) = 0; | 113 virtual void RemoveUser(const std::string& username) = 0; |
| 111 | 114 |
| 112 // Ignore password change, remove existing cryptohome and | 115 // Ignore password change, remove existing cryptohome and |
| 113 // force full sync of user data. | 116 // force full sync of user data. |
| 114 virtual void ResyncUserData() = 0; | 117 virtual void ResyncUserData() = 0; |
| 115 | 118 |
| 116 // Shows Enterprise Enrollment screen. | 119 // Shows Enterprise Enrollment screen. |
| 117 virtual void ShowEnterpriseEnrollmentScreen() = 0; | 120 virtual void ShowEnterpriseEnrollmentScreen() = 0; |
| 118 | 121 |
| (...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 423 // NOTIFICATION_AUTH_NEEDED and reset on either NOTIFICATION_AUTH_SUPPLIED or | 426 // NOTIFICATION_AUTH_NEEDED and reset on either NOTIFICATION_AUTH_SUPPLIED or |
| 424 // NOTIFICATION_AUTH_CANCELLED. | 427 // NOTIFICATION_AUTH_CANCELLED. |
| 425 bool has_pending_auth_ui_; | 428 bool has_pending_auth_ui_; |
| 426 | 429 |
| 427 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); | 430 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); |
| 428 }; | 431 }; |
| 429 | 432 |
| 430 } // namespace chromeos | 433 } // namespace chromeos |
| 431 | 434 |
| 432 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ | 435 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ |
| OLD | NEW |