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

Unified Diff: content/browser/renderer_host/input/immediate_input_router.cc

Issue 25268002: Make tapDown async. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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/renderer_host/input/immediate_input_router.cc
diff --git a/content/browser/renderer_host/input/immediate_input_router.cc b/content/browser/renderer_host/input/immediate_input_router.cc
index a4c69054fd16cb8838053438b95b287a81ae904c..90ada10d50f9ffea0fd21a22a77e47a984ae3d89 100644
--- a/content/browser/renderer_host/input/immediate_input_router.cc
+++ b/content/browser/renderer_host/input/immediate_input_router.cc
@@ -543,6 +543,8 @@ void ImmediateInputRouter::ProcessWheelAck(InputEventAckState ack_result) {
void ImmediateInputRouter::ProcessGestureAck(int type,
InputEventAckState ack_result) {
+ if (GestureEventFilter::IsGestureEventTypeAsync(type))
+ return;
jdduke (slow) 2013/09/30 15:42:56 Are we sure that the |ack_handler_| will never be
tdresser 2013/09/30 18:05:03 I believe this is true. Acks for async event types
const bool processed = (INPUT_EVENT_ACK_STATE_CONSUMED == ack_result);
ack_handler_->OnGestureEventAck(
gesture_event_filter_->GetGestureEventAwaitingAck(), ack_result);

Powered by Google App Engine
This is Rietveld 408576698