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

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

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
« no previous file with comments | « ui/events/event_unittest.cc ('k') | ui/events/ozone/evdev/device_event_dispatcher_evdev.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/ozone/evdev/device_event_dispatcher_evdev.h
diff --git a/ui/events/ozone/evdev/device_event_dispatcher_evdev.h b/ui/events/ozone/evdev/device_event_dispatcher_evdev.h
index d70fcbb1a88c726c0d70025c0303a686f4431973..919ac44952a11fc53ea7aa7e7dd27ce7aeae84a3 100644
--- a/ui/events/ozone/evdev/device_event_dispatcher_evdev.h
+++ b/ui/events/ozone/evdev/device_event_dispatcher_evdev.h
@@ -11,6 +11,7 @@
#include "ui/events/devices/input_device.h"
#include "ui/events/devices/keyboard_device.h"
#include "ui/events/devices/touchscreen_device.h"
+#include "ui/events/event.h"
#include "ui/events/event_constants.h"
#include "ui/events/ozone/evdev/events_ozone_evdev_export.h"
#include "ui/gfx/geometry/point_f.h"
@@ -38,12 +39,14 @@ struct EVENTS_OZONE_EVDEV_EXPORT KeyEventParams {
struct EVENTS_OZONE_EVDEV_EXPORT MouseMoveEventParams {
MouseMoveEventParams(int device_id,
const gfx::PointF& location,
+ const PointerDetails& details,
base::TimeDelta timestamp);
MouseMoveEventParams(const MouseMoveEventParams& other);
~MouseMoveEventParams();
int device_id;
gfx::PointF location;
+ PointerDetails pointer_details;
base::TimeDelta timestamp;
};
@@ -53,6 +56,7 @@ struct EVENTS_OZONE_EVDEV_EXPORT MouseButtonEventParams {
unsigned int button,
bool down,
bool allow_remap,
+ const PointerDetails& details,
base::TimeDelta timestamp);
MouseButtonEventParams(const MouseButtonEventParams& other);
~MouseButtonEventParams();
@@ -62,6 +66,7 @@ struct EVENTS_OZONE_EVDEV_EXPORT MouseButtonEventParams {
unsigned int button;
bool down;
bool allow_remap;
+ PointerDetails pointer_details;
base::TimeDelta timestamp;
};
« no previous file with comments | « ui/events/event_unittest.cc ('k') | ui/events/ozone/evdev/device_event_dispatcher_evdev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698