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

Side by Side 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, 3 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 unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/modules/presentation/PresentationReceiver.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // https://w3c.github.io/presentation-api/#interface-presentation 5 // https://w3c.github.io/presentation-api/#idl-def-presentationreceiver
6 6
7 [ 7 [
8 RuntimeEnabled=PresentationReceiver 8 RuntimeEnabled=PresentationReceiver
9 ] interface PresentationReceiver : EventTarget { 9 ] interface PresentationReceiver {
10 [CallWith=ScriptState] Promise<PresentationConnection> getConnection(); 10 [SameObject, CallWith=ScriptState] readonly attribute Promise<PresentationCo nnectionList> connectionList;
11 [CallWith=ScriptState] Promise<sequence<PresentationConnection>> getConnecti ons();
12
13 attribute EventHandler onconnectionavailable;
14 }; 11 };
OLDNEW
« 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