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

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

Issue 10056001: chromeos: Remove old status-area related code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 8 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/webui_login_display_host.h" 5 #include "chrome/browser/chromeos/login/webui_login_display_host.h"
6 6
7 #include "ash/shell.h" 7 #include "ash/shell.h"
8 #include "ash/shell_window_ids.h" 8 #include "ash/shell_window_ids.h"
9 #include "ash/wm/window_animations.h" 9 #include "ash/wm/window_animations.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 login_view_->OpenProxySettings(); 71 login_view_->OpenProxySettings();
72 } 72 }
73 73
74 void WebUILoginDisplayHost::SetOobeProgressBarVisible(bool visible) { 74 void WebUILoginDisplayHost::SetOobeProgressBarVisible(bool visible) {
75 GetOobeUI()->ShowOobeUI(visible); 75 GetOobeUI()->ShowOobeUI(visible);
76 } 76 }
77 77
78 void WebUILoginDisplayHost::SetShutdownButtonEnabled(bool enable) { 78 void WebUILoginDisplayHost::SetShutdownButtonEnabled(bool enable) {
79 } 79 }
80 80
81 void WebUILoginDisplayHost::SetStatusAreaEnabled(bool enable) {
82 if (login_view_)
83 login_view_->SetStatusAreaEnabled(enable);
84 }
85
86 void WebUILoginDisplayHost::SetStatusAreaVisible(bool visible) { 81 void WebUILoginDisplayHost::SetStatusAreaVisible(bool visible) {
87 if (login_view_) 82 if (login_view_)
88 login_view_->SetStatusAreaVisible(visible); 83 login_view_->SetStatusAreaVisible(visible);
89 } 84 }
90 85
91 void WebUILoginDisplayHost::StartWizard(const std::string& first_screen_name, 86 void WebUILoginDisplayHost::StartWizard(const std::string& first_screen_name,
92 DictionaryValue* screen_parameters) { 87 DictionaryValue* screen_parameters) {
93 is_showing_login_ = false; 88 is_showing_login_ = false;
94 89
95 scoped_ptr<DictionaryValue> scoped_parameters(screen_parameters); 90 scoped_ptr<DictionaryValue> scoped_parameters(screen_parameters);
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 return static_cast<OobeUI*>(login_view_->GetWebUI()->GetController()); 180 return static_cast<OobeUI*>(login_view_->GetWebUI()->GetController());
186 } 181 }
187 182
188 WizardController* WebUILoginDisplayHost::CreateWizardController() { 183 WizardController* WebUILoginDisplayHost::CreateWizardController() {
189 // TODO(altimofeev): ensure that WebUI is ready. 184 // TODO(altimofeev): ensure that WebUI is ready.
190 OobeDisplay* oobe_display = GetOobeUI(); 185 OobeDisplay* oobe_display = GetOobeUI();
191 return new WizardController(this, oobe_display); 186 return new WizardController(this, oobe_display);
192 } 187 }
193 188
194 } // namespace chromeos 189 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/webui_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