| 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 5237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5248 | 5248 |
| 5249 final _NodeJs relatedNode; | 5249 final _NodeJs relatedNode; |
| 5250 | 5250 |
| 5251 void initMutationEvent(String type, bool canBubble, bool cancelable, _NodeJs r
elatedNode, String prevValue, String newValue, String attrName, int attrChange)
native; | 5251 void initMutationEvent(String type, bool canBubble, bool cancelable, _NodeJs r
elatedNode, String prevValue, String newValue, String attrName, int attrChange)
native; |
| 5252 } | 5252 } |
| 5253 | 5253 |
| 5254 class _MutationObserverJs extends _DOMTypeJs implements MutationObserver native
"*MutationObserver" { | 5254 class _MutationObserverJs extends _DOMTypeJs implements MutationObserver native
"*MutationObserver" { |
| 5255 | 5255 |
| 5256 void disconnect() native; | 5256 void disconnect() native; |
| 5257 | 5257 |
| 5258 void observe(_NodeJs target, Map options) native; | 5258 void _observe(_NodeJs target, Map options) native 'observe'; |
| 5259 | 5259 |
| 5260 List<MutationRecord> takeRecords() native; | 5260 List<MutationRecord> takeRecords() native; |
| 5261 } | 5261 } |
| 5262 | 5262 |
| 5263 class _MutationRecordJs extends _DOMTypeJs implements MutationRecord native "*Mu
tationRecord" { | 5263 class _MutationRecordJs extends _DOMTypeJs implements MutationRecord native "*Mu
tationRecord" { |
| 5264 | 5264 |
| 5265 final _NodeListJs addedNodes; | 5265 final _NodeListJs addedNodes; |
| 5266 | 5266 |
| 5267 final String attributeName; | 5267 final String attributeName; |
| 5268 | 5268 |
| (...skipping 6791 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12060 // BSD-style license that can be found in the LICENSE file. | 12060 // BSD-style license that can be found in the LICENSE file. |
| 12061 | 12061 |
| 12062 class _MessageChannelFactoryProvider { | 12062 class _MessageChannelFactoryProvider { |
| 12063 factory MessageChannel() native | 12063 factory MessageChannel() native |
| 12064 '''return new MessageChannel();'''; | 12064 '''return new MessageChannel();'''; |
| 12065 } | 12065 } |
| 12066 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 12066 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 12067 // for details. All rights reserved. Use of this source code is governed by a | 12067 // for details. All rights reserved. Use of this source code is governed by a |
| 12068 // BSD-style license that can be found in the LICENSE file. | 12068 // BSD-style license that can be found in the LICENSE file. |
| 12069 | 12069 |
| 12070 class _MutationObserverFactoryProvider { |
| 12071 factory MutationObserver(MutationCallback callback) native |
| 12072 '''return new MutationObserver(callback);'''; |
| 12073 } |
| 12074 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 12075 // for details. All rights reserved. Use of this source code is governed by a |
| 12076 // BSD-style license that can be found in the LICENSE file. |
| 12077 |
| 12070 class _NotificationFactoryProvider { | 12078 class _NotificationFactoryProvider { |
| 12071 factory Notification(String title, [Map options]) native | 12079 factory Notification(String title, [Map options]) native |
| 12072 '''return new Notification(title, options);'''; | 12080 '''return new Notification(title, options);'''; |
| 12073 } | 12081 } |
| 12074 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 12082 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 12075 // for details. All rights reserved. Use of this source code is governed by a | 12083 // for details. All rights reserved. Use of this source code is governed by a |
| 12076 // BSD-style license that can be found in the LICENSE file. | 12084 // BSD-style license that can be found in the LICENSE file. |
| 12077 | 12085 |
| 12078 class _PeerConnection00FactoryProvider { | 12086 class _PeerConnection00FactoryProvider { |
| 12079 factory PeerConnection00(String serverConfiguration, IceCallback iceCallback)
native | 12087 factory PeerConnection00(String serverConfiguration, IceCallback iceCallback)
native |
| (...skipping 5944 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 18024 final Node relatedNode; | 18032 final Node relatedNode; |
| 18025 | 18033 |
| 18026 void initMutationEvent(String type, bool canBubble, bool cancelable, Node rela
tedNode, String prevValue, String newValue, String attrName, int attrChange); | 18034 void initMutationEvent(String type, bool canBubble, bool cancelable, Node rela
tedNode, String prevValue, String newValue, String attrName, int attrChange); |
| 18027 } | 18035 } |
| 18028 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18036 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18029 // for details. All rights reserved. Use of this source code is governed by a | 18037 // for details. All rights reserved. Use of this source code is governed by a |
| 18030 // BSD-style license that can be found in the LICENSE file. | 18038 // BSD-style license that can be found in the LICENSE file. |
| 18031 | 18039 |
| 18032 // WARNING: Do not edit - generated code. | 18040 // WARNING: Do not edit - generated code. |
| 18033 | 18041 |
| 18034 interface MutationObserver { | 18042 interface MutationObserver default _MutationObserverFactoryProvider { |
| 18043 |
| 18044 MutationObserver(MutationCallback callback); |
| 18035 | 18045 |
| 18036 void disconnect(); | 18046 void disconnect(); |
| 18037 | 18047 |
| 18038 void observe(Node target, Map options); | 18048 void _observe(Node target, Map options); |
| 18039 | 18049 |
| 18040 List<MutationRecord> takeRecords(); | 18050 List<MutationRecord> takeRecords(); |
| 18041 } | 18051 } |
| 18042 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18052 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18043 // for details. All rights reserved. Use of this source code is governed by a | 18053 // for details. All rights reserved. Use of this source code is governed by a |
| 18044 // BSD-style license that can be found in the LICENSE file. | 18054 // BSD-style license that can be found in the LICENSE file. |
| 18045 | 18055 |
| 18046 // WARNING: Do not edit - generated code. | 18056 // WARNING: Do not edit - generated code. |
| 18047 | 18057 |
| 18048 interface MutationRecord { | 18058 interface MutationRecord { |
| (...skipping 7223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 25272 if (length < 0) throw new IllegalArgumentException('length'); | 25282 if (length < 0) throw new IllegalArgumentException('length'); |
| 25273 if (start < 0) throw new IndexOutOfRangeException(start); | 25283 if (start < 0) throw new IndexOutOfRangeException(start); |
| 25274 int end = start + length; | 25284 int end = start + length; |
| 25275 if (end > a.length) throw new IndexOutOfRangeException(end); | 25285 if (end > a.length) throw new IndexOutOfRangeException(end); |
| 25276 for (int i = start; i < end; i++) { | 25286 for (int i = start; i < end; i++) { |
| 25277 accumulator.add(a[i]); | 25287 accumulator.add(a[i]); |
| 25278 } | 25288 } |
| 25279 return accumulator; | 25289 return accumulator; |
| 25280 } | 25290 } |
| 25281 } | 25291 } |
| OLD | NEW |