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

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: Rebase again to pick up Yuri's cl Created 5 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: content/common/presentation/presentation_service.mojom
diff --git a/content/common/presentation/presentation_service.mojom b/content/common/presentation/presentation_service.mojom
index e201791642a0fc5ccf4128ecf03dff3e1d27e365..157db91e374acbc8e1f6ec6284d7ddd86d64ec38 100644
--- a/content/common/presentation/presentation_service.mojom
+++ b/content/common/presentation/presentation_service.mojom
@@ -104,6 +104,14 @@ interface PresentationService {
// PresentationServiceClient::OnSessionMessagesReceived.
// This is called after a presentation session is created.
ListenForSessionMessages(PresentationSessionInfo sessionInfo);
+
+ // Gets a single receiver PresentationSessionInfo object for the
miu 2015/10/07 21:51:47 See my comment in presentation_service_delegate.h,
imcheng 2015/10/10 04:39:43 since all mojo callbacks have to be invoked before
+ // offscreen presentation hosted on the offscreen tab containing this frame.
+ // If the calling frame is not the main frame of an offscreen tab,
+ // null will be returned.
+ // Otherwise, a PresentationSessionInfo object will be returned,
+ // with url set to empty, and id set to the ID of the offscreen presentation.
+ GetPresentationReceiverSession() => (PresentationSessionInfo? session_info);
};
interface PresentationServiceClient {

Powered by Google App Engine
This is Rietveld 408576698