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

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

Issue 83293004: kiosk: Show enrollment screen first if needed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, fix LOG(INFO) Created 7 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 | Annotate | Revision Log
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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 GetAppLaunchSplashScreenActor() OVERRIDE; 95 GetAppLaunchSplashScreenActor() OVERRIDE;
96 virtual bool IsJSReady(const base::Closure& display_is_ready_callback) 96 virtual bool IsJSReady(const base::Closure& display_is_ready_callback)
97 OVERRIDE; 97 OVERRIDE;
98 98
99 // Collects localized strings from the owned handlers. 99 // Collects localized strings from the owned handlers.
100 void GetLocalizedStrings(base::DictionaryValue* localized_strings); 100 void GetLocalizedStrings(base::DictionaryValue* localized_strings);
101 101
102 // Initializes the handlers. 102 // Initializes the handlers.
103 void InitializeHandlers(); 103 void InitializeHandlers();
104 104
105 // Invoked after the async assets load. The screen handler that has the same
106 // async assets load id will be initialized.
107 void OnScreenAssetsLoaded(const std::string& async_assets_load_id);
108
105 // Shows or hides OOBE UI elements. 109 // Shows or hides OOBE UI elements.
106 void ShowOobeUI(bool show); 110 void ShowOobeUI(bool show);
107 111
108 // TODO(rkc): Create a separate retail mode login UI and move this method 112 // TODO(rkc): Create a separate retail mode login UI and move this method
109 // there - see crbug.com/157671. 113 // there - see crbug.com/157671.
110 // Shows a login spinner for retail mode logins. 114 // Shows a login spinner for retail mode logins.
111 void ShowRetailModeLoginSpinner(); 115 void ShowRetailModeLoginSpinner();
112 116
113 // Shows the signin screen. 117 // Shows the signin screen.
114 void ShowSigninScreen(const LoginScreenContext& context, 118 void ShowSigninScreen(const LoginScreenContext& context,
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 210
207 // List of registered observers. 211 // List of registered observers.
208 ObserverList<Observer> observer_list_; 212 ObserverList<Observer> observer_list_;
209 213
210 DISALLOW_COPY_AND_ASSIGN(OobeUI); 214 DISALLOW_COPY_AND_ASSIGN(OobeUI);
211 }; 215 };
212 216
213 } // namespace chromeos 217 } // namespace chromeos
214 218
215 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_OOBE_UI_H_ 219 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_OOBE_UI_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/chromeos/login/enrollment_screen_handler.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