OLD | NEW |
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 14 matching lines...) Expand all Loading... |
25 readonly attribute Element previousElementSibling; | 25 readonly attribute Element previousElementSibling; |
26 }; | 26 }; |
27 Element implements ElementTraversal; | 27 Element implements ElementTraversal; |
28 | 28 |
29 [Callback] | 29 [Callback] |
30 interface TimeoutHandler { | 30 interface TimeoutHandler { |
31 void handleEvent(); | 31 void handleEvent(); |
32 }; | 32 }; |
33 | 33 |
34 [Supplemental] | 34 [Supplemental] |
| 35 interface CanvasRenderingContext2D { |
| 36 [DartName=createImageDataFromImageData] ImageData createImageData(in ImageData
imagedata) raises (DOMException); |
| 37 }; |
| 38 |
| 39 [Supplemental] |
35 interface Console { | 40 interface Console { |
36 [Suppressed] void assert(in boolean condition); | 41 [Suppressed] void assert(in boolean condition); |
37 [CallWith=ScriptArguments|ScriptState] void assertCondition(boolean condition)
; | 42 [CallWith=ScriptArguments|ScriptState] void assertCondition(boolean condition)
; |
38 }; | 43 }; |
39 | 44 |
40 interface HTMLCanvasElement { | 45 interface HTMLCanvasElement { |
41 [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); |
42 [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); |
43 | 48 |
44 [Suppressed] any getContext(in DOMString contextId); | 49 [Suppressed] any getContext(in DOMString contextId); |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 interface IDBDatabase { | 239 interface IDBDatabase { |
235 // These variants are slated for removal from WebKit. Suppress to bring our | 240 // These variants are slated for removal from WebKit. Suppress to bring our |
236 // API in line with the most recent spec. | 241 // API in line with the most recent spec. |
237 [Suppressed, CallWith=ScriptExecutionContext] IDBTransaction transaction(in DO
MStringList storeNames, in unsigned short mode) | 242 [Suppressed, CallWith=ScriptExecutionContext] IDBTransaction transaction(in DO
MStringList storeNames, in unsigned short mode) |
238 raises (IDBDatabaseException); | 243 raises (IDBDatabaseException); |
239 [Suppressed, CallWith=ScriptExecutionContext] IDBTransaction transaction(in DO
MString[] storeNames, in unsigned short mode) | 244 [Suppressed, CallWith=ScriptExecutionContext] IDBTransaction transaction(in DO
MString[] storeNames, in unsigned short mode) |
240 raises (IDBDatabaseException); | 245 raises (IDBDatabaseException); |
241 [Suppressed, CallWith=ScriptExecutionContext] IDBTransaction transaction(in DO
MString storeName, in unsigned short mode) | 246 [Suppressed, CallWith=ScriptExecutionContext] IDBTransaction transaction(in DO
MString storeName, in unsigned short mode) |
242 raises (IDBDatabaseException); | 247 raises (IDBDatabaseException); |
243 }; | 248 }; |
244 [Supplemental] | |
245 interface IDBIndex { | |
246 [DartName=getObject] IDBRequest get(in any key); | |
247 }; | |
248 [Supplemental] | |
249 interface IDBObjectStore { | |
250 [DartName=getObject] IDBRequest get(in any key); | |
251 [DartName=getObject] IDBRequest get(in IDBKeyRange key); | |
252 }; | |
253 | 249 |
254 [Supplemental] | 250 [Supplemental] |
255 interface IDBKeyRange { | 251 interface IDBKeyRange { |
256 [DartName=only_] static IDBKeyRange only(in any value) raises (IDBDatabaseExce
ption); | 252 [DartName=only_] static IDBKeyRange only(in any value) raises (IDBDatabaseExce
ption); |
257 [DartName=lowerBound_] static IDBKeyRange lowerBound(in any bound, [Optional]
in boolean open) raises (IDBDatabaseException); | 253 [DartName=lowerBound_] static IDBKeyRange lowerBound(in any bound, [Optional]
in boolean open) raises (IDBDatabaseException); |
258 [DartName=upperBound_] static IDBKeyRange upperBound(in any bound, [Optional]
in boolean open) raises (IDBDatabaseException); | 254 [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); | 255 [DartName=bound_] static IDBKeyRange bound(in any lower, in any upper, [Option
al] in boolean lowerOpen, [Optional] in boolean upperOpen) raises (IDBDatabaseEx
ception); |
260 }; | 256 }; |
261 | 257 |
262 interface EntrySync { | 258 interface EntrySync { |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
353 raises(DOMException); | 349 raises(DOMException); |
354 [Custom] void send([StrictTypeChecking] in DOMString data) | 350 [Custom] void send([StrictTypeChecking] in DOMString data) |
355 raises(DOMException); | 351 raises(DOMException); |
356 [Custom] void send(in DOMFormData data) | 352 [Custom] void send(in DOMFormData data) |
357 raises(DOMException); | 353 raises(DOMException); |
358 }; | 354 }; |
359 | 355 |
360 | 356 |
361 [Suppressed] | 357 [Suppressed] |
362 interface Entity {}; | 358 interface Entity {}; |
OLD | NEW |