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

Unified Diff: chrome/browser/chromeos/login/base_login_display_host.cc

Issue 7015024: Converted from DOM to WebUI for new login method (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Updating the patch after confirming with the most recent version of the code Created 9 years, 7 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/dom_login_display.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/base_login_display_host.cc
diff --git a/chrome/browser/chromeos/login/base_login_display_host.cc b/chrome/browser/chromeos/login/base_login_display_host.cc
index f1a1e0f8b93ecf73a12c07124ecd3063df0e238a..4be1c8242019e8af77001a44d73d5cd8c4ca9fc0 100644
--- a/chrome/browser/chromeos/login/base_login_display_host.cc
+++ b/chrome/browser/chromeos/login/base_login_display_host.cc
@@ -38,7 +38,7 @@
#if defined(TOUCH_UI)
#include "base/command_line.h"
-#include "chrome/browser/chromeos/login/dom_login_display_host.h"
+#include "chrome/browser/chromeos/login/webui_login_display_host.h"
#endif
namespace {
@@ -233,8 +233,8 @@ void ShowLoginWizard(const std::string& first_screen_name,
// TODO(nkostylev) Create LoginDisplayHost instance based on flag.
#if defined(TOUCH_UI)
chromeos::LoginDisplayHost* display_host;
- if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kDOMLogin)) {
- display_host = new chromeos::DOMLoginDisplayHost(screen_bounds);
+ if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kWebUILogin)) {
+ display_host = new chromeos::WebUILoginDisplayHost(screen_bounds);
} else {
display_host = new chromeos::ViewsLoginDisplayHost(screen_bounds);
}
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/dom_login_display.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698