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 "chrome/browser/chromeos/accessibility/accessibility_manager.h" | 7 #include "chrome/browser/chromeos/accessibility/accessibility_manager.h" |
8 #include "chrome/browser/chromeos/login/lock/screen_locker.h" | 8 #include "chrome/browser/chromeos/login/lock/screen_locker.h" |
9 #include "chrome/browser/chromeos/login/screens/chrome_user_selection_screen.h" | 9 #include "chrome/browser/chromeos/login/screens/chrome_user_selection_screen.h" |
10 #include "chrome/browser/chromeos/login/ui/login_display_host_impl.h" | 10 #include "chrome/browser/chromeos/login/ui/login_display_host_impl.h" |
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
290 DCHECK(delegate_); | 290 DCHECK(delegate_); |
291 if (delegate_) | 291 if (delegate_) |
292 delegate_->ResyncUserData(); | 292 delegate_->ResyncUserData(); |
293 } | 293 } |
294 | 294 |
295 void WebUILoginDisplay::ShowEnterpriseEnrollmentScreen() { | 295 void WebUILoginDisplay::ShowEnterpriseEnrollmentScreen() { |
296 if (delegate_) | 296 if (delegate_) |
297 delegate_->OnStartEnterpriseEnrollment(); | 297 delegate_->OnStartEnterpriseEnrollment(); |
298 } | 298 } |
299 | 299 |
| 300 void WebUILoginDisplay::ShowEnableDebuggingScreen() { |
| 301 if (delegate_) |
| 302 delegate_->OnStartEnableDebuggingScreen(); |
| 303 } |
| 304 |
300 void WebUILoginDisplay::ShowKioskEnableScreen() { | 305 void WebUILoginDisplay::ShowKioskEnableScreen() { |
301 if (delegate_) | 306 if (delegate_) |
302 delegate_->OnStartKioskEnableScreen(); | 307 delegate_->OnStartKioskEnableScreen(); |
303 } | 308 } |
304 | 309 |
305 void WebUILoginDisplay::ShowKioskAutolaunchScreen() { | 310 void WebUILoginDisplay::ShowKioskAutolaunchScreen() { |
306 if (delegate_) | 311 if (delegate_) |
307 delegate_->OnStartKioskAutolaunchScreen(); | 312 delegate_->OnStartKioskAutolaunchScreen(); |
308 } | 313 } |
309 | 314 |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
351 delegate_->Signout(); | 356 delegate_->Signout(); |
352 } | 357 } |
353 | 358 |
354 void WebUILoginDisplay::OnUserActivity(const ui::Event* event) { | 359 void WebUILoginDisplay::OnUserActivity(const ui::Event* event) { |
355 if (delegate_) | 360 if (delegate_) |
356 delegate_->ResetPublicSessionAutoLoginTimer(); | 361 delegate_->ResetPublicSessionAutoLoginTimer(); |
357 } | 362 } |
358 | 363 |
359 | 364 |
360 } // namespace chromeos | 365 } // namespace chromeos |
OLD | NEW |