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

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

Issue 13201004: Support nullable attributes and return types in Dartium. (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 | « no previous file | tools/dom/scripts/idlnode.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 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 24 matching lines...) Expand all
35 interface CanvasRenderingContext2D { 35 interface CanvasRenderingContext2D {
36 [DartName=createImageDataFromImageData] ImageData createImageData(in ImageData imagedata) raises (DOMException); 36 [DartName=createImageDataFromImageData] ImageData createImageData(in ImageData imagedata) raises (DOMException);
37 }; 37 };
38 38
39 [Supplemental] 39 [Supplemental]
40 interface Console { 40 interface Console {
41 [Suppressed] void assert(in boolean condition); 41 [Suppressed] void assert(in boolean condition);
42 [CallWith=ScriptArguments|ScriptState] void assertCondition(boolean condition) ; 42 [CallWith=ScriptArguments|ScriptState] void assertCondition(boolean condition) ;
43 }; 43 };
44 44
45 // TODO(antonm): remove those overrides and corresponding custom methods.
46 [Supplemental]
47 interface Coordinates {
48 [Custom] readonly attribute double altitude;
49 [Custom] readonly attribute double altitudeAccuracy;
50 [Custom] readonly attribute double heading;
51 [Custom] readonly attribute double speed;
52 };
53
54
55 interface HTMLCanvasElement { 45 interface HTMLCanvasElement {
56 [Suppressed] DOMString toDataURL([TreatNullAs=NullString, TreatUndefinedAs=Nul lString,Optional=DefaultIsUndefined] in DOMString type) raises(DOMException); 46 [Suppressed] DOMString toDataURL([TreatNullAs=NullString, TreatUndefinedAs=Nul lString,Optional=DefaultIsUndefined] in DOMString type) raises(DOMException);
57 [Custom] DOMString toDataURL([TreatNullAs=NullString, TreatUndefinedAs=NullStr ing,Optional=DefaultIsUndefined] in DOMString type, [Optional] in float quality) raises(DOMException); 47 [Custom] DOMString toDataURL([TreatNullAs=NullString, TreatUndefinedAs=NullStr ing,Optional=DefaultIsUndefined] in DOMString type, [Optional] in float quality) raises(DOMException);
58 48
59 [Suppressed] any getContext(in DOMString contextId); 49 [Suppressed] any getContext(in DOMString contextId);
60 [Custom] CanvasRenderingContext getContext(in DOMString contextId, [Optional] in Dictionary attrs); 50 [Custom] CanvasRenderingContext getContext(in DOMString contextId, [Optional] in Dictionary attrs);
61 }; 51 };
62 52
63 [Supplemental] 53 [Supplemental]
64 interface HTMLOptionsCollection { 54 interface HTMLOptionsCollection {
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 raises(DOMException); 349 raises(DOMException);
360 [Custom] void send([StrictTypeChecking] in DOMString data) 350 [Custom] void send([StrictTypeChecking] in DOMString data)
361 raises(DOMException); 351 raises(DOMException);
362 [Custom] void send(in DOMFormData data) 352 [Custom] void send(in DOMFormData data)
363 raises(DOMException); 353 raises(DOMException);
364 }; 354 };
365 355
366 356
367 [Suppressed] 357 [Suppressed]
368 interface Entity {}; 358 interface Entity {};
OLDNEW
« no previous file with comments | « no previous file | tools/dom/scripts/idlnode.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698