Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(246)

Unified Diff: ui/events/ozone/evdev/event_converter_evdev_impl.cc

Issue 790153005: ozone: evdev: Add property to identify internal or external devices (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/events/ozone/evdev/event_converter_evdev_impl.cc
diff --git a/ui/events/ozone/evdev/event_converter_evdev_impl.cc b/ui/events/ozone/evdev/event_converter_evdev_impl.cc
index 85e48b9ecc0f96dd1e816326731ee5779c2630bd..78da21fdf6f281e1b49eae9a5db1be3f65d03aed 100644
--- a/ui/events/ozone/evdev/event_converter_evdev_impl.cc
+++ b/ui/events/ozone/evdev/event_converter_evdev_impl.cc
@@ -18,12 +18,13 @@ EventConverterEvdevImpl::EventConverterEvdevImpl(
int fd,
base::FilePath path,
int id,
+ InputDeviceType type,
EventModifiersEvdev* modifiers,
MouseButtonMapEvdev* button_map,
CursorDelegateEvdev* cursor,
KeyboardEvdev* keyboard,
const EventDispatchCallback& callback)
- : EventConverterEvdev(fd, path, id),
+ : EventConverterEvdev(fd, path, id, type),
x_offset_(0),
y_offset_(0),
cursor_(cursor),
« no previous file with comments | « ui/events/ozone/evdev/event_converter_evdev_impl.h ('k') | ui/events/ozone/evdev/event_converter_evdev_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698