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

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

Issue 23829002: Checkpoint in changes to match push (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: We were missing onReadyStateChange Created 7 years, 3 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 | « tools/dom/dom.json ('k') | tools/dom/scripts/dartmetadata.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 // TODO(ager): Auto-generate this custom method when the info about retaining 6 // TODO(ager): Auto-generate this custom method when the info about retaining
7 // typed arrays is in the IDL. 7 // typed arrays is in the IDL.
8 [Custom] void decodeAudioData(ArrayBuffer audioData, AudioBufferCallback succe ssCallback, AudioBufferCallback errorCallback); 8 [Custom] void decodeAudioData(ArrayBuffer audioData, AudioBufferCallback succe ssCallback, AudioBufferCallback errorCallback);
9 }; 9 };
10 10
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 }; 65 };
66 66
67 [Supplemental] 67 [Supplemental]
68 interface CanvasRenderingContext2D { 68 interface CanvasRenderingContext2D {
69 [DartName=createImageDataFromImageData] ImageData createImageData(ImageData im agedata); 69 [DartName=createImageDataFromImageData] ImageData createImageData(ImageData im agedata);
70 70
71 [Suppressed] attribute boolean webkitImageSmoothingEnabled; 71 [Suppressed] attribute boolean webkitImageSmoothingEnabled;
72 }; 72 };
73 73
74 [Supplemental] 74 [Supplemental]
75 interface Console { 75 interface ConsoleBase {
76 [Suppressed] void assert(boolean condition); 76 [Suppressed] void assert(boolean condition);
77 [CallWith=ScriptArguments|ScriptState] void assertCondition(boolean condition) ; 77 [CallWith=ScriptArguments|ScriptState] void assertCondition(boolean condition) ;
78 }; 78 };
79 79
80 interface HTMLCanvasElement { 80 interface HTMLCanvasElement {
81 [Suppressed] DOMString toDataURL([TreatNullAs=NullString, TreatUndefinedAs=Nul lString,Default=Undefined] DOMString type); 81 [Suppressed] DOMString toDataURL([TreatNullAs=NullString, TreatUndefinedAs=Nul lString,Default=Undefined] DOMString type);
82 [Custom] DOMString toDataURL([TreatNullAs=NullString, TreatUndefinedAs=NullStr ing,Default=Undefined] DOMString type, optional float quality); 82 [Custom] DOMString toDataURL([TreatNullAs=NullString, TreatUndefinedAs=NullStr ing,Default=Undefined] DOMString type, optional float quality);
83 83
84 [Suppressed] any getContext(DOMString contextId); 84 [Suppressed] any getContext(DOMString contextId);
85 [Custom] CanvasRenderingContext getContext(DOMString contextId, optional Dicti onary attrs); 85 [Custom] CanvasRenderingContext getContext(DOMString contextId, optional Dicti onary attrs);
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 [Suppressed, StrictTypeChecking, Custom] void getVertexAttrib(); 176 [Suppressed, StrictTypeChecking, Custom] void getVertexAttrib();
177 }; 177 };
178 178
179 // TODO(vsm): Define new names for these (see b/4436830). 179 // TODO(vsm): Define new names for these (see b/4436830).
180 [Supplemental] 180 [Supplemental]
181 interface IDBCursor { 181 interface IDBCursor {
182 [DartName=next, CallWith=ScriptExecutionContext, ImplementedAs=continueFunctio n, RaisesException] void continue([ForceOptional] optional any key); 182 [DartName=next, CallWith=ScriptExecutionContext, ImplementedAs=continueFunctio n, RaisesException] void continue([ForceOptional] optional any key);
183 }; 183 };
184 [Supplemental] 184 [Supplemental]
185 interface IDBIndex { 185 interface IDBIndex {
186 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest openCursor([Fo rceOptional] optional IDBKeyRange? range, [ForceOptional] optional DOMString dir ection); 186 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest openCursor([De fault=Undefined] optional any key, [Default=NullString] optional DOMString direc tion);
187 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest openCursor(any key, [ForceOptional] optional DOMString direction);
188 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest openKeyCursor( [ForceOptional] optional IDBKeyRange? range, [ForceOptional] optional DOMString direction);
189 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest openKeyCursor( any key,
190 [ForceOptional] optional DOMString direction);
191 187
192 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest count([ForceOp tional] optional IDBKeyRange? range); 188 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest openKeyCursor( [Default=Undefined] optional any key, [Default=NullString] optional DOMString di rection);
193 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest count(any key) ; 189
190 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest count([Default =Undefined] optional any key);
194 }; 191 };
195 192
196 [Supplemental] 193 [Supplemental]
197 interface HTMLMediaElement { 194 interface HTMLMediaElement {
198 DOMString canPlayType([Default=Undefined] optional DOMString type, [Default=Un defined, TreatNullAs=NullString, TreatUndefinedAs=NullString, ForceOptional] opt ional DOMString keySystem); 195 DOMString canPlayType([Default=Undefined] optional DOMString type, [Default=Un defined, TreatNullAs=NullString, TreatUndefinedAs=NullString, ForceOptional] opt ional DOMString keySystem);
199 }; 196 };
200 197
201 [Supplemental] 198 [Supplemental]
202 interface IDBKeyRange { 199 interface IDBKeyRange {
203 [DartName=only_] static IDBKeyRange only(any value); 200 [DartName=only_] static IDBKeyRange only(any value);
204 [DartName=lowerBound_] static IDBKeyRange lowerBound(any bound, [ForceOptional ] optional boolean open); 201 [DartName=lowerBound_] static IDBKeyRange lowerBound(any bound, [ForceOptional ] optional boolean open);
205 [DartName=upperBound_] static IDBKeyRange upperBound(any bound, [ForceOptional ] optional boolean open); 202 [DartName=upperBound_] static IDBKeyRange upperBound(any bound, [ForceOptional ] optional boolean open);
206 [DartName=bound_] static IDBKeyRange bound(any lower, any upper, [ForceOptiona l] optional boolean lowerOpen, [ForceOptional] optional boolean upperOpen); 203 [DartName=bound_] static IDBKeyRange bound(any lower, any upper, [ForceOptiona l] optional boolean lowerOpen, [ForceOptional] optional boolean upperOpen);
207 }; 204 };
205
208 [Supplemental] 206 [Supplemental]
209 interface IDBObjectStore { 207 interface IDBObjectStore {
210 [CallWith=ScriptState, RaisesException] IDBRequest put(any value, [ForceOpti onal] optional any key); 208 [CallWith=ScriptState, RaisesException] IDBRequest put(any value, [ForceOpti onal] optional any key);
211 [CallWith=ScriptState, RaisesException] IDBRequest add(any value, [ForceOpti onal] optional any key); 209 [CallWith=ScriptState, RaisesException] IDBRequest add(any value, [ForceOpti onal] optional any key);
212 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest openCursor([Fo rceOptional] optional IDBKeyRange? range, [ForceOptional] optional DOMString dir ection); 210 # [CallWith=ScriptExecutionContext, ImplementedAs=deleteFunction, RaisesExce ption] IDBRequest delete(any key);
213 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest openCursor(any key, [ForceOptional] optional DOMString direction); 211 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest openCursor(any key, [ForceOptional] optional DOMString direction);
214 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest count([ForceOp tional] optional IDBKeyRange? range);
215 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest count(any key) ; 212 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest count(any key) ;
216 }; 213 };
217 214
218 interface EntrySync { 215 interface EntrySync {
219 // Native implementation is declared to return EntrySync. 216 // Native implementation is declared to return EntrySync.
220 [Suppressed] DirectoryEntrySync getParent(); 217 [Suppressed] DirectoryEntrySync getParent();
221 EntrySync getParent(); 218 EntrySync getParent();
222 }; 219 };
223 220
224 221
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 interface XMLHttpRequest { 291 interface XMLHttpRequest {
295 [Custom] void send(); 292 [Custom] void send();
296 [Custom] void send(ArrayBuffer data); // FIXME: this should be eventually dep recated. 293 [Custom] void send(ArrayBuffer data); // FIXME: this should be eventually dep recated.
297 [Custom] void send(ArrayBufferView data); 294 [Custom] void send(ArrayBufferView data);
298 [Custom] void send(Blob data); 295 [Custom] void send(Blob data);
299 [Custom] void send(Document data); 296 [Custom] void send(Document data);
300 [Custom] void send([StrictTypeChecking] DOMString data); 297 [Custom] void send([StrictTypeChecking] DOMString data);
301 [Custom] void send(FormData data); 298 [Custom] void send(FormData data);
302 }; 299 };
303 300
304
305 [Suppressed] 301 [Suppressed]
306 interface AbstractView {}; 302 interface AbstractView {};
307 303
308 304
309 [Suppressed] 305 [Suppressed]
310 interface InjectedScriptHost {}; 306 interface InjectedScriptHost {};
311 307
312 308
313 [Suppressed] 309 [Suppressed]
314 interface InspectorFrontendHost {}; 310 interface InspectorFrontendHost {};
(...skipping 29 matching lines...) Expand all
344 // TextEncoder/TextDecoder 340 // TextEncoder/TextDecoder
345 [Suppressed] 341 [Suppressed]
346 interface TextEncoder {}; 342 interface TextEncoder {};
347 343
348 [Suppressed] 344 [Suppressed]
349 interface TextDecoder {}; 345 interface TextDecoder {};
350 346
351 [Supplemental] 347 [Supplemental]
352 interface Window : EventTarget {}; 348 interface Window : EventTarget {};
353 349
OLDNEW
« no previous file with comments | « tools/dom/dom.json ('k') | tools/dom/scripts/dartmetadata.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698