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

Unified Diff: ui/events/ozone/evdev/libgestures_glue/event_reader_libevdev_cros.cc

Issue 1073573002: Ozone support for device special cases in keyboard event rewriting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address review comments Created 5 years, 8 months 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/libgestures_glue/event_reader_libevdev_cros.cc
diff --git a/ui/events/ozone/evdev/libgestures_glue/event_reader_libevdev_cros.cc b/ui/events/ozone/evdev/libgestures_glue/event_reader_libevdev_cros.cc
index a9709f80b98cecb6edc0b7c362e072a3a7c0f8bb..6d44adaf882758b99b2949035fdb8da0824bf143 100644
--- a/ui/events/ozone/evdev/libgestures_glue/event_reader_libevdev_cros.cc
+++ b/ui/events/ozone/evdev/libgestures_glue/event_reader_libevdev_cros.cc
@@ -31,7 +31,13 @@ EventReaderLibevdevCros::EventReaderLibevdevCros(int fd,
InputDeviceType type,
const EventDeviceInfo& devinfo,
scoped_ptr<Delegate> delegate)
- : EventConverterEvdev(fd, path, id, type),
+ : EventConverterEvdev(fd,
+ path,
+ id,
+ type,
+ devinfo.name(),
+ devinfo.vendor_id(),
+ devinfo.product_id()),
has_keyboard_(devinfo.HasKeyboard()),
has_mouse_(devinfo.HasMouse()),
has_touchpad_(devinfo.HasTouchpad()),

Powered by Google App Engine
This is Rietveld 408576698