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

Unified Diff: media/mojo/interfaces/renderer.mojom

Issue 1978973002: Moves video frame callbacks from VideoFrameCompositor to Renderer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addresses comments Created 4 years, 7 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 | « media/media.gyp ('k') | media/mojo/services/media_mojo_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/interfaces/renderer.mojom
diff --git a/media/mojo/interfaces/renderer.mojom b/media/mojo/interfaces/renderer.mojom
index 422bc72e02d05744924fbebf2bff21325050a22d..e3ac4f772609d48f32e93c91b3fb54cdfef98eee 100644
--- a/media/mojo/interfaces/renderer.mojom
+++ b/media/mojo/interfaces/renderer.mojom
@@ -6,6 +6,7 @@ module media.interfaces;
import "media/mojo/interfaces/demuxer_stream.mojom";
import "media/mojo/interfaces/media_types.mojom";
+import "ui/mojo/geometry/geometry.mojom";
interface Renderer {
// Initializes the Renderer with one or both of an audio and video stream,
@@ -52,4 +53,10 @@ interface RendererClient {
// this error happens during an operation that has a completion callback,
// OnError() will be called before firing the completion callback.
OnError();
+
+ // Executed for the first video frame and whenever natural size changes.
+ OnVideoNaturalSizeChange(mojo.Size size);
+
+ // Executed for the first video frame and whenever opacity changes.
+ OnVideoOpacityChange(bool opaque);
};
« no previous file with comments | « media/media.gyp ('k') | media/mojo/services/media_mojo_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698