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

Unified Diff: third_party/WebKit/Source/modules/presentation/PresentationReceiver.idl

Issue 2265363002: [Presentation API] make PresentationReceiver API consistent with latest spec (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix layout test global-interface-listing.html Created 4 years, 4 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 | « third_party/WebKit/Source/modules/presentation/PresentationReceiver.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/presentation/PresentationReceiver.idl
diff --git a/third_party/WebKit/Source/modules/presentation/PresentationReceiver.idl b/third_party/WebKit/Source/modules/presentation/PresentationReceiver.idl
index 32226f7e734a4c499d5a63d3a25db6ddc63ad197..09472c982106c6ec9e542779a5d043a70a9e9247 100644
--- a/third_party/WebKit/Source/modules/presentation/PresentationReceiver.idl
+++ b/third_party/WebKit/Source/modules/presentation/PresentationReceiver.idl
@@ -2,13 +2,10 @@
// 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/#interface-presentation
+// https://w3c.github.io/presentation-api/#idl-def-presentationreceiver
[
RuntimeEnabled=PresentationReceiver
-] interface PresentationReceiver : EventTarget {
- [CallWith=ScriptState] Promise<PresentationConnection> getConnection();
- [CallWith=ScriptState] Promise<sequence<PresentationConnection>> getConnections();
-
- attribute EventHandler onconnectionavailable;
+] interface PresentationReceiver {
+ [SameObject, CallWith=ScriptState] readonly attribute Promise<PresentationConnectionList> connectionList;
};
« no previous file with comments | « third_party/WebKit/Source/modules/presentation/PresentationReceiver.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698