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

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

Issue 2248933002: Support pen in TouchEventConverterEvdev (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit Created 4 years, 4 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/device_event_dispatcher_evdev.cc
diff --git a/ui/events/ozone/evdev/device_event_dispatcher_evdev.cc b/ui/events/ozone/evdev/device_event_dispatcher_evdev.cc
index 66779eecc00cd3cfa18d202d1691380af4f0831d..a299af3e3495e9905c7eaf3c5b04ee862e35af84 100644
--- a/ui/events/ozone/evdev/device_event_dispatcher_evdev.cc
+++ b/ui/events/ozone/evdev/device_event_dispatcher_evdev.cc
@@ -24,10 +24,12 @@ KeyEventParams::~KeyEventParams() {
}
MouseMoveEventParams::MouseMoveEventParams(int device_id,
+ int flags,
const gfx::PointF& location,
const PointerDetails& details,
base::TimeTicks timestamp)
: device_id(device_id),
+ flags(flags),
location(location),
pointer_details(details),
timestamp(timestamp) {}
@@ -39,6 +41,7 @@ MouseMoveEventParams::~MouseMoveEventParams() {
}
MouseButtonEventParams::MouseButtonEventParams(int device_id,
+ int flags,
const gfx::PointF& location,
unsigned int button,
bool down,
@@ -46,6 +49,7 @@ MouseButtonEventParams::MouseButtonEventParams(int device_id,
const PointerDetails& details,
base::TimeTicks timestamp)
: device_id(device_id),
+ flags(flags),
location(location),
button(button),
down(down),

Powered by Google App Engine
This is Rietveld 408576698