| 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 30a5d3eac45087bc0adba8df73c82720af7da65d..7df8927e8d570ca40a8d21bae913d7e0fe23578d 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
|
| @@ -1431,9 +1431,11 @@ public class ContentViewCore
|
| nativeFlingStart(mNativeContentViewCore, timeMs, x, y,
|
| b.getInt(ContentViewGestureHandler.VELOCITY_X, 0),
|
| b.getInt(ContentViewGestureHandler.VELOCITY_Y, 0));
|
| + getContentViewClient().onFlingStarted();
|
| return true;
|
| case ContentViewGestureHandler.GESTURE_FLING_CANCEL:
|
| nativeFlingCancel(mNativeContentViewCore, timeMs);
|
| + getContentViewClient().onFlingStopped();
|
| return true;
|
| case ContentViewGestureHandler.GESTURE_PINCH_BEGIN:
|
| nativePinchBegin(mNativeContentViewCore, timeMs, x, y);
|
| @@ -3257,6 +3259,12 @@ public class ContentViewCore
|
| return getContentViewClient().shouldBlockMediaRequest(url);
|
| }
|
|
|
| + @CalledByNative
|
| + private void onNativeFlingStopped() {
|
| + mContentViewGestureHandler.onNativeFlingStopped();
|
| + getContentViewClient().onFlingStopped();
|
| + }
|
| +
|
| private native WebContents nativeGetWebContentsAndroid(long nativeContentViewCoreImpl);
|
|
|
| private native void nativeOnJavaContentViewCoreDestroyed(long nativeContentViewCoreImpl);
|
|
|