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_proxy.h" | 5 #include "ui/events/ozone/evdev/input_device_factory_evdev_proxy.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/thread_task_runner_handle.h" | 8 #include "base/threading/thread_task_runner_handle.h" |
9 #include "ui/events/ozone/evdev/input_device_factory_evdev.h" | 9 #include "ui/events/ozone/evdev/input_device_factory_evdev.h" |
10 | 10 |
11 namespace ui { | 11 namespace ui { |
12 | 12 |
13 namespace { | 13 namespace { |
14 | 14 |
15 void ForwardGetTouchDeviceStatusReply( | 15 void ForwardGetTouchDeviceStatusReply( |
16 scoped_refptr<base::SingleThreadTaskRunner> reply_runner, | 16 scoped_refptr<base::SingleThreadTaskRunner> reply_runner, |
17 const GetTouchDeviceStatusReply& reply, | 17 const GetTouchDeviceStatusReply& reply, |
18 std::unique_ptr<std::string> status) { | 18 std::unique_ptr<std::string> status) { |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 const GetTouchEventLogReply& reply) { | 88 const GetTouchEventLogReply& reply) { |
89 task_runner_->PostTask( | 89 task_runner_->PostTask( |
90 FROM_HERE, | 90 FROM_HERE, |
91 base::Bind(&InputDeviceFactoryEvdev::GetTouchEventLog, | 91 base::Bind(&InputDeviceFactoryEvdev::GetTouchEventLog, |
92 input_device_factory_, out_dir, | 92 input_device_factory_, out_dir, |
93 base::Bind(&ForwardGetTouchEventLogReply, | 93 base::Bind(&ForwardGetTouchEventLogReply, |
94 base::ThreadTaskRunnerHandle::Get(), reply))); | 94 base::ThreadTaskRunnerHandle::Get(), reply))); |
95 } | 95 } |
96 | 96 |
97 } // namespace ui | 97 } // namespace ui |
OLD | NEW |