| 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/signin_screen_controller.h" | 10 #include "chrome/browser/chromeos/login/signin_screen_controller.h" |
| (...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 333 | 333 |
| 334 void WebUILoginDisplay::Signout() { | 334 void WebUILoginDisplay::Signout() { |
| 335 delegate_->Signout(); | 335 delegate_->Signout(); |
| 336 } | 336 } |
| 337 | 337 |
| 338 void WebUILoginDisplay::OnUserActivity(const ui::Event* event) { | 338 void WebUILoginDisplay::OnUserActivity(const ui::Event* event) { |
| 339 if (delegate_) | 339 if (delegate_) |
| 340 delegate_->ResetPublicSessionAutoLoginTimer(); | 340 delegate_->ResetPublicSessionAutoLoginTimer(); |
| 341 } | 341 } |
| 342 | 342 |
| 343 bool WebUILoginDisplay::IsUserWhitelisted(const std::string& user_id) { |
| 344 DCHECK(delegate_); |
| 345 if (delegate_) |
| 346 return delegate_->IsUserWhitelisted(user_id); |
| 347 return true; |
| 348 } |
| 343 | 349 |
| 344 } // namespace chromeos | 350 } // namespace chromeos |
| OLD | NEW |