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 1d2d901fc1432dc03ee67f1f59f7960b1b804677..7f96ac8410a8fbfafdb4eb9d68d97381ec7cfba7 100644 |
| --- a/third_party/WebKit/public/platform/modules/presentation/presentation.mojom |
| +++ b/third_party/WebKit/public/platform/modules/presentation/presentation.mojom |
| @@ -69,6 +69,8 @@ interface PresentationService { |
| // Sets the PresentationServiceClient. |
| SetClient(PresentationServiceClient client); |
| + /////////////Functions here are for the controller part of the API./////////// |
|
mark a. foltz
2016/11/08 23:40:52
Nit: add spaces between / and text to improve read
zhaobin
2016/11/10 04:14:01
Done.
|
| + |
| // 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. |
| @@ -103,6 +105,13 @@ interface PresentationService { |
| JoinSession(array<url.mojom.Url> presentation_urls, string? presentation_id) |
| => (PresentationSessionInfo? sessionInfo, PresentationError? error); |
| + // Called in StartSession's callback function for 1-UA presentations only. It |
|
mark a. foltz
2016/11/08 23:40:52
s/1-UA/offscreen/ for consistency with other docum
zhaobin
2016/11/10 04:14:01
Done.
|
| + // sends controlling frame's PresentationConnection to PresentationService. |
| + SetPresentationConnection(PresentationSessionInfo sessionInfo, |
| + PresentationConnection connection); |
| + |
| + ////////////////////////////////////////////////////////////////////////////// |
| + |
| // Called when send() is called by the frame. The true in the |
| // result callback notifies that the service is ready for next message. |
| // The false in the result callback notifies the renderer to stop sending |