| 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 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 339 void HandleCreateAccount(); | 339 void HandleCreateAccount(); |
| 340 void HandleAccountPickerReady(); | 340 void HandleAccountPickerReady(); |
| 341 void HandleWallpaperReady(); | 341 void HandleWallpaperReady(); |
| 342 void HandleSignOutUser(); | 342 void HandleSignOutUser(); |
| 343 void HandleOpenProxySettings(); | 343 void HandleOpenProxySettings(); |
| 344 void HandleLoginVisible(const std::string& source); | 344 void HandleLoginVisible(const std::string& source); |
| 345 void HandleCancelPasswordChangedFlow(); | 345 void HandleCancelPasswordChangedFlow(); |
| 346 void HandleCancelUserAdding(); | 346 void HandleCancelUserAdding(); |
| 347 void HandleMigrateUserData(const std::string& password); | 347 void HandleMigrateUserData(const std::string& password); |
| 348 void HandleResyncUserData(); | 348 void HandleResyncUserData(); |
| 349 void HandleLoginUIStateChanged(const std::string& source, bool new_value); | 349 void HandleLoginUIStateChanged(const std::string& source, bool active); |
| 350 void HandleUnlockOnLoginSuccess(); | 350 void HandleUnlockOnLoginSuccess(); |
| 351 void HandleLoginScreenUpdate(); | 351 void HandleLoginScreenUpdate(); |
| 352 void HandleShowLoadingTimeoutError(); | 352 void HandleShowLoadingTimeoutError(); |
| 353 void HandleUpdateOfflineLogin(bool offline_login_active); | 353 void HandleUpdateOfflineLogin(bool offline_login_active); |
| 354 void HandleShowSupervisedUserCreationScreen(); | 354 void HandleShowSupervisedUserCreationScreen(); |
| 355 void HandleFocusPod(const std::string& user_id); | 355 void HandleFocusPod(const std::string& user_id); |
| 356 void HandleHardlockPod(const std::string& user_id); | 356 void HandleHardlockPod(const std::string& user_id); |
| 357 void HandleLaunchKioskApp(const std::string& app_id, bool diagnostic_mode); | 357 void HandleLaunchKioskApp(const std::string& app_id, bool diagnostic_mode); |
| 358 void HandleGetPublicSessionKeyboardLayouts(const std::string& user_id, | 358 void HandleGetPublicSessionKeyboardLayouts(const std::string& user_id, |
| 359 const std::string& locale); | 359 const std::string& locale); |
| 360 void HandleCancelConsumerManagementEnrollment(); | 360 void HandleCancelConsumerManagementEnrollment(); |
| 361 void HandleGetTouchViewState(); | 361 void HandleGetTouchViewState(); |
| 362 void HandleSwitchToEmbeddedSignin(); | |
| 363 | 362 |
| 364 // Sends the list of |keyboard_layouts| available for the |locale| that is | 363 // Sends the list of |keyboard_layouts| available for the |locale| that is |
| 365 // currently selected for the public session identified by |user_id|. | 364 // currently selected for the public session identified by |user_id|. |
| 366 void SendPublicSessionKeyboardLayouts( | 365 void SendPublicSessionKeyboardLayouts( |
| 367 const std::string& user_id, | 366 const std::string& user_id, |
| 368 const std::string& locale, | 367 const std::string& locale, |
| 369 scoped_ptr<base::ListValue> keyboard_layouts); | 368 scoped_ptr<base::ListValue> keyboard_layouts); |
| 370 | 369 |
| 371 // Returns true iff | 370 // Returns true iff |
| 372 // (i) log in is restricted to some user list, | 371 // (i) log in is restricted to some user list, |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 484 scoped_ptr<ErrorScreensHistogramHelper> histogram_helper_; | 483 scoped_ptr<ErrorScreensHistogramHelper> histogram_helper_; |
| 485 | 484 |
| 486 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; | 485 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; |
| 487 | 486 |
| 488 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); | 487 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); |
| 489 }; | 488 }; |
| 490 | 489 |
| 491 } // namespace chromeos | 490 } // namespace chromeos |
| 492 | 491 |
| 493 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ | 492 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ |
| OLD | NEW |