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

Unified Diff: ui/events/gesture_detection/gesture_event_data_packet.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/gesture_event_data_packet.h
diff --git a/ui/events/gesture_detection/gesture_event_data_packet.h b/ui/events/gesture_detection/gesture_event_data_packet.h
index 264f1fd433fb455a5e81099c6581891a35300419..479b0a5844278b6968123d88a2dfb9fbd5ce8c64 100644
--- a/ui/events/gesture_detection/gesture_event_data_packet.h
+++ b/ui/events/gesture_detection/gesture_event_data_packet.h
@@ -61,7 +61,7 @@ class GESTURE_DETECTION_EXPORT GestureEventDataPacket {
// We store the ack with the packet until the packet reaches the
// head of the queue, and then we handle the ack.
- void Ack(bool event_consumed);
+ void Ack(EventResult result);
AckState ack_state() { return ack_state_; }
uint32_t unique_touch_event_id() const { return unique_touch_event_id_; }

Powered by Google App Engine
This is Rietveld 408576698