| 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/touch_event_converter_evdev.h" | 5 #include "ui/events/ozone/evdev/touch_event_converter_evdev.h" |
| 6 | 6 |
| 7 #include <errno.h> | 7 #include <errno.h> |
| 8 #include <fcntl.h> | 8 #include <fcntl.h> |
| 9 #include <linux/input.h> | 9 #include <linux/input.h> |
| 10 #include <poll.h> | 10 #include <poll.h> |
| (...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 297 DispatchEventToCallback(&evt); | 297 DispatchEventToCallback(&evt); |
| 298 | 298 |
| 299 // Subsequent events for this finger will be touch-move until it | 299 // Subsequent events for this finger will be touch-move until it |
| 300 // is released. | 300 // is released. |
| 301 events_[i].type_ = ET_TOUCH_MOVED; | 301 events_[i].type_ = ET_TOUCH_MOVED; |
| 302 } | 302 } |
| 303 } | 303 } |
| 304 altered_slots_.reset(); | 304 altered_slots_.reset(); |
| 305 } | 305 } |
| 306 | 306 |
| 307 bool TouchEventConverterEvdev::HasIndirectTouch() { |
| 308 return false; |
| 309 } |
| 310 |
| 311 bool TouchEventConverterEvdev::HasRelXY() { |
| 312 return false; |
| 313 } |
| 314 |
| 307 } // namespace ui | 315 } // namespace ui |
| OLD | NEW |