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 // 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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 [Custom] any getUniform(WebGLProgram program, WebGLUniformLocation location); | 184 [Custom] any getUniform(WebGLProgram program, WebGLUniformLocation location); |
185 [Suppressed, StrictTypeChecking, Custom] void getUniform(); | 185 [Suppressed, StrictTypeChecking, Custom] void getUniform(); |
186 | 186 |
187 [Custom] any getVertexAttrib(unsigned long index, unsigned long pname); | 187 [Custom] any getVertexAttrib(unsigned long index, unsigned long pname); |
188 [Suppressed, StrictTypeChecking, Custom] void getVertexAttrib(); | 188 [Suppressed, StrictTypeChecking, Custom] void getVertexAttrib(); |
189 }; | 189 }; |
190 | 190 |
191 // TODO(vsm): Define new names for these (see b/4436830). | 191 // TODO(vsm): Define new names for these (see b/4436830). |
192 [Supplemental] | 192 [Supplemental] |
193 interface IDBCursor { | 193 interface IDBCursor { |
194 [DartName=next, CallWith=ScriptExecutionContext, ImplementedAs=continueFunctio
n, RaisesException] void continue([ForceOptional] optional any key); | 194 [DartName=next, CallWith=ExecutionContext, ImplementedAs=continueFunction, Rai
sesException] void continue([ForceOptional] optional any key); |
195 }; | 195 }; |
196 [Supplemental] | 196 [Supplemental] |
197 interface IDBIndex { | 197 interface IDBIndex { |
198 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest openCursor([De
fault=Undefined] optional any key, [ForceOptional] optional DOMString direction)
; | 198 [CallWith=ExecutionContext, RaisesException] IDBRequest openCursor([Default=
Undefined] optional any key, [ForceOptional] optional DOMString direction); |
199 | 199 |
200 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest openKeyCursor(
[Default=Undefined] optional any key, [ForceOptional] optional DOMString directi
on); | 200 [CallWith=ExecutionContext, RaisesException] IDBRequest openKeyCursor([Defau
lt=Undefined] optional any key, [ForceOptional] optional DOMString direction); |
201 | 201 |
202 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest count([Default
=Undefined] optional any key); | 202 [CallWith=ExecutionContext, RaisesException] IDBRequest count([Default=Undef
ined] optional any key); |
203 }; | 203 }; |
204 | 204 |
205 [Supplemental] | 205 [Supplemental] |
206 interface HTMLMediaElement { | 206 interface HTMLMediaElement { |
207 DOMString canPlayType([Default=Undefined] optional DOMString type, [Default=Un
defined, TreatNullAs=NullString, TreatUndefinedAs=NullString, ForceOptional] opt
ional DOMString keySystem); | 207 DOMString canPlayType([Default=Undefined] optional DOMString type, [Default=Un
defined, TreatNullAs=NullString, TreatUndefinedAs=NullString, ForceOptional] opt
ional DOMString keySystem); |
208 }; | 208 }; |
209 | 209 |
210 [Supplemental] | 210 [Supplemental] |
211 interface IDBKeyRange { | 211 interface IDBKeyRange { |
212 [DartName=only_] static IDBKeyRange only(any value); | 212 [DartName=only_] static IDBKeyRange only(any value); |
213 [DartName=lowerBound_] static IDBKeyRange lowerBound(any bound, [ForceOptional
] optional boolean open); | 213 [DartName=lowerBound_] static IDBKeyRange lowerBound(any bound, [ForceOptional
] optional boolean open); |
214 [DartName=upperBound_] static IDBKeyRange upperBound(any bound, [ForceOptional
] optional boolean open); | 214 [DartName=upperBound_] static IDBKeyRange upperBound(any bound, [ForceOptional
] optional boolean open); |
215 [DartName=bound_] static IDBKeyRange bound(any lower, any upper, [ForceOptiona
l] optional boolean lowerOpen, [ForceOptional] optional boolean upperOpen); | 215 [DartName=bound_] static IDBKeyRange bound(any lower, any upper, [ForceOptiona
l] optional boolean lowerOpen, [ForceOptional] optional boolean upperOpen); |
216 }; | 216 }; |
217 | 217 |
218 [Supplemental] | 218 [Supplemental] |
219 interface IDBObjectStore { | 219 interface IDBObjectStore { |
220 [CallWith=ScriptState, RaisesException] IDBRequest put(any value, [ForceOpti
onal] optional any key); | 220 [CallWith=ScriptState, RaisesException] IDBRequest put(any value, [ForceOpti
onal] optional any key); |
221 [CallWith=ScriptState, RaisesException] IDBRequest add(any value, [ForceOpti
onal] optional any key); | 221 [CallWith=ScriptState, RaisesException] IDBRequest add(any value, [ForceOpti
onal] optional any key); |
222 # [CallWith=ScriptExecutionContext, ImplementedAs=deleteFunction, RaisesExce
ption] IDBRequest delete(any key); | 222 # [CallWith=ExecutionContext, ImplementedAs=deleteFunction, RaisesException]
IDBRequest delete(any key); |
223 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest openCursor(any
key, [ForceOptional] optional DOMString direction); | 223 [CallWith=ExecutionContext, RaisesException] IDBRequest openCursor(any key,
[ForceOptional] optional DOMString direction); |
224 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest count(any key)
; | 224 [CallWith=ExecutionContext, RaisesException] IDBRequest count(any key); |
225 }; | 225 }; |
226 | 226 |
227 interface EntrySync { | 227 interface EntrySync { |
228 // Native implementation is declared to return EntrySync. | 228 // Native implementation is declared to return EntrySync. |
229 [Suppressed] DirectoryEntrySync getParent(); | 229 [Suppressed] DirectoryEntrySync getParent(); |
230 EntrySync getParent(); | 230 EntrySync getParent(); |
231 }; | 231 }; |
232 | 232 |
233 | 233 |
234 [Supplemental, | 234 [Supplemental, |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
352 // TextEncoder/TextDecoder | 352 // TextEncoder/TextDecoder |
353 [Suppressed] | 353 [Suppressed] |
354 interface TextEncoder {}; | 354 interface TextEncoder {}; |
355 | 355 |
356 [Suppressed] | 356 [Suppressed] |
357 interface TextDecoder {}; | 357 interface TextDecoder {}; |
358 | 358 |
359 [Supplemental] | 359 [Supplemental] |
360 interface Window : EventTarget {}; | 360 interface Window : EventTarget {}; |
361 | 361 |
| 362 Element implements GlobalEventHandlers; |
OLD | NEW |