OLD | NEW |
1 // This file introduces / supplements and forces Dart declarations. | 1 // This file introduces / supplements and forces Dart declarations. |
2 | 2 |
3 [DartSupplemental, | 3 [DartSupplemental, |
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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 [DartName=only_] static IDBKeyRange only(any value); | 203 [DartName=only_] static IDBKeyRange only(any value); |
204 [DartName=lowerBound_] static IDBKeyRange lowerBound(any bound, [DartForceOpti
onal] optional boolean open); | 204 [DartName=lowerBound_] static IDBKeyRange lowerBound(any bound, [DartForceOpti
onal] optional boolean open); |
205 [DartName=upperBound_] static IDBKeyRange upperBound(any bound, [DartForceOpti
onal] optional boolean open); | 205 [DartName=upperBound_] static IDBKeyRange upperBound(any bound, [DartForceOpti
onal] optional boolean open); |
206 [DartName=bound_] static IDBKeyRange bound(any lower, any upper, [DartForceOpt
ional] optional boolean lowerOpen, [DartForceOptional] optional boolean upperOpe
n); | 206 [DartName=bound_] static IDBKeyRange bound(any lower, any upper, [DartForceOpt
ional] optional boolean lowerOpen, [DartForceOptional] optional boolean upperOpe
n); |
207 }; | 207 }; |
208 | 208 |
209 [DartSupplemental] | 209 [DartSupplemental] |
210 interface IDBObjectStore { | 210 interface IDBObjectStore { |
211 [CallWith=ScriptState, RaisesException] IDBRequest put(any value, [DartForce
Optional] optional any key); | 211 [CallWith=ScriptState, RaisesException] IDBRequest put(any value, [DartForce
Optional] optional any key); |
212 [CallWith=ScriptState, RaisesException] IDBRequest add(any value, [DartForce
Optional] optional any key); | 212 [CallWith=ScriptState, RaisesException] IDBRequest add(any value, [DartForce
Optional] optional any key); |
213 // [CallWith=ExecutionContext, ImplementedAs=deleteFunction, RaisesException
] IDBRequest delete(any key); | |
214 [CallWith=ExecutionContext, RaisesException] IDBRequest openCursor([Default=
Undefined] optional any range, [DartForceOptional] optional DOMString direction)
; | |
215 [CallWith=ExecutionContext, RaisesException] IDBRequest count([Default=Undef
ined] 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 [DartSuppress] DirectoryEntrySync getParent(); | 217 [DartSuppress] DirectoryEntrySync getParent(); |
221 EntrySync getParent(); | 218 EntrySync getParent(); |
222 }; | 219 }; |
223 | 220 |
224 [DartSupplemental, | 221 [DartSupplemental, |
225 CustomConstructor, | 222 CustomConstructor, |
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
455 // is Uint8Array or sequence<unsigned long>. For now suppress | 452 // is Uint8Array or sequence<unsigned long>. For now suppress |
456 // the new operation. Vijay suggestion, and I think this makes | 453 // the new operation. Vijay suggestion, and I think this makes |
457 // sense, change dart:html to have a send operation that takes | 454 // sense, change dart:html to have a send operation that takes |
458 // a List<int> and have custom handler to call the correct | 455 // a List<int> and have custom handler to call the correct |
459 // method. The dart:blink library needs to do something else | 456 // method. The dart:blink library needs to do something else |
460 // postfix the name with send_sequence (?). | 457 // postfix the name with send_sequence (?). |
461 [DartSuppress] void send(sequence<unsigned long> data, optional double times
tamp); | 458 [DartSuppress] void send(sequence<unsigned long> data, optional double times
tamp); |
462 }; | 459 }; |
463 | 460 |
464 Element implements GlobalEventHandlers; | 461 Element implements GlobalEventHandlers; |
OLD | NEW |