| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/ui/webui_login_display.h" | 5 #include "chrome/browser/chromeos/login/ui/webui_login_display.h" |
| 6 | 6 |
| 7 #include "ash/shell.h" | 7 #include "ash/shell.h" |
| 8 #include "chrome/browser/chromeos/accessibility/accessibility_manager.h" | 8 #include "chrome/browser/chromeos/accessibility/accessibility_manager.h" |
| 9 #include "chrome/browser/chromeos/login/lock/screen_locker.h" | 9 #include "chrome/browser/chromeos/login/lock/screen_locker.h" |
| 10 #include "chrome/browser/chromeos/login/screens/chrome_user_selection_screen.h" | 10 #include "chrome/browser/chromeos/login/screens/chrome_user_selection_screen.h" |
| (...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 297 DCHECK(delegate_); | 297 DCHECK(delegate_); |
| 298 if (delegate_) | 298 if (delegate_) |
| 299 delegate_->ResyncUserData(); | 299 delegate_->ResyncUserData(); |
| 300 } | 300 } |
| 301 | 301 |
| 302 void WebUILoginDisplay::ShowEnterpriseEnrollmentScreen() { | 302 void WebUILoginDisplay::ShowEnterpriseEnrollmentScreen() { |
| 303 if (delegate_) | 303 if (delegate_) |
| 304 delegate_->OnStartEnterpriseEnrollment(); | 304 delegate_->OnStartEnterpriseEnrollment(); |
| 305 } | 305 } |
| 306 | 306 |
| 307 void WebUILoginDisplay::ShowEnableDebuggingScreen() { |
| 308 if (delegate_) |
| 309 delegate_->OnStartEnableDebuggingScreen(); |
| 310 } |
| 311 |
| 307 void WebUILoginDisplay::ShowKioskEnableScreen() { | 312 void WebUILoginDisplay::ShowKioskEnableScreen() { |
| 308 if (delegate_) | 313 if (delegate_) |
| 309 delegate_->OnStartKioskEnableScreen(); | 314 delegate_->OnStartKioskEnableScreen(); |
| 310 } | 315 } |
| 311 | 316 |
| 312 void WebUILoginDisplay::ShowKioskAutolaunchScreen() { | 317 void WebUILoginDisplay::ShowKioskAutolaunchScreen() { |
| 313 if (delegate_) | 318 if (delegate_) |
| 314 delegate_->OnStartKioskAutolaunchScreen(); | 319 delegate_->OnStartKioskAutolaunchScreen(); |
| 315 } | 320 } |
| 316 | 321 |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 358 delegate_->Signout(); | 363 delegate_->Signout(); |
| 359 } | 364 } |
| 360 | 365 |
| 361 void WebUILoginDisplay::OnUserActivity(const ui::Event* event) { | 366 void WebUILoginDisplay::OnUserActivity(const ui::Event* event) { |
| 362 if (delegate_) | 367 if (delegate_) |
| 363 delegate_->ResetPublicSessionAutoLoginTimer(); | 368 delegate_->ResetPublicSessionAutoLoginTimer(); |
| 364 } | 369 } |
| 365 | 370 |
| 366 | 371 |
| 367 } // namespace chromeos | 372 } // namespace chromeos |
| OLD | NEW |