Chromium Code Reviews| 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 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 342 void HandleToggleEnableDebuggingScreen(); | 342 void HandleToggleEnableDebuggingScreen(); |
| 343 void HandleToggleKioskEnableScreen(); | 343 void HandleToggleKioskEnableScreen(); |
| 344 void HandleToggleResetScreen(); | 344 void HandleToggleResetScreen(); |
| 345 void HandleToggleKioskAutolaunchScreen(); | 345 void HandleToggleKioskAutolaunchScreen(); |
| 346 void HandleCreateAccount(); | 346 void HandleCreateAccount(); |
| 347 void HandleAccountPickerReady(); | 347 void HandleAccountPickerReady(); |
| 348 void HandleWallpaperReady(); | 348 void HandleWallpaperReady(); |
| 349 void HandleSignOutUser(); | 349 void HandleSignOutUser(); |
| 350 void HandleOpenProxySettings(); | 350 void HandleOpenProxySettings(); |
| 351 void HandleLoginVisible(const std::string& source); | 351 void HandleLoginVisible(const std::string& source); |
| 352 void HandleCancelPasswordChangedFlow(); | 352 void HandleCancelPasswordChangedFlow(const std::string& email); |
|
Nikita (slow)
2015/04/29 09:21:46
nit: email -> user_id here and elsewhere in CL
Ivan Podogov
2015/04/29 10:34:24
Done.
| |
| 353 void HandleCancelUserAdding(); | 353 void HandleCancelUserAdding(); |
| 354 void HandleMigrateUserData(const std::string& password); | 354 void HandleMigrateUserData(const std::string& password); |
| 355 void HandleResyncUserData(); | 355 void HandleResyncUserData(); |
| 356 void HandleLoginUIStateChanged(const std::string& source, bool active); | 356 void HandleLoginUIStateChanged(const std::string& source, bool active); |
| 357 void HandleUnlockOnLoginSuccess(); | 357 void HandleUnlockOnLoginSuccess(); |
| 358 void HandleLoginScreenUpdate(); | 358 void HandleLoginScreenUpdate(); |
| 359 void HandleShowLoadingTimeoutError(); | 359 void HandleShowLoadingTimeoutError(); |
| 360 void HandleUpdateOfflineLogin(bool offline_login_active); | 360 void HandleUpdateOfflineLogin(bool offline_login_active); |
| 361 void HandleShowSupervisedUserCreationScreen(); | 361 void HandleShowSupervisedUserCreationScreen(); |
| 362 void HandleFocusPod(const std::string& user_id); | 362 void HandleFocusPod(const std::string& user_id); |
| 363 void HandleHardlockPod(const std::string& user_id); | 363 void HandleHardlockPod(const std::string& user_id); |
| 364 void HandleLaunchKioskApp(const std::string& app_id, bool diagnostic_mode); | 364 void HandleLaunchKioskApp(const std::string& app_id, bool diagnostic_mode); |
| 365 void HandleGetPublicSessionKeyboardLayouts(const std::string& user_id, | 365 void HandleGetPublicSessionKeyboardLayouts(const std::string& user_id, |
| 366 const std::string& locale); | 366 const std::string& locale); |
| 367 void HandleCancelConsumerManagementEnrollment(); | 367 void HandleCancelConsumerManagementEnrollment(); |
| 368 void HandleGetTouchViewState(); | 368 void HandleGetTouchViewState(); |
| 369 void HandleLogRemoveUserWarningShown(); | 369 void HandleLogRemoveUserWarningShown(); |
| 370 void HandleFirstIncorrectPasswordAttempt(const std::string& email); | |
| 371 void HandleMaxIncorrectPasswordAttempts(const std::string& email); | |
| 370 | 372 |
| 371 // Sends the list of |keyboard_layouts| available for the |locale| that is | 373 // Sends the list of |keyboard_layouts| available for the |locale| that is |
| 372 // currently selected for the public session identified by |user_id|. | 374 // currently selected for the public session identified by |user_id|. |
| 373 void SendPublicSessionKeyboardLayouts( | 375 void SendPublicSessionKeyboardLayouts( |
| 374 const std::string& user_id, | 376 const std::string& user_id, |
| 375 const std::string& locale, | 377 const std::string& locale, |
| 376 scoped_ptr<base::ListValue> keyboard_layouts); | 378 scoped_ptr<base::ListValue> keyboard_layouts); |
| 377 | 379 |
| 378 // Returns true iff | 380 // Returns true iff |
| 379 // (i) log in is restricted to some user list, | 381 // (i) log in is restricted to some user list, |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 494 scoped_ptr<ErrorScreensHistogramHelper> histogram_helper_; | 496 scoped_ptr<ErrorScreensHistogramHelper> histogram_helper_; |
| 495 | 497 |
| 496 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; | 498 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; |
| 497 | 499 |
| 498 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); | 500 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); |
| 499 }; | 501 }; |
| 500 | 502 |
| 501 } // namespace chromeos | 503 } // namespace chromeos |
| 502 | 504 |
| 503 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ | 505 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ |
| OLD | NEW |