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

Unified Diff: content/browser/renderer_host/ui_events_helper.h

Issue 2869823003: [VSync Queue] Plug touch ack to gesture events and flush vsync queue if necessary (Closed)
Patch Set: Fix MSAN Use-of-uninitialized-value: Initialize GestureEventDetails 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.h
diff --git a/content/browser/renderer_host/ui_events_helper.h b/content/browser/renderer_host/ui_events_helper.h
index b04a8d35dd5f089c4a43f9c4395c447a8a87a789..2123a2a26fd4d41193b7afcf90a509c4ff229c8c 100644
--- a/content/browser/renderer_host/ui_events_helper.h
+++ b/content/browser/renderer_host/ui_events_helper.h
@@ -10,6 +10,7 @@
#include "content/browser/renderer_host/event_with_latency_info.h"
#include "content/common/content_export.h"
+#include "content/common/input/input_event_ack_state.h"
namespace ui {
class TouchEvent;
@@ -37,6 +38,10 @@ CONTENT_EXPORT bool MakeUITouchEventsFromWebTouchEvents(
std::vector<std::unique_ptr<ui::TouchEvent>>* list,
TouchEventCoordinateSystem coordinate_system);
+// Utility to map the event ack state from the renderer, returns true if the
+// event could be handled non-blocking.
+bool InputEventAckStateIsSetNonBlocking(InputEventAckState);
+
} // namespace content
#endif // CONTENT_BROWSER_RENDERER_HOST_UI_EVENTS_HELPER_H_

Powered by Google App Engine
This is Rietveld 408576698