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

Unified Diff: ui/events/test/motion_event_test_utils.h

Issue 2175803002: The helper functions for slop region check and subtraction are modified. (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_provider_unittest.cc ('k') | ui/events/test/motion_event_test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/test/motion_event_test_utils.h
diff --git a/ui/events/test/motion_event_test_utils.h b/ui/events/test/motion_event_test_utils.h
index 68cb8cd65199bd757ebf2de8989a2a82030150d7..a03a92827b4c790787e11d7a8a9bed93370616eb 100644
--- a/ui/events/test/motion_event_test_utils.h
+++ b/ui/events/test/motion_event_test_utils.h
@@ -48,6 +48,7 @@ struct MockMotionEvent : public MotionEventGeneric {
MockMotionEvent& PressPoint(float x, float y);
MockMotionEvent& MovePoint(size_t index, float x, float y);
MockMotionEvent& ReleasePoint();
+ MockMotionEvent& ReleasePointAtIndex(size_t index);
MockMotionEvent& CancelPoint();
MockMotionEvent& SetTouchMajor(float new_touch_major);
MockMotionEvent& SetRawOffset(float raw_offset_x, float raw_offset_y);
« no previous file with comments | « ui/events/gesture_detection/gesture_provider_unittest.cc ('k') | ui/events/test/motion_event_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698