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/shell.h" | 7 #include "ash/shell.h" |
8 #include "ash/wm/lock_state_controller.h" | 8 #include "ash/wm/lock_state_controller.h" |
9 #include "ash/wm/lock_state_observer.h" | 9 #include "ash/wm/lock_state_observer.h" |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
236 base::string16 WebUIScreenLocker::GetConnectedNetworkName() { | 236 base::string16 WebUIScreenLocker::GetConnectedNetworkName() { |
237 return network_state_helper_->GetCurrentNetworkName(); | 237 return network_state_helper_->GetCurrentNetworkName(); |
238 } | 238 } |
239 | 239 |
240 bool WebUIScreenLocker::IsSigninInProgress() const { | 240 bool WebUIScreenLocker::IsSigninInProgress() const { |
241 // The way how screen locker is implemented right now there's no | 241 // The way how screen locker is implemented right now there's no |
242 // GAIA sign in in progress in any case. | 242 // GAIA sign in in progress in any case. |
243 return false; | 243 return false; |
244 } | 244 } |
245 | 245 |
246 void WebUIScreenLocker::Login(const UserContext& user_context) { | 246 void WebUIScreenLocker::Login(const UserContext& user_context, |
| 247 const SigninSpecifics& specifics) { |
247 chromeos::ScreenLocker::default_screen_locker()->Authenticate(user_context); | 248 chromeos::ScreenLocker::default_screen_locker()->Authenticate(user_context); |
248 } | 249 } |
249 | 250 |
250 void WebUIScreenLocker::LoginAsRetailModeUser() { | |
251 NOTREACHED(); | |
252 } | |
253 | |
254 void WebUIScreenLocker::LoginAsGuest() { | |
255 NOTREACHED(); | |
256 } | |
257 | |
258 void WebUIScreenLocker::MigrateUserData(const std::string& old_password) { | 251 void WebUIScreenLocker::MigrateUserData(const std::string& old_password) { |
259 NOTREACHED(); | 252 NOTREACHED(); |
260 } | 253 } |
261 | 254 |
262 void WebUIScreenLocker::LoginAsPublicAccount(const std::string& username) { | |
263 NOTREACHED(); | |
264 } | |
265 | |
266 void WebUIScreenLocker::OnSigninScreenReady() { | 255 void WebUIScreenLocker::OnSigninScreenReady() { |
267 } | 256 } |
268 | 257 |
269 void WebUIScreenLocker::OnUserSelected(const std::string& username) { | 258 void WebUIScreenLocker::OnUserSelected(const std::string& username) { |
270 } | 259 } |
271 | 260 |
272 void WebUIScreenLocker::OnStartEnterpriseEnrollment() { | 261 void WebUIScreenLocker::OnStartEnterpriseEnrollment() { |
273 NOTREACHED(); | 262 NOTREACHED(); |
274 } | 263 } |
275 | 264 |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
397 GetOobeUI()->GetCoreOobeActor()->ShowControlBar(false); | 386 GetOobeUI()->GetCoreOobeActor()->ShowControlBar(false); |
398 if (login::LockScrollIntoViewEnabled()) | 387 if (login::LockScrollIntoViewEnabled()) |
399 GetOobeUI()->GetCoreOobeActor()->SetKeyboardState(true, new_bounds); | 388 GetOobeUI()->GetCoreOobeActor()->SetKeyboardState(true, new_bounds); |
400 } | 389 } |
401 } | 390 } |
402 | 391 |
403 keyboard_bounds_ = new_bounds; | 392 keyboard_bounds_ = new_bounds; |
404 } | 393 } |
405 | 394 |
406 } // namespace chromeos | 395 } // namespace chromeos |
OLD | NEW |