| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_HOST_IMPL_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_HOST_IMPL_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_HOST_IMPL_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_HOST_IMPL_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 explicit LoginDisplayHostImpl(const gfx::Rect& wallpaper_bounds); | 57 explicit LoginDisplayHostImpl(const gfx::Rect& wallpaper_bounds); |
| 58 ~LoginDisplayHostImpl() override; | 58 ~LoginDisplayHostImpl() override; |
| 59 | 59 |
| 60 // LoginDisplayHost implementation: | 60 // LoginDisplayHost implementation: |
| 61 LoginDisplay* CreateLoginDisplay(LoginDisplay::Delegate* delegate) override; | 61 LoginDisplay* CreateLoginDisplay(LoginDisplay::Delegate* delegate) override; |
| 62 gfx::NativeWindow GetNativeWindow() const override; | 62 gfx::NativeWindow GetNativeWindow() const override; |
| 63 OobeUI* GetOobeUI() const override; | 63 OobeUI* GetOobeUI() const override; |
| 64 WebUILoginView* GetWebUILoginView() const override; | 64 WebUILoginView* GetWebUILoginView() const override; |
| 65 void BeforeSessionStart() override; | 65 void BeforeSessionStart() override; |
| 66 void Finalize() override; | 66 void Finalize() override; |
| 67 void OnCompleteLogin() override; | |
| 68 void OpenProxySettings() override; | 67 void OpenProxySettings() override; |
| 69 void SetStatusAreaVisible(bool visible) override; | 68 void SetStatusAreaVisible(bool visible) override; |
| 70 AutoEnrollmentController* GetAutoEnrollmentController() override; | |
| 71 void StartWizard(OobeScreen first_screen) override; | 69 void StartWizard(OobeScreen first_screen) override; |
| 72 WizardController* GetWizardController() override; | 70 WizardController* GetWizardController() override; |
| 73 AppLaunchController* GetAppLaunchController() override; | 71 AppLaunchController* GetAppLaunchController() override; |
| 74 void StartUserAdding(const base::Closure& completion_callback) override; | 72 void StartUserAdding(const base::Closure& completion_callback) override; |
| 75 void CancelUserAdding() override; | 73 void CancelUserAdding() override; |
| 76 void StartSignInScreen(const LoginScreenContext& context) override; | 74 void StartSignInScreen(const LoginScreenContext& context) override; |
| 77 void OnPreferencesChanged() override; | 75 void OnPreferencesChanged() override; |
| 78 void PrewarmAuthentication() override; | 76 void PrewarmAuthentication() override; |
| 79 void StartAppLaunch( | 77 void StartAppLaunch( |
| 80 const std::string& app_id, | 78 const std::string& app_id, |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 void TryToPlayStartupSound(); | 186 void TryToPlayStartupSound(); |
| 189 | 187 |
| 190 // Called when login-prompt-visible signal is caught. | 188 // Called when login-prompt-visible signal is caught. |
| 191 void OnLoginPromptVisible(); | 189 void OnLoginPromptVisible(); |
| 192 | 190 |
| 193 // Used to calculate position of the screens and wallpaper. | 191 // Used to calculate position of the screens and wallpaper. |
| 194 gfx::Rect wallpaper_bounds_; | 192 gfx::Rect wallpaper_bounds_; |
| 195 | 193 |
| 196 content::NotificationRegistrar registrar_; | 194 content::NotificationRegistrar registrar_; |
| 197 | 195 |
| 198 // The controller driving the auto-enrollment check. | |
| 199 std::unique_ptr<AutoEnrollmentController> auto_enrollment_controller_; | |
| 200 | |
| 201 // Sign in screen controller. | 196 // Sign in screen controller. |
| 202 std::unique_ptr<ExistingUserController> existing_user_controller_; | 197 std::unique_ptr<ExistingUserController> existing_user_controller_; |
| 203 | 198 |
| 204 // OOBE and some screens (camera, recovery) controller. | 199 // OOBE and some screens (camera, recovery) controller. |
| 205 std::unique_ptr<WizardController> wizard_controller_; | 200 std::unique_ptr<WizardController> wizard_controller_; |
| 206 | 201 |
| 207 std::unique_ptr<SignInScreenController> signin_screen_controller_; | 202 std::unique_ptr<SignInScreenController> signin_screen_controller_; |
| 208 | 203 |
| 209 // App launch controller. | 204 // App launch controller. |
| 210 std::unique_ptr<AppLaunchController> app_launch_controller_; | 205 std::unique_ptr<AppLaunchController> app_launch_controller_; |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 311 | 306 |
| 312 base::WeakPtrFactory<LoginDisplayHostImpl> pointer_factory_; | 307 base::WeakPtrFactory<LoginDisplayHostImpl> pointer_factory_; |
| 313 base::WeakPtrFactory<LoginDisplayHostImpl> animation_weak_ptr_factory_; | 308 base::WeakPtrFactory<LoginDisplayHostImpl> animation_weak_ptr_factory_; |
| 314 | 309 |
| 315 DISALLOW_COPY_AND_ASSIGN(LoginDisplayHostImpl); | 310 DISALLOW_COPY_AND_ASSIGN(LoginDisplayHostImpl); |
| 316 }; | 311 }; |
| 317 | 312 |
| 318 } // namespace chromeos | 313 } // namespace chromeos |
| 319 | 314 |
| 320 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_HOST_IMPL_H_ | 315 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_HOST_IMPL_H_ |
| OLD | NEW |