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

Side by Side Diff: chrome/browser/chromeos/login/signin_screen_controller.h

Issue 2555453003: cros: HTML fixes needed to reinitializing an existing lock WebUI. (Closed)
Patch Set: Address comments Created 4 years 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_SIGNIN_SCREEN_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_SCREEN_CONTROLLER_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_SCREEN_CONTROLLER_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_SCREEN_CONTROLLER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "chrome/browser/chromeos/login/screens/gaia_screen.h" 9 #include "chrome/browser/chromeos/login/screens/gaia_screen.h"
10 #include "chrome/browser/chromeos/login/screens/user_selection_screen.h" 10 #include "chrome/browser/chromeos/login/screens/user_selection_screen.h"
11 #include "chrome/browser/chromeos/login/ui/login_display_host.h" 11 #include "chrome/browser/chromeos/login/ui/login_display_host.h"
12 #include "components/user_manager/remove_user_delegate.h" 12 #include "components/user_manager/remove_user_delegate.h"
13 #include "components/user_manager/user.h" 13 #include "components/user_manager/user.h"
14 #include "content/public/browser/notification_observer.h" 14 #include "content/public/browser/notification_observer.h"
15 #include "content/public/browser/notification_registrar.h" 15 #include "content/public/browser/notification_registrar.h"
16 16
17 class AccountId; 17 class AccountId;
18 18
19 namespace chromeos { 19 namespace chromeos {
20 20
21 class LoginDisplayWebUIHandler; 21 class LoginDisplayWebUIHandler;
22 class OobeUI; 22 class OobeUI;
23 23
24 // Class that manages control flow between wizard screens. Wizard controller 24 // Class that manages control flow between wizard screens. Wizard controller
25 // interacts with screen controllers to move the user between screens. 25 // interacts with screen controllers to move the user between screens.
26 //
27 // This class is allocated when the signin or lock screen is actually visible to
28 // the user. It is a 'per-session' class; SignInScreenHandler, in comparsion, is
29 // tied to the WebContents lifetime and therefore may live beyond this class.
26 class SignInScreenController : public user_manager::RemoveUserDelegate, 30 class SignInScreenController : public user_manager::RemoveUserDelegate,
27 public content::NotificationObserver { 31 public content::NotificationObserver {
28 public: 32 public:
29 SignInScreenController(OobeUI* oobe_ui, 33 SignInScreenController(OobeUI* oobe_ui,
30 LoginDisplay::Delegate* login_display_delegate); 34 LoginDisplay::Delegate* login_display_delegate);
31 ~SignInScreenController() override; 35 ~SignInScreenController() override;
32 36
33 // Returns the default wizard controller if it has been created. 37 // Returns the default wizard controller if it has been created.
34 static SignInScreenController* Get() { return instance_; } 38 static SignInScreenController* Get() { return instance_; }
35 39
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 78
75 // Used for notifications during the login process. 79 // Used for notifications during the login process.
76 content::NotificationRegistrar registrar_; 80 content::NotificationRegistrar registrar_;
77 81
78 DISALLOW_COPY_AND_ASSIGN(SignInScreenController); 82 DISALLOW_COPY_AND_ASSIGN(SignInScreenController);
79 }; 83 };
80 84
81 } // namespace chromeos 85 } // namespace chromeos
82 86
83 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_SCREEN_CONTROLLER_H_ 87 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_SCREEN_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/screens/user_selection_screen.cc ('k') | chrome/browser/resources/chromeos/login/lock.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698