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

Unified Diff: cc/ipc/mojo_compositor_frame_sink.mojom

Issue 2711913006: Move FrameSink hierarchy registration to DisplayCompositor interface (Closed)
Patch Set: Fix mojom Formatting Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/ipc/display_compositor.mojom ('k') | cc/surfaces/compositor_frame_sink_support.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/ipc/mojo_compositor_frame_sink.mojom
diff --git a/cc/ipc/mojo_compositor_frame_sink.mojom b/cc/ipc/mojo_compositor_frame_sink.mojom
index a38af9696d6d0b9097918375bc18417d99a8a72b..aad4152e12d55ac079273ebd6fb89f28572a77dc 100644
--- a/cc/ipc/mojo_compositor_frame_sink.mojom
+++ b/cc/ipc/mojo_compositor_frame_sink.mojom
@@ -70,14 +70,10 @@ interface MojoCompositorFrameSinkClient {
WillDrawSurface(LocalSurfaceId local_surface_id, gfx.mojom.Rect damage_rect);
};
-// MojoCompositorFrameSinkPrivate is used by the display compositor host to set
-// up BeginFrameSource hierarchies. This API lives in SurfaceManager but is
-// called from here in order to ensure that hierarchy registration does not race
-// CompositorFrameSink creation.
+// MojoCompositorFrameSinkPrivate is used by the display compositor host to
+// perform privilieged operations on a CompositorFrameSink such as
+// CopyOutputRequests.
interface MojoCompositorFrameSinkPrivate {
- AddChildFrameSink(FrameSinkId child_frame_sink_id);
- RemoveChildFrameSink(FrameSinkId child_frame_sink_id);
-
// Requests that the renderer send back a copy of the surface that this
// CompositorFrameSink submits to. The result can be in form of a bitmap
// or a texture. See cc::CopyOutputRequest.
« no previous file with comments | « cc/ipc/display_compositor.mojom ('k') | cc/surfaces/compositor_frame_sink_support.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698