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

Unified Diff: content/browser/renderer_host/input/legacy_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/legacy_touch_event_queue.cc
diff --git a/content/browser/renderer_host/input/legacy_touch_event_queue.cc b/content/browser/renderer_host/input/legacy_touch_event_queue.cc
index 393229ea0672c664c13abff4759e3e91b24fba3d..c0070b56e77026de12a1613ba7b028474ff7774d 100644
--- a/content/browser/renderer_host/input/legacy_touch_event_queue.cc
+++ b/content/browser/renderer_host/input/legacy_touch_event_queue.cc
@@ -432,6 +432,10 @@ bool LegacyTouchEventQueue::Empty() const {
return touch_queue_.empty();
}
+bool LegacyTouchEventQueue::SendTouchEventsAsync() const {
+ return send_touch_events_async_;
+}
+
bool LegacyTouchEventQueue::HasPendingAsyncTouchMoveForTesting() const {
return !!pending_async_touchmove_;
}

Powered by Google App Engine
This is Rietveld 408576698