| 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 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 } | 286 } |
| 287 | 287 |
| 288 // SigninScreenHandler implementation ------------------------------------------ | 288 // SigninScreenHandler implementation ------------------------------------------ |
| 289 | 289 |
| 290 SigninScreenHandler::SigninScreenHandler( | 290 SigninScreenHandler::SigninScreenHandler( |
| 291 const scoped_refptr<NetworkStateInformer>& network_state_informer, | 291 const scoped_refptr<NetworkStateInformer>& network_state_informer, |
| 292 ErrorScreen* error_screen, | 292 ErrorScreen* error_screen, |
| 293 CoreOobeView* core_oobe_view, | 293 CoreOobeView* core_oobe_view, |
| 294 GaiaScreenHandler* gaia_screen_handler, | 294 GaiaScreenHandler* gaia_screen_handler, |
| 295 JSCallsContainer* js_calls_container) | 295 JSCallsContainer* js_calls_container) |
| 296 : BaseScreenHandler(js_calls_container), | 296 : BaseWebUIHandler(js_calls_container), |
| 297 network_state_informer_(network_state_informer), | 297 network_state_informer_(network_state_informer), |
| 298 error_screen_(error_screen), | 298 error_screen_(error_screen), |
| 299 core_oobe_view_(core_oobe_view), | 299 core_oobe_view_(core_oobe_view), |
| 300 caps_lock_enabled_(chromeos::input_method::InputMethodManager::Get() | 300 caps_lock_enabled_(chromeos::input_method::InputMethodManager::Get() |
| 301 ->GetImeKeyboard() | 301 ->GetImeKeyboard() |
| 302 ->CapsLockIsEnabled()), | 302 ->CapsLockIsEnabled()), |
| 303 proxy_auth_dialog_reload_times_(kMaxGaiaReloadForProxyAuthDialog), | 303 proxy_auth_dialog_reload_times_(kMaxGaiaReloadForProxyAuthDialog), |
| 304 gaia_screen_handler_(gaia_screen_handler), | 304 gaia_screen_handler_(gaia_screen_handler), |
| 305 touch_view_binding_(this), | 305 touch_view_binding_(this), |
| 306 histogram_helper_(new ErrorScreensHistogramHelper("Signin")), | 306 histogram_helper_(new ErrorScreensHistogramHelper("Signin")), |
| (...skipping 1341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1648 rate.initial_delay_in_ms = auto_repeat_delay; | 1648 rate.initial_delay_in_ms = auto_repeat_delay; |
| 1649 rate.repeat_interval_in_ms = auto_repeat_interval; | 1649 rate.repeat_interval_in_ms = auto_repeat_interval; |
| 1650 input_method::InputMethodManager::Get() | 1650 input_method::InputMethodManager::Get() |
| 1651 ->GetImeKeyboard() | 1651 ->GetImeKeyboard() |
| 1652 ->SetAutoRepeatEnabled(true); | 1652 ->SetAutoRepeatEnabled(true); |
| 1653 input_method::InputMethodManager::Get()->GetImeKeyboard()->SetAutoRepeatRate( | 1653 input_method::InputMethodManager::Get()->GetImeKeyboard()->SetAutoRepeatRate( |
| 1654 rate); | 1654 rate); |
| 1655 } | 1655 } |
| 1656 | 1656 |
| 1657 } // namespace chromeos | 1657 } // namespace chromeos |
| OLD | NEW |