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

Unified Diff: content/browser/renderer_host/input/passthrough_touch_event_queue.cc

Issue 2869823003: [VSync Queue] Plug touch ack to gesture events and flush vsync queue if necessary (Closed)
Patch Set: 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: content/browser/renderer_host/input/passthrough_touch_event_queue.cc
diff --git a/content/browser/renderer_host/input/passthrough_touch_event_queue.cc b/content/browser/renderer_host/input/passthrough_touch_event_queue.cc
index b9cc039df19a5282ef8f436436ea6276e7c92afd..adde6cee7a7ce1f0c1c5057108ad58e524b88229 100644
--- a/content/browser/renderer_host/input/passthrough_touch_event_queue.cc
+++ b/content/browser/renderer_host/input/passthrough_touch_event_queue.cc
@@ -253,6 +253,10 @@ bool PassthroughTouchEventQueue::Empty() const {
return outstanding_touches_.empty();
}
+bool PassthroughTouchEventQueue::SendTouchEventsAsync() const {
+ return send_touch_events_async_;
+}
+
void PassthroughTouchEventQueue::FlushQueue() {
drop_remaining_touches_in_sequence_ = true;
while (!outstanding_touches_.empty()) {

Powered by Google App Engine
This is Rietveld 408576698