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

Side by Side Diff: tools/dom/idl/dart/dart.idl

Issue 14416009: Drop in and sanitize optional declarations. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 7 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 | « no previous file | tools/dom/scripts/idlparser.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // This file introduces / supplements and forces Dart declarations. 1 // This file introduces / supplements and forces Dart declarations.
2 2
3 [Supplemental, 3 [Supplemental,
4 Constructor] 4 Constructor]
5 interface AudioContext { 5 interface AudioContext {
6 // TODO(ager): Auto-generate this custom method when the info about retaining 6 // TODO(ager): Auto-generate this custom method when the info about retaining
7 // typed arrays is in the IDL. 7 // typed arrays is in the IDL.
8 [Custom] void decodeAudioData(in ArrayBuffer audioData, in AudioBufferCallback successCallback, in AudioBufferCallback errorCallback); 8 [Custom] void decodeAudioData(ArrayBuffer audioData, AudioBufferCallback succe ssCallback, AudioBufferCallback errorCallback);
9 }; 9 };
10 10
11 [Supplemental] 11 [Supplemental]
12 interface WaveShaperNode { 12 interface WaveShaperNode {
13 // TODO(ager): Auto-generate this custom method when the info about retaining 13 // TODO(ager): Auto-generate this custom method when the info about retaining
14 // typed arrays is in the IDL. 14 // typed arrays is in the IDL.
15 [CustomSetter] attribute Float32Array curve; 15 [CustomSetter] attribute Float32Array curve;
16 }; 16 };
17 17
18 [Supplemental] 18 [Supplemental]
19 interface AudioParam { 19 interface AudioParam {
20 // TODO(ager): Auto-generate this custom method when the info about retaining 20 // TODO(ager): Auto-generate this custom method when the info about retaining
21 // typed arrays is in the IDL. 21 // typed arrays is in the IDL.
22 [Custom] void setValueCurveAtTime(in Float32Array values, in float time, in fl oat duration); 22 [Custom] void setValueCurveAtTime(Float32Array values, float time, float durat ion);
23 }; 23 };
24 24
25 [Supplemental] 25 [Supplemental]
26 interface Document { 26 interface Document {
27 [Suppressed] DOMObject getCSSCanvasContext(in DOMString contextId, in DOMStrin g name, in long width, in long height); 27 [Suppressed] DOMObject getCSSCanvasContext(DOMString contextId, DOMString name , long width, long height);
28 CanvasRenderingContext getCSSCanvasContext(in DOMString contextId, in DOMStrin g name, in long width, in long height); 28 CanvasRenderingContext getCSSCanvasContext(DOMString contextId, DOMString name , long width, long height);
29 }; 29 };
30 30
31 [Supplemental] 31 [Supplemental]
32 interface ScriptProcessorNode { 32 interface ScriptProcessorNode {
33 [Suppressed] attribute EventListener onaudioprocess; 33 [Suppressed] attribute EventListener onaudioprocess;
34 [Custom] void _setEventListener(EventListener eventListener); 34 [Custom] void _setEventListener(EventListener eventListener);
35 }; 35 };
36 36
37 // Force ElementTraversal. WebKit defines these directly. 37 // Force ElementTraversal. WebKit defines these directly.
38 interface ElementTraversal { 38 interface ElementTraversal {
39 readonly attribute unsigned long childElementCount; 39 readonly attribute unsigned long childElementCount;
40 readonly attribute Element firstElementChild; 40 readonly attribute Element firstElementChild;
41 readonly attribute Element lastElementChild; 41 readonly attribute Element lastElementChild;
42 readonly attribute Element nextElementSibling; 42 readonly attribute Element nextElementSibling;
43 readonly attribute Element previousElementSibling; 43 readonly attribute Element previousElementSibling;
44 }; 44 };
45 Element implements ElementTraversal; 45 Element implements ElementTraversal;
46 46
47 [Callback] 47 [Callback]
48 interface TimeoutHandler { 48 interface TimeoutHandler {
49 void handleEvent(); 49 void handleEvent();
50 }; 50 };
51 51
52 [Supplemental] 52 [Supplemental]
53 interface CanvasRenderingContext2D { 53 interface CanvasRenderingContext2D {
54 [DartName=createImageDataFromImageData] ImageData createImageData(in ImageData imagedata); 54 [DartName=createImageDataFromImageData] ImageData createImageData(ImageData im agedata);
55 }; 55 };
56 56
57 [Supplemental] 57 [Supplemental]
58 interface Console { 58 interface Console {
59 [Suppressed] void assert(in boolean condition); 59 [Suppressed] void assert(boolean condition);
60 [CallWith=ScriptArguments|ScriptState] void assertCondition(boolean condition) ; 60 [CallWith=ScriptArguments|ScriptState] void assertCondition(boolean condition) ;
61 }; 61 };
62 62
63 interface HTMLCanvasElement { 63 interface HTMLCanvasElement {
64 [Suppressed] DOMString toDataURL([TreatNullAs=NullString, TreatUndefinedAs=Nul lString,Default=Undefined] in DOMString type); 64 [Suppressed] DOMString toDataURL([TreatNullAs=NullString, TreatUndefinedAs=Nul lString,Default=Undefined] DOMString type);
65 [Custom] DOMString toDataURL([TreatNullAs=NullString, TreatUndefinedAs=NullStr ing,Default=Undefined] in DOMString type, optional float quality); 65 [Custom] DOMString toDataURL([TreatNullAs=NullString, TreatUndefinedAs=NullStr ing,Default=Undefined] DOMString type, optional float quality);
66 66
67 [Suppressed] any getContext(in DOMString contextId); 67 [Suppressed] any getContext(DOMString contextId);
68 [Custom] CanvasRenderingContext getContext(in DOMString contextId, optional Di ctionary attrs); 68 [Custom] CanvasRenderingContext getContext(DOMString contextId, optional Dicti onary attrs);
69 }; 69 };
70 70
71 [Supplemental] 71 [Supplemental]
72 interface HTMLOptionsCollection { 72 interface HTMLOptionsCollection {
73 [Suppressed] void add(optional HTMLOptionElement element, optional long before ); 73 [Suppressed] void add(optional HTMLOptionElement element, optional long before );
74 }; 74 };
75 75
76 [Supplemental] 76 [Supplemental]
77 interface HTMLSelectElement { 77 interface HTMLSelectElement {
78 [Suppressed] void add([Default=Undefined] in HTMLElement element, [Default=Und efined] in HTMLElement before); 78 [Suppressed] void add([Default=Undefined] HTMLElement element, [Default=Undefi ned] HTMLElement before);
79 [Suppressed, Custom] void remove(); 79 [Suppressed, Custom] void remove();
80 }; 80 };
81 81
82 [Supplemental] 82 [Supplemental]
83 interface ImageData { 83 interface ImageData {
84 [Custom] readonly attribute int[] data; 84 [Custom] readonly attribute int[] data;
85 }; 85 };
86 86
87 [Supplemental] 87 [Supplemental]
88 interface HTMLMediaElement { 88 interface HTMLMediaElement {
(...skipping 25 matching lines...) Expand all
114 interface WebGLContextEvent { 114 interface WebGLContextEvent {
115 [Suppressed] void initEvent(optional DOMString eventTypeArg, 115 [Suppressed] void initEvent(optional DOMString eventTypeArg,
116 optional boolean canBubbleArg, 116 optional boolean canBubbleArg,
117 optional boolean cancelableArg, 117 optional boolean cancelableArg,
118 optional DOMString statusMessageArg); 118 optional DOMString statusMessageArg);
119 }; 119 };
120 120
121 [Supplemental] 121 [Supplemental]
122 interface WebGLRenderingContext { 122 interface WebGLRenderingContext {
123 123
124 //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); 124 //void compressedTexImage2D(unsigned long target, long level, unsigned long internalformat, unsigned long width, unsigned long height, long border, un signed long imageSize, const void* data);
125 //void compressedTexSubImage2D(in unsigned long target, in long level, in long xoffset, in long yoffset, in unsigned long width, in unsigned long heig ht, in unsigned long format, in unsigned long imageSize, const void* data); 125 //void compressedTexSubImage2D(unsigned long target, long level, long xoffset, long yoffset, unsigned long width, unsigned long height, unsigned long format, unsigned long imageSize, const void* data);
126 126
127 [Custom] any getBufferParameter(in unsigned long target, in unsigned long pnam e); 127 [Custom] any getBufferParameter(unsigned long target, unsigned long pname);
128 [Suppressed, StrictTypeChecking, Custom] void getBufferParameter(); 128 [Suppressed, StrictTypeChecking, Custom] void getBufferParameter();
129 129
130 [Custom] any getFramebufferAttachmentParameter(in unsigned long target, in uns igned long attachment, in unsigned long pname); 130 [Custom] any getFramebufferAttachmentParameter(unsigned long target, unsigned long attachment, unsigned long pname);
131 [Suppressed, StrictTypeChecking, Custom] void getFramebufferAttachmentParamete r(); 131 [Suppressed, StrictTypeChecking, Custom] void getFramebufferAttachmentParamete r();
132 132
133 [Custom] any getParameter(in unsigned long pname); 133 [Custom] any getParameter(unsigned long pname);
134 [Suppressed, StrictTypeChecking, Custom] void getParameter(); 134 [Suppressed, StrictTypeChecking, Custom] void getParameter();
135 135
136 [Custom] any getProgramParameter(in WebGLProgram program, in unsigned long pna me); 136 [Custom] any getProgramParameter(WebGLProgram program, unsigned long pname);
137 [Suppressed, StrictTypeChecking, Custom] void getProgramParameter(); 137 [Suppressed, StrictTypeChecking, Custom] void getProgramParameter();
138 138
139 [Custom] any getRenderbufferParameter(in unsigned long target, in unsigned lon g pname); 139 [Custom] any getRenderbufferParameter(unsigned long target, unsigned long pnam e);
140 [Suppressed, StrictTypeChecking, Custom] void getRenderbufferParameter(); 140 [Suppressed, StrictTypeChecking, Custom] void getRenderbufferParameter();
141 141
142 [Custom] any getShaderParameter(in WebGLShader shader, in unsigned long pname) ; 142 [Custom] any getShaderParameter(WebGLShader shader, unsigned long pname);
143 [Suppressed, StrictTypeChecking, Custom] void getShaderParameter(); 143 [Suppressed, StrictTypeChecking, Custom] void getShaderParameter();
144 144
145 // TBD 145 // TBD
146 // void glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, G Lint* range, GLint* precision); 146 // void glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, G Lint* range, GLint* precision);
147 147
148 [Custom] any getExtension(DOMString name); 148 [Custom] any getExtension(DOMString name);
149 [Suppressed, StrictTypeChecking, Custom] void getExtension(DOMString name); 149 [Suppressed, StrictTypeChecking, Custom] void getExtension(DOMString name);
150 [Custom] DOMString[] getSupportedExtensions(); 150 [Custom] DOMString[] getSupportedExtensions();
151 [Suppressed, StrictTypeChecking, Custom] void getSupportedExtensions(); 151 [Suppressed, StrictTypeChecking, Custom] void getSupportedExtensions();
152 152
153 [Custom] any getTexParameter(in unsigned long target, in unsigned long pname); 153 [Custom] any getTexParameter(unsigned long target, unsigned long pname);
154 [Suppressed, StrictTypeChecking, Custom] void getTexParameter(); 154 [Suppressed, StrictTypeChecking, Custom] void getTexParameter();
155 155
156 [Custom] any getUniform(in WebGLProgram program, in WebGLUniformLocation locat ion); 156 [Custom] any getUniform(WebGLProgram program, WebGLUniformLocation location);
157 [Suppressed, StrictTypeChecking, Custom] void getUniform(); 157 [Suppressed, StrictTypeChecking, Custom] void getUniform();
158 158
159 [Custom] any getVertexAttrib(in unsigned long index, in unsigned long pname); 159 [Custom] any getVertexAttrib(unsigned long index, unsigned long pname);
160 [Suppressed, StrictTypeChecking, Custom] void getVertexAttrib(); 160 [Suppressed, StrictTypeChecking, Custom] void getVertexAttrib();
161 }; 161 };
162 [Supplemental] 162 [Supplemental]
163 interface CSSStyleDeclaration { 163 interface CSSStyleDeclaration {
164 void setProperty(in DOMString propertyName, in DOMString value, [ForceOptional ] optional DOMString priority); 164 void setProperty(DOMString propertyName, DOMString value, [ForceOptional] opti onal DOMString priority);
165 [DartName=_getPropertyValue] DOMString getPropertyValue(in DOMString propertyN ame); 165 [DartName=_getPropertyValue] DOMString getPropertyValue(DOMString propertyName );
166 }; 166 };
167 167
168 // TODO(vsm): Define new names for these (see b/4436830). 168 // TODO(vsm): Define new names for these (see b/4436830).
169 [Supplemental] 169 [Supplemental]
170 interface IDBCursor { 170 interface IDBCursor {
171 [DartName=next, CallWith=ScriptExecutionContext, ImplementedAs=continueFunctio n, RaisesException] void continue([ForceOptional] optional any key); 171 [DartName=next, CallWith=ScriptExecutionContext, ImplementedAs=continueFunctio n, RaisesException] void continue([ForceOptional] optional any key);
172 }; 172 };
173 [Supplemental] 173 [Supplemental]
174 interface IDBIndex { 174 interface IDBIndex {
175 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest openCursor([Fo rceOptional] optional IDBKeyRange? range, [ForceOptional] optional DOMString dir ection); 175 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest openCursor([Fo rceOptional] optional IDBKeyRange? range, [ForceOptional] optional DOMString dir ection);
176 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest openCursor(any key, [ForceOptional] optional DOMString direction); 176 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest openCursor(any key, [ForceOptional] optional DOMString direction);
177 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest openKeyCursor( [ForceOptional] optional IDBKeyRange? range, [ForceOptional] optional DOMString direction); 177 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest openKeyCursor( [ForceOptional] optional IDBKeyRange? range, [ForceOptional] optional DOMString direction);
178 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest openKeyCursor( any key, 178 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest openKeyCursor( any key,
179 [ForceOptional] optional DOMString direction); 179 [ForceOptional] optional DOMString direction);
180 180
181 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest count([ForceOp tional] optional IDBKeyRange? range); 181 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest count([ForceOp tional] optional IDBKeyRange? range);
182 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest count(any key) ; 182 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest count(any key) ;
183 }; 183 };
184 [Supplemental] 184 [Supplemental]
185 interface IDBDatabase { 185 interface IDBDatabase {
186 // These variants are slated for removal from WebKit. Suppress to bring our 186 // These variants are slated for removal from WebKit. Suppress to bring our
187 // API in line with the most recent spec. 187 // API in line with the most recent spec.
188 [Suppressed, CallWith=ScriptExecutionContext] IDBTransaction transaction(in DO MStringList storeNames, in unsigned short mode); 188 [Suppressed, CallWith=ScriptExecutionContext] IDBTransaction transaction(DOMSt ringList storeNames, unsigned short mode);
189 [Suppressed, CallWith=ScriptExecutionContext] IDBTransaction transaction(in DO MString[] storeNames, in unsigned short mode); 189 [Suppressed, CallWith=ScriptExecutionContext] IDBTransaction transaction(DOMSt ring[] storeNames, unsigned short mode);
190 [Suppressed, CallWith=ScriptExecutionContext] IDBTransaction transaction(in DO MString storeName, in unsigned short mode); 190 [Suppressed, CallWith=ScriptExecutionContext] IDBTransaction transaction(DOMSt ring storeName, unsigned short mode);
191 }; 191 };
192 192
193 [Supplemental] 193 [Supplemental]
194 interface IDBKeyRange { 194 interface IDBKeyRange {
195 [DartName=only_] static IDBKeyRange only(in any value); 195 [DartName=only_] static IDBKeyRange only(any value);
196 [DartName=lowerBound_] static IDBKeyRange lowerBound(in any bound, [ForceOptio nal] optional boolean open); 196 [DartName=lowerBound_] static IDBKeyRange lowerBound(any bound, [ForceOptional ] optional boolean open);
197 [DartName=upperBound_] static IDBKeyRange upperBound(in any bound, [ForceOptio nal] optional boolean open); 197 [DartName=upperBound_] static IDBKeyRange upperBound(any bound, [ForceOptional ] optional boolean open);
198 [DartName=bound_] static IDBKeyRange bound(in any lower, in any upper, [ForceO ptional] optional boolean lowerOpen, [ForceOptional] optional boolean upperOpen) ; 198 [DartName=bound_] static IDBKeyRange bound(any lower, any upper, [ForceOptiona l] optional boolean lowerOpen, [ForceOptional] optional boolean upperOpen);
199 }; 199 };
200 [Supplemental] 200 [Supplemental]
201 interface IDBObjectStore { 201 interface IDBObjectStore {
202 [CallWith=ScriptState, RaisesException] IDBRequest put(any value, [ForceOpti onal] optional any key); 202 [CallWith=ScriptState, RaisesException] IDBRequest put(any value, [ForceOpti onal] optional any key);
203 [CallWith=ScriptState, RaisesException] IDBRequest add(any value, [ForceOpti onal] optional any key); 203 [CallWith=ScriptState, RaisesException] IDBRequest add(any value, [ForceOpti onal] optional any key);
204 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest openCursor([Fo rceOptional] optional IDBKeyRange? range, [ForceOptional] optional DOMString dir ection); 204 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest openCursor([Fo rceOptional] optional IDBKeyRange? range, [ForceOptional] optional DOMString dir ection);
205 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest openCursor(any key, [ForceOptional] optional DOMString direction); 205 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest openCursor(any key, [ForceOptional] optional DOMString direction);
206 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest count([ForceOp tional] optional IDBKeyRange? range); 206 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest count([ForceOp tional] optional IDBKeyRange? range);
207 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest count(any key) ; 207 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest count(any key) ;
208 }; 208 };
209 209
210 interface EntrySync { 210 interface EntrySync {
211 // Native implementation is declared to return EntrySync. 211 // Native implementation is declared to return EntrySync.
212 [Suppressed] DirectoryEntrySync getParent(); 212 [Suppressed] DirectoryEntrySync getParent();
213 EntrySync getParent(); 213 EntrySync getParent();
214 }; 214 };
215 215
216 216
217 [Supplemental, 217 [Supplemental,
218 CustomConstructor, 218 CustomConstructor,
219 Constructor(in Array blobParts, optional DOMString type, optional DOMString en dings) 219 Constructor(Array blobParts, optional DOMString type, optional DOMString endin gs)
220 ] 220 ]
221 interface Blob { 221 interface Blob {
222 }; 222 };
223 223
224 [Supplemental, 224 [Supplemental,
225 Constructor(float x, float y) 225 Constructor(float x, float y)
226 ] 226 ]
227 interface DOMPoint { 227 interface DOMPoint {
228 }; 228 };
229 229
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 interface SVGNumber { 234 interface SVGNumber {
235 [StrictTypeChecking, Custom] attribute float value; 235 [StrictTypeChecking, Custom] attribute float value;
236 }; 236 };
237 237
238 // Keep it in to generate Dart code, C++ implementation is filterd out in genera tor. 238 // Keep it in to generate Dart code, C++ implementation is filterd out in genera tor.
239 [ 239 [
240 Callback 240 Callback
241 ] interface MutationCallback { 241 ] interface MutationCallback {
242 [Custom] boolean handleEvent(in MutationRecordArray mutations, in MutationObse rver observer); 242 [Custom] boolean handleEvent(MutationRecordArray mutations, MutationObserver o bserver);
243 }; 243 };
244 244
245 [Supplemental, 245 [Supplemental,
246 CustomConstructor, 246 CustomConstructor,
247 // Provide missing constructor signature. 247 // Provide missing constructor signature.
248 Constructor(MutationCallback callback)] 248 Constructor(MutationCallback callback)]
249 interface MutationObserver { 249 interface MutationObserver {
250 // Rename 'observe' so we can define a new 'observe' API that calls the 250 // Rename 'observe' so we can define a new 'observe' API that calls the
251 // original. 251 // original.
252 [DartName=_observe] void observe(in Node target, in Dictionary options); 252 [DartName=_observe] void observe(Node target, Dictionary options);
253 }; 253 };
254 254
255 [Supplemental, 255 [Supplemental,
256 CustomConstructor, 256 CustomConstructor,
257 // Provide missing constructor signature. 257 // Provide missing constructor signature.
258 Constructor(optional HTMLFormElement form)] 258 Constructor(optional HTMLFormElement form)]
259 interface DOMFormData { 259 interface DOMFormData {
260 [Suppressed] void append(in DOMString name, in DOMString value, in DOMString filename); 260 [Suppressed] void append(DOMString name, DOMString value, DOMString filename );
261 [Custom] void append(in DOMString name, in DOMString value); 261 [Custom] void append(DOMString name, DOMString value);
262 [Custom] void append(in DOMString name, in Blob value, optional DOMString fi lename); 262 [Custom] void append(DOMString name, Blob value, optional DOMString filename );
263 }; 263 };
264 264
265 [Supplemental] 265 [Supplemental]
266 interface SQLResultSetRowList { 266 interface SQLResultSetRowList {
267 // Change the return type to Dictionary so that rows are exposed in the Dart 267 // Change the return type to Dictionary so that rows are exposed in the Dart
268 // API as a Maps, with the appropriate conversion in JavaScript. 268 // API as a Maps, with the appropriate conversion in JavaScript.
269 [Suppressed] any item(in unsigned long index); 269 [Suppressed] any item(unsigned long index);
270 [Custom] Dictionary item(in unsigned long index); 270 [Custom] Dictionary item(unsigned long index);
271 }; 271 };
272 272
273 [Supplemental] 273 [Supplemental]
274 interface WebSocket { 274 interface WebSocket {
275 // Suppress the default since it has non-standard return type and add 275 // Suppress the default since it has non-standard return type and add
276 // overrides. 276 // overrides.
277 [Suppressed] boolean send(in ArrayBuffer data); 277 [Suppressed] boolean send(ArrayBuffer data);
278 [Suppressed] boolean send(in ArrayBufferView data); 278 [Suppressed] boolean send(ArrayBufferView data);
279 [Suppressed] boolean send(in Blob data); 279 [Suppressed] boolean send(Blob data);
280 [Suppressed] boolean send(in DOMString data); 280 [Suppressed] boolean send(DOMString data);
281 281
282 [Custom] void send(DOMString data); 282 [Custom] void send(DOMString data);
283 [Custom] void send(Blob data); 283 [Custom] void send(Blob data);
284 [Custom] void send(ArrayBuffer data); 284 [Custom] void send(ArrayBuffer data);
285 [Custom] void send(ArrayBufferView data); 285 [Custom] void send(ArrayBufferView data);
286 }; 286 };
287 287
288 [Supplemental] 288 [Supplemental]
289 interface XMLHttpRequest { 289 interface XMLHttpRequest {
290 [Custom] void send(); 290 [Custom] void send();
291 [Custom] void send(in ArrayBuffer data); // FIXME: this should be eventually deprecated. 291 [Custom] void send(ArrayBuffer data); // FIXME: this should be eventually dep recated.
292 [Custom] void send(in ArrayBufferView data); 292 [Custom] void send(ArrayBufferView data);
293 [Custom] void send(in Blob data); 293 [Custom] void send(Blob data);
294 [Custom] void send(in Document data); 294 [Custom] void send(Document data);
295 [Custom] void send([StrictTypeChecking] in DOMString data); 295 [Custom] void send([StrictTypeChecking] DOMString data);
296 [Custom] void send(in DOMFormData data); 296 [Custom] void send(DOMFormData data);
297 }; 297 };
298 298
299 299
300 [Suppressed] 300 [Suppressed]
301 interface AbstractView {}; 301 interface AbstractView {};
302 302
303 303
304 [Suppressed] 304 [Suppressed]
305 interface InjectedScriptHost {}; 305 interface InjectedScriptHost {};
306 306
307 307
308 [Suppressed] 308 [Suppressed]
309 interface InspectorFrontendHost {}; 309 interface InspectorFrontendHost {};
310 310
311 311
312 [Suppressed] 312 [Suppressed]
313 interface JavaScriptCallFrame {}; 313 interface JavaScriptCallFrame {};
314 314
315 315
316 [Suppressed] 316 [Suppressed]
317 interface Entity {}; 317 interface Entity {};
OLDNEW
« no previous file with comments | « no previous file | tools/dom/scripts/idlparser.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698