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

Unified Diff: cc/ipc/display_compositor.mojom

Issue 2449173003: Mus: Introduce DisplayCompositorClient mojo interface (Closed)
Patch Set: Explicitly add ui/gfx/geometry/mojo dependency Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/ipc/BUILD.gn ('k') | services/ui/surfaces/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/ipc/display_compositor.mojom
diff --git a/cc/ipc/display_compositor.mojom b/cc/ipc/display_compositor.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..c3ae783e6def4e62ec85589f59d0fd022b7503e4
--- /dev/null
+++ b/cc/ipc/display_compositor.mojom
@@ -0,0 +1,20 @@
+// 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 cc.mojom;
+
+import "cc/ipc/surface_id.mojom";
+import "ui/gfx/geometry/mojo/geometry.mojom";
+
+// The DisplayCompositorClient interface is implemented by the Display
+// Compositor Host, a stable, and privileged peer service to the display
+// compositor. The display compositor host is either the browser process in
+// Chrome or the window server process.
+interface DisplayCompositorClient {
+ // Called by the display compositor immediately upon receiving a
+ // CompositorFrame with a new SurfaceId for the first time.
+ OnSurfaceCreated(cc.mojom.SurfaceId surface_id,
+ gfx.mojom.Size frame_size,
+ float device_scale_factor);
+};
« no previous file with comments | « cc/ipc/BUILD.gn ('k') | services/ui/surfaces/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698