OLD | NEW |
1 | 1 |
2 class MessagePortJs extends DOMTypeJs implements MessagePort native "*MessagePor
t" { | 2 class _MessagePortJs extends _DOMTypeJs implements MessagePort native "*MessageP
ort" { |
3 | 3 |
4 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 4 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; |
5 | 5 |
6 void close() native; | 6 void close() native; |
7 | 7 |
8 bool dispatchEvent(EventJs evt) native; | 8 bool dispatchEvent(_EventJs evt) native; |
9 | 9 |
10 void postMessage(String message, [List messagePorts = null]) native; | 10 void postMessage(String message, [List messagePorts = null]) native; |
11 | 11 |
12 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 12 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; |
13 | 13 |
14 void start() native; | 14 void start() native; |
15 | 15 |
16 void webkitPostMessage(String message, [List transfer = null]) native; | 16 void webkitPostMessage(String message, [List transfer = null]) native; |
17 } | 17 } |
OLD | NEW |