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

Unified Diff: ui/events/gesture_detection/touch_disposition_gesture_filter.h

Issue 680413006: Re-enable Eager Gesture Recognition on Aura (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Support interleaved sync and async acks. Created 6 years, 1 month 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: ui/events/gesture_detection/touch_disposition_gesture_filter.h
diff --git a/ui/events/gesture_detection/touch_disposition_gesture_filter.h b/ui/events/gesture_detection/touch_disposition_gesture_filter.h
index 5895a6b5e2b0297d9190447d5aef48a3b2f7a557..52d9637cee0cab74f6d7fdd16bd2e50248c5710a 100644
--- a/ui/events/gesture_detection/touch_disposition_gesture_filter.h
+++ b/ui/events/gesture_detection/touch_disposition_gesture_filter.h
@@ -42,8 +42,10 @@ class GESTURE_DETECTION_EXPORT TouchDispositionGestureFilter {
};
PacketResult OnGesturePacket(const GestureEventDataPacket& packet);
- // To be called upon receipt of *all* touch event acks.
- void OnTouchEventAck(bool event_consumed);
+ // One of |OnTouchEventAckForQueue*| must be called upon receipt of
+ // every touch event ack.
+ void OnTouchEventAckForQueueFront(bool event_consumed);
+ void OnTouchEventAckForQueueBack(bool event_consumed);
// Whether there are any active gesture sequences still queued in the filter.
bool IsEmpty() const;

Powered by Google App Engine
This is Rietveld 408576698