OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 part of html; | 7 part of $LIBRARYNAME; |
8 | 8 |
9 $(ANNOTATIONS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { | 9 $(ANNOTATIONS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { |
10 factory $CLASSNAME(String type, | 10 factory $CLASSNAME(String type, |
11 {bool canBubble: false, bool cancelable: false, String key, String oldValue, | 11 {bool canBubble: false, bool cancelable: false, String key, String oldValue, |
12 String newValue, String url, Storage storageArea}) { | 12 String newValue, String url, Storage storageArea}) { |
13 | 13 |
14 var e = document.$dom_createEvent("StorageEvent"); | 14 var e = document.$dom_createEvent("StorageEvent"); |
15 e.$dom_initStorageEvent(type, canBubble, cancelable, key, oldValue, | 15 e.$dom_initStorageEvent(type, canBubble, cancelable, key, oldValue, |
16 newValue, url, storageArea); | 16 newValue, url, storageArea); |
17 return e; | 17 return e; |
18 } | 18 } |
19 $!MEMBERS | 19 $!MEMBERS |
20 } | 20 } |
OLD | NEW |