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 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
392 void HandleUpdateOfflineLogin(bool offline_login_active); | 392 void HandleUpdateOfflineLogin(bool offline_login_active); |
393 void HandleShowSupervisedUserCreationScreen(); | 393 void HandleShowSupervisedUserCreationScreen(); |
394 void HandleFocusPod(const std::string& user_id); | 394 void HandleFocusPod(const std::string& user_id); |
395 void HandleHardlockPod(const std::string& user_id); | 395 void HandleHardlockPod(const std::string& user_id); |
396 void HandleLaunchKioskApp(const std::string& app_id, bool diagnostic_mode); | 396 void HandleLaunchKioskApp(const std::string& app_id, bool diagnostic_mode); |
397 void HandleRetrieveAuthenticatedUserEmail(double attempt_token); | 397 void HandleRetrieveAuthenticatedUserEmail(double attempt_token); |
398 void HandleGetPublicSessionKeyboardLayouts(const std::string& user_id, | 398 void HandleGetPublicSessionKeyboardLayouts(const std::string& user_id, |
399 const std::string& locale); | 399 const std::string& locale); |
400 void HandleCancelConsumerManagementEnrollment(); | 400 void HandleCancelConsumerManagementEnrollment(); |
401 void HandleGetTouchViewState(); | 401 void HandleGetTouchViewState(); |
| 402 void HandleSwitchToEmbeddedSignin(); |
402 | 403 |
403 // Sends the list of |keyboard_layouts| available for the |locale| that is | 404 // Sends the list of |keyboard_layouts| available for the |locale| that is |
404 // currently selected for the public session identified by |user_id|. | 405 // currently selected for the public session identified by |user_id|. |
405 void SendPublicSessionKeyboardLayouts( | 406 void SendPublicSessionKeyboardLayouts( |
406 const std::string& user_id, | 407 const std::string& user_id, |
407 const std::string& locale, | 408 const std::string& locale, |
408 scoped_ptr<base::ListValue> keyboard_layouts); | 409 scoped_ptr<base::ListValue> keyboard_layouts); |
409 | 410 |
410 // Returns true iff | 411 // Returns true iff |
411 // (i) log in is restricted to some user list, | 412 // (i) log in is restricted to some user list, |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
537 bool oobe_ui_observer_added_; | 538 bool oobe_ui_observer_added_; |
538 | 539 |
539 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; | 540 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; |
540 | 541 |
541 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); | 542 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); |
542 }; | 543 }; |
543 | 544 |
544 } // namespace chromeos | 545 } // namespace chromeos |
545 | 546 |
546 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ | 547 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ |
OLD | NEW |