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

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

Issue 13727004: Fixing HtmlDocument overloads (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 | « sdk/lib/html/dartium/html_dartium.dart ('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 get body => $dom_body;
13 13
14 @DomName('Document.body') 14 @DomName('Document.body')
15 void set body(BodyElement value) { 15 void set body(BodyElement value) {
16 document.$dom_body = value; 16 $dom_body = value;
17 } 17 }
18 18
19 @DomName('Document.caretRangeFromPoint') 19 @DomName('Document.caretRangeFromPoint')
20 Range caretRangeFromPoint(int x, int y) { 20 Range caretRangeFromPoint(int x, int y) {
21 return document.$dom_caretRangeFromPoint(x, y); 21 return $dom_caretRangeFromPoint(x, y);
22 } 22 }
23 23
24 @DomName('Document.elementFromPoint') 24 @DomName('Document.elementFromPoint')
25 Element elementFromPoint(int x, int y) { 25 Element elementFromPoint(int x, int y) {
26 return document.$dom_elementFromPoint(x, y); 26 return $dom_elementFromPoint(x, y);
27 } 27 }
28 28
29 /** 29 /**
30 * Checks if the getCssCanvasContext API is supported on the current platform. 30 * Checks if the getCssCanvasContext API is supported on the current platform.
31 * 31 *
32 * See also: 32 * See also:
33 * 33 *
34 * * [getCssCanvasContext] 34 * * [getCssCanvasContext]
35 */ 35 */
36 $if DART2JS 36 $if DART2JS
(...skipping 23 matching lines...) Expand all
60 * 60 *
61 * * [supportsCssCanvasContext] 61 * * [supportsCssCanvasContext]
62 * * [CanvasElement.getContext] 62 * * [CanvasElement.getContext]
63 */ 63 */
64 @SupportedBrowser(SupportedBrowser.CHROME) 64 @SupportedBrowser(SupportedBrowser.CHROME)
65 @SupportedBrowser(SupportedBrowser.SAFARI) 65 @SupportedBrowser(SupportedBrowser.SAFARI)
66 @Experimental 66 @Experimental
67 @DomName('Document.getCSSCanvasContext') 67 @DomName('Document.getCSSCanvasContext')
68 CanvasRenderingContext getCssCanvasContext(String contextId, String name, 68 CanvasRenderingContext getCssCanvasContext(String contextId, String name,
69 int width, int height) { 69 int width, int height) {
70 return document.$dom_getCssCanvasContext(contextId, name, width, height); 70 return $dom_getCssCanvasContext(contextId, name, width, height);
71 } 71 }
72 72
73 @DomName('Document.head') 73 @DomName('Document.head')
74 HeadElement get head => document.$dom_head; 74 HeadElement get head => $dom_head;
75 75
76 @DomName('Document.lastModified') 76 @DomName('Document.lastModified')
77 String get lastModified => document.$dom_lastModified; 77 String get lastModified => $dom_lastModified;
78 78
79 @DomName('Document.preferredStylesheetSet') 79 @DomName('Document.preferredStylesheetSet')
80 String get preferredStylesheetSet => document.$dom_preferredStylesheetSet; 80 String get preferredStylesheetSet => $dom_preferredStylesheetSet;
81 81
82 @DomName('Document.referrer') 82 @DomName('Document.referrer')
83 String get referrer => document.$dom_referrer; 83 String get referrer => $dom_referrer;
84 84
85 @DomName('Document.selectedStylesheetSet') 85 @DomName('Document.selectedStylesheetSet')
86 String get selectedStylesheetSet => document.$dom_selectedStylesheetSet; 86 String get selectedStylesheetSet => $dom_selectedStylesheetSet;
87 void set selectedStylesheetSet(String value) { 87 void set selectedStylesheetSet(String value) {
88 document.$dom_selectedStylesheetSet = value; 88 $dom_selectedStylesheetSet = value;
89 } 89 }
90 90
91 @DomName('Document.styleSheets') 91 @DomName('Document.styleSheets')
92 List<StyleSheet> get styleSheets => document.$dom_styleSheets; 92 List<StyleSheet> get styleSheets => $dom_styleSheets;
93 93
94 @DomName('Document.title') 94 @DomName('Document.title')
95 String get title => document.$dom_title; 95 String get title => $dom_title;
96 96
97 @DomName('Document.title') 97 @DomName('Document.title')
98 void set title(String value) { 98 void set title(String value) {
99 document.$dom_title = value; 99 $dom_title = value;
100 } 100 }
101 101
102 @DomName('Document.webkitCancelFullScreen') 102 @DomName('Document.webkitCancelFullScreen')
103 @SupportedBrowser(SupportedBrowser.CHROME) 103 @SupportedBrowser(SupportedBrowser.CHROME)
104 @SupportedBrowser(SupportedBrowser.SAFARI) 104 @SupportedBrowser(SupportedBrowser.SAFARI)
105 @Experimental 105 @Experimental
106 void cancelFullScreen() { 106 void cancelFullScreen() {
107 document.$dom_webkitCancelFullScreen(); 107 $dom_webkitCancelFullScreen();
108 } 108 }
109 109
110 @DomName('Document.webkitExitFullscreen') 110 @DomName('Document.webkitExitFullscreen')
111 @SupportedBrowser(SupportedBrowser.CHROME) 111 @SupportedBrowser(SupportedBrowser.CHROME)
112 @SupportedBrowser(SupportedBrowser.SAFARI) 112 @SupportedBrowser(SupportedBrowser.SAFARI)
113 @Experimental 113 @Experimental
114 void exitFullscreen() { 114 void exitFullscreen() {
115 document.$dom_webkitExitFullscreen(); 115 $dom_webkitExitFullscreen();
116 } 116 }
117 117
118 @DomName('Document.webkitExitPointerLock') 118 @DomName('Document.webkitExitPointerLock')
119 @SupportedBrowser(SupportedBrowser.CHROME) 119 @SupportedBrowser(SupportedBrowser.CHROME)
120 @SupportedBrowser(SupportedBrowser.SAFARI) 120 @SupportedBrowser(SupportedBrowser.SAFARI)
121 @Experimental 121 @Experimental
122 void exitPointerLock() { 122 void exitPointerLock() {
123 document.$dom_webkitExitPointerLock(); 123 $dom_webkitExitPointerLock();
124 } 124 }
125 125
126 @DomName('Document.webkitFullscreenElement') 126 @DomName('Document.webkitFullscreenElement')
127 @SupportedBrowser(SupportedBrowser.CHROME) 127 @SupportedBrowser(SupportedBrowser.CHROME)
128 @SupportedBrowser(SupportedBrowser.SAFARI) 128 @SupportedBrowser(SupportedBrowser.SAFARI)
129 @Experimental 129 @Experimental
130 Element get fullscreenElement => document.$dom_webkitFullscreenElement; 130 Element get fullscreenElement => $dom_webkitFullscreenElement;
131 131
132 @DomName('Document.webkitFullscreenEnabled') 132 @DomName('Document.webkitFullscreenEnabled')
133 @SupportedBrowser(SupportedBrowser.CHROME) 133 @SupportedBrowser(SupportedBrowser.CHROME)
134 @SupportedBrowser(SupportedBrowser.SAFARI) 134 @SupportedBrowser(SupportedBrowser.SAFARI)
135 @Experimental 135 @Experimental
136 bool get fullscreenEnabled => document.$dom_webkitFullscreenEnabled; 136 bool get fullscreenEnabled => $dom_webkitFullscreenEnabled;
137 137
138 @DomName('Document.webkitHidden') 138 @DomName('Document.webkitHidden')
139 @SupportedBrowser(SupportedBrowser.CHROME) 139 @SupportedBrowser(SupportedBrowser.CHROME)
140 @SupportedBrowser(SupportedBrowser.SAFARI) 140 @SupportedBrowser(SupportedBrowser.SAFARI)
141 @Experimental 141 @Experimental
142 bool get hidden => document.$dom_webkitHidden; 142 bool get hidden => $dom_webkitHidden;
143 143
144 @DomName('Document.webkitIsFullScreen') 144 @DomName('Document.webkitIsFullScreen')
145 @SupportedBrowser(SupportedBrowser.CHROME) 145 @SupportedBrowser(SupportedBrowser.CHROME)
146 @SupportedBrowser(SupportedBrowser.SAFARI) 146 @SupportedBrowser(SupportedBrowser.SAFARI)
147 @Experimental 147 @Experimental
148 bool get isFullScreen => document.$dom_webkitIsFullScreen; 148 bool get isFullScreen => $dom_webkitIsFullScreen;
149 149
150 @DomName('Document.webkitPointerLockElement') 150 @DomName('Document.webkitPointerLockElement')
151 @SupportedBrowser(SupportedBrowser.CHROME) 151 @SupportedBrowser(SupportedBrowser.CHROME)
152 @SupportedBrowser(SupportedBrowser.SAFARI) 152 @SupportedBrowser(SupportedBrowser.SAFARI)
153 @Experimental 153 @Experimental
154 Element get pointerLockElement => 154 Element get pointerLockElement =>
155 document.$dom_webkitPointerLockElement; 155 $dom_webkitPointerLockElement;
156 156
157 @DomName('Document.webkitVisibilityState') 157 @DomName('Document.webkitVisibilityState')
158 @SupportedBrowser(SupportedBrowser.CHROME) 158 @SupportedBrowser(SupportedBrowser.CHROME)
159 @SupportedBrowser(SupportedBrowser.SAFARI) 159 @SupportedBrowser(SupportedBrowser.SAFARI)
160 @Experimental 160 @Experimental
161 String get visibilityState => document.$dom_webkitVisibilityState; 161 String get visibilityState => $dom_webkitVisibilityState;
162 } 162 }
OLDNEW
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698