| Index: content/browser/renderer_host/render_widget_host_impl.h
|
| diff --git a/content/browser/renderer_host/render_widget_host_impl.h b/content/browser/renderer_host/render_widget_host_impl.h
|
| index 0a5c0dbb3b980e40790a9b73d530ebbd02a71ce1..959a322ef1df1f217bb72198d7d6b9e11b98b299 100644
|
| --- a/content/browser/renderer_host/render_widget_host_impl.h
|
| +++ b/content/browser/renderer_host/render_widget_host_impl.h
|
| @@ -477,11 +477,7 @@ class CONTENT_EXPORT RenderWidgetHostImpl
|
| // Update the renderer's cache of the screen rect of the view and window.
|
| void SendScreenRects();
|
|
|
| - // Called by the view in response to a flush request.
|
| - void FlushInput();
|
| -
|
| - // Request a flush signal from the view.
|
| - void SetNeedsFlush();
|
| + void OnBeginFrame();
|
|
|
| // Indicates whether the renderer drives the RenderWidgetHosts's size or the
|
| // other way around.
|
| @@ -641,6 +637,9 @@ class CONTENT_EXPORT RenderWidgetHostImpl
|
|
|
| void OnGpuSwapBuffersCompletedInternal(const ui::LatencyInfo& latency_info);
|
|
|
| + void RequestBeginFrameForSynthesizedInput(
|
| + base::OnceClosure begin_frame_callback);
|
| +
|
| // IPC message handlers
|
| void OnRenderProcessGone(int status, int error_code);
|
| void OnClose();
|
| @@ -983,6 +982,8 @@ class CONTENT_EXPORT RenderWidgetHostImpl
|
| // Sorted by frame token.
|
| std::queue<std::pair<uint32_t, std::vector<IPC::Message>>> queued_messages_;
|
|
|
| + base::OnceClosure begin_frame_callback_;
|
| +
|
| base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
|
|
|