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

Unified Diff: content/public/android/java/src/org/chromium/content_public/browser/GestureStateListener.java

Issue 120513005: [Android] Perform eager gesture recognition on MotionEvents (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More testing Created 6 years, 11 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: content/public/android/java/src/org/chromium/content_public/browser/GestureStateListener.java
diff --git a/content/public/android/java/src/org/chromium/content_public/browser/GestureStateListener.java b/content/public/android/java/src/org/chromium/content_public/browser/GestureStateListener.java
index 7d404f26e5cd99adb186f6c798402e9c066fc087..8cb82d6b9c130270fcb023648fea2a7536d12aaa 100644
--- a/content/public/android/java/src/org/chromium/content_public/browser/GestureStateListener.java
+++ b/content/public/android/java/src/org/chromium/content_public/browser/GestureStateListener.java
@@ -12,20 +12,20 @@ public class GestureStateListener {
/**
* Called when the pinch gesture starts.
*/
- public void onPinchGestureStart() {}
+ public void onPinchStarted() {}
/**
* Called when the pinch gesture ends.
*/
- public void onPinchGestureEnd() {}
+ public void onPinchEnded() {}
/**
- * Called when the fling gesture is sent.
+ * Called when a fling starts.
*/
public void onFlingStartGesture(int vx, int vy, int scrollOffsetY, int scrollExtentY) {}
/**
- * Called when the fling cancel gesture is sent.
+ * Called when a fling is cancelled.
*/
public void onFlingCancelGesture() {}
@@ -37,7 +37,7 @@ public class GestureStateListener {
/**
* Called when a fling event was not handled by the renderer.
*/
- public void onUnhandledFlingStartEvent() {}
+ public void onUnhandledFlingStartEvent(int vx, int vy) {}
/**
* Called to indicate that a scroll update gesture had been consumed by the page.
@@ -61,4 +61,4 @@ public class GestureStateListener {
* Called when the scroll offsets or extents may have changed.
*/
public void onScrollOffsetOrExtentChanged(int scrollOffsetY, int scrollExtentY) {}
-}
+}

Powered by Google App Engine
This is Rietveld 408576698