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 c088309b4d4fe916e858b61a716b4e176a852328..4ab00592b90b294893bb3efde5fe50fdad5c9f40 100644 |
--- a/content/browser/renderer_host/render_widget_host_impl.h |
+++ b/content/browser/renderer_host/render_widget_host_impl.h |
@@ -41,6 +41,7 @@ class TimeTicks; |
namespace cc { |
class CompositorFrame; |
+class CompositorFrameAck; |
} |
namespace ui { |
@@ -388,6 +389,10 @@ class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost, |
int gpu_host_id, |
const AcceleratedSurfaceMsg_BufferPresented_Params& params); |
+ // Called by the view in response to OnSwapCompositorFrame. |
+ static void SendSwapCompositorFrameAck( |
+ int32 route_id, int renderer_host_id, const cc::CompositorFrameAck& ack); |
+ |
// Called by the view in response to AcceleratedSurfaceBuffersSwapped for |
// platforms that support deferred GPU process descheduling. This does |
// nothing if the compositor thread is enabled. |