Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(536)

Side by Side Diff: chrome/browser/chromeos/login/ui/login_display_host_impl.h

Issue 2771803003: Don't start FRE from the login screen (Closed)
Patch Set: Fix browser tests Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 explicit LoginDisplayHostImpl(const gfx::Rect& wallpaper_bounds); 61 explicit LoginDisplayHostImpl(const gfx::Rect& wallpaper_bounds);
62 ~LoginDisplayHostImpl() override; 62 ~LoginDisplayHostImpl() override;
63 63
64 // LoginDisplayHost implementation: 64 // LoginDisplayHost implementation:
65 LoginDisplay* CreateLoginDisplay(LoginDisplay::Delegate* delegate) override; 65 LoginDisplay* CreateLoginDisplay(LoginDisplay::Delegate* delegate) override;
66 gfx::NativeWindow GetNativeWindow() const override; 66 gfx::NativeWindow GetNativeWindow() const override;
67 OobeUI* GetOobeUI() const override; 67 OobeUI* GetOobeUI() const override;
68 WebUILoginView* GetWebUILoginView() const override; 68 WebUILoginView* GetWebUILoginView() const override;
69 void BeforeSessionStart() override; 69 void BeforeSessionStart() override;
70 void Finalize() override; 70 void Finalize() override;
71 void OnCompleteLogin() override;
72 void OpenProxySettings() override; 71 void OpenProxySettings() override;
73 void SetStatusAreaVisible(bool visible) override; 72 void SetStatusAreaVisible(bool visible) override;
74 AutoEnrollmentController* GetAutoEnrollmentController() override;
75 void StartWizard(OobeScreen first_screen) override; 73 void StartWizard(OobeScreen first_screen) override;
76 WizardController* GetWizardController() override; 74 WizardController* GetWizardController() override;
77 AppLaunchController* GetAppLaunchController() override; 75 AppLaunchController* GetAppLaunchController() override;
78 void StartUserAdding(const base::Closure& completion_callback) override; 76 void StartUserAdding(const base::Closure& completion_callback) override;
79 void CancelUserAdding() override; 77 void CancelUserAdding() override;
80 void StartSignInScreen(const LoginScreenContext& context) override; 78 void StartSignInScreen(const LoginScreenContext& context) override;
81 void OnPreferencesChanged() override; 79 void OnPreferencesChanged() override;
82 void PrewarmAuthentication() override; 80 void PrewarmAuthentication() override;
83 void StartAppLaunch( 81 void StartAppLaunch(
84 const std::string& app_id, 82 const std::string& app_id,
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 void TryToPlayStartupSound(); 198 void TryToPlayStartupSound();
201 199
202 // Called when login-prompt-visible signal is caught. 200 // Called when login-prompt-visible signal is caught.
203 void OnLoginPromptVisible(); 201 void OnLoginPromptVisible();
204 202
205 // Used to calculate position of the screens and wallpaper. 203 // Used to calculate position of the screens and wallpaper.
206 gfx::Rect wallpaper_bounds_; 204 gfx::Rect wallpaper_bounds_;
207 205
208 content::NotificationRegistrar registrar_; 206 content::NotificationRegistrar registrar_;
209 207
210 // The controller driving the auto-enrollment check.
211 std::unique_ptr<AutoEnrollmentController> auto_enrollment_controller_;
212
213 // Sign in screen controller. 208 // Sign in screen controller.
214 std::unique_ptr<ExistingUserController> existing_user_controller_; 209 std::unique_ptr<ExistingUserController> existing_user_controller_;
215 210
216 // OOBE and some screens (camera, recovery) controller. 211 // OOBE and some screens (camera, recovery) controller.
217 std::unique_ptr<WizardController> wizard_controller_; 212 std::unique_ptr<WizardController> wizard_controller_;
218 213
219 std::unique_ptr<SignInScreenController> signin_screen_controller_; 214 std::unique_ptr<SignInScreenController> signin_screen_controller_;
220 215
221 // App launch controller. 216 // App launch controller.
222 std::unique_ptr<AppLaunchController> app_launch_controller_; 217 std::unique_ptr<AppLaunchController> app_launch_controller_;
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 321
327 base::WeakPtrFactory<LoginDisplayHostImpl> pointer_factory_; 322 base::WeakPtrFactory<LoginDisplayHostImpl> pointer_factory_;
328 base::WeakPtrFactory<LoginDisplayHostImpl> animation_weak_ptr_factory_; 323 base::WeakPtrFactory<LoginDisplayHostImpl> animation_weak_ptr_factory_;
329 324
330 DISALLOW_COPY_AND_ASSIGN(LoginDisplayHostImpl); 325 DISALLOW_COPY_AND_ASSIGN(LoginDisplayHostImpl);
331 }; 326 };
332 327
333 } // namespace chromeos 328 } // namespace chromeos
334 329
335 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_HOST_IMPL_H_ 330 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_LOGIN_DISPLAY_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698