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

Side by Side Diff: sdk/lib/html/idl/dart/dart.idl

Issue 11473004: Making FormData able to add Blobs and Files. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years 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') | tests/html/form_data_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 // This file introduces / supplements and forces Dart declarations. 2 // This file introduces / supplements and forces Dart declarations.
3 3
4 module core { 4 module core {
5 [Supplemental] 5 [Supplemental]
6 interface Document { 6 interface Document {
7 [Suppressed] DOMObject getCSSCanvasContext(in DOMString contextId, in DOMStr ing name, in long width, in long height); 7 [Suppressed] DOMObject getCSSCanvasContext(in DOMString contextId, in DOMStr ing name, in long width, in long height);
8 CanvasRenderingContext getCSSCanvasContext(in DOMString contextId, in DOMStr ing name, in long width, in long height); 8 CanvasRenderingContext getCSSCanvasContext(in DOMString contextId, in DOMStr ing name, in long width, in long height);
9 }; 9 };
10 }; 10 };
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 raises(DOMException); 304 raises(DOMException);
305 }; 305 };
306 } 306 }
307 307
308 module html { 308 module html {
309 [Supplemental, 309 [Supplemental,
310 CustomConstructor, 310 CustomConstructor,
311 // Provide missing constructor signature. 311 // Provide missing constructor signature.
312 Constructor([Optional] in HTMLFormElement form)] 312 Constructor([Optional] in HTMLFormElement form)]
313 interface DOMFormData { 313 interface DOMFormData {
314 [Suppressed] void append(in DOMString name, in DOMString value, in DOMStri ng filename);
315 [Custom] void append(in DOMString name, in DOMString value);
316 [Custom] void append(in DOMString name, in Blob value, [Optional] in DOMSt ring filename);
314 }; 317 };
315 } 318 }
316 319
317 module storage { 320 module storage {
318 [Supplemental] 321 [Supplemental]
319 interface SQLResultSetRowList { 322 interface SQLResultSetRowList {
320 // Change the return type to Dictionary so that rows are exposed in the Dart 323 // Change the return type to Dictionary so that rows are exposed in the Dart
321 // API as a Maps, with the appropriate conversion in JavaScript. 324 // API as a Maps, with the appropriate conversion in JavaScript.
322 [Suppressed] DOMObject item(in unsigned long index); 325 [Suppressed] DOMObject item(in unsigned long index);
323 [Custom] Dictionary item(in unsigned long index); 326 [Custom] Dictionary item(in unsigned long index);
(...skipping 10 matching lines...) Expand all
334 [Custom] void send(Blob data) raises(DOMException); 337 [Custom] void send(Blob data) raises(DOMException);
335 [Custom] void send(ArrayBuffer data) raises(DOMException); 338 [Custom] void send(ArrayBuffer data) raises(DOMException);
336 [Custom] void send(ArrayBufferView data) raises(DOMException); 339 [Custom] void send(ArrayBufferView data) raises(DOMException);
337 }; 340 };
338 } 341 }
339 342
340 module core { 343 module core {
341 [Suppressed] 344 [Suppressed]
342 interface Entity {}; 345 interface Entity {};
343 } 346 }
OLDNEW
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | tests/html/form_data_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698