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

Unified Diff: content/browser/renderer_host/ui_events_helper.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
Index: content/browser/renderer_host/ui_events_helper.cc
diff --git a/content/browser/renderer_host/ui_events_helper.cc b/content/browser/renderer_host/ui_events_helper.cc
index 8ee439cbff841968a6fab204662e885d87e2eb88..9bfc3bbf55d7814925470dea3aeac5b27191a05e 100644
--- a/content/browser/renderer_host/ui_events_helper.cc
+++ b/content/browser/renderer_host/ui_events_helper.cc
@@ -90,4 +90,14 @@
return true;
}
+bool InputEventAckStateIsSetNonBlocking(InputEventAckState ack_state) {
+ switch (ack_state) {
+ case INPUT_EVENT_ACK_STATE_SET_NON_BLOCKING:
+ case INPUT_EVENT_ACK_STATE_SET_NON_BLOCKING_DUE_TO_FLING:
+ return true;
+ default:
+ return false;
+ }
+}
+
} // namespace content
« no previous file with comments | « content/browser/renderer_host/ui_events_helper.h ('k') | third_party/WebKit/Source/platform/exported/WebInputEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698