OLD | NEW |
| (Empty) |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
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. | |
4 | |
5 // WARNING: Do not edit - generated code. | |
6 | |
7 interface MessagePort extends EventTarget { | |
8 | |
9 void addEventListener(String type, EventListener listener, [bool useCapture]); | |
10 | |
11 void close(); | |
12 | |
13 bool dispatchEvent(Event evt); | |
14 | |
15 void postMessage(String message, [List messagePorts]); | |
16 | |
17 void removeEventListener(String type, EventListener listener, [bool useCapture
]); | |
18 | |
19 void start(); | |
20 | |
21 void webkitPostMessage(String message, [List transfer]); | |
22 } | |
OLD | NEW |