| 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 436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 447 content::NotificationRegistrar registrar_; | 447 content::NotificationRegistrar registrar_; |
| 448 | 448 |
| 449 // Whether there is an auth UI pending. This flag is set on receiving | 449 // Whether there is an auth UI pending. This flag is set on receiving |
| 450 // NOTIFICATION_AUTH_NEEDED and reset on either NOTIFICATION_AUTH_SUPPLIED or | 450 // NOTIFICATION_AUTH_NEEDED and reset on either NOTIFICATION_AUTH_SUPPLIED or |
| 451 // NOTIFICATION_AUTH_CANCELLED. | 451 // NOTIFICATION_AUTH_CANCELLED. |
| 452 bool has_pending_auth_ui_; | 452 bool has_pending_auth_ui_; |
| 453 | 453 |
| 454 bool caps_lock_enabled_; | 454 bool caps_lock_enabled_; |
| 455 | 455 |
| 456 // Non-owning ptr. | 456 // Non-owning ptr. |
| 457 // TODO(ygorshenin@): remove this dependency. | 457 // TODO(antrim@): remove this dependency. |
| 458 GaiaScreenHandler* gaia_screen_handler_; | 458 GaiaScreenHandler* gaia_screen_handler_; |
| 459 | 459 |
| 460 // Maximized mode controller delegate. | 460 // Maximized mode controller delegate. |
| 461 scoped_ptr<TouchViewControllerDelegate> max_mode_delegate_; | 461 scoped_ptr<TouchViewControllerDelegate> max_mode_delegate_; |
| 462 | 462 |
| 463 // Whether consumer management enrollment is in progress. | 463 // Whether consumer management enrollment is in progress. |
| 464 bool is_enrolling_consumer_management_; | 464 bool is_enrolling_consumer_management_; |
| 465 | 465 |
| 466 // Input Method Engine state used at signin screen. | 466 // Input Method Engine state used at signin screen. |
| 467 scoped_refptr<input_method::InputMethodManager::State> ime_state_; | 467 scoped_refptr<input_method::InputMethodManager::State> ime_state_; |
| 468 | 468 |
| 469 // This callback captures "focusPod finished" event for tests. | 469 // This callback captures "focusPod finished" event for tests. |
| 470 base::Closure test_focus_pod_callback_; | 470 base::Closure test_focus_pod_callback_; |
| 471 | 471 |
| 472 // True if SigninScreenHandler has already been added to OobeUI observers. | 472 // True if SigninScreenHandler has already been added to OobeUI observers. |
| 473 bool oobe_ui_observer_added_; | 473 bool oobe_ui_observer_added_; |
| 474 | 474 |
| 475 scoped_ptr<ErrorScreensHistogramHelper> histogram_helper_; | 475 scoped_ptr<ErrorScreensHistogramHelper> histogram_helper_; |
| 476 | 476 |
| 477 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; | 477 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; |
| 478 | 478 |
| 479 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); | 479 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); |
| 480 }; | 480 }; |
| 481 | 481 |
| 482 } // namespace chromeos | 482 } // namespace chromeos |
| 483 | 483 |
| 484 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ | 484 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ |
| OLD | NEW |