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

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

Issue 7111033: Ties up OOBE controllers and WebUI handlers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge 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_view.h
diff --git a/chrome/browser/chromeos/login/webui_login_view.h b/chrome/browser/chromeos/login/webui_login_view.h
index ac8327f9fef09681d1b48867e59b3ce6dd4f3291..f0dabbd688c7a14f3d05a9c37d2f5166bade0926 100644
--- a/chrome/browser/chromeos/login/webui_login_view.h
+++ b/chrome/browser/chromeos/login/webui_login_view.h
@@ -13,6 +13,7 @@
class DOMView;
class GURL;
class Profile;
+class WebUI;
namespace views {
class Widget;
@@ -33,10 +34,10 @@ class WebUILoginView : public views::View,
WebUILoginView();
virtual ~WebUILoginView();
- // Initializes the webui login view. |login_url| must be specified.
- virtual void Init(const GURL& login_url);
+ // Initializes the webui login view.
+ virtual void Init();
- // Overriden from views::Views:
+ // Overridden from views::Views:
virtual std::string GetClassName() const OVERRIDE;
// Overridden from StatusAreaHost:
@@ -46,6 +47,12 @@ class WebUILoginView : public views::View,
// after we've painted.
void UpdateWindowType();
+ // Loads given page. Should be called after Init() has been called.
+ void LoadURL(const GURL& url);
+
+ // Returns current WebUI.
+ WebUI* GetWebUI();
+
protected:
// Overridden from views::View:
virtual void Layout() OVERRIDE;
« no previous file with comments | « chrome/browser/chromeos/login/webui_login_display_host.cc ('k') | chrome/browser/chromeos/login/webui_login_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698