Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(203)

Side by Side Diff: chrome/browser/chromeos/login/dom_login_display_host.h

Issue 7015024: Converted from DOM to WebUI for new login method (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Updating the patch after confirming with the most recent version of the code Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/dom_login_display.cc ('k') | chrome/browser/chromeos/login/dom_login_display_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698