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: | |
6 // This file contains documentation that is merged into the real source. | |
7 // Do not make code changes here. | |
8 | |
9 /// An HTML5 Abstract Worker. | |
10 abstract class AbstractWorker implements EventTarget { | |
11 | |
12 /** | |
13 * The valid events associated with an AbstractWorker. | |
14 */ | |
15 AbstractWorkerEvents get on; | |
16 | |
17 /** @domName AbstractWorker.addEventListener */ | |
18 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu
re]); | |
19 | |
20 /** @domName AbstractWorker.dispatchEvent */ | |
21 bool $dom_dispatchEvent(Event evt); | |
22 | |
23 /** @domName AbstractWorker.removeEventListener */ | |
24 void $dom_removeEventListener(String type, EventListener listener, [bool useCa
pture]); | |
25 } | |
26 | |
27 abstract class AbstractWorkerEvents implements Events { | |
28 | |
29 EventListenerList get error; | |
30 } | |
OLD | NEW |