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

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

Issue 10928088: Factory reset screen is added (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update Created 8 years, 3 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 | Annotate | Revision Log
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_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 <string> 8 #include <string>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 // Called when user pod with |username| is selected at login screen. 86 // Called when user pod with |username| is selected at login screen.
87 // |username| is the email address of the selected user. 87 // |username| is the email address of the selected user.
88 virtual void OnUserSelected(const std::string& username) = 0; 88 virtual void OnUserSelected(const std::string& username) = 0;
89 89
90 // Attempts to remove given user. 90 // Attempts to remove given user.
91 virtual void RemoveUser(const std::string& username) = 0; 91 virtual void RemoveUser(const std::string& username) = 0;
92 92
93 // Shows Enterprise Enrollment screen. 93 // Shows Enterprise Enrollment screen.
94 virtual void ShowEnterpriseEnrollmentScreen() = 0; 94 virtual void ShowEnterpriseEnrollmentScreen() = 0;
95 95
96 // Shows Reset screen.
97 virtual void ShowResetScreen() = 0;
98
96 // Let the delegate know about the handler it is supposed to be using. 99 // Let the delegate know about the handler it is supposed to be using.
97 virtual void SetWebUIHandler(LoginDisplayWebUIHandler* webui_handler) = 0; 100 virtual void SetWebUIHandler(LoginDisplayWebUIHandler* webui_handler) = 0;
98 101
99 // Returns users list to be shown. 102 // Returns users list to be shown.
100 virtual const UserList& GetUsers() const = 0; 103 virtual const UserList& GetUsers() const = 0;
101 104
102 // Whether login as guest is available. 105 // Whether login as guest is available.
103 virtual bool IsShowGuest() const = 0; 106 virtual bool IsShowGuest() const = 0;
104 107
105 // Whether login as guest is available. 108 // Whether login as guest is available.
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 void HandleFixCaptivePortal(const base::ListValue* args); 203 void HandleFixCaptivePortal(const base::ListValue* args);
201 void HandleShowCaptivePortal(const base::ListValue* args); 204 void HandleShowCaptivePortal(const base::ListValue* args);
202 void HandleHideCaptivePortal(const base::ListValue* args); 205 void HandleHideCaptivePortal(const base::ListValue* args);
203 void HandleOfflineLogin(const base::ListValue* args); 206 void HandleOfflineLogin(const base::ListValue* args);
204 void HandleShutdownSystem(const base::ListValue* args); 207 void HandleShutdownSystem(const base::ListValue* args);
205 void HandleUserDeselected(const base::ListValue* args); 208 void HandleUserDeselected(const base::ListValue* args);
206 void HandleUserSelected(const base::ListValue* args); 209 void HandleUserSelected(const base::ListValue* args);
207 void HandleRemoveUser(const base::ListValue* args); 210 void HandleRemoveUser(const base::ListValue* args);
208 void HandleShowAddUser(const base::ListValue* args); 211 void HandleShowAddUser(const base::ListValue* args);
209 void HandleToggleEnrollmentScreen(const base::ListValue* args); 212 void HandleToggleEnrollmentScreen(const base::ListValue* args);
213 void HandleToggleResetScreen(const base::ListValue* args);
210 void HandleLaunchHelpApp(const base::ListValue* args); 214 void HandleLaunchHelpApp(const base::ListValue* args);
211 void HandleCreateAccount(const base::ListValue* args); 215 void HandleCreateAccount(const base::ListValue* args);
212 void HandleAccountPickerReady(const base::ListValue* args); 216 void HandleAccountPickerReady(const base::ListValue* args);
213 void HandleWallpaperReady(const base::ListValue* args); 217 void HandleWallpaperReady(const base::ListValue* args);
214 void HandleLoginWebuiReady(const base::ListValue* args); 218 void HandleLoginWebuiReady(const base::ListValue* args);
215 void HandleLoginRequestNetworkState(const base::ListValue* args); 219 void HandleLoginRequestNetworkState(const base::ListValue* args);
216 void HandleLoginAddNetworkStateObserver(const base::ListValue* args); 220 void HandleLoginAddNetworkStateObserver(const base::ListValue* args);
217 void HandleLoginRemoveNetworkStateObserver(const base::ListValue* args); 221 void HandleLoginRemoveNetworkStateObserver(const base::ListValue* args);
218 void HandleDemoWebuiReady(const base::ListValue* args); 222 void HandleDemoWebuiReady(const base::ListValue* args);
219 void HandleSignOutUser(const base::ListValue* args); 223 void HandleSignOutUser(const base::ListValue* args);
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 300
297 // Set to true once |LOGIN_WEBUI_VISIBLE| notification is observed. 301 // Set to true once |LOGIN_WEBUI_VISIBLE| notification is observed.
298 bool webui_visible_; 302 bool webui_visible_;
299 303
300 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); 304 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler);
301 }; 305 };
302 306
303 } // namespace chromeos 307 } // namespace chromeos
304 308
305 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ 309 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698