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/dom_login_display_host.h" | |
6 | |
7 #include "chrome/browser/chromeos/login/dom_login_display.h" | |
8 | |
9 namespace chromeos { | |
10 | |
11 // DOMLoginDisplayHost ------------------------------------------------------- | |
12 | |
13 DOMLoginDisplayHost::DOMLoginDisplayHost(const gfx::Rect& background_bounds) | |
14 : BaseLoginDisplayHost(background_bounds) { | |
15 } | |
16 | |
17 DOMLoginDisplayHost::~DOMLoginDisplayHost() { | |
18 } | |
19 | |
20 // LoginDisplayHost implementation ----------------------------------------- | |
21 | |
22 LoginDisplay* DOMLoginDisplayHost::CreateLoginDisplay( | |
23 LoginDisplay::Delegate* delegate) const { | |
24 DOMLoginDisplay* dom_login_display = DOMLoginDisplay::GetInstance(); | |
25 dom_login_display->set_delegate(delegate); | |
26 dom_login_display->set_background_bounds(background_bounds()); | |
27 return dom_login_display; | |
28 } | |
29 | |
30 gfx::NativeWindow DOMLoginDisplayHost::GetNativeWindow() const { | |
31 return NULL; | |
32 } | |
33 | |
34 void DOMLoginDisplayHost::SetOobeProgress(BackgroundView::LoginStep step) { | |
35 } | |
36 | |
37 void DOMLoginDisplayHost::SetOobeProgressBarVisible(bool visible) { | |
38 } | |
39 | |
40 void DOMLoginDisplayHost::SetShutdownButtonEnabled(bool enable) { | |
41 } | |
42 | |
43 void DOMLoginDisplayHost::SetStatusAreaEnabled(bool enable) { | |
44 } | |
45 | |
46 void DOMLoginDisplayHost::SetStatusAreaVisible(bool visible) { | |
47 } | |
48 | |
49 void DOMLoginDisplayHost::ShowBackground() { | |
50 } | |
51 | |
52 } // namespace chromeos | |
53 | |
OLD | NEW |