| 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 340 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 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 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   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 | 360 | 
|  | 361   // Sends the list of keyboard layouts available for the currently selected | 
|  | 362   // public session locale. | 
|  | 363   void SendPublicSessionKeyboardLayouts( | 
|  | 364       const std::string& user_id, | 
|  | 365       scoped_ptr<base::ListValue> keyboard_layouts); | 
|  | 366 | 
| 361   // Returns true iff | 367   // Returns true iff | 
| 362   // (i)   log in is restricted to some user list, | 368   // (i)   log in is restricted to some user list, | 
| 363   // (ii)  all users in the restricted list are present. | 369   // (ii)  all users in the restricted list are present. | 
| 364   bool AllWhitelistedUsersPresent(); | 370   bool AllWhitelistedUsersPresent(); | 
| 365 | 371 | 
| 366   // Cancels password changed flow - switches back to login screen. | 372   // Cancels password changed flow - switches back to login screen. | 
| 367   // Called as a callback after cookies are cleared. | 373   // Called as a callback after cookies are cleared. | 
| 368   void CancelPasswordChangedFlowInternal(); | 374   void CancelPasswordChangedFlowInternal(); | 
| 369 | 375 | 
| 370   // Returns current visible screen. | 376   // Returns current visible screen. | 
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 463   scoped_ptr<AuthenticatedUserEmailRetriever> email_retriever_; | 469   scoped_ptr<AuthenticatedUserEmailRetriever> email_retriever_; | 
| 464 | 470 | 
| 465   base::WeakPtrFactory<SigninScreenHandler> weak_factory_; | 471   base::WeakPtrFactory<SigninScreenHandler> weak_factory_; | 
| 466 | 472 | 
| 467   DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); | 473   DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); | 
| 468 }; | 474 }; | 
| 469 | 475 | 
| 470 }  // namespace chromeos | 476 }  // namespace chromeos | 
| 471 | 477 | 
| 472 #endif  // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ | 478 #endif  // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ | 
| OLD | NEW | 
|---|