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

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 WaitForDefaultPresentation, fixed indents Created 5 years, 10 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..123697c349acc93162e0011eb5b8e00b25114734 100644
--- a/content/common/presentation/presentation_service.mojom
+++ b/content/common/presentation/presentation_service.mojom
@@ -39,6 +39,12 @@ interface PresentationService {
// |availablechange| event.
OnScreenAvailabilityListenerRemoved();
+ // Called when the page is ready to listen to the next such event. Indicates
+ // the frame is ready to handle the default presentation started by the user
+ // agent.
mark a. foltz 2015/03/05 19:53:51 Presumably this places a requirement on the implem
+ ListenForDefaultPresentationStart()
+ => (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