| 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 $(ANNOTATIONS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { | 9 $(ANNOTATIONS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { |
| 10 $!MEMBERS | 10 $!MEMBERS |
| 11 |
| 12 $if DART2JS |
| 13 @DomName('Document.body') |
| 14 BodyElement body; |
| 15 $else |
| 11 @DomName('Document.body') | 16 @DomName('Document.body') |
| 12 BodyElement get body => $dom_body; | 17 BodyElement get body => $dom_body; |
| 13 | 18 |
| 14 @DomName('Document.body') | 19 @DomName('Document.body') |
| 15 void set body(BodyElement value) { | 20 void set body(BodyElement value) { |
| 16 $dom_body = value; | 21 $dom_body = value; |
| 17 } | 22 } |
| 23 $endif |
| 18 | 24 |
| 19 @DomName('Document.caretRangeFromPoint') | 25 @DomName('Document.caretRangeFromPoint') |
| 20 Range caretRangeFromPoint(int x, int y) { | 26 Range caretRangeFromPoint(int x, int y) { |
| 21 return $dom_caretRangeFromPoint(x, y); | 27 return $dom_caretRangeFromPoint(x, y); |
| 22 } | 28 } |
| 23 | 29 |
| 24 @DomName('Document.elementFromPoint') | 30 @DomName('Document.elementFromPoint') |
| 25 Element elementFromPoint(int x, int y) { | 31 Element elementFromPoint(int x, int y) { |
| 26 return $dom_elementFromPoint(x, y); | 32 return $dom_elementFromPoint(x, y); |
| 27 } | 33 } |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 @Experimental | 159 @Experimental |
| 154 Element get pointerLockElement => | 160 Element get pointerLockElement => |
| 155 $dom_webkitPointerLockElement; | 161 $dom_webkitPointerLockElement; |
| 156 | 162 |
| 157 @DomName('Document.webkitVisibilityState') | 163 @DomName('Document.webkitVisibilityState') |
| 158 @SupportedBrowser(SupportedBrowser.CHROME) | 164 @SupportedBrowser(SupportedBrowser.CHROME) |
| 159 @SupportedBrowser(SupportedBrowser.SAFARI) | 165 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 160 @Experimental | 166 @Experimental |
| 161 String get visibilityState => $dom_webkitVisibilityState; | 167 String get visibilityState => $dom_webkitVisibilityState; |
| 162 } | 168 } |
| OLD | NEW |