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

Unified Diff: third_party/WebKit/public/platform/modules/presentation/presentation.mojom

Issue 2174693004: [Presentation API] Add support to content/ for multiple URLs per PresentationRequest. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add missing TODO Created 4 years, 5 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
« no previous file with comments | « third_party/WebKit/public/platform/modules/presentation/WebPresentationClient.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/modules/presentation/presentation.mojom
diff --git a/third_party/WebKit/public/platform/modules/presentation/presentation.mojom b/third_party/WebKit/public/platform/modules/presentation/presentation.mojom
index cb5ce871cae6e63cb4357df4f6595aaa283a80ee..2c5943756fed092c6ee6f68d11568a97222dec00 100644
--- a/third_party/WebKit/public/platform/modules/presentation/presentation.mojom
+++ b/third_party/WebKit/public/platform/modules/presentation/presentation.mojom
@@ -52,20 +52,20 @@ interface PresentationService {
// Sets the PresentationServiceClient.
SetClient(PresentationServiceClient client);
- // Called when the frame sets or changes the default presentation URL.
+ // Called when the frame sets or changes the default presentation URLs.
// When the default presentation is started on this frame,
// PresentationServiceClient::OnDefaultSessionStarted will be invoked.
- SetDefaultPresentationURL(string url);
+ SetDefaultPresentationUrls(array<string> presentation_urls);
dcheng 2016/07/30 10:21:03 Please pass URLs as URL types. For Mojo, that is u
mark a. foltz 2016/08/29 23:54:54 Done.
// Starts listening for screen availability for presentation of
- // |url|. Availability results will be returned to the client via
+ // |availability_url|. Availability results will be returned to the client via
// PresentationServiceClient::OnScreenAvailabilityUpdated.
- ListenForScreenAvailability(string url);
+ ListenForScreenAvailability(string availability_url);
// Stops listening for screen availability for the presentation of |url|. The
// PresentationServiceClient will stop receiving availability updates for
// |url|.
- StopListeningForScreenAvailability(string url);
+ StopListeningForScreenAvailability(string availability_url);
// Called when startSession() is called by the frame. The result callback
// will return a non-null and valid PresentationSessionInfo if starting the
@@ -76,14 +76,14 @@ interface PresentationService {
// If the UA identifies a matching session (same presentation url), the user
// may choose this existing session and the page will join it rather than get
// a new one.
- StartSession(string presentation_url)
+ StartSession(array<string> presentation_urls)
=> (PresentationSessionInfo? sessionInfo, PresentationError? error);
// Called when joinSession() is called by the frame. The result callback
// works the same as for the method above. JoinSession will join a known
// session (i.e. when the page navigates or the user opens another tab)
// silently and without user action.
- JoinSession(string presentation_url, string? presentation_id)
+ JoinSession(array<string> presentation_urls, string? presentation_id)
=> (PresentationSessionInfo? sessionInfo, PresentationError? error);
// Called when send() is called by the frame. The true in the
« no previous file with comments | « third_party/WebKit/public/platform/modules/presentation/WebPresentationClient.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698