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

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

Issue 10827399: Add an optional argument to HTMLCanvasElement.toDataURL. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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 | « lib/dom/dom.dart ('k') | lib/html/dart2js/html_dart2js.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 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 }; 50 };
51 }; 51 };
52 52
53 module html { 53 module html {
54 [Supplemental] 54 [Supplemental]
55 interface Console { 55 interface Console {
56 [Suppressed] void assert(in boolean condition); 56 [Suppressed] void assert(in boolean condition);
57 [CallWith=ScriptArguments|CallStack] void assertCondition(boolean condition) ; 57 [CallWith=ScriptArguments|CallStack] void assertCondition(boolean condition) ;
58 }; 58 };
59 59
60 interface HTMLCanvasElement {
61 [Suppressed] DOMString toDataURL([TreatNullAs=NullString, TreatUndefinedAs=N ullString,Optional=DefaultIsUndefined] in DOMString type) raises(DOMException);
62 [Custom] DOMString toDataURL([TreatNullAs=NullString, TreatUndefinedAs=NullS tring,Optional=DefaultIsUndefined] in DOMString type, [Optional] in float qualit y) raises(DOMException);
63
64 };
65
60 [Supplemental] 66 [Supplemental]
61 interface HTMLOptionsCollection { 67 interface HTMLOptionsCollection {
62 [Suppressed] void add([Optional] in HTMLOptionElement element, [Optional] in long before); 68 [Suppressed] void add([Optional] in HTMLOptionElement element, [Optional] in long before);
63 }; 69 };
64 70
65 [Supplemental] 71 [Supplemental]
66 interface ImageData { 72 interface ImageData {
67 readonly attribute Uint8ClampedArray data; 73 readonly attribute Uint8ClampedArray data;
68 }; 74 };
69 75
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 CustomConstructor, 276 CustomConstructor,
271 // Provide missing constructor signature. 277 // Provide missing constructor signature.
272 Constructor(MutationCallback callback)] 278 Constructor(MutationCallback callback)]
273 interface MutationObserver { 279 interface MutationObserver {
274 // Rename 'observe' so we can define a new 'observe' API that calls the 280 // Rename 'observe' so we can define a new 'observe' API that calls the
275 // original. 281 // original.
276 [DartName=_observe] void observe(in Node target, in Dictionary options) 282 [DartName=_observe] void observe(in Node target, in Dictionary options)
277 raises(DOMException); 283 raises(DOMException);
278 }; 284 };
279 } 285 }
OLDNEW
« no previous file with comments | « lib/dom/dom.dart ('k') | lib/html/dart2js/html_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698