Chromium Code Reviews| Index: content/renderer/gpu/compositor_output_surface.h |
| diff --git a/content/renderer/gpu/compositor_output_surface.h b/content/renderer/gpu/compositor_output_surface.h |
| index 7f13852311196dabab290fdad93e4772578a24be..d607abe90f7e961077b697c2f8728a36f5470c88 100644 |
| --- a/content/renderer/gpu/compositor_output_surface.h |
| +++ b/content/renderer/gpu/compositor_output_surface.h |
| @@ -44,14 +44,13 @@ class CompositorOutputSurface |
| CompositorOutputSurface(int32 routing_id, |
| WebGraphicsContext3DCommandBufferImpl* context3d, |
| - cc::SoftwareOutputDevice* software); |
| + cc::SoftwareOutputDevice* software, |
| + bool swap_buffers_via_ipc); |
|
piman
2013/06/10 23:30:06
nit: I would rename this parameter too...
|
| virtual ~CompositorOutputSurface(); |
| // cc::OutputSurface implementation. |
| virtual bool BindToClient(cc::OutputSurfaceClient* client) OVERRIDE; |
| - virtual void SendFrameToParentCompositor(cc::CompositorFrame*) OVERRIDE; |
| - virtual void PostSubBuffer(gfx::Rect rect, const ui::LatencyInfo&) OVERRIDE; |
| - virtual void SwapBuffers(const ui::LatencyInfo&) OVERRIDE; |
| + virtual void SwapBuffers(cc::CompositorFrame* frame) OVERRIDE; |
| #if defined(OS_ANDROID) |
| virtual void SetNeedsBeginFrame(bool enable) OVERRIDE; |
| #endif |
| @@ -92,6 +91,8 @@ class CompositorOutputSurface |
| #endif |
| bool Send(IPC::Message* message); |
| + bool use_swap_compositor_frame_message_; |
| + |
| scoped_refptr<IPC::ForwardingMessageFilter> output_surface_filter_; |
| scoped_refptr<CompositorOutputSurfaceProxy> output_surface_proxy_; |
| scoped_refptr<IPC::SyncMessageFilter> message_sender_; |