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

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

Issue 2058723003: Slop region check for multi-finger scroll (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/gesture_detection/gesture_detector.cc ('k') | ui/events/gesture_detection/gesture_listeners.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/gesture_detection/gesture_listeners.h
diff --git a/ui/events/gesture_detection/gesture_listeners.h b/ui/events/gesture_detection/gesture_listeners.h
index 6decce661335bd7959b8483650af58a81466025b..df2321e20996119b3fe800af82237b87546d7013 100644
--- a/ui/events/gesture_detection/gesture_listeners.h
+++ b/ui/events/gesture_detection/gesture_listeners.h
@@ -21,6 +21,7 @@ class GESTURE_DETECTION_EXPORT GestureListener {
virtual void OnLongPress(const MotionEvent& e) = 0;
virtual bool OnScroll(const MotionEvent& e1,
const MotionEvent& e2,
+ const MotionEvent& secondary_pointer_down,
float distance_x,
float distance_y) = 0;
virtual bool OnFling(const MotionEvent& e1,
@@ -59,6 +60,7 @@ class GESTURE_DETECTION_EXPORT SimpleGestureListener
void OnLongPress(const MotionEvent& e) override;
bool OnScroll(const MotionEvent& e1,
const MotionEvent& e2,
+ const MotionEvent& secondary_pointer_down,
float distance_x,
float distance_y) override;
bool OnFling(const MotionEvent& e1,
« no previous file with comments | « ui/events/gesture_detection/gesture_detector.cc ('k') | ui/events/gesture_detection/gesture_listeners.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698