| OLD | NEW |
| 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/#interface-presentation |
| 6 | 6 |
| 7 [ | 7 [ |
| 8 GarbageCollected, | |
| 9 RuntimeEnabled=PresentationReceiver | 8 RuntimeEnabled=PresentationReceiver |
| 10 ] interface PresentationReceiver : EventTarget { | 9 ] interface PresentationReceiver : EventTarget { |
| 11 [CallWith=ScriptState] Promise<PresentationConnection> getConnection(); | 10 [CallWith=ScriptState] Promise<PresentationConnection> getConnection(); |
| 12 [CallWith=ScriptState] Promise<sequence<PresentationConnection>> getConnecti
ons(); | 11 [CallWith=ScriptState] Promise<sequence<PresentationConnection>> getConnecti
ons(); |
| 13 | 12 |
| 14 attribute EventHandler onconnectionavailable; | 13 attribute EventHandler onconnectionavailable; |
| 15 }; | 14 }; |
| OLD | NEW |