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

Unified Diff: content/port/browser/render_widget_host_view_port.h

Issue 23983036: [Android] Provide synchronized input flush with BeginFrame (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Compile fix Created 7 years, 3 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/port/browser/render_widget_host_view_port.h
diff --git a/content/port/browser/render_widget_host_view_port.h b/content/port/browser/render_widget_host_view_port.h
index d13a125049bdbd0980392918f2425d034b570d4c..1e0ba5b38402400f0f3610b03a051bedca80f0b8 100644
--- a/content/port/browser/render_widget_host_view_port.h
+++ b/content/port/browser/render_widget_host_view_port.h
@@ -288,6 +288,13 @@ class CONTENT_EXPORT RenderWidgetHostViewPort : public RenderWidgetHostView,
virtual InputEventAckState FilterInputEvent(
const WebKit::WebInputEvent& input_event) = 0;
+ // Called by the host when it requires an input flush; the flush call should
+ // by synchronized with BeginFrame.
+ virtual void OnSetNeedsFlushInput() = 0;
+
+ // Called by the host when the input flush has completed.
+ virtual void OnDidFlushInput() = 0;
+
virtual void GestureEventAck(int gesture_event_type,
InputEventAckState ack_result) = 0;

Powered by Google App Engine
This is Rietveld 408576698