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

Unified Diff: ui/events/ozone/evdev/event_converter_evdev.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/event_converter_evdev.cc
diff --git a/ui/events/ozone/evdev/event_converter_evdev.cc b/ui/events/ozone/evdev/event_converter_evdev.cc
index fce8e9ca3753da617928c10c52c40e9b27532698..f7662d2bf52f460324c5ab90c27f265669736bd2 100644
--- a/ui/events/ozone/evdev/event_converter_evdev.cc
+++ b/ui/events/ozone/evdev/event_converter_evdev.cc
@@ -16,8 +16,14 @@ namespace ui {
EventConverterEvdev::EventConverterEvdev(int fd,
const base::FilePath& path,
int id,
- InputDeviceType type)
- : fd_(fd), path_(path), id_(id), type_(type), ignore_events_(false) {
+ InputDeviceType type,
+ const std::string& name,
+ uint16_t vendor_id,
+ uint16_t product_id)
+ : fd_(fd),
+ path_(path),
+ input_device_(id, type, name, vendor_id, product_id),
+ ignore_events_(false) {
}
EventConverterEvdev::~EventConverterEvdev() {

Powered by Google App Engine
This is Rietveld 408576698