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

Unified Diff: content/browser/renderer_host/render_widget_host_view_aura.cc

Issue 120513005: [Android] Perform eager gesture recognition on MotionEvents (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More testing Created 6 years, 11 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/renderer_host/render_widget_host_view_aura.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_aura.cc b/content/browser/renderer_host/render_widget_host_view_aura.cc
index c546096f99bcff1a54d651a95577620d6adfc9c9..d3357f0df5d87c81ae5f1cf6a2a640348462ceea 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura.cc
+++ b/content/browser/renderer_host/render_widget_host_view_aura.cc
@@ -2150,10 +2150,11 @@ gfx::Rect RenderWidgetHostViewAura::GetBoundsInRootWindow() {
#endif
}
-void RenderWidgetHostViewAura::GestureEventAck(int gesture_event_type,
- InputEventAckState ack_result) {
+void RenderWidgetHostViewAura::GestureEventAck(
+ const blink::WebGestureEvent& event,
+ InputEventAckState ack_result) {
if (touch_editing_client_)
- touch_editing_client_->GestureEventAck(gesture_event_type);
+ touch_editing_client_->GestureEventAck(event.type);
}
void RenderWidgetHostViewAura::ProcessAckedTouchEvent(

Powered by Google App Engine
This is Rietveld 408576698