| Index: components/mus/public/interfaces/display_compositor_host.mojom
|
| diff --git a/components/mus/public/interfaces/display_compositor_host.mojom b/components/mus/public/interfaces/display_compositor_host.mojom
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..810fb6e15c0a34d486f928486751652b022f6031
|
| --- /dev/null
|
| +++ b/components/mus/public/interfaces/display_compositor_host.mojom
|
| @@ -0,0 +1,24 @@
|
| +// 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 mus.mojom;
|
| +
|
| +import "components/mus/public/interfaces/display_compositor.mojom";
|
| +
|
| +// This is a privileged API to be used only by the Mus Window Server.
|
| +// There is one Display per accelerated widget. This corresponds to a physical
|
| +// display on Chrome OS, and a window on other Chrome platforms.
|
| +interface Display {
|
| + // Each client (process) has a unique |client_id| and implements the
|
| + // DisplayClient interface.
|
| + CreateClient(uint32 client_id, DisplayClient& client);
|
| +};
|
| +
|
| +// This is a privileged API to be used only by the Mus Window Server.
|
| +// There should be only one DisplayCompositor connection.
|
| +interface DisplayCompositor {
|
| + CreateDisplay(int32 accelerated_widget,
|
| + Display& display,
|
| + DisplayClient client);
|
| +};
|
|
|