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

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: Fixed patch staleness 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 16
16 DOMLoginDisplayHost::~DOMLoginDisplayHost() {} 17 DOMLoginDisplayHost::~DOMLoginDisplayHost() {
18 }
17 19
18 // LoginDisplayHost implementation ----------------------------------------- 20 // LoginDisplayHost implementation -----------------------------------------
19 21
20 LoginDisplay* DOMLoginDisplayHost::CreateLoginDisplay( 22 LoginDisplay* DOMLoginDisplayHost::CreateLoginDisplay(
21 LoginDisplay::Delegate* delegate) const { 23 LoginDisplay::Delegate* delegate) const {
22 DOMLoginDisplay* dom_login_display = DOMLoginDisplay::GetInstance(); 24 DOMLoginDisplay* dom_login_display = DOMLoginDisplay::GetInstance();
23 dom_login_display->set_delegate(delegate); 25 dom_login_display->set_delegate(delegate);
24 dom_login_display->set_background_bounds(background_bounds()); 26 dom_login_display->set_background_bounds(background_bounds());
25 return dom_login_display; 27 return dom_login_display;
26 } 28 }
27 29
28 gfx::NativeWindow DOMLoginDisplayHost::GetNativeWindow() const { 30 gfx::NativeWindow DOMLoginDisplayHost::GetNativeWindow() const {
29 return NULL; 31 return NULL;
30 } 32 }
31 33
32 void DOMLoginDisplayHost::SetOobeProgress(BackgroundView::LoginStep step) {} 34 void DOMLoginDisplayHost::SetOobeProgress(BackgroundView::LoginStep step) {
35 }
33 36
34 void DOMLoginDisplayHost::SetOobeProgressBarVisible(bool visible) {} 37 void DOMLoginDisplayHost::SetOobeProgressBarVisible(bool visible) {
38 }
35 39
36 void DOMLoginDisplayHost::SetShutdownButtonEnabled(bool enable) {} 40 void DOMLoginDisplayHost::SetShutdownButtonEnabled(bool enable) {
41 }
37 42
38 void DOMLoginDisplayHost::SetStatusAreaEnabled(bool enable) {} 43 void DOMLoginDisplayHost::SetStatusAreaEnabled(bool enable) {
44 }
39 45
40 void DOMLoginDisplayHost::SetStatusAreaVisible(bool visible) {} 46 void DOMLoginDisplayHost::SetStatusAreaVisible(bool visible) {
47 }
41 48
42 void DOMLoginDisplayHost::ShowBackground() {} 49 void DOMLoginDisplayHost::ShowBackground() {
50 }
43 51
44 } // namespace chromeos 52 } // namespace chromeos
45 53
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/dom_login_display_host.h ('k') | chrome/browser/chromeos/login/webui_login_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698