| OLD | NEW |
| 1 | 1 |
| 2 // This file introduces / supplements and forces Dart declarations. | 2 // This file introduces / supplements and forces Dart declarations. |
| 3 | 3 |
| 4 module default { | 4 module default { |
| 5 FileList implements sequence<File>; | 5 FileList implements sequence<File>; |
| 6 HTMLCollection implements sequence<Node>; | 6 HTMLCollection implements sequence<Node>; |
| 7 MediaList implements sequence<DOMString>; | 7 MediaList implements sequence<DOMString>; |
| 8 NamedNodeMap implements sequence<Node>; | 8 NamedNodeMap implements sequence<Node>; |
| 9 NodeList implements sequence<Node>; | 9 NodeList implements sequence<Node>; |
| 10 StyleSheetList implements sequence<StyleSheet>; | 10 StyleSheetList implements sequence<StyleSheet>; |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 }; | 193 }; |
| 194 }; | 194 }; |
| 195 | 195 |
| 196 module storage { | 196 module storage { |
| 197 // TODO(vsm): Define new names for these (see b/4436830). | 197 // TODO(vsm): Define new names for these (see b/4436830). |
| 198 [Supplemental] | 198 [Supplemental] |
| 199 interface IDBCursor { | 199 interface IDBCursor { |
| 200 [DartName=continueFunction] void continue([Optional] in IDBKey key); | 200 [DartName=continueFunction] void continue([Optional] in IDBKey key); |
| 201 }; | 201 }; |
| 202 [Supplemental] | 202 [Supplemental] |
| 203 interface IDBDatabase { |
| 204 // These variants are slated for removal from WebKit. Suppress to bring our |
| 205 // API in line with the most recent spec. |
| 206 [Suppressed, CallWith=ScriptExecutionContext] IDBTransaction transaction(in
DOMStringList storeNames, in unsigned short mode) |
| 207 raises (IDBDatabaseException); |
| 208 [Suppressed, CallWith=ScriptExecutionContext] IDBTransaction transaction(in
DOMString[] storeNames, in unsigned short mode) |
| 209 raises (IDBDatabaseException); |
| 210 [Suppressed, CallWith=ScriptExecutionContext] IDBTransaction transaction(in
DOMString storeName, in unsigned short mode) |
| 211 raises (IDBDatabaseException); |
| 212 }; |
| 213 [Supplemental] |
| 203 interface IDBIndex { | 214 interface IDBIndex { |
| 204 [DartName=getObject] IDBRequest get(in IDBKey key); | 215 [DartName=getObject] IDBRequest get(in IDBKey key); |
| 205 }; | 216 }; |
| 206 [Supplemental] | 217 [Supplemental] |
| 207 interface IDBObjectStore { | 218 interface IDBObjectStore { |
| 208 [DartName=getObject] IDBRequest get(in IDBKey key); | 219 [DartName=getObject] IDBRequest get(in IDBKey key); |
| 209 [DartName=getObject] IDBRequest get(in IDBKeyRange key); | 220 [DartName=getObject] IDBRequest get(in IDBKeyRange key); |
| 210 }; | 221 }; |
| 211 | 222 |
| 212 interface EntrySync { | 223 interface EntrySync { |
| 213 // Native implementation is declared to return EntrySync. | 224 // Native implementation is declared to return EntrySync. |
| 214 [Suppressed] DirectoryEntrySync getParent(); | 225 [Suppressed] DirectoryEntrySync getParent(); |
| 215 EntrySync getParent(); | 226 EntrySync getParent(); |
| 216 }; | 227 }; |
| 217 }; | 228 }; |
| 218 | 229 |
| 219 module html { | 230 module html { |
| 220 [Supplemental, Callback] // Add missing Callback attribute. | 231 [Supplemental, Callback] // Add missing Callback attribute. |
| 221 interface VoidCallback { | 232 interface VoidCallback { |
| 222 }; | 233 }; |
| 223 }; | 234 }; |
| 224 | 235 |
| 225 module svg { | 236 module svg { |
| 226 interface SVGNumber { | 237 interface SVGNumber { |
| 227 [StrictTypeChecking, Custom] attribute double value; | 238 [StrictTypeChecking, Custom] attribute double value; |
| 228 }; | 239 }; |
| 229 } | 240 } |
| OLD | NEW |