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/input_controller_evdev.h" | 5 #include "ui/events/ozone/evdev/input_controller_evdev.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <linux/input.h> | 8 #include <linux/input.h> |
9 | 9 |
10 #include "ui/events/ozone/evdev/input_device_factory_evdev_proxy.h" | 10 #include "ui/events/ozone/evdev/input_device_factory_evdev_proxy.h" |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 } | 140 } |
141 | 141 |
142 void InputControllerEvdev::GetTouchDeviceStatus( | 142 void InputControllerEvdev::GetTouchDeviceStatus( |
143 const GetTouchDeviceStatusReply& reply) { | 143 const GetTouchDeviceStatusReply& reply) { |
144 if (input_device_factory_) | 144 if (input_device_factory_) |
145 input_device_factory_->GetTouchDeviceStatus(reply); | 145 input_device_factory_->GetTouchDeviceStatus(reply); |
146 else | 146 else |
147 reply.Run(make_scoped_ptr(new std::string)); | 147 reply.Run(make_scoped_ptr(new std::string)); |
148 } | 148 } |
149 | 149 |
| 150 void InputControllerEvdev::GetTouchEventLog( |
| 151 const base::FilePath& out_dir, |
| 152 const GetTouchEventLogReply& reply) { |
| 153 if (input_device_factory_) |
| 154 input_device_factory_->GetTouchEventLog(out_dir, reply); |
| 155 else |
| 156 reply.Run(make_scoped_ptr(new std::vector<base::FilePath>)); |
| 157 } |
| 158 |
150 } // namespace ui | 159 } // namespace ui |
OLD | NEW |