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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 LoginDisplay* CreateLoginDisplay(LoginDisplay::Delegate* delegate) override; | 64 LoginDisplay* CreateLoginDisplay(LoginDisplay::Delegate* delegate) override; |
65 gfx::NativeWindow GetNativeWindow() const override; | 65 gfx::NativeWindow GetNativeWindow() const override; |
66 OobeUI* GetOobeUI() const override; | 66 OobeUI* GetOobeUI() const override; |
67 WebUILoginView* GetWebUILoginView() const override; | 67 WebUILoginView* GetWebUILoginView() const override; |
68 void BeforeSessionStart() override; | 68 void BeforeSessionStart() override; |
69 void Finalize() override; | 69 void Finalize() override; |
70 void OnCompleteLogin() override; | 70 void OnCompleteLogin() override; |
71 void OpenProxySettings() override; | 71 void OpenProxySettings() override; |
72 void SetStatusAreaVisible(bool visible) override; | 72 void SetStatusAreaVisible(bool visible) override; |
73 AutoEnrollmentController* GetAutoEnrollmentController() override; | 73 AutoEnrollmentController* GetAutoEnrollmentController() override; |
74 void StartWizard(const std::string& first_screen_name) override; | 74 void StartWizard(OobeScreen first_screen_name) override; |
75 WizardController* GetWizardController() override; | 75 WizardController* GetWizardController() override; |
76 AppLaunchController* GetAppLaunchController() override; | 76 AppLaunchController* GetAppLaunchController() override; |
77 void StartUserAdding(const base::Closure& completion_callback) override; | 77 void StartUserAdding(const base::Closure& completion_callback) override; |
78 void CancelUserAdding() override; | 78 void CancelUserAdding() override; |
79 void StartSignInScreen(const LoginScreenContext& context) override; | 79 void StartSignInScreen(const LoginScreenContext& context) override; |
80 void OnPreferencesChanged() override; | 80 void OnPreferencesChanged() override; |
81 void PrewarmAuthentication() override; | 81 void PrewarmAuthentication() override; |
82 void StartAppLaunch( | 82 void StartAppLaunch( |
83 const std::string& app_id, | 83 const std::string& app_id, |
84 bool diagnostic_mode, | 84 bool diagnostic_mode, |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
265 // pods to load. | 265 // pods to load. |
266 bool waiting_for_user_pods_; | 266 bool waiting_for_user_pods_; |
267 | 267 |
268 // How many times renderer has crashed. | 268 // How many times renderer has crashed. |
269 int crash_count_; | 269 int crash_count_; |
270 | 270 |
271 // Way to restore if renderer have crashed. | 271 // Way to restore if renderer have crashed. |
272 RestorePath restore_path_; | 272 RestorePath restore_path_; |
273 | 273 |
274 // Stored parameters for StartWizard, required to restore in case of crash. | 274 // Stored parameters for StartWizard, required to restore in case of crash. |
275 std::string first_screen_name_; | 275 OobeScreen first_screen_name_; |
276 | 276 |
277 // Called before host deletion. | 277 // Called before host deletion. |
278 base::Closure completion_callback_; | 278 base::Closure completion_callback_; |
279 | 279 |
280 // Active instance of authentication prewarmer. | 280 // Active instance of authentication prewarmer. |
281 std::unique_ptr<AuthPrewarmer> auth_prewarmer_; | 281 std::unique_ptr<AuthPrewarmer> auth_prewarmer_; |
282 | 282 |
283 // A focus ring controller to draw focus ring around view for keyboard | 283 // A focus ring controller to draw focus ring around view for keyboard |
284 // driven oobe. | 284 // driven oobe. |
285 std::unique_ptr<FocusRingController> focus_ring_controller_; | 285 std::unique_ptr<FocusRingController> focus_ring_controller_; |
(...skipping 27 matching lines...) Expand all Loading... |
313 | 313 |
314 base::WeakPtrFactory<LoginDisplayHostImpl> pointer_factory_; | 314 base::WeakPtrFactory<LoginDisplayHostImpl> pointer_factory_; |
315 base::WeakPtrFactory<LoginDisplayHostImpl> animation_weak_ptr_factory_; | 315 base::WeakPtrFactory<LoginDisplayHostImpl> animation_weak_ptr_factory_; |
316 | 316 |
317 DISALLOW_COPY_AND_ASSIGN(LoginDisplayHostImpl); | 317 DISALLOW_COPY_AND_ASSIGN(LoginDisplayHostImpl); |
318 }; | 318 }; |
319 | 319 |
320 } // namespace chromeos | 320 } // namespace chromeos |
321 | 321 |
322 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_HOST_IMPL_H_ | 322 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_HOST_IMPL_H_ |
OLD | NEW |