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

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

Issue 12548010: Update context2d.arc to take optional anticlockwise parameter (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 [Suppressed, StrictTypeChecking, Custom] void getTexParameter(); 131 [Suppressed, StrictTypeChecking, Custom] void getTexParameter();
132 132
133 [Custom] any getUniform(in WebGLProgram program, in WebGLUniformLocation locat ion) raises(DOMException); 133 [Custom] any getUniform(in WebGLProgram program, in WebGLUniformLocation locat ion) raises(DOMException);
134 [Suppressed, StrictTypeChecking, Custom] void getUniform(); 134 [Suppressed, StrictTypeChecking, Custom] void getUniform();
135 135
136 [Custom] any getVertexAttrib(in unsigned long index, in unsigned long pname) r aises(DOMException); 136 [Custom] any getVertexAttrib(in unsigned long index, in unsigned long pname) r aises(DOMException);
137 [Suppressed, StrictTypeChecking, Custom] void getVertexAttrib(); 137 [Suppressed, StrictTypeChecking, Custom] void getVertexAttrib();
138 }; 138 };
139 139
140 [Supplemental] 140 [Supplemental]
141 interface CanvasRenderingContext2D {
142 [Suppressed] any arc( float x, float y, float radius, float startAngle, float endAngle, boolean anticlockwise);
143 [Custom] void arc( float x, float y, float radius, float startAngle, flo at endAngle, [Optional] boolean anticlockwise);
144 };
145
146 [Supplemental]
141 interface CSSStyleDeclaration { 147 interface CSSStyleDeclaration {
142 void setProperty(in DOMString propertyName, in DOMString value, [Optional] in DOMString priority); 148 void setProperty(in DOMString propertyName, in DOMString value, [Optional] in DOMString priority);
143 [DartName=_getPropertyValue] DOMString getPropertyValue(in DOMString propertyN ame); 149 [DartName=_getPropertyValue] DOMString getPropertyValue(in DOMString propertyN ame);
144 }; 150 };
145 151
146 [Supplemental, 152 [Supplemental,
147 Constructor(in long length)] // Add constructor signature. 153 Constructor(in long length)] // Add constructor signature.
148 interface ArrayBuffer { 154 interface ArrayBuffer {
149 }; 155 };
150 [Supplemental] 156 [Supplemental]
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 [DartName=upperBound_] static IDBKeyRange upperBound(in any bound, [Optional] in boolean open) raises (IDBDatabaseException); 264 [DartName=upperBound_] static IDBKeyRange upperBound(in any bound, [Optional] in boolean open) raises (IDBDatabaseException);
259 [DartName=bound_] static IDBKeyRange bound(in any lower, in any upper, [Option al] in boolean lowerOpen, [Optional] in boolean upperOpen) raises (IDBDatabaseEx ception); 265 [DartName=bound_] static IDBKeyRange bound(in any lower, in any upper, [Option al] in boolean lowerOpen, [Optional] in boolean upperOpen) raises (IDBDatabaseEx ception);
260 }; 266 };
261 267
262 interface EntrySync { 268 interface EntrySync {
263 // Native implementation is declared to return EntrySync. 269 // Native implementation is declared to return EntrySync.
264 [Suppressed] DirectoryEntrySync getParent(); 270 [Suppressed] DirectoryEntrySync getParent();
265 EntrySync getParent(); 271 EntrySync getParent();
266 }; 272 };
267 273
268
269 [Supplemental, 274 [Supplemental,
270 CustomConstructor, 275 CustomConstructor,
271 Constructor(in Array blobParts, 276 Constructor(in Array blobParts,
272 [Optional] in DOMString type, [Optional] in DOMString endings) 277 [Optional] in DOMString type, [Optional] in DOMString endings)
273 ] 278 ]
274 interface Blob { 279 interface Blob {
275 }; 280 };
276 281
277 [Supplemental, 282 [Supplemental,
278 Constructor(float x, float y) 283 Constructor(float x, float y)
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 [Conditional=BLOB, Custom] void send(in Blob data) 355 [Conditional=BLOB, Custom] void send(in Blob data)
351 raises(DOMException); 356 raises(DOMException);
352 [Custom] void send(in Document data) 357 [Custom] void send(in Document data)
353 raises(DOMException); 358 raises(DOMException);
354 [Custom] void send([StrictTypeChecking] in DOMString data) 359 [Custom] void send([StrictTypeChecking] in DOMString data)
355 raises(DOMException); 360 raises(DOMException);
356 [Custom] void send(in DOMFormData data) 361 [Custom] void send(in DOMFormData data)
357 raises(DOMException); 362 raises(DOMException);
358 }; 363 };
359 364
360
361 [Suppressed] 365 [Suppressed]
362 interface Entity {}; 366 interface Entity {};
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698