OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 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 | 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 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
6 | 6 |
7 interface EventListenerList { | 7 interface EventListenerList { |
8 EventListenerList add(EventListener handler, [bool useCapture]); | 8 EventListenerList add(EventListener handler, [bool useCapture]); |
9 | 9 |
10 EventListenerList remove(EventListener handler, [bool useCapture]); | 10 EventListenerList remove(EventListener handler, [bool useCapture]); |
11 | 11 |
12 bool dispatch(Event evt); | 12 bool dispatch(Event evt); |
13 } | 13 } |
14 | 14 |
15 interface Events { | 15 interface Events { |
16 EventListenerList operator [](String type); | 16 EventListenerList operator [](String type); |
17 } | 17 } |
18 | 18 |
19 interface $ID$EXTENDS { | 19 interface $ID$EXTENDS { |
20 | 20 |
21 final Events on; | 21 final Events on; |
22 $!MEMBERS | 22 $!MEMBERS |
23 } | 23 } |
OLD | NEW |