| 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(in ArrayBuffer audioData, in AudioBufferCallback
successCallback, in AudioBufferCallback errorCallback); | 8 [Custom] void decodeAudioData(in ArrayBuffer audioData, in AudioBufferCallback
successCallback, in AudioBufferCallback errorCallback); |
| 9 }; | 9 }; |
| 10 | 10 |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 [Suppressed, StrictTypeChecking, Custom] void getTexParameter(); | 154 [Suppressed, StrictTypeChecking, Custom] void getTexParameter(); |
| 155 | 155 |
| 156 [Custom] any getUniform(in WebGLProgram program, in WebGLUniformLocation locat
ion); | 156 [Custom] any getUniform(in WebGLProgram program, in WebGLUniformLocation locat
ion); |
| 157 [Suppressed, StrictTypeChecking, Custom] void getUniform(); | 157 [Suppressed, StrictTypeChecking, Custom] void getUniform(); |
| 158 | 158 |
| 159 [Custom] any getVertexAttrib(in unsigned long index, in unsigned long pname); | 159 [Custom] any getVertexAttrib(in unsigned long index, in unsigned long pname); |
| 160 [Suppressed, StrictTypeChecking, Custom] void getVertexAttrib(); | 160 [Suppressed, StrictTypeChecking, Custom] void getVertexAttrib(); |
| 161 }; | 161 }; |
| 162 [Supplemental] | 162 [Supplemental] |
| 163 interface CSSStyleDeclaration { | 163 interface CSSStyleDeclaration { |
| 164 void setProperty(in DOMString propertyName, in DOMString value, in optional DO
MString priority); | 164 void setProperty(in DOMString propertyName, in DOMString value, [ForceOptional
] optional DOMString priority); |
| 165 [DartName=_getPropertyValue] DOMString getPropertyValue(in DOMString propertyN
ame); | 165 [DartName=_getPropertyValue] DOMString getPropertyValue(in DOMString propertyN
ame); |
| 166 }; | 166 }; |
| 167 | 167 |
| 168 [Supplemental, | 168 [Supplemental, |
| 169 Constructor(in long length)] // Add constructor signature. | 169 Constructor(in long length)] // Add constructor signature. |
| 170 interface ArrayBuffer { | 170 interface ArrayBuffer { |
| 171 }; | 171 }; |
| 172 [Supplemental] | 172 [Supplemental] |
| 173 interface Float32Array { | 173 interface Float32Array { |
| 174 [Suppressed] void set(); | 174 [Suppressed] void set(); |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 235 // void setUint8(in unsigned long byteOffset, in uint8_t value); | 235 // void setUint8(in unsigned long byteOffset, in uint8_t value); |
| 236 [Suppressed] void setInt8(); | 236 [Suppressed] void setInt8(); |
| 237 [Suppressed] void setUint8(); | 237 [Suppressed] void setUint8(); |
| 238 [RaisesException] void setInt8(in unsigned long byteOffset, in byte value); | 238 [RaisesException] void setInt8(in unsigned long byteOffset, in byte value); |
| 239 [RaisesException] void setUint8(in unsigned long byteOffset, in octet value); | 239 [RaisesException] void setUint8(in unsigned long byteOffset, in octet value); |
| 240 }; | 240 }; |
| 241 | 241 |
| 242 // TODO(vsm): Define new names for these (see b/4436830). | 242 // TODO(vsm): Define new names for these (see b/4436830). |
| 243 [Supplemental] | 243 [Supplemental] |
| 244 interface IDBCursor { | 244 interface IDBCursor { |
| 245 [Suppressed, CallWith=ScriptExecutionContext, ImplementedAs=continueFunction,
RaisesException] void continue([Default=Undefined] optional any key); | 245 [DartName=next, CallWith=ScriptExecutionContext, ImplementedAs=continueFunctio
n, RaisesException] void continue([ForceOptional] optional any key); |
| 246 [CallWith=ScriptExecutionContext, ImplementedAs=continueFunction, RaisesExcept
ion] void next([Default=Undefined] optional any key); | 246 }; |
| 247 [Supplemental] |
| 248 interface IDBIndex { |
| 249 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest openCursor([Fo
rceOptional] optional IDBKeyRange? range, [ForceOptional] optional DOMString dir
ection); |
| 250 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest openCursor(any
key, [ForceOptional] optional DOMString direction); |
| 251 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest openKeyCursor(
[ForceOptional] optional IDBKeyRange? range, [ForceOptional] optional DOMString
direction); |
| 252 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest openKeyCursor(
any key, |
| 253 [ForceOptional] optional DOMString direction); |
| 254 |
| 255 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest count([ForceOp
tional] optional IDBKeyRange? range); |
| 256 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest count(any key)
; |
| 247 }; | 257 }; |
| 248 [Supplemental] | 258 [Supplemental] |
| 249 interface IDBDatabase { | 259 interface IDBDatabase { |
| 250 // These variants are slated for removal from WebKit. Suppress to bring our | 260 // These variants are slated for removal from WebKit. Suppress to bring our |
| 251 // API in line with the most recent spec. | 261 // API in line with the most recent spec. |
| 252 [Suppressed, CallWith=ScriptExecutionContext] IDBTransaction transaction(in DO
MStringList storeNames, in unsigned short mode); | 262 [Suppressed, CallWith=ScriptExecutionContext] IDBTransaction transaction(in DO
MStringList storeNames, in unsigned short mode); |
| 253 [Suppressed, CallWith=ScriptExecutionContext] IDBTransaction transaction(in DO
MString[] storeNames, in unsigned short mode); | 263 [Suppressed, CallWith=ScriptExecutionContext] IDBTransaction transaction(in DO
MString[] storeNames, in unsigned short mode); |
| 254 [Suppressed, CallWith=ScriptExecutionContext] IDBTransaction transaction(in DO
MString storeName, in unsigned short mode); | 264 [Suppressed, CallWith=ScriptExecutionContext] IDBTransaction transaction(in DO
MString storeName, in unsigned short mode); |
| 255 }; | 265 }; |
| 256 | 266 |
| 257 [Supplemental] | 267 [Supplemental] |
| 258 interface IDBKeyRange { | 268 interface IDBKeyRange { |
| 259 [DartName=only_] static IDBKeyRange only(in any value); | 269 [DartName=only_] static IDBKeyRange only(in any value); |
| 260 [DartName=lowerBound_] static IDBKeyRange lowerBound(in any bound, optional bo
olean open); | 270 [DartName=lowerBound_] static IDBKeyRange lowerBound(in any bound, [ForceOptio
nal] optional boolean open); |
| 261 [DartName=upperBound_] static IDBKeyRange upperBound(in any bound, optional bo
olean open); | 271 [DartName=upperBound_] static IDBKeyRange upperBound(in any bound, [ForceOptio
nal] optional boolean open); |
| 262 [DartName=bound_] static IDBKeyRange bound(in any lower, in any upper, optiona
l boolean lowerOpen, optional boolean upperOpen); | 272 [DartName=bound_] static IDBKeyRange bound(in any lower, in any upper, [ForceO
ptional] optional boolean lowerOpen, [ForceOptional] optional boolean upperOpen)
; |
| 273 }; |
| 274 [Supplemental] |
| 275 interface IDBObjectStore { |
| 276 [CallWith=ScriptState, RaisesException] IDBRequest put(any value, [ForceOpti
onal] optional any key); |
| 277 [CallWith=ScriptState, RaisesException] IDBRequest add(any value, [ForceOpti
onal] optional any key); |
| 278 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest openCursor([Fo
rceOptional] optional IDBKeyRange? range, [ForceOptional] optional DOMString dir
ection); |
| 279 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest openCursor(any
key, [ForceOptional] optional DOMString direction); |
| 280 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest count([ForceOp
tional] optional IDBKeyRange? range); |
| 281 [CallWith=ScriptExecutionContext, RaisesException] IDBRequest count(any key)
; |
| 263 }; | 282 }; |
| 264 | 283 |
| 265 interface EntrySync { | 284 interface EntrySync { |
| 266 // Native implementation is declared to return EntrySync. | 285 // Native implementation is declared to return EntrySync. |
| 267 [Suppressed] DirectoryEntrySync getParent(); | 286 [Suppressed] DirectoryEntrySync getParent(); |
| 268 EntrySync getParent(); | 287 EntrySync getParent(); |
| 269 }; | 288 }; |
| 270 | 289 |
| 271 | 290 |
| 272 [Supplemental, | 291 [Supplemental, |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 363 [Suppressed] | 382 [Suppressed] |
| 364 interface InspectorFrontendHost {}; | 383 interface InspectorFrontendHost {}; |
| 365 | 384 |
| 366 | 385 |
| 367 [Suppressed] | 386 [Suppressed] |
| 368 interface JavaScriptCallFrame {}; | 387 interface JavaScriptCallFrame {}; |
| 369 | 388 |
| 370 | 389 |
| 371 [Suppressed] | 390 [Suppressed] |
| 372 interface Entity {}; | 391 interface Entity {}; |
| OLD | NEW |