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

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

Issue 12052076: Support overloaded constructors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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
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 6
7 [Supplemental] 7 [Supplemental]
8 interface Document { 8 interface Document {
9 [Suppressed] DOMObject getCSSCanvasContext(in DOMString contextId, in DOMStrin g name, in long width, in long height); 9 [Suppressed] DOMObject getCSSCanvasContext(in DOMString contextId, in DOMStrin g name, in long width, in long height);
10 CanvasRenderingContext getCSSCanvasContext(in DOMString contextId, in DOMStrin g name, in long width, in long height); 10 CanvasRenderingContext getCSSCanvasContext(in DOMString contextId, in DOMStrin g name, in long width, in long height);
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 }; 320 };
321 321
322 [Supplemental] 322 [Supplemental]
323 interface SQLResultSetRowList { 323 interface SQLResultSetRowList {
324 // Change the return type to Dictionary so that rows are exposed in the Dart 324 // Change the return type to Dictionary so that rows are exposed in the Dart
325 // API as a Maps, with the appropriate conversion in JavaScript. 325 // API as a Maps, with the appropriate conversion in JavaScript.
326 [Suppressed] DOMObject item(in unsigned long index); 326 [Suppressed] DOMObject item(in unsigned long index);
327 [Custom] Dictionary item(in unsigned long index); 327 [Custom] Dictionary item(in unsigned long index);
328 }; 328 };
329 329
330 [Supplemental, CustomConstructor, Constructor(in DOMString url)] 330 [Supplemental]
331 interface WebSocket { 331 interface WebSocket {
332 // Suppress the default since it has non-standard return type and add 332 // Suppress the default since it has non-standard return type and add
333 // overrides. 333 // overrides.
334 [Suppressed] boolean send(in ArrayBuffer data) raises(DOMException); 334 [Suppressed] boolean send(in ArrayBuffer data) raises(DOMException);
335 [Suppressed] boolean send(in ArrayBufferView data) raises(DOMException); 335 [Suppressed] boolean send(in ArrayBufferView data) raises(DOMException);
336 [Suppressed] boolean send(in Blob data) raises(DOMException); 336 [Suppressed] boolean send(in Blob data) raises(DOMException);
337 [Suppressed] boolean send(in DOMString data) raises(DOMException); 337 [Suppressed] boolean send(in DOMString data) raises(DOMException);
338 338
339 [Custom] void send(DOMString data) raises(DOMException); 339 [Custom] void send(DOMString data) raises(DOMException);
340 [Custom] void send(Blob data) raises(DOMException); 340 [Custom] void send(Blob data) raises(DOMException);
341 [Custom] void send(ArrayBuffer data) raises(DOMException); 341 [Custom] void send(ArrayBuffer data) raises(DOMException);
342 [Custom] void send(ArrayBufferView data) raises(DOMException); 342 [Custom] void send(ArrayBufferView data) raises(DOMException);
343 }; 343 };
344 344
345 [Suppressed] 345 [Suppressed]
346 interface Entity {}; 346 interface Entity {};
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698