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

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

Issue 256593003: Also pass unclamped delta and velocity values to GestureEventDetails. (DEPRECATED) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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_provider.h
diff --git a/ui/events/gesture_detection/gesture_provider.h b/ui/events/gesture_detection/gesture_provider.h
index 22558f198f979300cd7b66f7e029f5b0f2fd9415..a424feeabfe7f6572206bc26edad5dc7ad200dad 100644
--- a/ui/events/gesture_detection/gesture_provider.h
+++ b/ui/events/gesture_detection/gesture_provider.h
@@ -86,7 +86,11 @@ class GESTURE_DETECTION_EXPORT GestureProvider {
bool CanHandle(const MotionEvent& event) const;
- void Fling(const MotionEvent& e, float velocity_x, float velocity_y);
+ void Fling(const MotionEvent& e,
+ float velocity_x,
+ float velocity_y,
+ float ordinal_velocity_x,
+ float ordinal_velocity_y);
void Send(const GestureEventData& gesture);
bool SendLongTapIfNecessary(const MotionEvent& event);
void EndTouchScrollIfNecessary(const MotionEvent& event,
« no previous file with comments | « no previous file | ui/events/gesture_detection/gesture_provider.cc » ('j') | ui/events/gesture_detection/gesture_provider.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698