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

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: Fix layout test: change postMessage to send. 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..c5f4e44f59d89ca8de07cf8c8ba1d2edd646cc0b 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(ArrayBuffer data);
+ [RaisesException] void send(ArrayBufferView data);
+ // TODO(s.singapati): Implement Blob support, crbug.com/459008.
void close();
attribute EventHandler onmessage;
« no previous file with comments | « Source/modules/presentation/PresentationSession.cpp ('k') | public/platform/modules/presentation/WebPresentationClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698