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

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 merge 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/webui_login_display.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1bbb47aec36a397f9ee4e86d1a80b7e1e7e9b137..e43be209f9d7052371a812fc0287eafd0224fe98 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,12 +68,14 @@ class WebUILoginDisplay : public LoginDisplay,
int login_attempts,
HelpAppLauncher::HelpTopic help_topic_id) OVERRIDE;
- // LoginUIHandlerDelegate
+ // SigninScreenHandlerDelegate implementation:
virtual void CompleteLogin(const std::string& username,
const std::string& password) OVERRIDE;
virtual void Login(const std::string& username,
const std::string& password) OVERRIDE;
virtual void LoginAsGuest() OVERRIDE;
+ virtual void SetWebUIHandler(
+ LoginDisplayWebUIHandler* webui_handler) OVERRIDE;
void set_login_window(views::Widget* login_window) {
login_window_ = login_window;
@@ -90,6 +92,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);
};
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/webui_login_display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698