OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "chrome/browser/chromeos/login/webui_login_display_host.h" |
| 6 |
| 7 #include "chrome/browser/chromeos/login/webui_login_display.h" |
| 8 |
| 9 namespace chromeos { |
| 10 |
| 11 // WebUILoginDisplayHost ------------------------------------------------------- |
| 12 |
| 13 WebUILoginDisplayHost::WebUILoginDisplayHost(const gfx::Rect& background_bounds) |
| 14 : BaseLoginDisplayHost(background_bounds) { |
| 15 } |
| 16 |
| 17 WebUILoginDisplayHost::~WebUILoginDisplayHost() { |
| 18 } |
| 19 |
| 20 // LoginDisplayHost implementation --------------------------------------------- |
| 21 |
| 22 LoginDisplay* WebUILoginDisplayHost::CreateLoginDisplay( |
| 23 LoginDisplay::Delegate* delegate) const { |
| 24 WebUILoginDisplay* webui_login_display = WebUILoginDisplay::GetInstance(); |
| 25 webui_login_display->set_delegate(delegate); |
| 26 webui_login_display->set_background_bounds(background_bounds()); |
| 27 return webui_login_display; |
| 28 } |
| 29 |
| 30 gfx::NativeWindow WebUILoginDisplayHost::GetNativeWindow() const { |
| 31 return NULL; |
| 32 } |
| 33 |
| 34 void WebUILoginDisplayHost::SetOobeProgress(BackgroundView::LoginStep step) { |
| 35 } |
| 36 |
| 37 void WebUILoginDisplayHost::SetOobeProgressBarVisible(bool visible) { |
| 38 } |
| 39 |
| 40 void WebUILoginDisplayHost::SetShutdownButtonEnabled(bool enable) { |
| 41 } |
| 42 |
| 43 void WebUILoginDisplayHost::SetStatusAreaEnabled(bool enable) { |
| 44 } |
| 45 |
| 46 void WebUILoginDisplayHost::SetStatusAreaVisible(bool visible) { |
| 47 } |
| 48 |
| 49 void WebUILoginDisplayHost::ShowBackground() { |
| 50 } |
| 51 |
| 52 } // namespace chromeos |
| 53 |
OLD | NEW |