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

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

Issue 2357413003: Remove coordinates from GestureStateListener onSingleTap() (Closed)
Patch Set: Created 4 years, 3 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 78da06ce6539f6c71454a9112561b4e630b4b9b4..4048078131ce7efc7a5d6becb6a0b48a3ca8bc6c 100644
--- a/content/browser/android/content_view_core_impl.cc
+++ b/content/browser/android/content_view_core_impl.cc
@@ -582,8 +582,7 @@ void ContentViewCoreImpl::OnGestureEventAck(const blink::WebGestureEvent& event,
break;
case WebInputEvent::GestureTap:
Java_ContentViewCore_onSingleTapEventAck(
- env, j_obj, ack_result == INPUT_EVENT_ACK_STATE_CONSUMED,
- event.x * dpi_scale(), event.y * dpi_scale());
+ env, j_obj, ack_result == INPUT_EVENT_ACK_STATE_CONSUMED);
break;
case WebInputEvent::GestureLongPress:
if (ack_result == INPUT_EVENT_ACK_STATE_CONSUMED)

Powered by Google App Engine
This is Rietveld 408576698