| 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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 // Used for new user login via GAIA extension. | 143 // Used for new user login via GAIA extension. |
| 144 virtual void CompleteLogin(const UserContext& user_context) = 0; | 144 virtual void CompleteLogin(const UserContext& user_context) = 0; |
| 145 | 145 |
| 146 // --------------- Shared with login display methods. | 146 // --------------- Shared with login display methods. |
| 147 // Notify the delegate when the sign-in UI is finished loading. | 147 // Notify the delegate when the sign-in UI is finished loading. |
| 148 virtual void OnSigninScreenReady() = 0; | 148 virtual void OnSigninScreenReady() = 0; |
| 149 | 149 |
| 150 // Shows Enterprise Enrollment screen. | 150 // Shows Enterprise Enrollment screen. |
| 151 virtual void ShowEnterpriseEnrollmentScreen() = 0; | 151 virtual void ShowEnterpriseEnrollmentScreen() = 0; |
| 152 | 152 |
| 153 // Shows Enable Developer Features screen. |
| 154 virtual void ShowEnableDebuggingScreen() = 0; |
| 155 |
| 153 // Shows Kiosk Enable screen. | 156 // Shows Kiosk Enable screen. |
| 154 virtual void ShowKioskEnableScreen() = 0; | 157 virtual void ShowKioskEnableScreen() = 0; |
| 155 | 158 |
| 156 // Shows Reset screen. | 159 // Shows Reset screen. |
| 157 virtual void ShowKioskAutolaunchScreen() = 0; | 160 virtual void ShowKioskAutolaunchScreen() = 0; |
| 158 | 161 |
| 159 // Show wrong hwid screen. | 162 // Show wrong hwid screen. |
| 160 virtual void ShowWrongHWIDScreen() = 0; | 163 virtual void ShowWrongHWIDScreen() = 0; |
| 161 | 164 |
| 162 // Sets the displayed email for the next login attempt. If it succeeds, | 165 // Sets the displayed email for the next login attempt. If it succeeds, |
| (...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 366 void HandleLaunchPublicSession(const std::string& user_id, | 369 void HandleLaunchPublicSession(const std::string& user_id, |
| 367 const std::string& locale, | 370 const std::string& locale, |
| 368 const std::string& input_method); | 371 const std::string& input_method); |
| 369 void HandleOfflineLogin(const base::ListValue* args); | 372 void HandleOfflineLogin(const base::ListValue* args); |
| 370 void HandleShutdownSystem(); | 373 void HandleShutdownSystem(); |
| 371 void HandleLoadWallpaper(const std::string& email); | 374 void HandleLoadWallpaper(const std::string& email); |
| 372 void HandleRebootSystem(); | 375 void HandleRebootSystem(); |
| 373 void HandleRemoveUser(const std::string& email); | 376 void HandleRemoveUser(const std::string& email); |
| 374 void HandleShowAddUser(const base::ListValue* args); | 377 void HandleShowAddUser(const base::ListValue* args); |
| 375 void HandleToggleEnrollmentScreen(); | 378 void HandleToggleEnrollmentScreen(); |
| 379 void HandleToggleEnableDebuggingScreen(); |
| 376 void HandleToggleKioskEnableScreen(); | 380 void HandleToggleKioskEnableScreen(); |
| 377 void HandleToggleResetScreen(); | 381 void HandleToggleResetScreen(); |
| 378 void HandleToggleKioskAutolaunchScreen(); | 382 void HandleToggleKioskAutolaunchScreen(); |
| 379 void HandleCreateAccount(); | 383 void HandleCreateAccount(); |
| 380 void HandleAccountPickerReady(); | 384 void HandleAccountPickerReady(); |
| 381 void HandleWallpaperReady(); | 385 void HandleWallpaperReady(); |
| 382 void HandleSignOutUser(); | 386 void HandleSignOutUser(); |
| 383 void HandleOpenProxySettings(); | 387 void HandleOpenProxySettings(); |
| 384 void HandleLoginVisible(const std::string& source); | 388 void HandleLoginVisible(const std::string& source); |
| 385 void HandleCancelPasswordChangedFlow(); | 389 void HandleCancelPasswordChangedFlow(); |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 541 scoped_ptr<ErrorScreensHistogramHelper> histogram_helper_; | 545 scoped_ptr<ErrorScreensHistogramHelper> histogram_helper_; |
| 542 | 546 |
| 543 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; | 547 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; |
| 544 | 548 |
| 545 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); | 549 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); |
| 546 }; | 550 }; |
| 547 | 551 |
| 548 } // namespace chromeos | 552 } // namespace chromeos |
| 549 | 553 |
| 550 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ | 554 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ |
| OLD | NEW |