| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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/ui/webui/chromeos/login/signin_screen_handler.h" | 5 #include "chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include <algorithm> | 9 #include <algorithm> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 1325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1336 | 1336 |
| 1337 is_account_picker_showing_first_time_ = true; | 1337 is_account_picker_showing_first_time_ = true; |
| 1338 | 1338 |
| 1339 if (delegate_) | 1339 if (delegate_) |
| 1340 delegate_->OnSigninScreenReady(); | 1340 delegate_->OnSigninScreenReady(); |
| 1341 } | 1341 } |
| 1342 | 1342 |
| 1343 void SigninScreenHandler::HandleWallpaperReady() { | 1343 void SigninScreenHandler::HandleWallpaperReady() { |
| 1344 if (ScreenLocker::default_screen_locker()) { | 1344 if (ScreenLocker::default_screen_locker()) { |
| 1345 ScreenLocker::default_screen_locker() | 1345 ScreenLocker::default_screen_locker() |
| 1346 ->web_ui() | 1346 ->delegate() |
| 1347 ->OnLockBackgroundDisplayed(); | 1347 ->OnLockBackgroundDisplayed(); |
| 1348 } | 1348 } |
| 1349 } | 1349 } |
| 1350 | 1350 |
| 1351 void SigninScreenHandler::HandleSignOutUser() { | 1351 void SigninScreenHandler::HandleSignOutUser() { |
| 1352 if (delegate_) | 1352 if (delegate_) |
| 1353 delegate_->Signout(); | 1353 delegate_->Signout(); |
| 1354 } | 1354 } |
| 1355 | 1355 |
| 1356 void SigninScreenHandler::HandleOpenProxySettings() { | 1356 void SigninScreenHandler::HandleOpenProxySettings() { |
| (...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1656 rate.initial_delay_in_ms = auto_repeat_delay; | 1656 rate.initial_delay_in_ms = auto_repeat_delay; |
| 1657 rate.repeat_interval_in_ms = auto_repeat_interval; | 1657 rate.repeat_interval_in_ms = auto_repeat_interval; |
| 1658 input_method::InputMethodManager::Get() | 1658 input_method::InputMethodManager::Get() |
| 1659 ->GetImeKeyboard() | 1659 ->GetImeKeyboard() |
| 1660 ->SetAutoRepeatEnabled(true); | 1660 ->SetAutoRepeatEnabled(true); |
| 1661 input_method::InputMethodManager::Get()->GetImeKeyboard()->SetAutoRepeatRate( | 1661 input_method::InputMethodManager::Get()->GetImeKeyboard()->SetAutoRepeatRate( |
| 1662 rate); | 1662 rate); |
| 1663 } | 1663 } |
| 1664 | 1664 |
| 1665 } // namespace chromeos | 1665 } // namespace chromeos |
| OLD | NEW |