OLD | NEW |
1 | 1 |
2 // This file introduces / supplements and forces Dart declarations. | 2 // This file introduces / supplements and forces Dart declarations. |
3 | 3 |
4 module default { | 4 module default { |
5 FileList implements sequence<File>; | 5 FileList implements sequence<File>; |
6 HTMLCollection implements sequence<Node>; | 6 HTMLCollection implements sequence<Node>; |
7 MediaList implements sequence<DOMString>; | 7 MediaList implements sequence<DOMString>; |
8 NamedNodeMap implements sequence<Node>; | 8 NamedNodeMap implements sequence<Node>; |
9 NodeList implements sequence<Node>; | 9 NodeList implements sequence<Node>; |
10 StyleSheetList implements sequence<StyleSheet>; | 10 StyleSheetList implements sequence<StyleSheet>; |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 [Suppressed] void timeStamp(); | 81 [Suppressed] void timeStamp(); |
82 [CallWith=ScriptArguments|CallStack] void timeStamp(DOMObject arg); | 82 [CallWith=ScriptArguments|CallStack] void timeStamp(DOMObject arg); |
83 [Suppressed] void group(); | 83 [Suppressed] void group(); |
84 [CallWith=ScriptArguments|CallStack] void group(DOMObject arg); | 84 [CallWith=ScriptArguments|CallStack] void group(DOMObject arg); |
85 [Suppressed] void groupCollapsed(); | 85 [Suppressed] void groupCollapsed(); |
86 [CallWith=ScriptArguments|CallStack] void groupCollapsed(DOMObject arg); | 86 [CallWith=ScriptArguments|CallStack] void groupCollapsed(DOMObject arg); |
87 }; | 87 }; |
88 | 88 |
89 [Supplemental] | 89 [Supplemental] |
90 interface HTMLOptionsCollection { | 90 interface HTMLOptionsCollection { |
91 [Suppressed] void add(in optional HTMLOptionElement element, in optional lon
g before); | 91 [Suppressed] void add([Optional] in HTMLOptionElement element, [Optional] in
long before); |
92 }; | 92 }; |
93 | 93 |
94 [Supplemental] | 94 [Supplemental] |
95 interface ImageData { | 95 interface ImageData { |
96 readonly attribute Uint8ClampedArray data; | 96 readonly attribute Uint8ClampedArray data; |
97 }; | 97 }; |
98 | 98 |
99 [Supplemental] | 99 [Supplemental] |
100 interface WebGLContextEvent { | 100 interface WebGLContextEvent { |
101 [Suppressed] void initEvent(in optional DOMString eventTypeArg, | 101 [Suppressed] void initEvent([Optional] in DOMString eventTypeArg, |
102 in optional boolean canBubbleArg, | 102 [Optional] in boolean canBubbleArg, |
103 in optional boolean cancelableArg, | 103 [Optional] in boolean cancelableArg, |
104 in optional DOMString statusMessageArg); | 104 [Optional] in DOMString statusMessageArg); |
105 }; | 105 }; |
106 }; | 106 }; |
107 | 107 |
108 module html { | 108 module html { |
109 [Supplemental] | 109 [Supplemental] |
110 interface WebGLRenderingContext { | 110 interface WebGLRenderingContext { |
111 | 111 |
112 //void compressedTexImage2D(in unsigned long target, in long level,
in unsigned long internalformat, in unsigned long width, in unsigned long height
, in long border, in unsigned long imageSize, const void* data); | 112 //void compressedTexImage2D(in unsigned long target, in long level,
in unsigned long internalformat, in unsigned long width, in unsigned long height
, in long border, in unsigned long imageSize, const void* data); |
113 //void compressedTexSubImage2D(in unsigned long target, in long leve
l, in long xoffset, in long yoffset, in unsigned long width, in unsigned long he
ight, in unsigned long format, in unsigned long imageSize, const void* data); | 113 //void compressedTexSubImage2D(in unsigned long target, in long leve
l, in long xoffset, in long yoffset, in unsigned long width, in unsigned long he
ight, in unsigned long format, in unsigned long imageSize, const void* data); |
114 | 114 |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 }; | 147 }; |
148 } | 148 } |
149 | 149 |
150 | 150 |
151 | 151 |
152 module canvas { | 152 module canvas { |
153 // TODO(dstockwell): Define these manually. | 153 // TODO(dstockwell): Define these manually. |
154 [Supplemental] | 154 [Supplemental] |
155 interface Float32Array { | 155 interface Float32Array { |
156 [Suppressed] void set(); | 156 [Suppressed] void set(); |
157 [DartName=setElements, Custom] void set(in any array, in optional unsigned l
ong offset); | 157 [DartName=setElements, Custom] void set(in any array, [Optional] in unsigned
long offset); |
158 }; | 158 }; |
159 [Supplemental] | 159 [Supplemental] |
160 interface Float64Array { | 160 interface Float64Array { |
161 [Suppressed] void set(); | 161 [Suppressed] void set(); |
162 [DartName=setElements, Custom] void set(in any array, in optional unsigned l
ong offset); | 162 [DartName=setElements, Custom] void set(in any array, [Optional] in unsigned
long offset); |
163 }; | 163 }; |
164 [Supplemental] | 164 [Supplemental] |
165 interface Int16Array { | 165 interface Int16Array { |
166 [Suppressed] void set(); | 166 [Suppressed] void set(); |
167 [DartName=setElements, Custom] void set(in any array, in optional unsigned l
ong offset); | 167 [DartName=setElements, Custom] void set(in any array, [Optional] in unsigned
long offset); |
168 }; | 168 }; |
169 [Supplemental] | 169 [Supplemental] |
170 interface Int32Array { | 170 interface Int32Array { |
171 [Suppressed] void set(); | 171 [Suppressed] void set(); |
172 [DartName=setElements, Custom] void set(in any array, in optional unsigned l
ong offset); | 172 [DartName=setElements, Custom] void set(in any array, [Optional] in unsigned
long offset); |
173 }; | 173 }; |
174 [Supplemental] | 174 [Supplemental] |
175 interface Int8Array { | 175 interface Int8Array { |
176 [Suppressed] void set(); | 176 [Suppressed] void set(); |
177 [DartName=setElements, Custom] void set(in any array, in optional unsigned l
ong offset); | 177 [DartName=setElements, Custom] void set(in any array, [Optional] in unsigned
long offset); |
178 }; | 178 }; |
179 [Supplemental] | 179 [Supplemental] |
180 interface Uint16Array { | 180 interface Uint16Array { |
181 [Suppressed] void set(); | 181 [Suppressed] void set(); |
182 [DartName=setElements, Custom] void set(in any array, in optional unsigned l
ong offset); | 182 [DartName=setElements, Custom] void set(in any array, [Optional] in unsigned
long offset); |
183 }; | 183 }; |
184 [Supplemental] | 184 [Supplemental] |
185 interface Uint32Array { | 185 interface Uint32Array { |
186 [Suppressed] void set(); | 186 [Suppressed] void set(); |
187 [DartName=setElements, Custom] void set(in any array, in optional unsigned l
ong offset); | 187 [DartName=setElements, Custom] void set(in any array, [Optional] in unsigned
long offset); |
188 }; | 188 }; |
189 [Supplemental] | 189 [Supplemental] |
190 interface Uint8Array { | 190 interface Uint8Array { |
191 [Suppressed] void set(); | 191 [Suppressed] void set(); |
192 [DartName=setElements, Custom] void set(in any array, in optional unsigned l
ong offset); | 192 [DartName=setElements, Custom] void set(in any array, [Optional] in unsigned
long offset); |
193 }; | 193 }; |
194 | 194 |
195 [Supplemental] | 195 [Supplemental] |
196 interface Uint8ClampedArray { | 196 interface Uint8ClampedArray { |
197 // Avoid 'overriding static member BYTES_PER_ELEMENT'. | 197 // Avoid 'overriding static member BYTES_PER_ELEMENT'. |
198 [Suppressed] const long BYTES_PER_ELEMENT = 1; | 198 [Suppressed] const long BYTES_PER_ELEMENT = 1; |
199 | 199 |
200 [Suppressed] void set(); | 200 [Suppressed] void set(); |
201 [DartName=setElements, Custom] void set(in any array, in optional unsigned l
ong offset); | 201 [DartName=setElements, Custom] void set(in any array, [Optional] in unsigned
long offset); |
202 }; | 202 }; |
203 }; | 203 }; |
204 | 204 |
205 module storage { | 205 module storage { |
206 // TODO(vsm): Define new names for these (see b/4436830). | 206 // TODO(vsm): Define new names for these (see b/4436830). |
207 [Supplemental] | 207 [Supplemental] |
208 interface IDBCursor { | 208 interface IDBCursor { |
209 [DartName=continueFunction] void continue(in optional IDBKey key); | 209 [DartName=continueFunction] void continue([Optional] in IDBKey key); |
210 }; | 210 }; |
211 [Supplemental] | 211 [Supplemental] |
212 interface IDBIndex { | 212 interface IDBIndex { |
213 [DartName=getObject] IDBRequest get(in IDBKey key); | 213 [DartName=getObject] IDBRequest get(in IDBKey key); |
214 }; | 214 }; |
215 [Supplemental] | 215 [Supplemental] |
216 interface IDBObjectStore { | 216 interface IDBObjectStore { |
217 [DartName=getObject] IDBRequest get(in IDBKey key); | 217 [DartName=getObject] IDBRequest get(in IDBKey key); |
218 [DartName=getObject] IDBRequest get(in IDBKeyRange key); | 218 [DartName=getObject] IDBRequest get(in IDBKeyRange key); |
219 [Suppressed] IDBRequest openCursor() raises (IDBDatabaseException); | 219 [Suppressed] IDBRequest openCursor() raises (IDBDatabaseException); |
(...skipping 10 matching lines...) Expand all Loading... |
230 [Supplemental, Callback] // Add missing Callback attribute. | 230 [Supplemental, Callback] // Add missing Callback attribute. |
231 interface VoidCallback { | 231 interface VoidCallback { |
232 }; | 232 }; |
233 }; | 233 }; |
234 | 234 |
235 module svg { | 235 module svg { |
236 interface SVGNumber { | 236 interface SVGNumber { |
237 [StrictTypeChecking, Custom] attribute double value; | 237 [StrictTypeChecking, Custom] attribute double value; |
238 }; | 238 }; |
239 } | 239 } |
OLD | NEW |