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

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

Issue 7382001: [ChromeOS] WebUI OOBE/Login refactoring. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync and address comments in set #1 Created 9 years, 5 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.h
diff --git a/chrome/browser/chromeos/login/webui_login_display.h b/chrome/browser/chromeos/login/webui_login_display.h
index 79a1308ef372f31e2ffdfc3e7edb9d13125b3448..32a0925b300ae1bbc7cc198dee592b630c9eb228 100644
--- a/chrome/browser/chromeos/login/webui_login_display.h
+++ b/chrome/browser/chromeos/login/webui_login_display.h
@@ -13,7 +13,7 @@
#include "base/memory/singleton.h"
#include "chrome/browser/chromeos/login/login_display.h"
#include "chrome/browser/chromeos/login/user_manager.h"
-#include "chrome/browser/ui/webui/chromeos/login/login_ui.h"
+#include "chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h"
#include "views/widget/widget.h"
namespace gfx {
@@ -40,7 +40,7 @@ namespace chromeos {
// set_login_handler(this);
class WebUILoginDisplay : public LoginDisplay,
- public LoginUIHandlerDelegate {
+ public SigninScreenHandlerDelegate {
public:
virtual ~WebUILoginDisplay();
@@ -68,7 +68,9 @@ class WebUILoginDisplay : public LoginDisplay,
int login_attempts,
HelpAppLauncher::HelpTopic help_topic_id) OVERRIDE;
- // LoginUIHandlerDelegate
+ // SigninScreenHandlerDelegate implementation:
+ virtual void SetWebUIHandler(
+ LoginDisplayWebUIHandler* webui_handler) OVERRIDE;
virtual void Login(const std::string& username,
const std::string& password) OVERRIDE;
virtual void LoginAsGuest() OVERRIDE;
@@ -88,6 +90,9 @@ class WebUILoginDisplay : public LoginDisplay,
// Container of the screen we are displaying
views::Widget* login_window_;
+ // Reference to the WebUI handling layer for the login screen
+ LoginDisplayWebUIHandler* webui_handler_;
+
DISALLOW_COPY_AND_ASSIGN(WebUILoginDisplay);
};

Powered by Google App Engine
This is Rietveld 408576698