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

Unified Diff: Source/modules/presentation/PresentationController.h

Issue 1002293005: [PresentationAPI] Plumbing send() from PresentationSession IDL to platform/. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Blob cleanup. Created 5 years, 8 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: Source/modules/presentation/PresentationController.h
diff --git a/Source/modules/presentation/PresentationController.h b/Source/modules/presentation/PresentationController.h
index cc6c3c2c8ddea430badf6aa252aae53cfad29f81..479f9a587f11f81712285134b2a832cd20b34fdd 100644
--- a/Source/modules/presentation/PresentationController.h
+++ b/Source/modules/presentation/PresentationController.h
@@ -56,6 +56,12 @@ public:
// Called when the frame wants to join an existing presentation.
void joinSession(const String& presentationUrl, const String& presentationId, WebPresentationSessionClientCallbacks*);
+ // Called when the frame wants to send String message to an existing presentation.
+ void send(const String& url, const String& presentationId, const String& message);
mlamouri (slow - plz ping) 2015/04/16 10:06:30 ditto
USE s.singapati at gmail.com 2015/04/16 16:10:01 Done. renamed to presentationUrl.
+
+ // Called when the frame wants to send ArrayBuffer/View data to an existing presentation.
+ void send(const String& url, const String& 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:01 Done.
+
// Called when the frame wants to close an existing presentation.
void closeSession(const String& url, const String& presentationId);

Powered by Google App Engine
This is Rietveld 408576698