| 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 6332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11578 | 11575 |
| 11579 static final int CSS_TRANSLATEZ = 12; | 11576 static final int CSS_TRANSLATEZ = 12; |
| 11580 | 11577 |
| 11581 final int operationType; | 11578 final int operationType; |
| 11582 } | 11579 } |
| 11583 | 11580 |
| 11584 class _WebKitMutationObserverJs extends _DOMTypeJs implements WebKitMutationObse
rver native "*WebKitMutationObserver" { | 11581 class _WebKitMutationObserverJs extends _DOMTypeJs implements WebKitMutationObse
rver native "*WebKitMutationObserver" { |
| 11585 | 11582 |
| 11586 void disconnect() native; | 11583 void disconnect() native; |
| 11587 | 11584 |
| 11588 void observe(_NodeJs target, Map options) native; | 11585 void _observe(_NodeJs target, Map options) native 'observe'; |
| 11589 | 11586 |
| 11590 List<MutationRecord> takeRecords() native; | 11587 List<MutationRecord> takeRecords() native; |
| 11591 } | 11588 } |
| 11592 | 11589 |
| 11593 class _WebKitNamedFlowJs extends _DOMTypeJs implements WebKitNamedFlow native "*
WebKitNamedFlow" { | 11590 class _WebKitNamedFlowJs extends _DOMTypeJs implements WebKitNamedFlow native "*
WebKitNamedFlow" { |
| 11594 | 11591 |
| 11595 final String name; | 11592 final String name; |
| 11596 | 11593 |
| 11597 final bool overset; | 11594 final bool overset; |
| 11598 | 11595 |
| (...skipping 547 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 12146 factory WebKitCSSMatrix([String cssValue = null]) native | 12143 factory WebKitCSSMatrix([String cssValue = null]) native |
| 12147 ''' | 12144 ''' |
| 12148 if (cssValue == null) return new WebKitCSSMatrix(); | 12145 if (cssValue == null) return new WebKitCSSMatrix(); |
| 12149 return new WebKitCSSMatrix(cssValue); | 12146 return new WebKitCSSMatrix(cssValue); |
| 12150 '''; | 12147 '''; |
| 12151 } | 12148 } |
| 12152 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 12149 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 12153 // for details. All rights reserved. Use of this source code is governed by a | 12150 // for details. All rights reserved. Use of this source code is governed by a |
| 12154 // BSD-style license that can be found in the LICENSE file. | 12151 // BSD-style license that can be found in the LICENSE file. |
| 12155 | 12152 |
| 12153 class _WebKitMutationObserverFactoryProvider { |
| 12154 factory WebKitMutationObserver(MutationCallback callback) native |
| 12155 '''return new WebKitMutationObserver(callback);'''; |
| 12156 } |
| 12157 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 12158 // for details. All rights reserved. Use of this source code is governed by a |
| 12159 // BSD-style license that can be found in the LICENSE file. |
| 12160 |
| 12156 class _WorkerFactoryProvider { | 12161 class _WorkerFactoryProvider { |
| 12157 factory Worker(String scriptUrl) native | 12162 factory Worker(String scriptUrl) native |
| 12158 '''return new Worker(scriptUrl);'''; | 12163 '''return new Worker(scriptUrl);'''; |
| 12159 } | 12164 } |
| 12160 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 12165 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 12161 // for details. All rights reserved. Use of this source code is governed by a | 12166 // for details. All rights reserved. Use of this source code is governed by a |
| 12162 // BSD-style license that can be found in the LICENSE file. | 12167 // BSD-style license that can be found in the LICENSE file. |
| 12163 | 12168 |
| 12164 class _XMLHttpRequestFactoryProvider { | 12169 class _XMLHttpRequestFactoryProvider { |
| 12165 factory XMLHttpRequest() native | 12170 factory XMLHttpRequest() native |
| (...skipping 5816 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 17982 final int y; | 17987 final int y; |
| 17983 | 17988 |
| 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); | 17989 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 } | 17990 } |
| 17986 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17991 // 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 | 17992 // 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. | 17993 // BSD-style license that can be found in the LICENSE file. |
| 17989 | 17994 |
| 17990 // WARNING: Do not edit - generated code. | 17995 // WARNING: Do not edit - generated code. |
| 17991 | 17996 |
| 17992 interface MutationCallback { | 17997 typedef bool MutationCallback(List<MutationRecord> mutations, WebKitMutationObse
rver observer); |
| 17993 } | |
| 17994 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17998 // 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 | 17999 // 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. | 18000 // BSD-style license that can be found in the LICENSE file. |
| 17997 | 18001 |
| 17998 // WARNING: Do not edit - generated code. | 18002 // WARNING: Do not edit - generated code. |
| 17999 | 18003 |
| 18000 interface MutationEvent extends Event { | 18004 interface MutationEvent extends Event { |
| 18001 | 18005 |
| 18002 static final int ADDITION = 2; | 18006 static final int ADDITION = 2; |
| 18003 | 18007 |
| (...skipping 5806 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 23810 static final int CSS_TRANSLATEZ = 12; | 23814 static final int CSS_TRANSLATEZ = 12; |
| 23811 | 23815 |
| 23812 final int operationType; | 23816 final int operationType; |
| 23813 } | 23817 } |
| 23814 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23818 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23815 // for details. All rights reserved. Use of this source code is governed by a | 23819 // for details. All rights reserved. Use of this source code is governed by a |
| 23816 // BSD-style license that can be found in the LICENSE file. | 23820 // BSD-style license that can be found in the LICENSE file. |
| 23817 | 23821 |
| 23818 // WARNING: Do not edit - generated code. | 23822 // WARNING: Do not edit - generated code. |
| 23819 | 23823 |
| 23820 interface WebKitMutationObserver { | 23824 interface WebKitMutationObserver default _WebKitMutationObserverFactoryProvider
{ |
| 23825 |
| 23826 WebKitMutationObserver(MutationCallback callback); |
| 23821 | 23827 |
| 23822 void disconnect(); | 23828 void disconnect(); |
| 23823 | 23829 |
| 23824 void observe(Node target, Map options); | 23830 void _observe(Node target, Map options); |
| 23825 | 23831 |
| 23826 List<MutationRecord> takeRecords(); | 23832 List<MutationRecord> takeRecords(); |
| 23827 } | 23833 } |
| 23828 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23834 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23829 // for details. All rights reserved. Use of this source code is governed by a | 23835 // for details. All rights reserved. Use of this source code is governed by a |
| 23830 // BSD-style license that can be found in the LICENSE file. | 23836 // BSD-style license that can be found in the LICENSE file. |
| 23831 | 23837 |
| 23832 // WARNING: Do not edit - generated code. | 23838 // WARNING: Do not edit - generated code. |
| 23833 | 23839 |
| 23834 interface WebKitNamedFlow { | 23840 interface WebKitNamedFlow { |
| (...skipping 1427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 25262 if (length < 0) throw new IllegalArgumentException('length'); | 25268 if (length < 0) throw new IllegalArgumentException('length'); |
| 25263 if (start < 0) throw new IndexOutOfRangeException(start); | 25269 if (start < 0) throw new IndexOutOfRangeException(start); |
| 25264 int end = start + length; | 25270 int end = start + length; |
| 25265 if (end > a.length) throw new IndexOutOfRangeException(end); | 25271 if (end > a.length) throw new IndexOutOfRangeException(end); |
| 25266 for (int i = start; i < end; i++) { | 25272 for (int i = start; i < end; i++) { |
| 25267 accumulator.add(a[i]); | 25273 accumulator.add(a[i]); |
| 25268 } | 25274 } |
| 25269 return accumulator; | 25275 return accumulator; |
| 25270 } | 25276 } |
| 25271 } | 25277 } |
| OLD | NEW |