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

Unified Diff: public/platform/modules/presentation/WebPresentationClient.h

Issue 1002293005: [PresentationAPI] Plumbing send() from PresentationSession IDL to platform/. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 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
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..ccc25f9046966f0486b47b9e8c021b2894b0d849 100644
--- a/public/platform/modules/presentation/WebPresentationClient.h
+++ b/public/platform/modules/presentation/WebPresentationClient.h
@@ -40,6 +40,9 @@ public:
// The ownership of the |callbacks| argument is transferred to the embedder.
virtual void joinSession(const WebString& presentationUrl, const WebString& presentationId, WebPresentationSessionClientCallbacks*) = 0;
+ // Called when the frame requests to post DOMString message to an existing presentation.
+ virtual void postMessage(const WebString& url, const WebString& presentationId, const WebString& message) = 0;
Peter Beverloo 2015/03/25 20:20:29 This won't compile because the postMessage() metho
whywhat 2015/03/26 00:19:22 I think it might work actually if Chromium change
USE s.singapati at gmail.com 2015/03/26 11:57:40 Done. Added empty definition for now and will be c
+
// Called when the frame requests to close an existing session.
virtual void closeSession(const WebString& url, const WebString& presentationId) = 0;
};

Powered by Google App Engine
This is Rietveld 408576698