Home | History | Annotate | Download | only in login
      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 DOMLoginDisplayHost::~DOMLoginDisplayHost() {}
     17 
     18 // LoginDisplayHost implementation -----------------------------------------
     19 
     20 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 
     28 gfx::NativeWindow DOMLoginDisplayHost::GetNativeWindow() const {
     29   return NULL;
     30 }
     31 
     32 void DOMLoginDisplayHost::SetOobeProgress(BackgroundView::LoginStep step) {}
     33 
     34 void DOMLoginDisplayHost::SetOobeProgressBarVisible(bool visible) {}
     35 
     36 void DOMLoginDisplayHost::SetShutdownButtonEnabled(bool enable) {}
     37 
     38 void DOMLoginDisplayHost::SetStatusAreaEnabled(bool enable) {}
     39 
     40 void DOMLoginDisplayHost::SetStatusAreaVisible(bool visible) {}
     41 
     42 void DOMLoginDisplayHost::ShowBackground() {}
     43 
     44 }  // namespace chromeos
     45 
     46