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

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: 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
Index: Source/modules/presentation/PresentationSession.idl
diff --git a/Source/modules/presentation/PresentationSession.idl b/Source/modules/presentation/PresentationSession.idl
index 6c330498a53b63d03f1084811d8c968fc46a11f1..2d801595445d49d90276cd9b3f7f694d2e6e31e3 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(philipj): 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;
};

Powered by Google App Engine
This is Rietveld 408576698