| 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/task_runner.h" | 11 #include "base/task_runner.h" |
| 12 #include "base/thread_task_runner_handle.h" | 12 #include "base/threading/thread_task_runner_handle.h" |
| 13 #include "base/threading/worker_pool.h" | 13 #include "base/threading/worker_pool.h" |
| 14 #include "base/time/time.h" | 14 #include "base/time/time.h" |
| 15 #include "base/trace_event/trace_event.h" | 15 #include "base/trace_event/trace_event.h" |
| 16 #include "ui/events/devices/device_data_manager.h" | 16 #include "ui/events/devices/device_data_manager.h" |
| 17 #include "ui/events/devices/input_device.h" | 17 #include "ui/events/devices/input_device.h" |
| 18 #include "ui/events/event_utils.h" | 18 #include "ui/events/event_utils.h" |
| 19 #include "ui/events/ozone/device/device_event.h" | 19 #include "ui/events/ozone/device/device_event.h" |
| 20 #include "ui/events/ozone/device/device_manager.h" | 20 #include "ui/events/ozone/device/device_manager.h" |
| 21 #include "ui/events/ozone/evdev/cursor_delegate_evdev.h" | 21 #include "ui/events/ozone/evdev/cursor_delegate_evdev.h" |
| 22 #include "ui/events/ozone/evdev/input_controller_evdev.h" | 22 #include "ui/events/ozone/evdev/input_controller_evdev.h" |
| (...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 424 | 424 |
| 425 // Scan & monitor devices. | 425 // Scan & monitor devices. |
| 426 device_manager_->AddObserver(this); | 426 device_manager_->AddObserver(this); |
| 427 device_manager_->ScanDevices(this); | 427 device_manager_->ScanDevices(this); |
| 428 | 428 |
| 429 // Notify device thread that initial scan is done. | 429 // Notify device thread that initial scan is done. |
| 430 input_device_factory_proxy_->OnStartupScanComplete(); | 430 input_device_factory_proxy_->OnStartupScanComplete(); |
| 431 } | 431 } |
| 432 | 432 |
| 433 } // namespace ui | 433 } // namespace ui |
| OLD | NEW |