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

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

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.h
diff --git a/ui/events/ozone/evdev/device_event_dispatcher_evdev.h b/ui/events/ozone/evdev/device_event_dispatcher_evdev.h
index c70234be2d3014886870671db9b0123bfcc8ccaa..1726b73b53a0670342b9b8bb04b7b63e1815bf00 100644
--- a/ui/events/ozone/evdev/device_event_dispatcher_evdev.h
+++ b/ui/events/ozone/evdev/device_event_dispatcher_evdev.h
@@ -26,6 +26,7 @@ struct EVENTS_OZONE_EVDEV_EXPORT KeyEventParams {
bool suppress_auto_repeat,
base::TimeTicks timestamp);
KeyEventParams(const KeyEventParams& other);
+ KeyEventParams() {}
~KeyEventParams();
int device_id;
@@ -37,13 +38,16 @@ struct EVENTS_OZONE_EVDEV_EXPORT KeyEventParams {
struct EVENTS_OZONE_EVDEV_EXPORT MouseMoveEventParams {
MouseMoveEventParams(int device_id,
+ int flags,
const gfx::PointF& location,
const PointerDetails& details,
base::TimeTicks timestamp);
MouseMoveEventParams(const MouseMoveEventParams& other);
+ MouseMoveEventParams() {}
~MouseMoveEventParams();
int device_id;
+ int flags;
gfx::PointF location;
PointerDetails pointer_details;
base::TimeTicks timestamp;
@@ -51,6 +55,7 @@ struct EVENTS_OZONE_EVDEV_EXPORT MouseMoveEventParams {
struct EVENTS_OZONE_EVDEV_EXPORT MouseButtonEventParams {
MouseButtonEventParams(int device_id,
+ int flags,
const gfx::PointF& location,
unsigned int button,
bool down,
@@ -58,9 +63,11 @@ struct EVENTS_OZONE_EVDEV_EXPORT MouseButtonEventParams {
const PointerDetails& details,
base::TimeTicks timestamp);
MouseButtonEventParams(const MouseButtonEventParams& other);
+ MouseButtonEventParams() {}
~MouseButtonEventParams();
int device_id;
+ int flags;
gfx::PointF location;
unsigned int button;
bool down;
@@ -75,6 +82,7 @@ struct EVENTS_OZONE_EVDEV_EXPORT MouseWheelEventParams {
const gfx::Vector2d& delta,
base::TimeTicks timestamp);
MouseWheelEventParams(const MouseWheelEventParams& other);
+ MouseWheelEventParams() {}
~MouseWheelEventParams();
int device_id;
@@ -90,6 +98,7 @@ struct EVENTS_OZONE_EVDEV_EXPORT PinchEventParams {
float scale,
const base::TimeTicks timestamp);
PinchEventParams(const PinchEventParams& other);
+ PinchEventParams() {}
~PinchEventParams();
int device_id;
@@ -108,6 +117,7 @@ struct EVENTS_OZONE_EVDEV_EXPORT ScrollEventParams {
int finger_count,
const base::TimeTicks timestamp);
ScrollEventParams(const ScrollEventParams& other);
+ ScrollEventParams() {}
~ScrollEventParams();
int device_id;
@@ -127,6 +137,7 @@ struct EVENTS_OZONE_EVDEV_EXPORT TouchEventParams {
const PointerDetails& pointer_details,
const base::TimeTicks& timestamp);
TouchEventParams(const TouchEventParams& other);
+ TouchEventParams() {}
~TouchEventParams();
int device_id;

Powered by Google App Engine
This is Rietveld 408576698