| 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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 [Suppressed] void setUint8(); | 227 [Suppressed] void setUint8(); |
| 228 void setInt8(in unsigned long byteOffset, in byte value) | 228 void setInt8(in unsigned long byteOffset, in byte value) |
| 229 raises (DOMException); | 229 raises (DOMException); |
| 230 void setUint8(in unsigned long byteOffset, in octet value) | 230 void setUint8(in unsigned long byteOffset, in octet value) |
| 231 raises (DOMException); | 231 raises (DOMException); |
| 232 }; | 232 }; |
| 233 | 233 |
| 234 // TODO(vsm): Define new names for these (see b/4436830). | 234 // TODO(vsm): Define new names for these (see b/4436830). |
| 235 [Supplemental] | 235 [Supplemental] |
| 236 interface IDBCursor { | 236 interface IDBCursor { |
| 237 [DartName=continueFunction] void continue([Optional] in IDBKey key); | 237 [DartName=continueFunction] void continue([Optional] in any key); |
| 238 }; | 238 }; |
| 239 [Supplemental] | 239 [Supplemental] |
| 240 interface IDBDatabase { | 240 interface IDBDatabase { |
| 241 // These variants are slated for removal from WebKit. Suppress to bring our | 241 // These variants are slated for removal from WebKit. Suppress to bring our |
| 242 // API in line with the most recent spec. | 242 // API in line with the most recent spec. |
| 243 [Suppressed, CallWith=ScriptExecutionContext] IDBTransaction transaction(in DO
MStringList storeNames, in unsigned short mode) | 243 [Suppressed, CallWith=ScriptExecutionContext] IDBTransaction transaction(in DO
MStringList storeNames, in unsigned short mode) |
| 244 raises (IDBDatabaseException); | 244 raises (IDBDatabaseException); |
| 245 [Suppressed, CallWith=ScriptExecutionContext] IDBTransaction transaction(in DO
MString[] storeNames, in unsigned short mode) | 245 [Suppressed, CallWith=ScriptExecutionContext] IDBTransaction transaction(in DO
MString[] storeNames, in unsigned short mode) |
| 246 raises (IDBDatabaseException); | 246 raises (IDBDatabaseException); |
| 247 [Suppressed, CallWith=ScriptExecutionContext] IDBTransaction transaction(in DO
MString storeName, in unsigned short mode) | 247 [Suppressed, CallWith=ScriptExecutionContext] IDBTransaction transaction(in DO
MString storeName, in unsigned short mode) |
| 248 raises (IDBDatabaseException); | 248 raises (IDBDatabaseException); |
| 249 }; | 249 }; |
| 250 [Supplemental] | 250 [Supplemental] |
| 251 interface IDBIndex { | 251 interface IDBIndex { |
| 252 [DartName=getObject] IDBRequest get(in IDBKey key); | 252 [DartName=getObject] IDBRequest get(in any key); |
| 253 }; | 253 }; |
| 254 [Supplemental] | 254 [Supplemental] |
| 255 interface IDBObjectStore { | 255 interface IDBObjectStore { |
| 256 [DartName=getObject] IDBRequest get(in IDBKey key); | 256 [DartName=getObject] IDBRequest get(in any key); |
| 257 [DartName=getObject] IDBRequest get(in IDBKeyRange key); | 257 [DartName=getObject] IDBRequest get(in IDBKeyRange key); |
| 258 }; | 258 }; |
| 259 | 259 |
| 260 [Supplemental] | 260 [Supplemental] |
| 261 interface IDBKeyRange { | 261 interface IDBKeyRange { |
| 262 [DartName=only_] static IDBKeyRange only(in IDBKey value) raises (IDBDatabaseE
xception); | 262 [DartName=only_] static IDBKeyRange only(in any value) raises (IDBDatabaseExce
ption); |
| 263 [DartName=lowerBound_] static IDBKeyRange lowerBound(in IDBKey bound, [Optiona
l] in boolean open) raises (IDBDatabaseException); | 263 [DartName=lowerBound_] static IDBKeyRange lowerBound(in any bound, [Optional]
in boolean open) raises (IDBDatabaseException); |
| 264 [DartName=upperBound_] static IDBKeyRange upperBound(in IDBKey bound, [Optiona
l] in boolean open) raises (IDBDatabaseException); | 264 [DartName=upperBound_] static IDBKeyRange upperBound(in any bound, [Optional]
in boolean open) raises (IDBDatabaseException); |
| 265 [DartName=bound_] static IDBKeyRange bound(in IDBKey lower, in IDBKey upper, [
Optional] in boolean lowerOpen, [Optional] in boolean upperOpen) raises (IDBData
baseException); | 265 [DartName=bound_] static IDBKeyRange bound(in any lower, in any upper, [Option
al] in boolean lowerOpen, [Optional] in boolean upperOpen) raises (IDBDatabaseEx
ception); |
| 266 }; | 266 }; |
| 267 | 267 |
| 268 interface EntrySync { | 268 interface EntrySync { |
| 269 // Native implementation is declared to return EntrySync. | 269 // Native implementation is declared to return EntrySync. |
| 270 [Suppressed] DirectoryEntrySync getParent(); | 270 [Suppressed] DirectoryEntrySync getParent(); |
| 271 EntrySync getParent(); | 271 EntrySync getParent(); |
| 272 }; | 272 }; |
| 273 | 273 |
| 274 | 274 |
| 275 [Supplemental, | 275 [Supplemental, |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 340 [Suppressed] boolean send(in DOMString data) raises(DOMException); | 340 [Suppressed] boolean send(in DOMString data) raises(DOMException); |
| 341 | 341 |
| 342 [Custom] void send(DOMString data) raises(DOMException); | 342 [Custom] void send(DOMString data) raises(DOMException); |
| 343 [Custom] void send(Blob data) raises(DOMException); | 343 [Custom] void send(Blob data) raises(DOMException); |
| 344 [Custom] void send(ArrayBuffer data) raises(DOMException); | 344 [Custom] void send(ArrayBuffer data) raises(DOMException); |
| 345 [Custom] void send(ArrayBufferView data) raises(DOMException); | 345 [Custom] void send(ArrayBufferView data) raises(DOMException); |
| 346 }; | 346 }; |
| 347 | 347 |
| 348 [Suppressed] | 348 [Suppressed] |
| 349 interface Entity {}; | 349 interface Entity {}; |
| OLD | NEW |