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; | 49 class AuthenticatedUserEmailRetriever; |
bartfab (slow)
2014/10/17 09:54:56
Nit: No longer used.
Roger Tawa OOO till Jul 10th
2014/10/20 16:04:01
Done.
| |
50 class CaptivePortalWindowProxy; | 50 class CaptivePortalWindowProxy; |
51 class CoreOobeActor; | 51 class CoreOobeActor; |
52 class GaiaScreenHandler; | 52 class GaiaScreenHandler; |
53 class NativeWindowDelegate; | 53 class NativeWindowDelegate; |
54 class SupervisedUserCreationScreenHandler; | 54 class SupervisedUserCreationScreenHandler; |
55 class User; | 55 class User; |
56 class UserContext; | 56 class UserContext; |
57 | 57 |
58 // Helper class to pass initial parameters to the login screen. | 58 // Helper class to pass initial parameters to the login screen. |
59 class LoginScreenContext { | 59 class LoginScreenContext { |
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
387 void HandleResyncUserData(); | 387 void HandleResyncUserData(); |
388 void HandleLoginUIStateChanged(const std::string& source, bool new_value); | 388 void HandleLoginUIStateChanged(const std::string& source, bool new_value); |
389 void HandleUnlockOnLoginSuccess(); | 389 void HandleUnlockOnLoginSuccess(); |
390 void HandleLoginScreenUpdate(); | 390 void HandleLoginScreenUpdate(); |
391 void HandleShowLoadingTimeoutError(); | 391 void HandleShowLoadingTimeoutError(); |
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); | |
bartfab (slow)
2014/10/17 09:54:56
You should remove the analogous method from |Enrol
Roger Tawa OOO till Jul 10th
2014/10/20 16:04:01
Done.
| |
398 void HandleGetPublicSessionKeyboardLayouts(const std::string& user_id, | 397 void HandleGetPublicSessionKeyboardLayouts(const std::string& user_id, |
399 const std::string& locale); | 398 const std::string& locale); |
400 void HandleCancelConsumerManagementEnrollment(); | 399 void HandleCancelConsumerManagementEnrollment(); |
401 void HandleGetTouchViewState(); | 400 void HandleGetTouchViewState(); |
402 void HandleSwitchToEmbeddedSignin(); | 401 void HandleSwitchToEmbeddedSignin(); |
403 | 402 |
404 // 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 |
405 // currently selected for the public session identified by |user_id|. | 404 // currently selected for the public session identified by |user_id|. |
406 void SendPublicSessionKeyboardLayouts( | 405 void SendPublicSessionKeyboardLayouts( |
407 const std::string& user_id, | 406 const std::string& user_id, |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
513 | 512 |
514 bool caps_lock_enabled_; | 513 bool caps_lock_enabled_; |
515 | 514 |
516 base::Closure kiosk_enable_flow_aborted_callback_for_test_; | 515 base::Closure kiosk_enable_flow_aborted_callback_for_test_; |
517 | 516 |
518 // Non-owning ptr. | 517 // Non-owning ptr. |
519 // TODO(ygorshenin@): remove this dependency. | 518 // TODO(ygorshenin@): remove this dependency. |
520 GaiaScreenHandler* gaia_screen_handler_; | 519 GaiaScreenHandler* gaia_screen_handler_; |
521 | 520 |
522 // Helper that retrieves the authenticated user's e-mail address. | 521 // Helper that retrieves the authenticated user's e-mail address. |
523 scoped_ptr<AuthenticatedUserEmailRetriever> email_retriever_; | 522 scoped_ptr<AuthenticatedUserEmailRetriever> email_retriever_; |
bartfab (slow)
2014/10/17 09:54:56
Nit: No longer used.
Roger Tawa OOO till Jul 10th
2014/10/20 16:04:01
Done.
| |
524 | 523 |
525 // Maximized mode controller delegate. | 524 // Maximized mode controller delegate. |
526 scoped_ptr<TouchViewControllerDelegate> max_mode_delegate_; | 525 scoped_ptr<TouchViewControllerDelegate> max_mode_delegate_; |
527 | 526 |
528 // Whether consumer management enrollment is in progress. | 527 // Whether consumer management enrollment is in progress. |
529 bool is_enrolling_consumer_management_; | 528 bool is_enrolling_consumer_management_; |
530 | 529 |
531 // Input Method Engine state used at signin screen. | 530 // Input Method Engine state used at signin screen. |
532 scoped_refptr<input_method::InputMethodManager::State> ime_state_; | 531 scoped_refptr<input_method::InputMethodManager::State> ime_state_; |
533 | 532 |
534 // This callback captures "focusPod finished" event for tests. | 533 // This callback captures "focusPod finished" event for tests. |
535 base::Closure test_focus_pod_callback_; | 534 base::Closure test_focus_pod_callback_; |
536 | 535 |
537 // True if SigninScreenHandler has already been added to OobeUI observers. | 536 // True if SigninScreenHandler has already been added to OobeUI observers. |
538 bool oobe_ui_observer_added_; | 537 bool oobe_ui_observer_added_; |
539 | 538 |
540 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; | 539 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; |
541 | 540 |
542 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); | 541 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); |
543 }; | 542 }; |
544 | 543 |
545 } // namespace chromeos | 544 } // namespace chromeos |
546 | 545 |
547 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ | 546 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ |
OLD | NEW |