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> |
11 | 11 |
12 #include "ash/common/system/chromeos/devicetype_utils.h" | |
13 #include "ash/public/interfaces/constants.mojom.h" | 12 #include "ash/public/interfaces/constants.mojom.h" |
14 #include "ash/shell.h" | 13 #include "ash/shell.h" |
| 14 #include "ash/system/devicetype_utils.h" |
15 #include "ash/wm/lock_state_controller.h" | 15 #include "ash/wm/lock_state_controller.h" |
16 #include "base/bind.h" | 16 #include "base/bind.h" |
17 #include "base/i18n/number_formatting.h" | 17 #include "base/i18n/number_formatting.h" |
18 #include "base/location.h" | 18 #include "base/location.h" |
19 #include "base/logging.h" | 19 #include "base/logging.h" |
20 #include "base/macros.h" | 20 #include "base/macros.h" |
21 #include "base/metrics/histogram_macros.h" | 21 #include "base/metrics/histogram_macros.h" |
22 #include "base/single_thread_task_runner.h" | 22 #include "base/single_thread_task_runner.h" |
23 #include "base/strings/string16.h" | 23 #include "base/strings/string16.h" |
24 #include "base/strings/string_number_conversions.h" | 24 #include "base/strings/string_number_conversions.h" |
(...skipping 1623 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 |