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 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
6 | 6 |
7 part of $LIBRARYNAME; | 7 part of $LIBRARYNAME; |
8 | 8 |
| 9 $!TOPLEVEL |
| 10 |
9 $(ANNOTATIONS)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { | 11 $(ANNOTATIONS)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { |
10 $!MEMBERS | 12 $!MEMBERS |
11 | 13 |
12 $if DART2JS | 14 $if DART2JS |
13 @DomName('Document.body') | 15 @DomName('Document.body') |
14 BodyElement body; | 16 BodyElement body; |
15 $else | 17 $else |
16 @DomName('Document.body') | 18 @DomName('Document.body') |
17 BodyElement get body => _body; | 19 BodyElement get body => _body; |
18 | 20 |
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
306 /// parameter must be provided. | 308 /// parameter must be provided. |
307 @Experimental() | 309 @Experimental() |
308 ElementUpgrader createElementUpgrader(Type type, {String extendsTag}) { | 310 ElementUpgrader createElementUpgrader(Type type, {String extendsTag}) { |
309 $if DART2JS | 311 $if DART2JS |
310 return new _JSElementUpgrader(this, type, extendsTag); | 312 return new _JSElementUpgrader(this, type, extendsTag); |
311 $else | 313 $else |
312 return new _VMElementUpgrader(this, type, extendsTag); | 314 return new _VMElementUpgrader(this, type, extendsTag); |
313 $endif | 315 $endif |
314 } | 316 } |
315 } | 317 } |
OLD | NEW |