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

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

Issue 6973029: Integrate WebUI Login with cros. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Implemented login screen using widget Created 9 years, 7 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
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/chromeos/login/dom_login_display_host.h" 5 #include "chrome/browser/chromeos/login/dom_login_display_host.h"
6 6
7 #include "chrome/browser/chromeos/login/dom_login_display.h" 7 #include "chrome/browser/chromeos/login/dom_login_display.h"
8 8
9 namespace chromeos { 9 namespace chromeos {
10 10
11 // DOMLoginDisplayHost ------------------------------------------------------- 11 // DOMLoginDisplayHost -------------------------------------------------------
12 12
13 DOMLoginDisplayHost::DOMLoginDisplayHost(const gfx::Rect& background_bounds) 13 DOMLoginDisplayHost::DOMLoginDisplayHost(const gfx::Rect& background_bounds)
14 : BaseLoginDisplayHost(background_bounds) {} 14 : BaseLoginDisplayHost(background_bounds) {
15 15
oshima 2011/05/18 18:24:54 remove empty line. same for the rest.
rharrison 2011/05/19 00:31:43 Done.
16 DOMLoginDisplayHost::~DOMLoginDisplayHost() {} 16 }
17
18 DOMLoginDisplayHost::~DOMLoginDisplayHost() {
19 }
17 20
18 // LoginDisplayHost implementation ----------------------------------------- 21 // LoginDisplayHost implementation -----------------------------------------
19 22
20 LoginDisplay* DOMLoginDisplayHost::CreateLoginDisplay( 23 LoginDisplay* DOMLoginDisplayHost::CreateLoginDisplay(
21 LoginDisplay::Delegate* delegate) const { 24 LoginDisplay::Delegate* delegate) const {
22 DOMLoginDisplay* dom_login_display = DOMLoginDisplay::GetInstance(); 25 DOMLoginDisplay* dom_login_display = DOMLoginDisplay::GetInstance();
23 dom_login_display->set_delegate(delegate); 26 dom_login_display->set_delegate(delegate);
24 dom_login_display->set_background_bounds(background_bounds()); 27 dom_login_display->set_background_bounds(background_bounds());
25 return dom_login_display; 28 return dom_login_display;
26 } 29 }
27 30
28 gfx::NativeWindow DOMLoginDisplayHost::GetNativeWindow() const { 31 gfx::NativeWindow DOMLoginDisplayHost::GetNativeWindow() const {
29 return NULL; 32 return NULL;
oshima 2011/05/18 18:24:54 indent
rharrison 2011/05/19 00:31:43 Done.
30 } 33 }
31 34
32 void DOMLoginDisplayHost::SetOobeProgress(BackgroundView::LoginStep step) {} 35 void DOMLoginDisplayHost::SetOobeProgress(BackgroundView::LoginStep step) {
33 36
34 void DOMLoginDisplayHost::SetOobeProgressBarVisible(bool visible) {} 37 }
35 38
36 void DOMLoginDisplayHost::SetShutdownButtonEnabled(bool enable) {} 39 void DOMLoginDisplayHost::SetOobeProgressBarVisible(bool visible) {
37 40
38 void DOMLoginDisplayHost::SetStatusAreaEnabled(bool enable) {} 41 }
39 42
40 void DOMLoginDisplayHost::SetStatusAreaVisible(bool visible) {} 43 void DOMLoginDisplayHost::SetShutdownButtonEnabled(bool enable) {
41 44
42 void DOMLoginDisplayHost::ShowBackground() {} 45 }
46
47 void DOMLoginDisplayHost::SetStatusAreaEnabled(bool enable) {
48
49 }
50
51 void DOMLoginDisplayHost::SetStatusAreaVisible(bool visible) {
52
53 }
54
55 void DOMLoginDisplayHost::ShowBackground() {
56
57 }
43 58
44 } // namespace chromeos 59 } // namespace chromeos
45 60
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698