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

Unified Diff: content/common/presentation/presentation_service.mojom

Issue 1314413005: [Presentation API] 1-UA presentation support + presenter APIs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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/presentation/presentation_service.mojom
diff --git a/content/common/presentation/presentation_service.mojom b/content/common/presentation/presentation_service.mojom
index d46981da9318da22e89bbc2ac0d44a5fc77c4f9e..05ebcced3d91debd1dfd0851060ac0122431125b 100644
--- a/content/common/presentation/presentation_service.mojom
+++ b/content/common/presentation/presentation_service.mojom
@@ -104,6 +104,13 @@ interface PresentationService {
// PresentationServiceClient::OnSessionMessagesReceived.
// This is called after a presentation session is created.
ListenForSessionMessages(PresentationSessionInfo sessionInfo);
+
+ // Gets a single presenter PresentationSessionInfo object for the 1-UA
+ // presentation that was presented onto this frame.
+ // If the calling frame is not a presenter frame, null will be returned.
+ // Otherwise, a presenter PresentationSessionInfo object will be returned,
+ // with url set to empty, and id set to the Id of the 1-UA presentation.
+ GetPresenterSession() => (PresentationSessionInfo? session_info);
};
interface PresentationServiceClient {

Powered by Google App Engine
This is Rietveld 408576698