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

Unified Diff: content/browser/android/content_view_core_impl.cc

Issue 321563002: Support minimum gesture bounds in GestureProvider (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup Created 6 years, 6 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/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 8fdfb8c27fc22a55f2f07009d3d08203e02b8e8a..5b41bba0338a4e98c7907c2070ba8252c203fbee 100644
--- a/content/browser/android/content_view_core_impl.cc
+++ b/content/browser/android/content_view_core_impl.cc
@@ -944,7 +944,8 @@ jboolean ContentViewCoreImpl::OnTouchEvent(JNIEnv* env,
jint pointer_id_0,
jint pointer_id_1,
jfloat touch_major_0,
- jfloat touch_major_1) {
+ jfloat touch_major_1,
+ jint tool_type) {
RenderWidgetHostViewAndroid* rwhv = GetRenderWidgetHostViewAndroid();
// Avoid synthesizing a touch event if it cannot be forwarded.
if (!rwhv)
@@ -965,7 +966,8 @@ jboolean ContentViewCoreImpl::OnTouchEvent(JNIEnv* env,
pointer_id_0,
pointer_id_1,
touch_major_0,
- touch_major_1);
+ touch_major_1,
+ tool_type);
return rwhv->OnTouchEvent(event);
}

Powered by Google App Engine
This is Rietveld 408576698