OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 interface MessageEvent extends Event default MessageEventWrappingImplementation
{ | 5 interface MessageEvent extends Event default MessageEventWrappingImplementation
{ |
6 | 6 |
7 MessageEvent(String type, String data, String origin, String lastEventId, | 7 MessageEvent(String type, String data, String origin, String lastEventId, |
8 Window source, MessagePort port, [bool canBubble, bool cancelable]); | 8 Window source, MessagePort port, [bool canBubble, bool cancelable]); |
9 | 9 |
10 String get data(); | 10 String get data; |
11 | 11 |
12 String get lastEventId(); | 12 String get lastEventId; |
13 | 13 |
14 MessagePort get messagePort(); | 14 MessagePort get messagePort; |
15 | 15 |
16 String get origin(); | 16 String get origin; |
17 | 17 |
18 Window get source(); | 18 Window get source; |
19 } | 19 } |
OLD | NEW |