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 a67253f4ec0c5855281ccb9e6cb7f360665db37d..73366601820141e3c2f5541bfadcfa0c6b755a40 100644 |
--- a/content/port/browser/render_widget_host_view_port.h |
+++ b/content/port/browser/render_widget_host_view_port.h |
@@ -27,6 +27,10 @@ struct GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params; |
struct ViewHostMsg_TextInputState_Params; |
struct ViewHostMsg_SelectionBounds_Params; |
+namespace cc { |
+class CompositorFrame; |
+} |
+ |
namespace media { |
class VideoFrame; |
} |
@@ -219,6 +223,10 @@ class CONTENT_EXPORT RenderWidgetHostViewPort : public RenderWidgetHostView, |
// returned only if the accelerated surface size matches. |
virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) = 0; |
+ virtual void OnSwapCompositorFrame(const cc::CompositorFrame& frame, |
+ int render_host_id, |
+ int route_id) {} |
+ |
virtual void GetScreenInfo(WebKit::WebScreenInfo* results) = 0; |
// Gets the bounds of the window, in screen coordinates. |