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

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: resolve code review comments 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/PresentationConnectionList.idl b/third_party/WebKit/Source/modules/presentation/PresentationConnectionList.idl
new file mode 100644
index 0000000000000000000000000000000000000000..509fe03bef7f6cc6149f1058450c7a842e28a933
--- /dev/null
+++ b/third_party/WebKit/Source/modules/presentation/PresentationConnectionList.idl
@@ -0,0 +1,16 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// This API was never implemented and has no known functional usages,
+// so this is a no-op as far as Web compatibility is concerned;
+// we should send an intent to ship when the implementation is further along.
+
+// https://w3c.github.io/presentation-api/#interface-presentationconnectionlist
+
+[
+ RuntimeEnabled=PresentationReceiver
+] interface PresentationConnectionList : EventTarget {
+ readonly attribute FrozenArray<PresentationConnection> connections;
+ attribute EventHandler onconnectionavailable;
+};

Powered by Google App Engine
This is Rietveld 408576698