| Index: services/ui/public/interfaces/gpu/display_compositor.mojom
|
| diff --git a/services/ui/public/interfaces/gpu/display_compositor.mojom b/services/ui/public/interfaces/gpu/display_compositor.mojom
|
| deleted file mode 100644
|
| index a97377091409ab01defb991cb69104c71aef8bc1..0000000000000000000000000000000000000000
|
| --- a/services/ui/public/interfaces/gpu/display_compositor.mojom
|
| +++ /dev/null
|
| @@ -1,38 +0,0 @@
|
| -// Copyright 2016 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -module ui.gpu.mojom;
|
| -
|
| -import "cc/ipc/compositor_frame.mojom";
|
| -import "cc/ipc/returned_resource.mojom";
|
| -
|
| -// A CompositorFrameSinkFactory represents a single Display client.
|
| -// The client (a process) can use this interface to create
|
| -// CompositorFrameSinks.
|
| -// TODO(fsamuel): This needs a better name.
|
| -interface CompositorFrameSinkFactory {
|
| - // Requests a CompositorFrameSink interface from the display compositor.
|
| - // A CompositorFrameSink has an associated ID consisting of three components:
|
| - // 1. Namespace picked by the service associated with this
|
| - // CompositorFrameSinkFactory.
|
| - // 2. |local_id| which is a monotonically increasing ID allocated by the
|
| - // client.
|
| - // 3. |nonce| is a cryptographically secure random number making this Sink
|
| - // unguessable by other clients.
|
| - CreateCompositorFrameSink(uint32 local_id,
|
| - uint64 nonce,
|
| - CompositorFrameSink& sink,
|
| - CompositorFrameSinkClient client);
|
| -};
|
| -
|
| -// This is a public interface implemented by Display clients.
|
| -// Each client implements a single instance of the DisplayClient interface.
|
| -interface DisplayClient {
|
| - // Clients can register CompositorFrameSinks via the provided |factory|.
|
| - OnClientCreated(uint32 client_id, CompositorFrameSinkFactory factory);
|
| -
|
| - // TODO(fsamuel): OnBeginFrame needs to take a BeginFrameArgs instance per
|
| - // cc/output/begin_frame_args.h.
|
| - OnBeginFrame();
|
| -};
|
|
|