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

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 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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 // Initializes the handlers. 131 // Initializes the handlers.
132 void InitializeHandlers(); 132 void InitializeHandlers();
133 133
134 // Invoked after the async assets load. The screen handler that has the same 134 // Invoked after the async assets load. The screen handler that has the same
135 // async assets load id will be initialized. 135 // async assets load id will be initialized.
136 void OnScreenAssetsLoaded(const std::string& async_assets_load_id); 136 void OnScreenAssetsLoaded(const std::string& async_assets_load_id);
137 137
138 // Shows or hides OOBE UI elements. 138 // Shows or hides OOBE UI elements.
139 void ShowOobeUI(bool show); 139 void ShowOobeUI(bool show);
140 140
141 // TODO(rkc): Create a separate retail mode login UI and move this method
142 // there - see crbug.com/157671.
143 // Shows a login spinner for retail mode logins.
144 void ShowRetailModeLoginSpinner();
145
146 // Shows the signin screen. 141 // Shows the signin screen.
147 void ShowSigninScreen(const LoginScreenContext& context, 142 void ShowSigninScreen(const LoginScreenContext& context,
148 SigninScreenHandlerDelegate* delegate, 143 SigninScreenHandlerDelegate* delegate,
149 NativeWindowDelegate* native_window_delegate); 144 NativeWindowDelegate* native_window_delegate);
150 145
151 // Resets the delegate set in ShowSigninScreen. 146 // Resets the delegate set in ShowSigninScreen.
152 void ResetSigninScreenHandlerDelegate(); 147 void ResetSigninScreenHandlerDelegate();
153 148
154 // Add and remove observers for screen change events. 149 // Add and remove observers for screen change events.
155 void AddObserver(Observer* observer); 150 void AddObserver(Observer* observer);
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 246
252 // List of registered observers. 247 // List of registered observers.
253 ObserverList<Observer> observer_list_; 248 ObserverList<Observer> observer_list_;
254 249
255 DISALLOW_COPY_AND_ASSIGN(OobeUI); 250 DISALLOW_COPY_AND_ASSIGN(OobeUI);
256 }; 251 };
257 252
258 } // namespace chromeos 253 } // namespace chromeos
259 254
260 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_OOBE_UI_H_ 255 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_OOBE_UI_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/startup/startup_browser_creator.cc ('k') | chrome/browser/ui/webui/chromeos/login/oobe_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698