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

Unified Diff: ui/events/gesture_detection/touch_disposition_gesture_filter_unittest.cc

Issue 2951973002: Reland of [VSync Queue] Plug touch ack to gesture events and flush vsync queue if necessary (Closed)
Patch Set: Created 3 years, 6 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
« no previous file with comments | « ui/events/gesture_detection/touch_disposition_gesture_filter.cc ('k') | ui/events/gesture_event_details.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/gesture_detection/touch_disposition_gesture_filter_unittest.cc
diff --git a/ui/events/gesture_detection/touch_disposition_gesture_filter_unittest.cc b/ui/events/gesture_detection/touch_disposition_gesture_filter_unittest.cc
index e84049ce63631ec5bf3a760cbde90d6ea207d693..613cc75d0fd32fa907a0faff126bf9d59f011502 100644
--- a/ui/events/gesture_detection/touch_disposition_gesture_filter_unittest.cc
+++ b/ui/events/gesture_detection/touch_disposition_gesture_filter_unittest.cc
@@ -140,24 +140,31 @@
return queue_->OnGesturePacket(packet);
}
- void SendTouchEventAck(uint32_t touch_event_id, bool event_consumed) {
- queue_->OnTouchEventAck(touch_event_id, event_consumed);
+ void SendTouchEventAck(uint32_t touch_event_id,
+ bool event_consumed,
+ bool is_source_touch_event_set_non_blocking) {
+ queue_->OnTouchEventAck(touch_event_id, event_consumed,
+ is_source_touch_event_set_non_blocking);
}
void SendTouchConsumedAck(uint32_t touch_event_id) {
- SendTouchEventAck(touch_event_id, true);
+ SendTouchEventAck(touch_event_id, true /* event_consumed */,
+ false /* is_source_touch_event_set_non_blocking */);
}
void SendTouchNotConsumedAck(uint32_t touch_event_id) {
- SendTouchEventAck(touch_event_id, false);
+ SendTouchEventAck(touch_event_id, false /* event_consumed */,
+ false /* is_source_touch_event_set_non_blocking */);
}
void SendTouchConsumedAckForLastTouch() {
- SendTouchEventAck(last_sent_touch_event_id_, true);
+ SendTouchEventAck(last_sent_touch_event_id_, true /* event_consumed */,
+ false /* is_source_touch_event_set_non_blocking */);
}
void SendTouchNotConsumedAckForLastTouch() {
- SendTouchEventAck(last_sent_touch_event_id_, false);
+ SendTouchEventAck(last_sent_touch_event_id_, false /* event_consumed */,
+ false /* is_source_touch_event_set_non_blocking */);
}
void PushGesture(EventType type) {
« no previous file with comments | « ui/events/gesture_detection/touch_disposition_gesture_filter.cc ('k') | ui/events/gesture_event_details.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698