Chromium Code Reviews| Index: cc/ipc/mojo_compositor_frame_sink.mojom |
| diff --git a/cc/ipc/mojo_compositor_frame_sink.mojom b/cc/ipc/mojo_compositor_frame_sink.mojom |
| index aad4152e12d55ac079273ebd6fb89f28572a77dc..5d08bd958846e177dbce180a72162ed0ca8fc4e7 100644 |
| --- a/cc/ipc/mojo_compositor_frame_sink.mojom |
| +++ b/cc/ipc/mojo_compositor_frame_sink.mojom |
| @@ -9,7 +9,7 @@ import "cc/ipc/compositor_frame.mojom"; |
| import "cc/ipc/copy_output_request.mojom"; |
| import "cc/ipc/frame_sink_id.mojom"; |
| import "cc/ipc/local_surface_id.mojom"; |
| -import "cc/ipc/surface_reference.mojom"; |
| +import "cc/ipc/surface_id.mojom"; |
| import "cc/ipc/returned_resource.mojom"; |
| import "cc/ipc/surface_sequence.mojom"; |
| import "ui/gfx/geometry/mojo/geometry.mojom"; |
| @@ -74,6 +74,10 @@ interface MojoCompositorFrameSinkClient { |
| // perform privilieged operations on a CompositorFrameSink such as |
| // CopyOutputRequests. |
| interface MojoCompositorFrameSinkPrivate { |
| + // Claims this FrameSinkId will embed |surface_id| so it should own the |
| + // temporary reference to |surface_id|. |
| + ClaimTemporaryReference(SurfaceId surface_id); |
|
Tom Sepez
2017/02/28 18:46:58
can this fail? how do things break if an ill-beha
kylechar
2017/02/28 18:59:51
MojoCompositorFrameSinkPrivate is the private inte
|
| + |
| // Requests that the renderer send back a copy of the surface that this |
| // CompositorFrameSink submits to. The result can be in form of a bitmap |
| // or a texture. See cc::CopyOutputRequest. |