Chromium Code Reviews| Index: public/platform/modules/presentation/WebPresentationClient.h |
| diff --git a/public/platform/modules/presentation/WebPresentationClient.h b/public/platform/modules/presentation/WebPresentationClient.h |
| index ab82031d5e09e68366df0976027d33d106e6874b..34301d4df1e857aae304b0eea767ce2b21083ae5 100644 |
| --- a/public/platform/modules/presentation/WebPresentationClient.h |
| +++ b/public/platform/modules/presentation/WebPresentationClient.h |
| @@ -40,6 +40,18 @@ public: |
| // The ownership of the |callbacks| argument is transferred to the embedder. |
| virtual void joinSession(const WebString& presentationUrl, const WebString& presentationId, WebPresentationSessionClientCallbacks*) = 0; |
| + // TODO(s.singapati): make below send methods pure virtual once Chromium has the implementation. |
| + // Called when the frame requests to send String message to an existing session. |
| + virtual void sendString(const WebString& url, const WebString& presentationId, const WebString& message) |
|
mlamouri (slow - plz ping)
2015/04/16 10:06:30
What's the |url| here? presentationUrl?
USE s.singapati at gmail.com
2015/04/16 16:10:02
Done. renamed to presentationUrl.
|
| + { |
| + BLINK_ASSERT_NOT_REACHED(); |
| + } |
| + // Called when the frame requests to send ArrayBuffer/View data to an existing session. |
| + virtual void sendArrayBuffer(const WebString& url, const WebString& presentationId, const char* data, size_t length) |
|
mlamouri (slow - plz ping)
2015/04/16 10:06:30
ditto
USE s.singapati at gmail.com
2015/04/16 16:10:02
Done.
|
| + { |
| + BLINK_ASSERT_NOT_REACHED(); |
| + } |
| + |
| // Called when the frame requests to close an existing session. |
| virtual void closeSession(const WebString& url, const WebString& presentationId) = 0; |
| }; |