| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 // http://w3c.github.io/presentation-api/#interface-presentationconnectionclosee
vent | 5 // https://w3c.github.io/presentation-api/#interface-presentationconnectionclose
event |
| 6 | 6 |
| 7 enum PresentationConnectionCloseReason { "error", "closed", "wentaway" }; | 7 enum PresentationConnectionCloseReason { "error", "closed", "wentaway" }; |
| 8 | 8 |
| 9 [ | 9 [ |
| 10 Constructor(DOMString type, PresentationConnectionCloseEventInit eventInitDi
ct), | 10 Constructor(DOMString type, PresentationConnectionCloseEventInit eventInitDi
ct), |
| 11 RuntimeEnabled=Presentation | 11 RuntimeEnabled=Presentation |
| 12 ] interface PresentationConnectionCloseEvent : Event { | 12 ] interface PresentationConnectionCloseEvent : Event { |
| 13 readonly attribute PresentationConnectionCloseReason reason; | 13 readonly attribute PresentationConnectionCloseReason reason; |
| 14 readonly attribute DOMString message; | 14 readonly attribute DOMString message; |
| 15 }; | 15 }; |
| OLD | NEW |