OLD | NEW |
1 // Copyright (c) 2012, 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 part of $LIBRARYNAME; | 5 part of $LIBRARYNAME; |
6 | 6 |
7 @DocsEditable() | 7 @DocsEditable() |
8 $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS
{ | 8 $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS
{ |
9 $!MEMBERS | 9 $!MEMBERS |
10 $if DARTIUM | |
11 // Override these methods for Dartium _HTMLFrameSetElement can't be abstract. | |
12 Stream<Event> get onHashChange => hashChangeEvent.forTarget(this); | |
13 Stream<MessageEvent> get onMessage => messageEvent.forTarget(this); | |
14 Stream<Event> get onOffline => offlineEvent.forTarget(this); | |
15 Stream<Event> get onOnline => onlineEvent.forTarget(this); | |
16 Stream<PopStateEvent> get onPopState => popStateEvent.forTarget(this); | |
17 Stream<StorageEvent> get onStorage => storageEvent.forTarget(this); | |
18 Stream<Event> get onUnload => unloadEvent.forTarget(this); | |
19 $endif | |
20 } | 10 } |
21 | 11 |
OLD | NEW |