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

Unified Diff: content/common/frame_sink_provider.mojom

Issue 2774373002: Use MojoCompositorFrameSink in RendererCompositorFrameSink (Closed)
Patch Set: addressed comments Created 3 years, 8 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
Index: content/common/frame_sink_provider.mojom
diff --git a/content/common/frame_sink_provider.mojom b/content/common/frame_sink_provider.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..5c2b1299f3be92d83ef1ce0b0e20f8738fab5c7d
--- /dev/null
+++ b/content/common/frame_sink_provider.mojom
@@ -0,0 +1,10 @@
+module content.mojom;
+
+import "cc/ipc/mojo_compositor_frame_sink.mojom";
+
+// This interface provides MojoCompositorFrameSink for the renderer.
+interface FrameSinkProvider {
+ CreateForWidget(
+ int32 widget_id, cc.mojom.MojoCompositorFrameSink& request,
+ cc.mojom.MojoCompositorFrameSinkClient client);
+};

Powered by Google App Engine
This is Rietveld 408576698