Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Side by Side Diff: tools/dom/templates/html/impl/impl_HTMLDocument.darttemplate

Issue 13686004: Tighted type of 'document' to HtmlDocument (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tools/dom/templates/html/dart2js/html_dart2js.darttemplate ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 @DomName('Document.body') 11 @DomName('Document.body')
12 BodyElement get body => document.$dom_body; 12 BodyElement body;
13
14 @DomName('Document.body')
15 void set body(BodyElement value) {
16 document.$dom_body = value;
17 }
18 13
19 @DomName('Document.caretRangeFromPoint') 14 @DomName('Document.caretRangeFromPoint')
20 Range caretRangeFromPoint(int x, int y) { 15 Range caretRangeFromPoint(int x, int y) {
21 return document.$dom_caretRangeFromPoint(x, y); 16 return document.$dom_caretRangeFromPoint(x, y);
22 } 17 }
23 18
24 @DomName('Document.elementFromPoint') 19 @DomName('Document.elementFromPoint')
25 Element elementFromPoint(int x, int y) { 20 Element elementFromPoint(int x, int y) {
26 return document.$dom_elementFromPoint(x, y); 21 return document.$dom_elementFromPoint(x, y);
27 } 22 }
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 @Experimental 148 @Experimental
154 Element get pointerLockElement => 149 Element get pointerLockElement =>
155 document.$dom_webkitPointerLockElement; 150 document.$dom_webkitPointerLockElement;
156 151
157 @DomName('Document.webkitVisibilityState') 152 @DomName('Document.webkitVisibilityState')
158 @SupportedBrowser(SupportedBrowser.CHROME) 153 @SupportedBrowser(SupportedBrowser.CHROME)
159 @SupportedBrowser(SupportedBrowser.SAFARI) 154 @SupportedBrowser(SupportedBrowser.SAFARI)
160 @Experimental 155 @Experimental
161 String get visibilityState => document.$dom_webkitVisibilityState; 156 String get visibilityState => document.$dom_webkitVisibilityState;
162 } 157 }
OLDNEW
« no previous file with comments | « tools/dom/templates/html/dart2js/html_dart2js.darttemplate ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698