| 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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 | 133 |
| 134 // --------------- Account creation methods. | 134 // --------------- Account creation methods. |
| 135 // Confirms sign up by provided credentials in |user_context|. | 135 // Confirms sign up by provided credentials in |user_context|. |
| 136 // Used for new user login via GAIA extension. | 136 // Used for new user login via GAIA extension. |
| 137 virtual void CompleteLogin(const UserContext& user_context) = 0; | 137 virtual void CompleteLogin(const UserContext& user_context) = 0; |
| 138 | 138 |
| 139 // --------------- Shared with login display methods. | 139 // --------------- Shared with login display methods. |
| 140 // Notify the delegate when the sign-in UI is finished loading. | 140 // Notify the delegate when the sign-in UI is finished loading. |
| 141 virtual void OnSigninScreenReady() = 0; | 141 virtual void OnSigninScreenReady() = 0; |
| 142 | 142 |
| 143 // Notify the delegate when the GAIA UI is finished loading. |
| 144 virtual void OnGaiaScreenReady() = 0; |
| 145 |
| 143 // Shows Enterprise Enrollment screen. | 146 // Shows Enterprise Enrollment screen. |
| 144 virtual void ShowEnterpriseEnrollmentScreen() = 0; | 147 virtual void ShowEnterpriseEnrollmentScreen() = 0; |
| 145 | 148 |
| 146 // Shows Enable Developer Features screen. | 149 // Shows Enable Developer Features screen. |
| 147 virtual void ShowEnableDebuggingScreen() = 0; | 150 virtual void ShowEnableDebuggingScreen() = 0; |
| 148 | 151 |
| 149 // Shows Kiosk Enable screen. | 152 // Shows Kiosk Enable screen. |
| 150 virtual void ShowKioskEnableScreen() = 0; | 153 virtual void ShowKioskEnableScreen() = 0; |
| 151 | 154 |
| 152 // Shows Reset screen. | 155 // Shows Reset screen. |
| (...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 510 std::unique_ptr<LoginFeedback> login_feedback_; | 513 std::unique_ptr<LoginFeedback> login_feedback_; |
| 511 | 514 |
| 512 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; | 515 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; |
| 513 | 516 |
| 514 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); | 517 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); |
| 515 }; | 518 }; |
| 516 | 519 |
| 517 } // namespace chromeos | 520 } // namespace chromeos |
| 518 | 521 |
| 519 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ | 522 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ |
| OLD | NEW |