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

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

Issue 2282633002: Integrate Surface requests with MediaPlayerRenderer (Closed)
Patch Set: Clarified comment 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
Index: media/mojo/interfaces/renderer.mojom
diff --git a/media/mojo/interfaces/renderer.mojom b/media/mojo/interfaces/renderer.mojom
index 8d392878b9df41d6aac629fdc5a088430174999e..b5da11047376090c5bb0a638fd93875423c06cac 100644
--- a/media/mojo/interfaces/renderer.mojom
+++ b/media/mojo/interfaces/renderer.mojom
@@ -35,6 +35,13 @@ 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. Returns base::nullopt if the
+ // Renderer does not support this operation.
+ InitiateScopedSurfaceRequest()
+ => (mojo.common.mojom.UnguessableToken? request_token);
};
interface RendererClient {

Powered by Google App Engine
This is Rietveld 408576698