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

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

Issue 608283003: Remove retail mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_OOBE_UI_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_OOBE_UI_H_
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_OOBE_UI_H_ 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_OOBE_UI_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 // Initializes the handlers. 122 // Initializes the handlers.
123 void InitializeHandlers(); 123 void InitializeHandlers();
124 124
125 // Invoked after the async assets load. The screen handler that has the same 125 // Invoked after the async assets load. The screen handler that has the same
126 // async assets load id will be initialized. 126 // async assets load id will be initialized.
127 void OnScreenAssetsLoaded(const std::string& async_assets_load_id); 127 void OnScreenAssetsLoaded(const std::string& async_assets_load_id);
128 128
129 // Shows or hides OOBE UI elements. 129 // Shows or hides OOBE UI elements.
130 void ShowOobeUI(bool show); 130 void ShowOobeUI(bool show);
131 131
132 // TODO(rkc): Create a separate retail mode login UI and move this method
133 // there - see crbug.com/157671.
134 // Shows a login spinner for retail mode logins.
135 void ShowRetailModeLoginSpinner();
136
137 // Shows the signin screen. 132 // Shows the signin screen.
138 void ShowSigninScreen(const LoginScreenContext& context, 133 void ShowSigninScreen(const LoginScreenContext& context,
139 SigninScreenHandlerDelegate* delegate, 134 SigninScreenHandlerDelegate* delegate,
140 NativeWindowDelegate* native_window_delegate); 135 NativeWindowDelegate* native_window_delegate);
141 136
142 // Resets the delegate set in ShowSigninScreen. 137 // Resets the delegate set in ShowSigninScreen.
143 void ResetSigninScreenHandlerDelegate(); 138 void ResetSigninScreenHandlerDelegate();
144 139
145 // Add and remove observers for screen change events. 140 // Add and remove observers for screen change events.
146 void AddObserver(Observer* observer); 141 void AddObserver(Observer* observer);
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 233
239 // List of registered observers. 234 // List of registered observers.
240 ObserverList<Observer> observer_list_; 235 ObserverList<Observer> observer_list_;
241 236
242 DISALLOW_COPY_AND_ASSIGN(OobeUI); 237 DISALLOW_COPY_AND_ASSIGN(OobeUI);
243 }; 238 };
244 239
245 } // namespace chromeos 240 } // namespace chromeos
246 241
247 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_OOBE_UI_H_ 242 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_OOBE_UI_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698