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

Unified Diff: ui/events/gesture_detection/gesture_event_data.h

Issue 468043003: Ignore min/max gesture bounds for mouse or stylus-derived gestures (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix GestureTextSelectorTest Created 6 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/gesture_detection/gesture_event_data.h
diff --git a/ui/events/gesture_detection/gesture_event_data.h b/ui/events/gesture_detection/gesture_event_data.h
index 35eb41e2c778516fa371f29369ec80aa2bb92f21..d69c6e0922169d137ce6781cc7b3871e7501ad02 100644
--- a/ui/events/gesture_detection/gesture_event_data.h
+++ b/ui/events/gesture_detection/gesture_event_data.h
@@ -8,6 +8,7 @@
#include "base/time/time.h"
#include "ui/events/event_constants.h"
#include "ui/events/gesture_detection/gesture_detection_export.h"
+#include "ui/events/gesture_detection/motion_event.h"
#include "ui/events/gesture_event_details.h"
namespace ui {
@@ -17,6 +18,7 @@ class GestureEventDataPacket;
struct GESTURE_DETECTION_EXPORT GestureEventData {
GestureEventData(const GestureEventDetails&,
int motion_event_id,
+ MotionEvent::ToolType primary_tool_type,
base::TimeTicks time,
float x,
float y,
@@ -30,6 +32,7 @@ struct GESTURE_DETECTION_EXPORT GestureEventData {
GestureEventDetails details;
int motion_event_id;
+ MotionEvent::ToolType primary_tool_type;
base::TimeTicks time;
float x;
float y;
« no previous file with comments | « content/browser/renderer_host/input/motion_event_android.cc ('k') | ui/events/gesture_detection/gesture_event_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698