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

Unified Diff: third_party/WebKit/Source/modules/presentation/PresentationConnectionList.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: 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
Index: third_party/WebKit/Source/modules/presentation/PresentationConnectionList.idl
diff --git a/third_party/WebKit/Source/modules/presentation/PresentationReceiver.idl b/third_party/WebKit/Source/modules/presentation/PresentationConnectionList.idl
similarity index 60%
copy from third_party/WebKit/Source/modules/presentation/PresentationReceiver.idl
copy to third_party/WebKit/Source/modules/presentation/PresentationConnectionList.idl
index 32226f7e734a4c499d5a63d3a25db6ddc63ad197..778862a944e75c7f90beb2d28441e81b933ec742 100644
--- a/third_party/WebKit/Source/modules/presentation/PresentationReceiver.idl
+++ b/third_party/WebKit/Source/modules/presentation/PresentationConnectionList.idl
@@ -6,9 +6,7 @@
[
RuntimeEnabled=PresentationReceiver
-] interface PresentationReceiver : EventTarget {
- [CallWith=ScriptState] Promise<PresentationConnection> getConnection();
- [CallWith=ScriptState] Promise<sequence<PresentationConnection>> getConnections();
-
+] interface PresentationConnectionList : EventTarget {
+ readonly attribute FrozenArray<PresentationConnection> connections;
attribute EventHandler onconnectionavailable;
};

Powered by Google App Engine
This is Rietveld 408576698