OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "ui/events/ozone/evdev/input_device_factory_evdev.h" | 5 #include "ui/events/ozone/evdev/input_device_factory_evdev.h" |
6 | 6 |
7 #include <fcntl.h> | 7 #include <fcntl.h> |
8 #include <linux/input.h> | 8 #include <linux/input.h> |
9 #include <stddef.h> | 9 #include <stddef.h> |
10 | 10 |
11 #include <utility> | 11 #include <utility> |
12 | 12 |
13 #include "base/memory/ptr_util.h" | 13 #include "base/memory/ptr_util.h" |
14 #include "base/stl_util.h" | 14 #include "base/stl_util.h" |
15 #include "base/thread_task_runner_handle.h" | 15 #include "base/threading/thread_task_runner_handle.h" |
16 #include "base/threading/worker_pool.h" | 16 #include "base/threading/worker_pool.h" |
17 #include "base/time/time.h" | 17 #include "base/time/time.h" |
18 #include "base/trace_event/trace_event.h" | 18 #include "base/trace_event/trace_event.h" |
19 #include "ui/events/devices/device_data_manager.h" | 19 #include "ui/events/devices/device_data_manager.h" |
20 #include "ui/events/devices/device_util_linux.h" | 20 #include "ui/events/devices/device_util_linux.h" |
21 #include "ui/events/ozone/evdev/device_event_dispatcher_evdev.h" | 21 #include "ui/events/ozone/evdev/device_event_dispatcher_evdev.h" |
22 #include "ui/events/ozone/evdev/event_converter_evdev_impl.h" | 22 #include "ui/events/ozone/evdev/event_converter_evdev_impl.h" |
23 #include "ui/events/ozone/evdev/event_device_info.h" | 23 #include "ui/events/ozone/evdev/event_device_info.h" |
24 #include "ui/events/ozone/evdev/tablet_event_converter_evdev.h" | 24 #include "ui/events/ozone/evdev/tablet_event_converter_evdev.h" |
25 #include "ui/events/ozone/evdev/touch_event_converter_evdev.h" | 25 #include "ui/events/ozone/evdev/touch_event_converter_evdev.h" |
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
485 std::vector<int> ids; | 485 std::vector<int> ids; |
486 gesture_property_provider_->GetDeviceIdsByType(type, &ids); | 486 gesture_property_provider_->GetDeviceIdsByType(type, &ids); |
487 for (size_t i = 0; i < ids.size(); ++i) { | 487 for (size_t i = 0; i < ids.size(); ++i) { |
488 SetGestureBoolProperty(gesture_property_provider_.get(), ids[i], name, | 488 SetGestureBoolProperty(gesture_property_provider_.get(), ids[i], name, |
489 value); | 489 value); |
490 } | 490 } |
491 #endif | 491 #endif |
492 } | 492 } |
493 | 493 |
494 } // namespace ui | 494 } // namespace ui |
OLD | NEW |