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 "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/feature_list.h" | 8 #include "base/feature_list.h" |
9 #include "base/metrics/histogram_macros.h" | 9 #include "base/metrics/histogram_macros.h" |
10 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
310 } | 310 } |
311 | 311 |
312 bool WebUIScreenLocker::IsSigninInProgress() const { | 312 bool WebUIScreenLocker::IsSigninInProgress() const { |
313 // The way how screen locker is implemented right now there's no | 313 // The way how screen locker is implemented right now there's no |
314 // GAIA sign in in progress in any case. | 314 // GAIA sign in in progress in any case. |
315 return false; | 315 return false; |
316 } | 316 } |
317 | 317 |
318 void WebUIScreenLocker::Login(const UserContext& user_context, | 318 void WebUIScreenLocker::Login(const UserContext& user_context, |
319 const SigninSpecifics& specifics) { | 319 const SigninSpecifics& specifics) { |
320 chromeos::ScreenLocker::default_screen_locker()->Authenticate(user_context); | 320 chromeos::ScreenLocker::default_screen_locker()->Authenticate( |
| 321 user_context, ScreenLocker::AuthenticateCallback()); |
321 } | 322 } |
322 | 323 |
323 void WebUIScreenLocker::MigrateUserData(const std::string& old_password) { | 324 void WebUIScreenLocker::MigrateUserData(const std::string& old_password) { |
324 NOTREACHED(); | 325 NOTREACHED(); |
325 } | 326 } |
326 | 327 |
327 void WebUIScreenLocker::OnSigninScreenReady() { | 328 void WebUIScreenLocker::OnSigninScreenReady() { |
328 VLOG(2) << "Lock screen signin screen is ready"; | 329 VLOG(2) << "Lock screen signin screen is ready"; |
329 } | 330 } |
330 | 331 |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
436 } | 437 } |
437 | 438 |
438 if (GetOobeUI()) { | 439 if (GetOobeUI()) { |
439 const gfx::Size& size = primary_display.size(); | 440 const gfx::Size& size = primary_display.size(); |
440 GetOobeUI()->GetCoreOobeView()->SetClientAreaSize(size.width(), | 441 GetOobeUI()->GetCoreOobeView()->SetClientAreaSize(size.width(), |
441 size.height()); | 442 size.height()); |
442 } | 443 } |
443 } | 444 } |
444 | 445 |
445 } // namespace chromeos | 446 } // namespace chromeos |
OLD | NEW |