| OLD | NEW |
| 1 #library('dom'); | 1 #library('dom'); |
| 2 | 2 |
| 3 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 3 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 4 // for details. All rights reserved. Use of this source code is governed by a | 4 // for details. All rights reserved. Use of this source code is governed by a |
| 5 // BSD-style license that can be found in the LICENSE file. | 5 // BSD-style license that can be found in the LICENSE file. |
| 6 | 6 |
| 7 // DO NOT EDIT | 7 // DO NOT EDIT |
| 8 // Auto-generated Dart DOM library. | 8 // Auto-generated Dart DOM library. |
| 9 | 9 |
| 10 | 10 |
| (...skipping 1795 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1806 | 1806 |
| 1807 final _NamedNodeMapJs notations; | 1807 final _NamedNodeMapJs notations; |
| 1808 | 1808 |
| 1809 final String publicId; | 1809 final String publicId; |
| 1810 | 1810 |
| 1811 final String systemId; | 1811 final String systemId; |
| 1812 } | 1812 } |
| 1813 | 1813 |
| 1814 class _DynamicsCompressorNodeJs extends _AudioNodeJs implements DynamicsCompress
orNode native "*DynamicsCompressorNode" { | 1814 class _DynamicsCompressorNodeJs extends _AudioNodeJs implements DynamicsCompress
orNode native "*DynamicsCompressorNode" { |
| 1815 | 1815 |
| 1816 final _AudioParamJs attack; |
| 1817 |
| 1816 final _AudioParamJs knee; | 1818 final _AudioParamJs knee; |
| 1817 | 1819 |
| 1818 final _AudioParamJs ratio; | 1820 final _AudioParamJs ratio; |
| 1819 | 1821 |
| 1820 final _AudioParamJs reduction; | 1822 final _AudioParamJs reduction; |
| 1821 | 1823 |
| 1824 final _AudioParamJs release; |
| 1825 |
| 1822 final _AudioParamJs threshold; | 1826 final _AudioParamJs threshold; |
| 1823 } | 1827 } |
| 1824 | 1828 |
| 1825 class _EXTTextureFilterAnisotropicJs extends _DOMTypeJs implements EXTTextureFil
terAnisotropic native "*EXTTextureFilterAnisotropic" { | 1829 class _EXTTextureFilterAnisotropicJs extends _DOMTypeJs implements EXTTextureFil
terAnisotropic native "*EXTTextureFilterAnisotropic" { |
| 1826 | 1830 |
| 1827 static final int MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF; | 1831 static final int MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF; |
| 1828 | 1832 |
| 1829 static final int TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE; | 1833 static final int TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE; |
| 1830 } | 1834 } |
| 1831 | 1835 |
| (...skipping 2336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4168 final String name; | 4172 final String name; |
| 4169 | 4173 |
| 4170 final List<String> objectStoreNames; | 4174 final List<String> objectStoreNames; |
| 4171 | 4175 |
| 4172 final String version; | 4176 final String version; |
| 4173 | 4177 |
| 4174 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 4178 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; |
| 4175 | 4179 |
| 4176 void close() native; | 4180 void close() native; |
| 4177 | 4181 |
| 4178 _IDBObjectStoreJs createObjectStore(String name) native; | 4182 _IDBObjectStoreJs createObjectStore(String name, [Map options = null]) native; |
| 4179 | 4183 |
| 4180 void deleteObjectStore(String name) native; | 4184 void deleteObjectStore(String name) native; |
| 4181 | 4185 |
| 4182 bool dispatchEvent(_EventJs evt) native; | 4186 bool dispatchEvent(_EventJs evt) native; |
| 4183 | 4187 |
| 4184 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 4188 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; |
| 4185 | 4189 |
| 4186 _IDBVersionChangeRequestJs setVersion(String version) native; | 4190 _IDBVersionChangeRequestJs setVersion(String version) native; |
| 4187 | 4191 |
| 4188 _IDBTransactionJs transaction(storeName_OR_storeNames, [int mode = null]) nati
ve; | 4192 _IDBTransactionJs transaction(storeName_OR_storeNames, [int mode = null]) nati
ve; |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4243 final bool multiEntry; | 4247 final bool multiEntry; |
| 4244 | 4248 |
| 4245 final String name; | 4249 final String name; |
| 4246 | 4250 |
| 4247 final _IDBObjectStoreJs objectStore; | 4251 final _IDBObjectStoreJs objectStore; |
| 4248 | 4252 |
| 4249 final bool unique; | 4253 final bool unique; |
| 4250 | 4254 |
| 4251 _IDBRequestJs count([key_OR_range = null]) native; | 4255 _IDBRequestJs count([key_OR_range = null]) native; |
| 4252 | 4256 |
| 4253 _IDBRequestJs getObject(key) native 'get'; | 4257 _IDBRequestJs get(key) native; |
| 4254 | 4258 |
| 4255 _IDBRequestJs getKey(key) native; | 4259 _IDBRequestJs getKey(key) native; |
| 4256 | 4260 |
| 4257 _IDBRequestJs openCursor([_IDBKeyRangeJs range = null, int direction = null])
native; | 4261 _IDBRequestJs openCursor([_IDBKeyRangeJs range = null, int direction = null])
native; |
| 4258 | 4262 |
| 4259 _IDBRequestJs openKeyCursor([_IDBKeyRangeJs range = null, int direction = null
]) native; | 4263 _IDBRequestJs openKeyCursor([_IDBKeyRangeJs range = null, int direction = null
]) native; |
| 4260 } | 4264 } |
| 4261 | 4265 |
| 4262 class _IDBKeyJs extends _DOMTypeJs implements IDBKey native "*IDBKey" { | 4266 class _IDBKeyJs extends _DOMTypeJs implements IDBKey native "*IDBKey" { |
| 4263 } | 4267 } |
| (...skipping 18 matching lines...) Expand all Loading... |
| 4282 final String name; | 4286 final String name; |
| 4283 | 4287 |
| 4284 final _IDBTransactionJs transaction; | 4288 final _IDBTransactionJs transaction; |
| 4285 | 4289 |
| 4286 _IDBRequestJs add(value, [key = null]) native; | 4290 _IDBRequestJs add(value, [key = null]) native; |
| 4287 | 4291 |
| 4288 _IDBRequestJs clear() native; | 4292 _IDBRequestJs clear() native; |
| 4289 | 4293 |
| 4290 _IDBRequestJs count([key_OR_range = null]) native; | 4294 _IDBRequestJs count([key_OR_range = null]) native; |
| 4291 | 4295 |
| 4292 _IDBIndexJs createIndex(String name, String keyPath) native; | 4296 _IDBIndexJs createIndex(String name, String keyPath, [Map options = null]) nat
ive; |
| 4293 | 4297 |
| 4294 _IDBRequestJs delete(key_OR_keyRange) native; | 4298 _IDBRequestJs delete(key_OR_keyRange) native; |
| 4295 | 4299 |
| 4296 void deleteIndex(String name) native; | 4300 void deleteIndex(String name) native; |
| 4297 | 4301 |
| 4298 _IDBRequestJs getObject(key) native 'get'; | 4302 _IDBRequestJs getObject(key) native 'get'; |
| 4299 | 4303 |
| 4300 _IDBIndexJs index(String name) native; | 4304 _IDBIndexJs index(String name) native; |
| 4301 | 4305 |
| 4302 _IDBRequestJs openCursor([_IDBKeyRangeJs range = null, int direction = null])
native; | 4306 _IDBRequestJs openCursor([_IDBKeyRangeJs range = null, int direction = null])
native; |
| (...skipping 7729 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12032 // BSD-style license that can be found in the LICENSE file. | 12036 // BSD-style license that can be found in the LICENSE file. |
| 12033 | 12037 |
| 12034 class _MessageChannelFactoryProvider { | 12038 class _MessageChannelFactoryProvider { |
| 12035 factory MessageChannel() native | 12039 factory MessageChannel() native |
| 12036 '''return new MessageChannel();'''; | 12040 '''return new MessageChannel();'''; |
| 12037 } | 12041 } |
| 12038 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 12042 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 12039 // for details. All rights reserved. Use of this source code is governed by a | 12043 // for details. All rights reserved. Use of this source code is governed by a |
| 12040 // BSD-style license that can be found in the LICENSE file. | 12044 // BSD-style license that can be found in the LICENSE file. |
| 12041 | 12045 |
| 12046 class _NotificationFactoryProvider { |
| 12047 factory Notification(String title, [Map options = null]) native |
| 12048 '''return new Notification(title, options);'''; |
| 12049 } |
| 12050 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 12051 // for details. All rights reserved. Use of this source code is governed by a |
| 12052 // BSD-style license that can be found in the LICENSE file. |
| 12053 |
| 12042 class _PeerConnection00FactoryProvider { | 12054 class _PeerConnection00FactoryProvider { |
| 12043 factory PeerConnection00(String serverConfiguration, IceCallback iceCallback)
native | 12055 factory PeerConnection00(String serverConfiguration, IceCallback iceCallback)
native |
| 12044 '''return new PeerConnection00(serverConfiguration, iceCallback);'''; | 12056 '''return new PeerConnection00(serverConfiguration, iceCallback);'''; |
| 12045 } | 12057 } |
| 12046 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 12058 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 12047 // for details. All rights reserved. Use of this source code is governed by a | 12059 // for details. All rights reserved. Use of this source code is governed by a |
| 12048 // BSD-style license that can be found in the LICENSE file. | 12060 // BSD-style license that can be found in the LICENSE file. |
| 12049 | 12061 |
| 12050 class _SessionDescriptionFactoryProvider { | 12062 class _SessionDescriptionFactoryProvider { |
| 12051 factory SessionDescription(String sdp) native | 12063 factory SessionDescription(String sdp) native |
| (...skipping 2281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14333 final String systemId; | 14345 final String systemId; |
| 14334 } | 14346 } |
| 14335 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14347 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14336 // for details. All rights reserved. Use of this source code is governed by a | 14348 // for details. All rights reserved. Use of this source code is governed by a |
| 14337 // BSD-style license that can be found in the LICENSE file. | 14349 // BSD-style license that can be found in the LICENSE file. |
| 14338 | 14350 |
| 14339 // WARNING: Do not edit - generated code. | 14351 // WARNING: Do not edit - generated code. |
| 14340 | 14352 |
| 14341 interface DynamicsCompressorNode extends AudioNode { | 14353 interface DynamicsCompressorNode extends AudioNode { |
| 14342 | 14354 |
| 14355 final AudioParam attack; |
| 14356 |
| 14343 final AudioParam knee; | 14357 final AudioParam knee; |
| 14344 | 14358 |
| 14345 final AudioParam ratio; | 14359 final AudioParam ratio; |
| 14346 | 14360 |
| 14347 final AudioParam reduction; | 14361 final AudioParam reduction; |
| 14348 | 14362 |
| 14363 final AudioParam release; |
| 14364 |
| 14349 final AudioParam threshold; | 14365 final AudioParam threshold; |
| 14350 } | 14366 } |
| 14351 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 14367 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 14352 // for details. All rights reserved. Use of this source code is governed by a | 14368 // for details. All rights reserved. Use of this source code is governed by a |
| 14353 // BSD-style license that can be found in the LICENSE file. | 14369 // BSD-style license that can be found in the LICENSE file. |
| 14354 | 14370 |
| 14355 // WARNING: Do not edit - generated code. | 14371 // WARNING: Do not edit - generated code. |
| 14356 | 14372 |
| 14357 interface EXTTextureFilterAnisotropic { | 14373 interface EXTTextureFilterAnisotropic { |
| 14358 | 14374 |
| (...skipping 2684 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17043 final String name; | 17059 final String name; |
| 17044 | 17060 |
| 17045 final List<String> objectStoreNames; | 17061 final List<String> objectStoreNames; |
| 17046 | 17062 |
| 17047 final String version; | 17063 final String version; |
| 17048 | 17064 |
| 17049 void addEventListener(String type, EventListener listener, [bool useCapture]); | 17065 void addEventListener(String type, EventListener listener, [bool useCapture]); |
| 17050 | 17066 |
| 17051 void close(); | 17067 void close(); |
| 17052 | 17068 |
| 17053 IDBObjectStore createObjectStore(String name); | 17069 IDBObjectStore createObjectStore(String name, [Map options]); |
| 17054 | 17070 |
| 17055 void deleteObjectStore(String name); | 17071 void deleteObjectStore(String name); |
| 17056 | 17072 |
| 17057 bool dispatchEvent(Event evt); | 17073 bool dispatchEvent(Event evt); |
| 17058 | 17074 |
| 17059 void removeEventListener(String type, EventListener listener, [bool useCapture
]); | 17075 void removeEventListener(String type, EventListener listener, [bool useCapture
]); |
| 17060 | 17076 |
| 17061 IDBVersionChangeRequest setVersion(String version); | 17077 IDBVersionChangeRequest setVersion(String version); |
| 17062 | 17078 |
| 17063 IDBTransaction transaction(storeName_OR_storeNames, [int mode]); | 17079 IDBTransaction transaction(storeName_OR_storeNames, [int mode]); |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17133 final bool multiEntry; | 17149 final bool multiEntry; |
| 17134 | 17150 |
| 17135 final String name; | 17151 final String name; |
| 17136 | 17152 |
| 17137 final IDBObjectStore objectStore; | 17153 final IDBObjectStore objectStore; |
| 17138 | 17154 |
| 17139 final bool unique; | 17155 final bool unique; |
| 17140 | 17156 |
| 17141 IDBRequest count([key_OR_range]); | 17157 IDBRequest count([key_OR_range]); |
| 17142 | 17158 |
| 17143 IDBRequest getObject(/*IDBKey*/ key); | 17159 IDBRequest get(key); |
| 17144 | 17160 |
| 17145 IDBRequest getKey(/*IDBKey*/ key); | 17161 IDBRequest getKey(key); |
| 17146 | 17162 |
| 17147 IDBRequest openCursor([IDBKeyRange range, int direction]); | 17163 IDBRequest openCursor([IDBKeyRange range, int direction]); |
| 17148 | 17164 |
| 17149 IDBRequest openKeyCursor([IDBKeyRange range, int direction]); | 17165 IDBRequest openKeyCursor([IDBKeyRange range, int direction]); |
| 17150 } | 17166 } |
| 17151 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17167 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17152 // for details. All rights reserved. Use of this source code is governed by a | 17168 // for details. All rights reserved. Use of this source code is governed by a |
| 17153 // BSD-style license that can be found in the LICENSE file. | 17169 // BSD-style license that can be found in the LICENSE file. |
| 17154 | 17170 |
| 17155 // WARNING: Do not edit - generated code. | 17171 // WARNING: Do not edit - generated code. |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17197 final String name; | 17213 final String name; |
| 17198 | 17214 |
| 17199 final IDBTransaction transaction; | 17215 final IDBTransaction transaction; |
| 17200 | 17216 |
| 17201 IDBRequest add(/*SerializedScriptValue*/ value, [/*IDBKey*/ key]); | 17217 IDBRequest add(/*SerializedScriptValue*/ value, [/*IDBKey*/ key]); |
| 17202 | 17218 |
| 17203 IDBRequest clear(); | 17219 IDBRequest clear(); |
| 17204 | 17220 |
| 17205 IDBRequest count([key_OR_range]); | 17221 IDBRequest count([key_OR_range]); |
| 17206 | 17222 |
| 17207 IDBIndex createIndex(String name, String keyPath); | 17223 IDBIndex createIndex(String name, String keyPath, [Map options]); |
| 17208 | 17224 |
| 17209 IDBRequest delete(key_OR_keyRange); | 17225 IDBRequest delete(key_OR_keyRange); |
| 17210 | 17226 |
| 17211 void deleteIndex(String name); | 17227 void deleteIndex(String name); |
| 17212 | 17228 |
| 17213 IDBRequest getObject(key); | 17229 IDBRequest getObject(key); |
| 17214 | 17230 |
| 17215 IDBIndex index(String name); | 17231 IDBIndex index(String name); |
| 17216 | 17232 |
| 17217 IDBRequest openCursor([IDBKeyRange range, int direction]); | 17233 IDBRequest openCursor([IDBKeyRange range, int direction]); |
| (...skipping 1047 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18265 final String publicId; | 18281 final String publicId; |
| 18266 | 18282 |
| 18267 final String systemId; | 18283 final String systemId; |
| 18268 } | 18284 } |
| 18269 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18285 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18270 // for details. All rights reserved. Use of this source code is governed by a | 18286 // for details. All rights reserved. Use of this source code is governed by a |
| 18271 // BSD-style license that can be found in the LICENSE file. | 18287 // BSD-style license that can be found in the LICENSE file. |
| 18272 | 18288 |
| 18273 // WARNING: Do not edit - generated code. | 18289 // WARNING: Do not edit - generated code. |
| 18274 | 18290 |
| 18275 interface Notification extends EventTarget { | 18291 interface Notification extends EventTarget default _NotificationFactoryProvider
{ |
| 18292 |
| 18293 Notification(String title, [Map options]); |
| 18276 | 18294 |
| 18277 String dir; | 18295 String dir; |
| 18278 | 18296 |
| 18279 String replaceId; | 18297 String replaceId; |
| 18280 | 18298 |
| 18281 String tag; | 18299 String tag; |
| 18282 | 18300 |
| 18283 void addEventListener(String type, EventListener listener, [bool useCapture]); | 18301 void addEventListener(String type, EventListener listener, [bool useCapture]); |
| 18284 | 18302 |
| 18285 void cancel(); | 18303 void cancel(); |
| (...skipping 6918 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 25204 if (length < 0) throw new IllegalArgumentException('length'); | 25222 if (length < 0) throw new IllegalArgumentException('length'); |
| 25205 if (start < 0) throw new IndexOutOfRangeException(start); | 25223 if (start < 0) throw new IndexOutOfRangeException(start); |
| 25206 int end = start + length; | 25224 int end = start + length; |
| 25207 if (end > a.length) throw new IndexOutOfRangeException(end); | 25225 if (end > a.length) throw new IndexOutOfRangeException(end); |
| 25208 for (int i = start; i < end; i++) { | 25226 for (int i = start; i < end; i++) { |
| 25209 accumulator.add(a[i]); | 25227 accumulator.add(a[i]); |
| 25210 } | 25228 } |
| 25211 return accumulator; | 25229 return accumulator; |
| 25212 } | 25230 } |
| 25213 } | 25231 } |
| OLD | NEW |