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