| 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 5233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5244 | 5244 |
| 5245 final String newValue; | 5245 final String newValue; |
| 5246 | 5246 |
| 5247 final String prevValue; | 5247 final String prevValue; |
| 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" { |
| 5255 |
| 5256 void disconnect() native; |
| 5257 |
| 5258 void observe(_NodeJs target, Map options) native; |
| 5259 |
| 5260 List<MutationRecord> takeRecords() native; |
| 5261 } |
| 5262 |
| 5254 class _MutationRecordJs extends _DOMTypeJs implements MutationRecord native "*Mu
tationRecord" { | 5263 class _MutationRecordJs extends _DOMTypeJs implements MutationRecord native "*Mu
tationRecord" { |
| 5255 | 5264 |
| 5256 final _NodeListJs addedNodes; | 5265 final _NodeListJs addedNodes; |
| 5257 | 5266 |
| 5258 final String attributeName; | 5267 final String attributeName; |
| 5259 | 5268 |
| 5260 final String attributeNamespace; | 5269 final String attributeNamespace; |
| 5261 | 5270 |
| 5262 final _NodeJs nextSibling; | 5271 final _NodeJs nextSibling; |
| 5263 | 5272 |
| (...skipping 6307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11571 | 11580 |
| 11572 static final int CSS_TRANSLATEX = 2; | 11581 static final int CSS_TRANSLATEX = 2; |
| 11573 | 11582 |
| 11574 static final int CSS_TRANSLATEY = 3; | 11583 static final int CSS_TRANSLATEY = 3; |
| 11575 | 11584 |
| 11576 static final int CSS_TRANSLATEZ = 12; | 11585 static final int CSS_TRANSLATEZ = 12; |
| 11577 | 11586 |
| 11578 final int operationType; | 11587 final int operationType; |
| 11579 } | 11588 } |
| 11580 | 11589 |
| 11581 class _WebKitMutationObserverJs extends _DOMTypeJs implements WebKitMutationObse
rver native "*WebKitMutationObserver" { | 11590 class _WebKitNamedFlowJs extends _DOMTypeJs implements WebKitNamedFlow native "*
WebKitNamedFlow" { |
| 11582 | 11591 |
| 11583 void disconnect() native; | 11592 final int firstEmptyRegionIndex; |
| 11584 | |
| 11585 void observe(_NodeJs target, Map options) native; | |
| 11586 | |
| 11587 List<MutationRecord> takeRecords() native; | |
| 11588 } | |
| 11589 | |
| 11590 class _WebKitNamedFlowJs extends _DOMTypeJs implements WebKitNamedFlow native "*
WebKitNamedFlow" { | |
| 11591 | 11593 |
| 11592 final String name; | 11594 final String name; |
| 11593 | 11595 |
| 11594 final bool overset; | 11596 final bool overset; |
| 11595 | 11597 |
| 11596 _NodeListJs getContent() native; | 11598 _NodeListJs getContent() native; |
| 11597 | 11599 |
| 11598 _NodeListJs getRegionsByContentNode(_NodeJs contentNode) native; | 11600 _NodeListJs getRegionsByContent(_NodeJs contentNode) native; |
| 11599 } | 11601 } |
| 11600 | 11602 |
| 11601 class _WebKitPointJs extends _DOMTypeJs implements WebKitPoint native "*WebKitPo
int" { | 11603 class _WebKitPointJs extends _DOMTypeJs implements WebKitPoint native "*WebKitPo
int" { |
| 11602 | 11604 |
| 11603 num x; | 11605 num x; |
| 11604 | 11606 |
| 11605 num y; | 11607 num y; |
| 11606 } | 11608 } |
| 11607 | 11609 |
| 11608 class _WebKitTransitionEventJs extends _EventJs implements WebKitTransitionEvent
native "*WebKitTransitionEvent" { | 11610 class _WebKitTransitionEventJs extends _EventJs implements WebKitTransitionEvent
native "*WebKitTransitionEvent" { |
| (...skipping 6380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17989 final int y; | 17991 final int y; |
| 17990 | 17992 |
| 17991 void initMouseEvent(String type, bool canBubble, bool cancelable, DOMWindow vi
ew, int detail, int screenX, int screenY, int clientX, int clientY, bool ctrlKey
, bool altKey, bool shiftKey, bool metaKey, int button, EventTarget relatedTarge
t); | 17993 void initMouseEvent(String type, bool canBubble, bool cancelable, DOMWindow vi
ew, int detail, int screenX, int screenY, int clientX, int clientY, bool ctrlKey
, bool altKey, bool shiftKey, bool metaKey, int button, EventTarget relatedTarge
t); |
| 17992 } | 17994 } |
| 17993 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17995 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17994 // for details. All rights reserved. Use of this source code is governed by a | 17996 // for details. All rights reserved. Use of this source code is governed by a |
| 17995 // BSD-style license that can be found in the LICENSE file. | 17997 // BSD-style license that can be found in the LICENSE file. |
| 17996 | 17998 |
| 17997 // WARNING: Do not edit - generated code. | 17999 // WARNING: Do not edit - generated code. |
| 17998 | 18000 |
| 17999 typedef bool MutationCallback(List<MutationRecord> mutations, WebKitMutationObse
rver observer); | 18001 typedef bool MutationCallback(List<MutationRecord> mutations, MutationObserver o
bserver); |
| 18000 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18002 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18001 // for details. All rights reserved. Use of this source code is governed by a | 18003 // for details. All rights reserved. Use of this source code is governed by a |
| 18002 // BSD-style license that can be found in the LICENSE file. | 18004 // BSD-style license that can be found in the LICENSE file. |
| 18003 | 18005 |
| 18004 // WARNING: Do not edit - generated code. | 18006 // WARNING: Do not edit - generated code. |
| 18005 | 18007 |
| 18006 interface MutationEvent extends Event { | 18008 interface MutationEvent extends Event { |
| 18007 | 18009 |
| 18008 static final int ADDITION = 2; | 18010 static final int ADDITION = 2; |
| 18009 | 18011 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 18022 final Node relatedNode; | 18024 final Node relatedNode; |
| 18023 | 18025 |
| 18024 void initMutationEvent(String type, bool canBubble, bool cancelable, Node rela
tedNode, String prevValue, String newValue, String attrName, int attrChange); | 18026 void initMutationEvent(String type, bool canBubble, bool cancelable, Node rela
tedNode, String prevValue, String newValue, String attrName, int attrChange); |
| 18025 } | 18027 } |
| 18026 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 18028 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 18027 // for details. All rights reserved. Use of this source code is governed by a | 18029 // for details. All rights reserved. Use of this source code is governed by a |
| 18028 // BSD-style license that can be found in the LICENSE file. | 18030 // BSD-style license that can be found in the LICENSE file. |
| 18029 | 18031 |
| 18030 // WARNING: Do not edit - generated code. | 18032 // WARNING: Do not edit - generated code. |
| 18031 | 18033 |
| 18034 interface MutationObserver { |
| 18035 |
| 18036 void disconnect(); |
| 18037 |
| 18038 void observe(Node target, Map options); |
| 18039 |
| 18040 List<MutationRecord> takeRecords(); |
| 18041 } |
| 18042 // 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 |
| 18044 // BSD-style license that can be found in the LICENSE file. |
| 18045 |
| 18046 // WARNING: Do not edit - generated code. |
| 18047 |
| 18032 interface MutationRecord { | 18048 interface MutationRecord { |
| 18033 | 18049 |
| 18034 final NodeList addedNodes; | 18050 final NodeList addedNodes; |
| 18035 | 18051 |
| 18036 final String attributeName; | 18052 final String attributeName; |
| 18037 | 18053 |
| 18038 final String attributeNamespace; | 18054 final String attributeNamespace; |
| 18039 | 18055 |
| 18040 final Node nextSibling; | 18056 final Node nextSibling; |
| 18041 | 18057 |
| (...skipping 5774 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 23816 static final int CSS_TRANSLATEZ = 12; | 23832 static final int CSS_TRANSLATEZ = 12; |
| 23817 | 23833 |
| 23818 final int operationType; | 23834 final int operationType; |
| 23819 } | 23835 } |
| 23820 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23836 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23821 // for details. All rights reserved. Use of this source code is governed by a | 23837 // for details. All rights reserved. Use of this source code is governed by a |
| 23822 // BSD-style license that can be found in the LICENSE file. | 23838 // BSD-style license that can be found in the LICENSE file. |
| 23823 | 23839 |
| 23824 // WARNING: Do not edit - generated code. | 23840 // WARNING: Do not edit - generated code. |
| 23825 | 23841 |
| 23826 interface WebKitMutationObserver { | |
| 23827 | |
| 23828 void disconnect(); | |
| 23829 | |
| 23830 void observe(Node target, Map options); | |
| 23831 | |
| 23832 List<MutationRecord> takeRecords(); | |
| 23833 } | |
| 23834 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 23835 // for details. All rights reserved. Use of this source code is governed by a | |
| 23836 // BSD-style license that can be found in the LICENSE file. | |
| 23837 | |
| 23838 // WARNING: Do not edit - generated code. | |
| 23839 | |
| 23840 interface WebKitNamedFlow { | 23842 interface WebKitNamedFlow { |
| 23841 | 23843 |
| 23844 final int firstEmptyRegionIndex; |
| 23845 |
| 23842 final String name; | 23846 final String name; |
| 23843 | 23847 |
| 23844 final bool overset; | 23848 final bool overset; |
| 23845 | 23849 |
| 23846 NodeList getContent(); | 23850 NodeList getContent(); |
| 23847 | 23851 |
| 23848 NodeList getRegionsByContentNode(Node contentNode); | 23852 NodeList getRegionsByContent(Node contentNode); |
| 23849 } | 23853 } |
| 23850 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23854 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23851 // for details. All rights reserved. Use of this source code is governed by a | 23855 // for details. All rights reserved. Use of this source code is governed by a |
| 23852 // BSD-style license that can be found in the LICENSE file. | 23856 // BSD-style license that can be found in the LICENSE file. |
| 23853 | 23857 |
| 23854 // WARNING: Do not edit - generated code. | 23858 // WARNING: Do not edit - generated code. |
| 23855 | 23859 |
| 23856 interface WebKitPoint default _WebKitPointFactoryProvider { | 23860 interface WebKitPoint default _WebKitPointFactoryProvider { |
| 23857 | 23861 |
| 23858 WebKitPoint(num x, num y); | 23862 WebKitPoint(num x, num y); |
| (...skipping 1409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 25268 if (length < 0) throw new IllegalArgumentException('length'); | 25272 if (length < 0) throw new IllegalArgumentException('length'); |
| 25269 if (start < 0) throw new IndexOutOfRangeException(start); | 25273 if (start < 0) throw new IndexOutOfRangeException(start); |
| 25270 int end = start + length; | 25274 int end = start + length; |
| 25271 if (end > a.length) throw new IndexOutOfRangeException(end); | 25275 if (end > a.length) throw new IndexOutOfRangeException(end); |
| 25272 for (int i = start; i < end; i++) { | 25276 for (int i = start; i < end; i++) { |
| 25273 accumulator.add(a[i]); | 25277 accumulator.add(a[i]); |
| 25274 } | 25278 } |
| 25275 return accumulator; | 25279 return accumulator; |
| 25276 } | 25280 } |
| 25277 } | 25281 } |
| OLD | NEW |