Chromium Code Reviews| Index: content/common/presentation/presentation_service.mojom |
| diff --git a/content/common/presentation/presentation_service.mojom b/content/common/presentation/presentation_service.mojom |
| index 99ab552c37f40c542d3588b9c14c0189abb8df32..8438ac7c49806fb3ca9f0ddbb80186a2bec663ee 100644 |
| --- a/content/common/presentation/presentation_service.mojom |
| +++ b/content/common/presentation/presentation_service.mojom |
| @@ -21,6 +21,17 @@ struct PresentationError { |
| string message; |
| }; |
| +enum MessageType { |
|
imcheng
2015/04/02 23:57:24
Doesn't look like these are used. Remove them for
USE s.singapati at gmail.com
2015/04/07 17:45:16
Done.
|
| + TEXT, |
| + BINARY, |
| +}; |
| + |
| +enum BinaryType { |
| + NONE, |
| + BLOB, |
| + ARRAYBUFFER, |
| +}; |
| + |
| interface PresentationService { |
| // Called when the frame sets or changes the default presentation URL or |
| // presentation ID. |
| @@ -70,6 +81,12 @@ interface PresentationService { |
| JoinSession(string presentation_url, string? presentation_id) |
| => (PresentationSessionInfo? sessionInfo, PresentationError? error); |
| + // Called when postMessage is called by the frame. |
| + PostMessages( |
| + string presentation_url, |
| + string presentation_id, |
| + array<string> string_messages); |
|
imcheng
2015/04/02 23:57:24
=> ();
This means PresentationDispatcher will sup
USE s.singapati at gmail.com
2015/04/07 17:45:16
Done.
|
| + |
| // Called when closeSession() is called by the frame. |
| CloseSession(string presentation_url, string presentation_id); |
| }; |