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/events/event_rewriter.h" | 5 #include "chrome/browser/chromeos/events/event_rewriter.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "ash/common/wm/window_state.h" | |
12 #include "ash/sticky_keys/sticky_keys_controller.h" | 11 #include "ash/sticky_keys/sticky_keys_controller.h" |
| 12 #include "ash/wm/window_state.h" |
13 #include "ash/wm/window_util.h" | 13 #include "ash/wm/window_util.h" |
14 #include "base/command_line.h" | 14 #include "base/command_line.h" |
15 #include "base/logging.h" | 15 #include "base/logging.h" |
16 #include "base/macros.h" | 16 #include "base/macros.h" |
17 #include "base/strings/string_split.h" | 17 #include "base/strings/string_split.h" |
18 #include "base/strings/string_util.h" | 18 #include "base/strings/string_util.h" |
19 #include "base/sys_info.h" | 19 #include "base/sys_info.h" |
20 #include "chrome/browser/chromeos/login/ui/login_display_host.h" | 20 #include "chrome/browser/chromeos/login/ui/login_display_host.h" |
21 #include "chrome/browser/extensions/extension_commands_global_registry.h" | 21 #include "chrome/browser/extensions/extension_commands_global_registry.h" |
22 #include "chrome/browser/profiles/profile_manager.h" | 22 #include "chrome/browser/profiles/profile_manager.h" |
(...skipping 1144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1167 for (const auto& keyboard : keyboard_devices) { | 1167 for (const auto& keyboard : keyboard_devices) { |
1168 if (keyboard.id == device_id) { | 1168 if (keyboard.id == device_id) { |
1169 return KeyboardDeviceAddedInternal( | 1169 return KeyboardDeviceAddedInternal( |
1170 keyboard.id, keyboard.name, keyboard.vendor_id, keyboard.product_id); | 1170 keyboard.id, keyboard.name, keyboard.vendor_id, keyboard.product_id); |
1171 } | 1171 } |
1172 } | 1172 } |
1173 return kDeviceUnknown; | 1173 return kDeviceUnknown; |
1174 } | 1174 } |
1175 | 1175 |
1176 } // namespace chromeos | 1176 } // namespace chromeos |
OLD | NEW |