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 16 matching lines...) Expand all Loading... |
27 #include "base/strings/stringprintf.h" | 27 #include "base/strings/stringprintf.h" |
28 #include "base/strings/utf_string_conversions.h" | 28 #include "base/strings/utf_string_conversions.h" |
29 #include "base/sys_info.h" | 29 #include "base/sys_info.h" |
30 #include "base/threading/thread_task_runner_handle.h" | 30 #include "base/threading/thread_task_runner_handle.h" |
31 #include "base/trace_event/trace_event.h" | 31 #include "base/trace_event/trace_event.h" |
32 #include "chrome/browser/browser_process.h" | 32 #include "chrome/browser/browser_process.h" |
33 #include "chrome/browser/browser_process_platform_part_chromeos.h" | 33 #include "chrome/browser/browser_process_platform_part_chromeos.h" |
34 #include "chrome/browser/browser_shutdown.h" | 34 #include "chrome/browser/browser_shutdown.h" |
35 #include "chrome/browser/chrome_notification_types.h" | 35 #include "chrome/browser/chrome_notification_types.h" |
36 #include "chrome/browser/chromeos/app_mode/kiosk_app_manager.h" | 36 #include "chrome/browser/chromeos/app_mode/kiosk_app_manager.h" |
37 #include "chrome/browser/chromeos/input_method/input_method_util.h" | |
38 #include "chrome/browser/chromeos/language_preferences.h" | 37 #include "chrome/browser/chromeos/language_preferences.h" |
39 #include "chrome/browser/chromeos/lock_screen_apps/state_controller.h" | 38 #include "chrome/browser/chromeos/lock_screen_apps/state_controller.h" |
40 #include "chrome/browser/chromeos/login/error_screens_histogram_helper.h" | 39 #include "chrome/browser/chromeos/login/error_screens_histogram_helper.h" |
41 #include "chrome/browser/chromeos/login/hwid_checker.h" | 40 #include "chrome/browser/chromeos/login/hwid_checker.h" |
42 #include "chrome/browser/chromeos/login/lock/screen_locker.h" | 41 #include "chrome/browser/chromeos/login/lock/screen_locker.h" |
43 #include "chrome/browser/chromeos/login/lock/webui_screen_locker.h" | 42 #include "chrome/browser/chromeos/login/lock/webui_screen_locker.h" |
44 #include "chrome/browser/chromeos/login/quick_unlock/quick_unlock_factory.h" | 43 #include "chrome/browser/chromeos/login/quick_unlock/quick_unlock_factory.h" |
45 #include "chrome/browser/chromeos/login/quick_unlock/quick_unlock_storage.h" | 44 #include "chrome/browser/chromeos/login/quick_unlock/quick_unlock_storage.h" |
46 #include "chrome/browser/chromeos/login/reauth_stats.h" | 45 #include "chrome/browser/chromeos/login/reauth_stats.h" |
47 #include "chrome/browser/chromeos/login/screens/core_oobe_view.h" | 46 #include "chrome/browser/chromeos/login/screens/core_oobe_view.h" |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 #include "components/version_info/version_info.h" | 93 #include "components/version_info/version_info.h" |
95 #include "content/public/browser/render_frame_host.h" | 94 #include "content/public/browser/render_frame_host.h" |
96 #include "content/public/browser/web_contents.h" | 95 #include "content/public/browser/web_contents.h" |
97 #include "content/public/common/service_manager_connection.h" | 96 #include "content/public/common/service_manager_connection.h" |
98 #include "google_apis/gaia/gaia_auth_util.h" | 97 #include "google_apis/gaia/gaia_auth_util.h" |
99 #include "services/service_manager/public/cpp/connector.h" | 98 #include "services/service_manager/public/cpp/connector.h" |
100 #include "third_party/cros_system_api/dbus/service_constants.h" | 99 #include "third_party/cros_system_api/dbus/service_constants.h" |
101 #include "ui/base/ime/chromeos/ime_keyboard.h" | 100 #include "ui/base/ime/chromeos/ime_keyboard.h" |
102 #include "ui/base/ime/chromeos/input_method_descriptor.h" | 101 #include "ui/base/ime/chromeos/input_method_descriptor.h" |
103 #include "ui/base/ime/chromeos/input_method_manager.h" | 102 #include "ui/base/ime/chromeos/input_method_manager.h" |
| 103 #include "ui/base/ime/chromeos/input_method_util.h" |
104 #include "ui/base/webui/web_ui_util.h" | 104 #include "ui/base/webui/web_ui_util.h" |
105 | 105 |
106 namespace { | 106 namespace { |
107 | 107 |
108 // Max number of users to show. | 108 // Max number of users to show. |
109 const size_t kMaxUsers = 18; | 109 const size_t kMaxUsers = 18; |
110 | 110 |
111 // Timeout to delay first notification about offline state for a | 111 // Timeout to delay first notification about offline state for a |
112 // current network. | 112 // current network. |
113 const int kOfflineTimeoutSec = 5; | 113 const int kOfflineTimeoutSec = 5; |
(...skipping 1593 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1707 rate.initial_delay_in_ms = auto_repeat_delay; | 1707 rate.initial_delay_in_ms = auto_repeat_delay; |
1708 rate.repeat_interval_in_ms = auto_repeat_interval; | 1708 rate.repeat_interval_in_ms = auto_repeat_interval; |
1709 input_method::InputMethodManager::Get() | 1709 input_method::InputMethodManager::Get() |
1710 ->GetImeKeyboard() | 1710 ->GetImeKeyboard() |
1711 ->SetAutoRepeatEnabled(true); | 1711 ->SetAutoRepeatEnabled(true); |
1712 input_method::InputMethodManager::Get()->GetImeKeyboard()->SetAutoRepeatRate( | 1712 input_method::InputMethodManager::Get()->GetImeKeyboard()->SetAutoRepeatRate( |
1713 rate); | 1713 rate); |
1714 } | 1714 } |
1715 | 1715 |
1716 } // namespace chromeos | 1716 } // namespace chromeos |
OLD | NEW |