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

Unified Diff: Source/modules/presentation/PresentationSession.idl

Issue 1002293005: [PresentationAPI] Plumbing send() from PresentationSession IDL to platform/. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Forward declare the Blob class. 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/PresentationSession.idl
diff --git a/Source/modules/presentation/PresentationSession.idl b/Source/modules/presentation/PresentationSession.idl
index 8c942763ef22737a5cb17ec26fca1f6766f1c15e..ef1cdce6cea7c5a8e44b4ddf1dacb8af0b2cdff1 100644
--- a/Source/modules/presentation/PresentationSession.idl
+++ b/Source/modules/presentation/PresentationSession.idl
@@ -16,7 +16,10 @@ enum PresentationSessionState {
readonly attribute DOMString? id;
readonly attribute PresentationSessionState state;
- void postMessage(DOMString message);
+ [RaisesException] void send(DOMString message);
+ [RaisesException] void send(Blob data);
whywhat 2015/04/13 12:58:45 Either remove send(Blob) or mention it in the desc
USE s.singapati at gmail.com 2015/04/13 16:45:36 Done. Removed it for now.
+ [RaisesException] void send(ArrayBuffer data);
+ [RaisesException] void send(ArrayBufferView data);
void close();
attribute EventHandler onmessage;

Powered by Google App Engine
This is Rietveld 408576698