OLD | NEW |
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.h" | 5 #include "chrome/browser/chromeos/login/webui_login_display.h" |
6 | 6 |
7 #include "chrome/browser/chromeos/accessibility/accessibility_util.h" | 7 #include "chrome/browser/chromeos/accessibility/accessibility_util.h" |
8 #include "chrome/browser/chromeos/input_method/input_method_configuration.h" | 8 #include "chrome/browser/chromeos/input_method/input_method_configuration.h" |
9 #include "chrome/browser/chromeos/input_method/input_method_manager.h" | 9 #include "chrome/browser/chromeos/input_method/input_method_manager.h" |
10 #include "chrome/browser/chromeos/input_method/xkeyboard.h" | 10 #include "chrome/browser/chromeos/input_method/xkeyboard.h" |
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
270 void WebUILoginDisplay::ShowEnterpriseEnrollmentScreen() { | 270 void WebUILoginDisplay::ShowEnterpriseEnrollmentScreen() { |
271 if (delegate_) | 271 if (delegate_) |
272 delegate_->OnStartEnterpriseEnrollment(); | 272 delegate_->OnStartEnterpriseEnrollment(); |
273 } | 273 } |
274 | 274 |
275 void WebUILoginDisplay::ShowResetScreen() { | 275 void WebUILoginDisplay::ShowResetScreen() { |
276 if (delegate_) | 276 if (delegate_) |
277 delegate_->OnStartDeviceReset(); | 277 delegate_->OnStartDeviceReset(); |
278 } | 278 } |
279 | 279 |
| 280 void WebUILoginDisplay::ShowWrongHWIDScreen() { |
| 281 if (delegate_) |
| 282 delegate_->ShowWrongHWIDScreen(); |
| 283 } |
| 284 |
280 void WebUILoginDisplay::SetWebUIHandler( | 285 void WebUILoginDisplay::SetWebUIHandler( |
281 LoginDisplayWebUIHandler* webui_handler) { | 286 LoginDisplayWebUIHandler* webui_handler) { |
282 webui_handler_ = webui_handler; | 287 webui_handler_ = webui_handler; |
283 } | 288 } |
284 | 289 |
285 void WebUILoginDisplay::ShowSigninScreenForCreds( | 290 void WebUILoginDisplay::ShowSigninScreenForCreds( |
286 const std::string& username, | 291 const std::string& username, |
287 const std::string& password) { | 292 const std::string& password) { |
288 if (webui_handler_) | 293 if (webui_handler_) |
289 webui_handler_->ShowSigninScreenForCreds(username, password); | 294 webui_handler_->ShowSigninScreenForCreds(username, password); |
(...skipping 18 matching lines...) Expand all Loading... |
308 void WebUILoginDisplay::SetDisplayEmail(const std::string& email) { | 313 void WebUILoginDisplay::SetDisplayEmail(const std::string& email) { |
309 if (delegate_) | 314 if (delegate_) |
310 delegate_->SetDisplayEmail(email); | 315 delegate_->SetDisplayEmail(email); |
311 } | 316 } |
312 | 317 |
313 void WebUILoginDisplay::Signout() { | 318 void WebUILoginDisplay::Signout() { |
314 delegate_->Signout(); | 319 delegate_->Signout(); |
315 } | 320 } |
316 | 321 |
317 } // namespace chromeos | 322 } // namespace chromeos |
OLD | NEW |