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 1689e41bab6882c77a72a20ecff1ffd62b057577..0c08db78ee19d8e06bca72ffc04468a788c201e9 100644 |
--- a/content/port/browser/render_widget_host_view_port.h |
+++ b/content/port/browser/render_widget_host_view_port.h |
@@ -23,17 +23,21 @@ struct GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params; |
struct GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params; |
struct ViewHostMsg_TextInputState_Params; |
+namespace cc { |
+struct CompositorFrame; |
+} |
+ |
namespace webkit { |
namespace npapi { |
struct WebPluginGeometry; |
} |
} |
-#if defined(OS_POSIX) || defined(USE_AURA) |
namespace WebKit { |
+#if defined(OS_POSIX) || defined(USE_AURA) |
struct WebScreenInfo; |
-} |
#endif |
+} |
namespace content { |
class BackingStore; |
@@ -237,6 +241,8 @@ class CONTENT_EXPORT RenderWidgetHostViewPort : public RenderWidgetHostView { |
uint64 surface_id) {} |
virtual void AcceleratedSurfaceRelease(uint64 surface_id) {} |
+ virtual void SwapCompositorFrame(const cc::CompositorFrame& frame) {} |
+ |
#if defined(TOOLKIT_GTK) |
virtual void CreatePluginContainer(gfx::PluginWindowHandle id) = 0; |
virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) = 0; |