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

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

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/filtered_gesture_provider.cc
diff --git a/ui/events/gesture_detection/filtered_gesture_provider.cc b/ui/events/gesture_detection/filtered_gesture_provider.cc
index d82d5db823df5cb9bd52803a2ad87b31f8939bbb..27fef55f30a54f8a9354d382a6c7042753e1eb4a 100644
--- a/ui/events/gesture_detection/filtered_gesture_provider.cc
+++ b/ui/events/gesture_detection/filtered_gesture_provider.cc
@@ -51,8 +51,8 @@ FilteredGestureProvider::OnTouchEvent(const MotionEvent& event) {
}
void FilteredGestureProvider::OnTouchEventAck(uint32_t unique_event_id,
- bool event_consumed) {
- gesture_filter_.OnTouchEventAck(unique_event_id, event_consumed);
+ EventResult result) {
+ gesture_filter_.OnTouchEventAck(unique_event_id, result);
}
void FilteredGestureProvider::ResetDetection() {

Powered by Google App Engine
This is Rietveld 408576698