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 6c7ff6801adbd11b8285a965da8fa8443a1c526b..52699be3b7ff10ede94d3dd73dbdf1541411514a 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; |
} |
@@ -221,6 +225,8 @@ 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) = 0; |
+ |
virtual void GetScreenInfo(WebKit::WebScreenInfo* results) = 0; |
// Gets the bounds of the window, in screen coordinates. |