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

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

Issue 1209423005: Sync the Presentation API interfaces with the spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Drop speculative TODO Created 5 years, 5 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
« no previous file with comments | « Source/modules/presentation/PresentationAvailability.idl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/presentation/PresentationSession.idl
diff --git a/Source/modules/presentation/PresentationSession.idl b/Source/modules/presentation/PresentationSession.idl
index 6c330498a53b63d03f1084811d8c968fc46a11f1..6391ed24981ea9fa76eaf6125c6b59e9e6c5de4a 100644
--- a/Source/modules/presentation/PresentationSession.idl
+++ b/Source/modules/presentation/PresentationSession.idl
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// https://w3c.github.io/presentation-api/#presentationsession
+// https://w3c.github.io/presentation-api/#interface-presentationsession
enum PresentationSessionState {
"connected",
@@ -15,13 +15,14 @@ enum PresentationSessionState {
] interface PresentationSession : EventTarget {
readonly attribute DOMString? id;
readonly attribute PresentationSessionState state;
+ void close();
+ attribute EventHandler onstatechange;
+ // Communication
+ // TODO(avayvod): attribute BinaryType binaryType;
+ attribute EventHandler onmessage;
[RaisesException] void send(DOMString message);
+ [RaisesException] void send(Blob data);
[RaisesException] void send(ArrayBuffer data);
[RaisesException] void send(ArrayBufferView data);
- [RaisesException] void send(Blob data);
- void close();
-
- attribute EventHandler onmessage;
- attribute EventHandler onstatechange;
};
« no previous file with comments | « Source/modules/presentation/PresentationAvailability.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698