Chromium Code Reviews| 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 |