| 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 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_DOM_LOGIN_DISPLAY_HOST_H_ | |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_DOM_LOGIN_DISPLAY_HOST_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 #include <string> | |
| 10 | |
| 11 #include "chrome/browser/chromeos/login/base_login_display_host.h" | |
| 12 | |
| 13 namespace gfx { | |
| 14 class Rect; | |
| 15 } // namespace gfx | |
| 16 | |
| 17 namespace chromeos { | |
| 18 | |
| 19 // DOM-specific implementation of the OOBE/login screen host. | |
| 20 // Uses DOMLoginDisplay as the login screen UI implementation, | |
| 21 class DOMLoginDisplayHost : public BaseLoginDisplayHost { | |
| 22 public: | |
| 23 explicit DOMLoginDisplayHost(const gfx::Rect& background_bounds); | |
| 24 virtual ~DOMLoginDisplayHost(); | |
| 25 | |
| 26 // LoginDisplayHost implementation: | |
| 27 virtual LoginDisplay* CreateLoginDisplay(LoginDisplay::Delegate* delegate) | |
| 28 const OVERRIDE; | |
| 29 virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE; | |
| 30 virtual void SetOobeProgress(BackgroundView::LoginStep step) OVERRIDE; | |
| 31 virtual void SetOobeProgressBarVisible(bool visible) OVERRIDE; | |
| 32 virtual void SetShutdownButtonEnabled(bool enable) OVERRIDE; | |
| 33 virtual void SetStatusAreaEnabled(bool enable) OVERRIDE; | |
| 34 virtual void SetStatusAreaVisible(bool visible) OVERRIDE; | |
| 35 virtual void ShowBackground() OVERRIDE; | |
| 36 | |
| 37 private: | |
| 38 DISALLOW_COPY_AND_ASSIGN(DOMLoginDisplayHost); | |
| 39 }; | |
| 40 | |
| 41 } // namespace chromeos | |
| 42 | |
| 43 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_DOM_LOGIN_DISPLAY_HOST_H_ | |
| OLD | NEW |