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

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

Issue 1294523004: ozone: Handle pressure and tilt for stylus devices (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@new-pe-details
Patch Set: Drop now unused mutators. Created 5 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 47725bd24cfc26204b0c4f8e8292e2cdbae26a08..58af9a3944fb7d27273929de0f6c69a336f88a2b 100644
--- a/ui/events/ozone/evdev/device_event_dispatcher_evdev.cc
+++ b/ui/events/ozone/evdev/device_event_dispatcher_evdev.cc
@@ -25,9 +25,12 @@ KeyEventParams::~KeyEventParams() {
MouseMoveEventParams::MouseMoveEventParams(int device_id,
const gfx::PointF& location,
+ const PointerDetails& details,
base::TimeDelta timestamp)
- : device_id(device_id), location(location), timestamp(timestamp) {
-}
+ : device_id(device_id),
+ location(location),
+ pointer_details(details),
+ timestamp(timestamp) {}
MouseMoveEventParams::MouseMoveEventParams(const MouseMoveEventParams& other) =
default;
@@ -40,14 +43,15 @@ MouseButtonEventParams::MouseButtonEventParams(int device_id,
unsigned int button,
bool down,
bool allow_remap,
+ const PointerDetails& details,
base::TimeDelta timestamp)
: device_id(device_id),
location(location),
button(button),
down(down),
allow_remap(allow_remap),
- timestamp(timestamp) {
-}
+ pointer_details(details),
+ timestamp(timestamp) {}
MouseButtonEventParams::MouseButtonEventParams(
const MouseButtonEventParams& other) = default;
« no previous file with comments | « ui/events/ozone/evdev/device_event_dispatcher_evdev.h ('k') | ui/events/ozone/evdev/event_converter_evdev_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698