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

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

Issue 2282633002: Integrate Surface requests with MediaPlayerRenderer (Closed)
Patch Set: Addressed last comments Created 4 years, 2 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/mojo/clients/mojo_renderer_unittest.cc ('k') | media/mojo/services/mojo_renderer_service.h » ('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 8d392878b9df41d6aac629fdc5a088430174999e..302883394ff84091d90059d8df2531835c7ad8ca 100644
--- a/media/mojo/interfaces/renderer.mojom
+++ b/media/mojo/interfaces/renderer.mojom
@@ -35,6 +35,16 @@ interface Renderer {
// Attaches the CDM associated with |cdm_id| to the renderer service,
// executing the callback with whether the CDM was successfully attached.
SetCdm(int32 cdm_id) => (bool success);
+
+ // Registers a new request in the ScopedSurfaceRequestManager, and returns
+ // its token.
+ //
+ // NOTE: Should only be called on Android. Only used for WMPI's fallback path
+ // (i.e. HLS playback), when the MojoRendererService wraps a
+ // content::MediaPlayerRenderer.
+ // Unexpected calls to this method will close the connection.
+ InitiateScopedSurfaceRequest()
+ => (mojo.common.mojom.UnguessableToken request_token);
};
interface RendererClient {
« no previous file with comments | « media/mojo/clients/mojo_renderer_unittest.cc ('k') | media/mojo/services/mojo_renderer_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698