Chromium Code Reviews| 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 // This API was never implemented and has no known functional usages, |
| 6 // so this is a no-op as far as Web compatibility is concerned; | |
| 7 // we should send an intent to ship when the implementation is further along. | |
|
mlamouri (slow - plz ping)
2016/08/24 16:48:59
I don't think you need this comment.
zhaobin
2016/08/24 17:34:12
Done.
| |
| 8 | |
| 9 // https://w3c.github.io/presentation-api/#idl-def-presentationreceiver | |
| 6 | 10 |
| 7 [ | 11 [ |
| 8 RuntimeEnabled=PresentationReceiver | 12 RuntimeEnabled=PresentationReceiver |
| 9 ] interface PresentationReceiver : EventTarget { | 13 ] interface PresentationReceiver { |
| 10 [CallWith=ScriptState] Promise<PresentationConnection> getConnection(); | 14 [SameObject, CallWith=ScriptState] readonly attribute Promise<PresentationCo nnectionList> connectionList; |
| 11 [CallWith=ScriptState] Promise<sequence<PresentationConnection>> getConnecti ons(); | |
| 12 | |
| 13 attribute EventHandler onconnectionavailable; | |
| 14 }; | 15 }; |
| OLD | NEW |