Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(482)

Side by Side Diff: components/mus/public/interfaces/display_compositor_host.mojom

Issue 1989693002: Introduce DisplayCompositor Mojo API for Mus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved privileged API to display_compositor_host Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 module mus.mojom;
6
7 import "components/mus/public/interfaces/display_compositor.mojom";
8
9 // This is a privileged API to be used only by the Mus Window Server.
10 // There is one Display per accelerated widget. This corresponds to a physical
11 // display on Chrome OS, and a window on other Chrome platforms.
12 interface Display {
13 // Each client (process) has a unique |client_id| and implements the
14 // DisplayClient interface.
15 CreateClient(uint32 client_id, DisplayClient& client);
16 };
17
18 // This is a privileged API to be used only by the Mus Window Server.
19 // There should be only one DisplayCompositor connection.
20 interface DisplayCompositor {
21 CreateDisplay(int32 accelerated_widget,
22 Display& display,
23 DisplayClient client);
24 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698