| 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 19 matching lines...) Expand all Loading... |
| 30 #include "chromeos/ime/ime_keyboard.h" | 30 #include "chromeos/ime/ime_keyboard.h" |
| 31 #include "chromeos/ime/input_method_manager.h" | 31 #include "chromeos/ime/input_method_manager.h" |
| 32 #include "chromeos/network/portal_detector/network_portal_detector.h" | 32 #include "chromeos/network/portal_detector/network_portal_detector.h" |
| 33 #include "components/user_manager/user_manager.h" | 33 #include "components/user_manager/user_manager.h" |
| 34 #include "content/public/browser/notification_observer.h" | 34 #include "content/public/browser/notification_observer.h" |
| 35 #include "content/public/browser/notification_registrar.h" | 35 #include "content/public/browser/notification_registrar.h" |
| 36 #include "content/public/browser/web_ui.h" | 36 #include "content/public/browser/web_ui.h" |
| 37 #include "net/base/net_errors.h" | 37 #include "net/base/net_errors.h" |
| 38 #include "ui/events/event_handler.h" | 38 #include "ui/events/event_handler.h" |
| 39 | 39 |
| 40 class EasyUnlockService; |
| 41 |
| 40 namespace base { | 42 namespace base { |
| 41 class DictionaryValue; | 43 class DictionaryValue; |
| 42 class ListValue; | 44 class ListValue; |
| 43 } | 45 } |
| 44 | 46 |
| 45 namespace chromeos { | 47 namespace chromeos { |
| 46 | 48 |
| 47 class AuthenticatedUserEmailRetriever; | 49 class AuthenticatedUserEmailRetriever; |
| 48 class CaptivePortalWindowProxy; | 50 class CaptivePortalWindowProxy; |
| 49 class CoreOobeActor; | 51 class CoreOobeActor; |
| (...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 452 | 454 |
| 453 GaiaScreenHandler::FrameState FrameState() const; | 455 GaiaScreenHandler::FrameState FrameState() const; |
| 454 net::Error FrameError() const; | 456 net::Error FrameError() const; |
| 455 | 457 |
| 456 // input_method::ImeKeyboard::Observer implementation: | 458 // input_method::ImeKeyboard::Observer implementation: |
| 457 virtual void OnCapsLockChanged(bool enabled) OVERRIDE; | 459 virtual void OnCapsLockChanged(bool enabled) OVERRIDE; |
| 458 | 460 |
| 459 // Returns OobeUI object of NULL. | 461 // Returns OobeUI object of NULL. |
| 460 OobeUI* GetOobeUI() const; | 462 OobeUI* GetOobeUI() const; |
| 461 | 463 |
| 464 // Gets the easy unlock service associated with the user. Can return NULL if |
| 465 // user cannot be found, or there is not associated service. |
| 466 EasyUnlockService* GetEasyUnlockServiceForUser( |
| 467 const std::string& username) const; |
| 468 |
| 462 // Current UI state of the signin screen. | 469 // Current UI state of the signin screen. |
| 463 UIState ui_state_; | 470 UIState ui_state_; |
| 464 | 471 |
| 465 // A delegate that glues this handler with backend LoginDisplay. | 472 // A delegate that glues this handler with backend LoginDisplay. |
| 466 SigninScreenHandlerDelegate* delegate_; | 473 SigninScreenHandlerDelegate* delegate_; |
| 467 | 474 |
| 468 // A delegate used to get gfx::NativeWindow. | 475 // A delegate used to get gfx::NativeWindow. |
| 469 NativeWindowDelegate* native_window_delegate_; | 476 NativeWindowDelegate* native_window_delegate_; |
| 470 | 477 |
| 471 // Whether screen should be shown right after initialization. | 478 // Whether screen should be shown right after initialization. |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 533 scoped_ptr<ErrorScreensHistogramHelper> histogram_helper_; | 540 scoped_ptr<ErrorScreensHistogramHelper> histogram_helper_; |
| 534 | 541 |
| 535 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; | 542 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; |
| 536 | 543 |
| 537 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); | 544 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); |
| 538 }; | 545 }; |
| 539 | 546 |
| 540 } // namespace chromeos | 547 } // namespace chromeos |
| 541 | 548 |
| 542 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ | 549 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ |
| OLD | NEW |