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

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: 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: Source/modules/presentation/PresentationSession.idl
diff --git a/Source/modules/presentation/PresentationSession.idl b/Source/modules/presentation/PresentationSession.idl
index 8c942763ef22737a5cb17ec26fca1f6766f1c15e..08f82ed4736d373620a11af7279889763b4d13bb 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 postMessage(DOMString message);
+ [RaisesException] void postMessage(Blob data);
+ [RaisesException] void postMessage(ArrayBuffer data);
+ [RaisesException] void postMessage(ArrayBufferView data);
Peter Beverloo 2015/03/25 20:20:29 I don't see why we need these overloads. I would c
USE s.singapati at gmail.com 2015/03/26 11:57:40 Acknowledged. I think we try to be consistent with
void close();
attribute EventHandler onmessage;

Powered by Google App Engine
This is Rietveld 408576698