| Index: content/browser/renderer_host/offscreen_canvas_surface_impl.h
|
| diff --git a/content/browser/renderer_host/offscreen_canvas_surface_impl.h b/content/browser/renderer_host/offscreen_canvas_surface_impl.h
|
| index 7757e57bc61169c479390da4460244e33b4820bf..057649a3e733b92bb5633f5b208259a09f3528a8 100644
|
| --- a/content/browser/renderer_host/offscreen_canvas_surface_impl.h
|
| +++ b/content/browser/renderer_host/offscreen_canvas_surface_impl.h
|
| @@ -26,6 +26,10 @@ class CONTENT_EXPORT OffscreenCanvasSurfaceImpl
|
| cc::mojom::DisplayCompositorClientPtr client,
|
| blink::mojom::OffscreenCanvasSurfaceRequest request);
|
|
|
| + void CreateCompositorFrameSink(
|
| + cc::mojom::MojoCompositorFrameSinkClientPtr client,
|
| + cc::mojom::MojoCompositorFrameSinkRequest request);
|
| +
|
| void OnSurfaceCreated(const cc::SurfaceInfo& surface_info);
|
|
|
| // blink::mojom::OffscreenCanvasSurface implementation.
|
| @@ -47,11 +51,15 @@ class CONTENT_EXPORT OffscreenCanvasSurfaceImpl
|
| cc::mojom::DisplayCompositorClientPtr client_;
|
| mojo::StrongBindingPtr<blink::mojom::OffscreenCanvasSurface> binding_;
|
|
|
| + cc::mojom::MojoCompositorFrameSinkPrivatePtr compositor_frame_sink_private_;
|
| +
|
| // Surface-related state
|
| const cc::FrameSinkId frame_sink_id_;
|
| cc::LocalSurfaceId current_local_surface_id_;
|
| const cc::FrameSinkId parent_frame_sink_id_;
|
|
|
| + bool has_registered_frame_sink_hierarchy_ = false;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(OffscreenCanvasSurfaceImpl);
|
| };
|
|
|
|
|