• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 
DOMLoginDisplayHost(const gfx::Rect & background_bounds)13 DOMLoginDisplayHost::DOMLoginDisplayHost(const gfx::Rect& background_bounds)
14     : BaseLoginDisplayHost(background_bounds) {}
15 
~DOMLoginDisplayHost()16 DOMLoginDisplayHost::~DOMLoginDisplayHost() {}
17 
18 // LoginDisplayHost implementation -----------------------------------------
19 
CreateLoginDisplay(LoginDisplay::Delegate * delegate) const20 LoginDisplay* DOMLoginDisplayHost::CreateLoginDisplay(
21     LoginDisplay::Delegate* delegate) const {
22   DOMLoginDisplay* dom_login_display = DOMLoginDisplay::GetInstance();
23   dom_login_display->set_delegate(delegate);
24   dom_login_display->set_background_bounds(background_bounds());
25   return dom_login_display;
26 }
27 
GetNativeWindow() const28 gfx::NativeWindow DOMLoginDisplayHost::GetNativeWindow() const {
29   return NULL;
30 }
31 
SetOobeProgress(BackgroundView::LoginStep step)32 void DOMLoginDisplayHost::SetOobeProgress(BackgroundView::LoginStep step) {}
33 
SetOobeProgressBarVisible(bool visible)34 void DOMLoginDisplayHost::SetOobeProgressBarVisible(bool visible) {}
35 
SetShutdownButtonEnabled(bool enable)36 void DOMLoginDisplayHost::SetShutdownButtonEnabled(bool enable) {}
37 
SetStatusAreaEnabled(bool enable)38 void DOMLoginDisplayHost::SetStatusAreaEnabled(bool enable) {}
39 
SetStatusAreaVisible(bool visible)40 void DOMLoginDisplayHost::SetStatusAreaVisible(bool visible) {}
41 
ShowBackground()42 void DOMLoginDisplayHost::ShowBackground() {}
43 
44 }  // namespace chromeos
45 
46