| 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 5212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5223 | 5223 |
| 5224 final int webkitMovementY; | 5224 final int webkitMovementY; |
| 5225 | 5225 |
| 5226 final int x; | 5226 final int x; |
| 5227 | 5227 |
| 5228 final int y; | 5228 final int y; |
| 5229 | 5229 |
| 5230 void initMouseEvent(String type, bool canBubble, bool cancelable, _DOMWindowJs
view, int detail, int screenX, int screenY, int clientX, int clientY, bool ctrl
Key, bool altKey, bool shiftKey, bool metaKey, int button, _EventTargetJs relate
dTarget) native; | 5230 void initMouseEvent(String type, bool canBubble, bool cancelable, _DOMWindowJs
view, int detail, int screenX, int screenY, int clientX, int clientY, bool ctrl
Key, bool altKey, bool shiftKey, bool metaKey, int button, _EventTargetJs relate
dTarget) native; |
| 5231 } | 5231 } |
| 5232 | 5232 |
| 5233 class _MutationCallbackJs extends _DOMTypeJs implements MutationCallback native
"*MutationCallback" { | |
| 5234 } | |
| 5235 | |
| 5236 class _MutationEventJs extends _EventJs implements MutationEvent native "*Mutati
onEvent" { | 5233 class _MutationEventJs extends _EventJs implements MutationEvent native "*Mutati
onEvent" { |
| 5237 | 5234 |
| 5238 static final int ADDITION = 2; | 5235 static final int ADDITION = 2; |
| 5239 | 5236 |
| 5240 static final int MODIFICATION = 1; | 5237 static final int MODIFICATION = 1; |
| 5241 | 5238 |
| 5242 static final int REMOVAL = 3; | 5239 static final int REMOVAL = 3; |
| 5243 | 5240 |
| 5244 final int attrChange; | 5241 final int attrChange; |
| 5245 | 5242 |
| (...skipping 12736 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17982 final int y; | 17979 final int y; |
| 17983 | 17980 |
| 17984 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); | 17981 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); |
| 17985 } | 17982 } |
| 17986 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17983 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 17987 // for details. All rights reserved. Use of this source code is governed by a | 17984 // for details. All rights reserved. Use of this source code is governed by a |
| 17988 // BSD-style license that can be found in the LICENSE file. | 17985 // BSD-style license that can be found in the LICENSE file. |
| 17989 | 17986 |
| 17990 // WARNING: Do not edit - generated code. | 17987 // WARNING: Do not edit - generated code. |
| 17991 | 17988 |
| 17992 interface MutationCallback { | |
| 17993 } | |
| 17994 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 17995 // for details. All rights reserved. Use of this source code is governed by a | |
| 17996 // BSD-style license that can be found in the LICENSE file. | |
| 17997 | |
| 17998 // WARNING: Do not edit - generated code. | |
| 17999 | |
| 18000 interface MutationEvent extends Event { | 17989 interface MutationEvent extends Event { |
| 18001 | 17990 |
| 18002 static final int ADDITION = 2; | 17991 static final int ADDITION = 2; |
| 18003 | 17992 |
| 18004 static final int MODIFICATION = 1; | 17993 static final int MODIFICATION = 1; |
| 18005 | 17994 |
| 18006 static final int REMOVAL = 3; | 17995 static final int REMOVAL = 3; |
| 18007 | 17996 |
| 18008 final int attrChange; | 17997 final int attrChange; |
| 18009 | 17998 |
| (...skipping 7252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 25262 if (length < 0) throw new IllegalArgumentException('length'); | 25251 if (length < 0) throw new IllegalArgumentException('length'); |
| 25263 if (start < 0) throw new IndexOutOfRangeException(start); | 25252 if (start < 0) throw new IndexOutOfRangeException(start); |
| 25264 int end = start + length; | 25253 int end = start + length; |
| 25265 if (end > a.length) throw new IndexOutOfRangeException(end); | 25254 if (end > a.length) throw new IndexOutOfRangeException(end); |
| 25266 for (int i = start; i < end; i++) { | 25255 for (int i = start; i < end; i++) { |
| 25267 accumulator.add(a[i]); | 25256 accumulator.add(a[i]); |
| 25268 } | 25257 } |
| 25269 return accumulator; | 25258 return accumulator; |
| 25270 } | 25259 } |
| 25271 } | 25260 } |
| OLD | NEW |