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 "ui/events/ozone/evdev/event_factory_evdev.h" | 5 #include "ui/events/ozone/evdev/event_factory_evdev.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/memory/ptr_util.h" | 10 #include "base/memory/ptr_util.h" |
| 11 #include "base/single_thread_task_runner.h" |
11 #include "base/task_runner.h" | 12 #include "base/task_runner.h" |
12 #include "base/threading/thread_task_runner_handle.h" | 13 #include "base/threading/thread_task_runner_handle.h" |
13 #include "base/time/time.h" | 14 #include "base/time/time.h" |
14 #include "base/trace_event/trace_event.h" | 15 #include "base/trace_event/trace_event.h" |
15 #include "ui/events/devices/device_data_manager.h" | 16 #include "ui/events/devices/device_data_manager.h" |
16 #include "ui/events/devices/input_device.h" | 17 #include "ui/events/devices/input_device.h" |
17 #include "ui/events/event_utils.h" | 18 #include "ui/events/event_utils.h" |
18 #include "ui/events/ozone/device/device_event.h" | 19 #include "ui/events/ozone/device/device_event.h" |
19 #include "ui/events/ozone/device/device_manager.h" | 20 #include "ui/events/ozone/device/device_manager.h" |
20 #include "ui/events/ozone/evdev/cursor_delegate_evdev.h" | 21 #include "ui/events/ozone/evdev/cursor_delegate_evdev.h" |
(...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
489 | 490 |
490 // Scan & monitor devices. | 491 // Scan & monitor devices. |
491 device_manager_->AddObserver(this); | 492 device_manager_->AddObserver(this); |
492 device_manager_->ScanDevices(this); | 493 device_manager_->ScanDevices(this); |
493 | 494 |
494 // Notify device thread that initial scan is done. | 495 // Notify device thread that initial scan is done. |
495 input_device_factory_proxy_->OnStartupScanComplete(); | 496 input_device_factory_proxy_->OnStartupScanComplete(); |
496 } | 497 } |
497 | 498 |
498 } // namespace ui | 499 } // namespace ui |
OLD | NEW |