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

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

Issue 286243004: [Android] Add GestureStateListener hook for all single-tap event acks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: No downstream clients, yay Created 6 years, 7 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 | « content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 15971606a1eb10542b1ff3389e6978dd6e8760b2..caac14f4e4a9c38727d1d9d379d5dd953c903a97 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
@@ -63,7 +63,8 @@ public class GestureStateListener {
public void onScrollOffsetOrExtentChanged(int scrollOffsetY, int scrollExtentY) {}
/*
- * Called when a tap event was not handled by the renderer.
+ * Called after a single-tap gesture event was dispatched to the renderer,
+ * indicating whether or not the gesture was consumed.
*/
- public void onUnhandledTapEvent(int x, int y) {}
+ public void onSingleTap(boolean consumed, int x, int y) {}
}
« no previous file with comments | « content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698