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

Unified Diff: chrome/browser/chromeos/login/webui_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
Index: chrome/browser/chromeos/login/webui_login_display_host.cc
diff --git a/chrome/browser/chromeos/login/webui_login_display_host.cc b/chrome/browser/chromeos/login/webui_login_display_host.cc
new file mode 100644
index 0000000000000000000000000000000000000000..ced024cf6f8e11326921fb12b1494e94f8624514
--- /dev/null
+++ b/chrome/browser/chromeos/login/webui_login_display_host.cc
@@ -0,0 +1,53 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/browser/chromeos/login/webui_login_display_host.h"
+
+#include "chrome/browser/chromeos/login/webui_login_display.h"
+
+namespace chromeos {
+
+// WebUILoginDisplayHost -------------------------------------------------------
+
+WebUILoginDisplayHost::WebUILoginDisplayHost(const gfx::Rect& background_bounds)
+ : BaseLoginDisplayHost(background_bounds) {
+}
+
+WebUILoginDisplayHost::~WebUILoginDisplayHost() {
+}
+
+// LoginDisplayHost implementation ---------------------------------------------
+
+LoginDisplay* WebUILoginDisplayHost::CreateLoginDisplay(
+ LoginDisplay::Delegate* delegate) const {
+ WebUILoginDisplay* webui_login_display = WebUILoginDisplay::GetInstance();
+ webui_login_display->set_delegate(delegate);
+ webui_login_display->set_background_bounds(background_bounds());
+ return webui_login_display;
+}
+
+gfx::NativeWindow WebUILoginDisplayHost::GetNativeWindow() const {
+ return NULL;
+}
+
+void WebUILoginDisplayHost::SetOobeProgress(BackgroundView::LoginStep step) {
+}
+
+void WebUILoginDisplayHost::SetOobeProgressBarVisible(bool visible) {
+}
+
+void WebUILoginDisplayHost::SetShutdownButtonEnabled(bool enable) {
+}
+
+void WebUILoginDisplayHost::SetStatusAreaEnabled(bool enable) {
+}
+
+void WebUILoginDisplayHost::SetStatusAreaVisible(bool visible) {
+}
+
+void WebUILoginDisplayHost::ShowBackground() {
+}
+
+} // namespace chromeos
+
« no previous file with comments | « chrome/browser/chromeos/login/webui_login_display_host.h ('k') | chrome/browser/extensions/extension_input_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698