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

Unified Diff: cc/ipc/display_compositor.mojom

Issue 2576723002: Split cc::mojom::DisplayCompositor::CreateCompositorFrameSink() into CreateDisplayCompositorFrameSi… (Closed)
Patch Set: In DisplayCompositor::CreateDisplayCompositorFrameSink, let a local variable hold the result of Cre… Created 4 years 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 | « no previous file | services/ui/surfaces/display_compositor.h » ('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
index 2df2c2a4749471a80641930f0efa830c22aec33b..06abdbd55d3d1ec4b2b64cde7f43aa327679764b 100644
--- a/cc/ipc/display_compositor.mojom
+++ b/cc/ipc/display_compositor.mojom
@@ -23,12 +23,18 @@ import "ui/gfx/geometry/mojo/geometry.mojom";
// will typically simply request a CompositorFrameSink from the display
// compositor host which will forward the request to the display compositor.
interface DisplayCompositor {
- CreateCompositorFrameSink(
+ CreateDisplayCompositorFrameSink(
cc.mojom.FrameSinkId frame_sink_id,
gpu.mojom.SurfaceHandle widget,
cc.mojom.MojoCompositorFrameSink& compositor_frame_sink,
cc.mojom.MojoCompositorFrameSinkPrivate& compositor_frame_sink_private,
cc.mojom.MojoCompositorFrameSinkClient compositor_frame_sink_client);
+
+ CreateOffscreenCompositorFrameSink(
+ cc.mojom.FrameSinkId frame_sink_id,
+ cc.mojom.MojoCompositorFrameSink& compositor_frame_sink,
+ cc.mojom.MojoCompositorFrameSinkPrivate& compositor_frame_sink_private,
+ cc.mojom.MojoCompositorFrameSinkClient compositor_frame_sink_client);
};
// The DisplayCompositorClient interface is implemented by the Display
« no previous file with comments | « no previous file | services/ui/surfaces/display_compositor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698