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

Unified Diff: chrome/browser/chromeos/login/webui_login_display_host.h

Issue 7111033: Ties up OOBE controllers and WebUI handlers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed browser_tests Created 9 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/login/webui_login_display_host.h
diff --git a/chrome/browser/chromeos/login/webui_login_display_host.h b/chrome/browser/chromeos/login/webui_login_display_host.h
index 7644446cc0413bd2bbf27ca6377ae0e0684d0e0f..655e629bedbd05b1e9857a5a46541322232eb848 100644
--- a/chrome/browser/chromeos/login/webui_login_display_host.h
+++ b/chrome/browser/chromeos/login/webui_login_display_host.h
@@ -16,6 +16,8 @@ class Rect;
namespace chromeos {
+class WebUILoginView;
+
// WebUI-specific implementation of the OOBE/login screen host. Uses
// WebUILoginDisplay as the login screen UI implementation,
class WebUILoginDisplayHost : public BaseLoginDisplayHost {
@@ -33,8 +35,22 @@ class WebUILoginDisplayHost : public BaseLoginDisplayHost {
virtual void SetStatusAreaEnabled(bool enable) OVERRIDE;
virtual void SetStatusAreaVisible(bool visible) OVERRIDE;
virtual void ShowBackground() OVERRIDE;
+ virtual void StartWizard(const std::string& first_screen_name,
Nikita (slow) 2011/06/07 16:34:33 OVERRIDE for both?
altimofeev 2011/06/09 09:59:43 Done.
+ const GURL& start_url);
+ virtual void StartSignInScreen();
+
+ // BaseLoginDisplayHost overrides:
+ virtual WizardController* CreateWizardController();
Nikita (slow) 2011/06/07 16:34:33 OVERRIDE?
altimofeev 2011/06/09 09:59:43 Done.
private:
+ // Loads given URL. Creates WebUILoginView if needed.
+ void LoadURL(const GURL& url);
+
+ // Container of the screen we are displaying.
+ views::Widget* login_window_;
+ // Container of the view we are displaying.
+ WebUILoginView* login_view_;
+
DISALLOW_COPY_AND_ASSIGN(WebUILoginDisplayHost);
};
« no previous file with comments | « chrome/browser/chromeos/login/webui_login_display.cc ('k') | chrome/browser/chromeos/login/webui_login_display_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698