| Index: cc/ipc/display_compositor.mojom
|
| diff --git a/cc/ipc/display_compositor.mojom b/cc/ipc/display_compositor.mojom
|
| index d8fab7a6763bd5a70fb02084d7af69a7310269b0..2df2c2a4749471a80641930f0efa830c22aec33b 100644
|
| --- a/cc/ipc/display_compositor.mojom
|
| +++ b/cc/ipc/display_compositor.mojom
|
| @@ -29,15 +29,6 @@ interface DisplayCompositor {
|
| cc.mojom.MojoCompositorFrameSink& compositor_frame_sink,
|
| cc.mojom.MojoCompositorFrameSinkPrivate& compositor_frame_sink_private,
|
| cc.mojom.MojoCompositorFrameSinkClient compositor_frame_sink_client);
|
| -
|
| - // TODO(fsamuel): This surface reference API is temporary. Surface references
|
| - // should be bundled with CompositorFrames.
|
| - AddRootSurfaceReference(cc.mojom.SurfaceId child_id);
|
| - AddSurfaceReference(cc.mojom.SurfaceId parent_id,
|
| - cc.mojom.SurfaceId child_id);
|
| - RemoveRootSurfaceReference(cc.mojom.SurfaceId child_id);
|
| - RemoveSurfaceReference(cc.mojom.SurfaceId parent_id,
|
| - cc.mojom.SurfaceId child_id);
|
| };
|
|
|
| // The DisplayCompositorClient interface is implemented by the Display
|
| @@ -45,6 +36,11 @@ interface DisplayCompositor {
|
| // compositor. The display compositor host is either the browser process in
|
| // Chrome or the window server process.
|
| interface DisplayCompositorClient {
|
| + // Called by the display compostor when it is created. Provides the top level
|
| + // root surface id that should reference display roots. This will always be
|
| + // the first message sent.
|
| + OnDisplayCompositorCreated(cc.mojom.SurfaceId root_surface_id);
|
| +
|
| // Called by the display compositor immediately upon receiving a
|
| // CompositorFrame with a new SurfaceId for the first time.
|
| OnSurfaceCreated(cc.mojom.SurfaceId surface_id,
|
|
|