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

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

Issue 2869823003: [VSync Queue] Plug touch ack to gesture events and flush vsync queue if necessary (Closed)
Patch Set: dtapuska's comment: Use ack to determine blocking vs. non-blocking Created 3 years, 7 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: 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 59bc7d87ced8b241be646397c47672faa732fbc3..6558a1cb30e1affb8edd40cef2defb6d30b5fcd6 100644
--- a/ui/events/gesture_detection/touch_disposition_gesture_filter.h
+++ b/ui/events/gesture_detection/touch_disposition_gesture_filter.h
@@ -46,7 +46,7 @@ class GESTURE_DETECTION_EXPORT TouchDispositionGestureFilter {
PacketResult OnGesturePacket(const GestureEventDataPacket& packet);
// OnTouchEventAck must be called upon receipt of every touch event ack.
- void OnTouchEventAck(uint32_t unique_touch_event_id, bool event_consumed);
+ void OnTouchEventAck(uint32_t unique_touch_event_id, EventResult result);
// Whether there are any active gesture sequences still queued in the filter.
bool IsEmpty() const;

Powered by Google App Engine
This is Rietveld 408576698