| 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 28 matching lines...) Expand all Loading... |
| 39 | 39 |
| 40 class EasyUnlockService; | 40 class EasyUnlockService; |
| 41 | 41 |
| 42 namespace base { | 42 namespace base { |
| 43 class DictionaryValue; | 43 class DictionaryValue; |
| 44 class ListValue; | 44 class ListValue; |
| 45 } | 45 } |
| 46 | 46 |
| 47 namespace chromeos { | 47 namespace chromeos { |
| 48 | 48 |
| 49 class AuthenticatedUserEmailRetriever; | |
| 50 class CaptivePortalWindowProxy; | 49 class CaptivePortalWindowProxy; |
| 51 class CoreOobeActor; | 50 class CoreOobeActor; |
| 52 class ErrorScreensHistogramHelper; | 51 class ErrorScreensHistogramHelper; |
| 53 class GaiaScreenHandler; | 52 class GaiaScreenHandler; |
| 54 class NativeWindowDelegate; | 53 class NativeWindowDelegate; |
| 55 class SupervisedUserCreationScreenHandler; | 54 class SupervisedUserCreationScreenHandler; |
| 56 class User; | 55 class User; |
| 57 class UserContext; | 56 class UserContext; |
| 58 | 57 |
| 59 // Helper class to pass initial parameters to the login screen. | 58 // Helper class to pass initial parameters to the login screen. |
| (...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 388 void HandleResyncUserData(); | 387 void HandleResyncUserData(); |
| 389 void HandleLoginUIStateChanged(const std::string& source, bool new_value); | 388 void HandleLoginUIStateChanged(const std::string& source, bool new_value); |
| 390 void HandleUnlockOnLoginSuccess(); | 389 void HandleUnlockOnLoginSuccess(); |
| 391 void HandleLoginScreenUpdate(); | 390 void HandleLoginScreenUpdate(); |
| 392 void HandleShowLoadingTimeoutError(); | 391 void HandleShowLoadingTimeoutError(); |
| 393 void HandleUpdateOfflineLogin(bool offline_login_active); | 392 void HandleUpdateOfflineLogin(bool offline_login_active); |
| 394 void HandleShowSupervisedUserCreationScreen(); | 393 void HandleShowSupervisedUserCreationScreen(); |
| 395 void HandleFocusPod(const std::string& user_id); | 394 void HandleFocusPod(const std::string& user_id); |
| 396 void HandleHardlockPod(const std::string& user_id); | 395 void HandleHardlockPod(const std::string& user_id); |
| 397 void HandleLaunchKioskApp(const std::string& app_id, bool diagnostic_mode); | 396 void HandleLaunchKioskApp(const std::string& app_id, bool diagnostic_mode); |
| 398 void HandleRetrieveAuthenticatedUserEmail(double attempt_token); | |
| 399 void HandleGetPublicSessionKeyboardLayouts(const std::string& user_id, | 397 void HandleGetPublicSessionKeyboardLayouts(const std::string& user_id, |
| 400 const std::string& locale); | 398 const std::string& locale); |
| 401 void HandleCancelConsumerManagementEnrollment(); | 399 void HandleCancelConsumerManagementEnrollment(); |
| 402 void HandleGetTouchViewState(); | 400 void HandleGetTouchViewState(); |
| 403 void HandleSwitchToEmbeddedSignin(); | 401 void HandleSwitchToEmbeddedSignin(); |
| 404 | 402 |
| 405 // Sends the list of |keyboard_layouts| available for the |locale| that is | 403 // Sends the list of |keyboard_layouts| available for the |locale| that is |
| 406 // currently selected for the public session identified by |user_id|. | 404 // currently selected for the public session identified by |user_id|. |
| 407 void SendPublicSessionKeyboardLayouts( | 405 void SendPublicSessionKeyboardLayouts( |
| 408 const std::string& user_id, | 406 const std::string& user_id, |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 513 auto_enrollment_progress_subscription_; | 511 auto_enrollment_progress_subscription_; |
| 514 | 512 |
| 515 bool caps_lock_enabled_; | 513 bool caps_lock_enabled_; |
| 516 | 514 |
| 517 base::Closure kiosk_enable_flow_aborted_callback_for_test_; | 515 base::Closure kiosk_enable_flow_aborted_callback_for_test_; |
| 518 | 516 |
| 519 // Non-owning ptr. | 517 // Non-owning ptr. |
| 520 // TODO(ygorshenin@): remove this dependency. | 518 // TODO(ygorshenin@): remove this dependency. |
| 521 GaiaScreenHandler* gaia_screen_handler_; | 519 GaiaScreenHandler* gaia_screen_handler_; |
| 522 | 520 |
| 523 // Helper that retrieves the authenticated user's e-mail address. | |
| 524 scoped_ptr<AuthenticatedUserEmailRetriever> email_retriever_; | |
| 525 | |
| 526 // Maximized mode controller delegate. | 521 // Maximized mode controller delegate. |
| 527 scoped_ptr<TouchViewControllerDelegate> max_mode_delegate_; | 522 scoped_ptr<TouchViewControllerDelegate> max_mode_delegate_; |
| 528 | 523 |
| 529 // Whether consumer management enrollment is in progress. | 524 // Whether consumer management enrollment is in progress. |
| 530 bool is_enrolling_consumer_management_; | 525 bool is_enrolling_consumer_management_; |
| 531 | 526 |
| 532 // Input Method Engine state used at signin screen. | 527 // Input Method Engine state used at signin screen. |
| 533 scoped_refptr<input_method::InputMethodManager::State> ime_state_; | 528 scoped_refptr<input_method::InputMethodManager::State> ime_state_; |
| 534 | 529 |
| 535 // This callback captures "focusPod finished" event for tests. | 530 // This callback captures "focusPod finished" event for tests. |
| 536 base::Closure test_focus_pod_callback_; | 531 base::Closure test_focus_pod_callback_; |
| 537 | 532 |
| 538 // True if SigninScreenHandler has already been added to OobeUI observers. | 533 // True if SigninScreenHandler has already been added to OobeUI observers. |
| 539 bool oobe_ui_observer_added_; | 534 bool oobe_ui_observer_added_; |
| 540 | 535 |
| 541 scoped_ptr<ErrorScreensHistogramHelper> histogram_helper_; | 536 scoped_ptr<ErrorScreensHistogramHelper> histogram_helper_; |
| 542 | 537 |
| 543 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; | 538 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; |
| 544 | 539 |
| 545 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); | 540 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); |
| 546 }; | 541 }; |
| 547 | 542 |
| 548 } // namespace chromeos | 543 } // namespace chromeos |
| 549 | 544 |
| 550 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ | 545 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ |
| OLD | NEW |