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

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

Issue 2932623002: [TTS] Add onTouchDown to GestureStateListener. (Closed)
Patch Set: Adjusted the custom histograms to write all values and use a max of 1000 with 100 buckets. Created 3 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
Index: content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java b/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
index d4af7a5ad8522b85dfd74a5420ca42e1c42f4830..8b32c13a4f300fa54e3a69373314531e39a29c30 100644
--- a/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
+++ b/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
@@ -1126,6 +1126,9 @@ public class ContentViewCore implements AccessibilityStateChangeListener, Displa
private void onTouchDown(MotionEvent event) {
if (mShouldRequestUnbufferedDispatch) requestUnbufferedDispatch(event);
cancelRequestToScrollFocusedEditableNodeIntoView();
+ for (mGestureStateListenersIterator.rewind(); mGestureStateListenersIterator.hasNext();) {
+ mGestureStateListenersIterator.next().onTouchDown();
+ }
}
private void updateAfterSizeChanged() {

Powered by Google App Engine
This is Rietveld 408576698