| 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/lock/webui_screen_locker.h" | 5 #include "chrome/browser/chromeos/login/lock/webui_screen_locker.h" |
| 6 | 6 |
| 7 #include "ash/common/wm_shell.h" | 7 #include "ash/common/wm_shell.h" |
| 8 #include "ash/shell.h" | 8 #include "ash/shell.h" |
| 9 #include "ash/system/chromeos/power/power_event_observer.h" | 9 #include "ash/system/chromeos/power/power_event_observer.h" |
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| (...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 328 void WebUIScreenLocker::ResetAutoLoginTimer() {} | 328 void WebUIScreenLocker::ResetAutoLoginTimer() {} |
| 329 | 329 |
| 330 void WebUIScreenLocker::ResyncUserData() { | 330 void WebUIScreenLocker::ResyncUserData() { |
| 331 NOTREACHED(); | 331 NOTREACHED(); |
| 332 } | 332 } |
| 333 | 333 |
| 334 void WebUIScreenLocker::SetDisplayEmail(const std::string& email) { | 334 void WebUIScreenLocker::SetDisplayEmail(const std::string& email) { |
| 335 NOTREACHED(); | 335 NOTREACHED(); |
| 336 } | 336 } |
| 337 | 337 |
| 338 void WebUIScreenLocker::SetDisplayAndGivenName(const std::string& display_name, |
| 339 const std::string& given_name) { |
| 340 NOTREACHED(); |
| 341 } |
| 342 |
| 338 void WebUIScreenLocker::Signout() { | 343 void WebUIScreenLocker::Signout() { |
| 339 chromeos::ScreenLocker::default_screen_locker()->Signout(); | 344 chromeos::ScreenLocker::default_screen_locker()->Signout(); |
| 340 } | 345 } |
| 341 | 346 |
| 342 bool WebUIScreenLocker::IsUserWhitelisted(const AccountId& account_id) { | 347 bool WebUIScreenLocker::IsUserWhitelisted(const AccountId& account_id) { |
| 343 NOTREACHED(); | 348 NOTREACHED(); |
| 344 return true; | 349 return true; |
| 345 } | 350 } |
| 346 | 351 |
| 347 //////////////////////////////////////////////////////////////////////////////// | 352 //////////////////////////////////////////////////////////////////////////////// |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 457 } | 462 } |
| 458 | 463 |
| 459 if (GetOobeUI()) { | 464 if (GetOobeUI()) { |
| 460 const gfx::Size& size = primary_display.size(); | 465 const gfx::Size& size = primary_display.size(); |
| 461 GetOobeUI()->GetCoreOobeActor()->SetClientAreaSize(size.width(), | 466 GetOobeUI()->GetCoreOobeActor()->SetClientAreaSize(size.width(), |
| 462 size.height()); | 467 size.height()); |
| 463 } | 468 } |
| 464 } | 469 } |
| 465 | 470 |
| 466 } // namespace chromeos | 471 } // namespace chromeos |
| OLD | NEW |