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

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: 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/PresentationReceiver.idl
diff --git a/third_party/WebKit/Source/modules/presentation/PresentationReceiver.idl b/third_party/WebKit/Source/modules/presentation/PresentationReceiver.idl
index 32226f7e734a4c499d5a63d3a25db6ddc63ad197..28cb2e7addd27373104fe35e64998d16e3b6b7b4 100644
--- a/third_party/WebKit/Source/modules/presentation/PresentationReceiver.idl
+++ b/third_party/WebKit/Source/modules/presentation/PresentationReceiver.idl
@@ -6,9 +6,6 @@
[
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;
};

Powered by Google App Engine
This is Rietveld 408576698