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

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

Issue 978543002: [Presentation API] Plumbing the |defaultpresentationstart| event from Blink to browser/Mojo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Renamed DefaultPresentation to DefaultSession in line with the Blink CL Created 5 years, 9 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 d1e4b07909b59f888cd7f09433da54fcdb0742c0..c81c687391c75628e18b11758f52134a212876f1 100644
--- a/content/common/presentation/presentation_service.mojom
+++ b/content/common/presentation/presentation_service.mojom
@@ -39,6 +39,13 @@ interface PresentationService {
// |availablechange| event.
OnScreenAvailabilityListenerRemoved();
+ // Called when the renderer is ready to receive the browser initiated
+ // session. If the default session is started by the embedder before this
+ // call, the embedder may queue it and run the callback when the call is
+ // performed.
+ ListenForDefaultSessionStart()
+ => (PresentationSessionInfo defaultSessionInfo);
+
// Called when startSession() is called by the frame. The result callback
// will return a non-null and valid PresentationSessionInfo if starting the
// session succeeded, or null with a PresentationError if starting the
« no previous file with comments | « content/browser/presentation/presentation_service_impl.cc ('k') | content/renderer/presentation/presentation_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698