Index: content/browser/android/content_view_core_impl.cc |
diff --git a/content/browser/android/content_view_core_impl.cc b/content/browser/android/content_view_core_impl.cc |
index 9aa69cdf7daa3a7578068240ec0373366ffd46e7..eca4e536a334137c17caef0a9da4ff4e38007e7e 100644 |
--- a/content/browser/android/content_view_core_impl.cc |
+++ b/content/browser/android/content_view_core_impl.cc |
@@ -1097,10 +1097,16 @@ void ContentViewCoreImpl::HideTextHandles(JNIEnv* env, jobject obj) { |
GetRenderWidgetHostViewAndroid()->HideTextHandles(); |
} |
-void ContentViewCoreImpl::ResetGestureDetection(JNIEnv* env, jobject obj) { |
+void ContentViewCoreImpl::CancelActiveTouchSequence(JNIEnv* env, jobject obj) { |
RenderWidgetHostViewAndroid* rwhv = GetRenderWidgetHostViewAndroid(); |
if (rwhv) |
- rwhv->ResetGestureDetection(); |
+ rwhv->CancelActiveTouchSequence(); |
+} |
+ |
+void ContentViewCoreImpl::ResetPendingInput(JNIEnv* env, jobject obj) { |
+ RenderWidgetHostViewAndroid* rwhv = GetRenderWidgetHostViewAndroid(); |
+ if (rwhv) |
+ rwhv->ResetPendingInput(); |
} |
void ContentViewCoreImpl::SetDoubleTapSupportEnabled(JNIEnv* env, |