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

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

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, 6 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_listeners.cc
diff --git a/ui/events/gesture_detection/gesture_listeners.cc b/ui/events/gesture_detection/gesture_listeners.cc
index 570936a00f409f3b3554e5ab14b8a6a4eb9f15c3..c06adea7187fcb180edb3d636e76785c669b98ea 100644
--- a/ui/events/gesture_detection/gesture_listeners.cc
+++ b/ui/events/gesture_detection/gesture_listeners.cc
@@ -22,9 +22,8 @@ void SimpleGestureListener::OnLongPress(const MotionEvent& e) {
}
bool SimpleGestureListener::OnScroll(const MotionEvent& e1,
- const MotionEvent& e2,
- float distance_x,
- float distance_y) {
+ const MotionEvent& e2, const MotionEvent& secondary_pointer_down_event,
+ float distance_x, float distance_y) {
return false;
}

Powered by Google App Engine
This is Rietveld 408576698