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 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
348 void HandleResyncUserData(); | 348 void HandleResyncUserData(); |
349 void HandleLoginUIStateChanged(const std::string& source, bool new_value); | 349 void HandleLoginUIStateChanged(const std::string& source, bool new_value); |
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 HandleShowLocallyManagedUserCreationScreen(); | 354 void HandleShowLocallyManagedUserCreationScreen(); |
355 void HandleFocusPod(const std::string& user_id); | 355 void HandleFocusPod(const std::string& user_id); |
356 void HandleLaunchKioskApp(const std::string& app_id, bool diagnostic_mode); | 356 void HandleLaunchKioskApp(const std::string& app_id, bool diagnostic_mode); |
357 void HandleRetrieveAuthenticatedUserEmail(double attempt_token); | 357 void HandleRetrieveAuthenticatedUserEmail(double attempt_token); |
358 | 358 void HandleGetPublicSessionKeyboardLayouts(const std::string& user_id, |
| 359 const std::string& locale); |
359 | 360 |
360 // Returns true iff | 361 // Returns true iff |
361 // (i) log in is restricted to some user list, | 362 // (i) log in is restricted to some user list, |
362 // (ii) all users in the restricted list are present. | 363 // (ii) all users in the restricted list are present. |
363 bool AllWhitelistedUsersPresent(); | 364 bool AllWhitelistedUsersPresent(); |
364 | 365 |
365 // Cancels password changed flow - switches back to login screen. | 366 // Cancels password changed flow - switches back to login screen. |
366 // Called as a callback after cookies are cleared. | 367 // Called as a callback after cookies are cleared. |
367 void CancelPasswordChangedFlowInternal(); | 368 void CancelPasswordChangedFlowInternal(); |
368 | 369 |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
462 scoped_ptr<AuthenticatedUserEmailRetriever> email_retriever_; | 463 scoped_ptr<AuthenticatedUserEmailRetriever> email_retriever_; |
463 | 464 |
464 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; | 465 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; |
465 | 466 |
466 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); | 467 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); |
467 }; | 468 }; |
468 | 469 |
469 } // namespace chromeos | 470 } // namespace chromeos |
470 | 471 |
471 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ | 472 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ |
OLD | NEW |