| 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 4320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4331 class _IDBVersionChangeEventJs extends _EventJs implements IDBVersionChangeEvent
native "*IDBVersionChangeEvent" { | 4331 class _IDBVersionChangeEventJs extends _EventJs implements IDBVersionChangeEvent
native "*IDBVersionChangeEvent" { |
| 4332 | 4332 |
| 4333 final String version; | 4333 final String version; |
| 4334 } | 4334 } |
| 4335 | 4335 |
| 4336 class _IDBVersionChangeRequestJs extends _IDBRequestJs implements IDBVersionChan
geRequest native "*IDBVersionChangeRequest" { | 4336 class _IDBVersionChangeRequestJs extends _IDBRequestJs implements IDBVersionChan
geRequest native "*IDBVersionChangeRequest" { |
| 4337 | 4337 |
| 4338 EventListener onblocked; | 4338 EventListener onblocked; |
| 4339 } | 4339 } |
| 4340 | 4340 |
| 4341 class _IceCandidateJs extends _DOMTypeJs implements IceCandidate native "*IceCan
didate" { |
| 4342 |
| 4343 final String label; |
| 4344 |
| 4345 String toSdp() native; |
| 4346 } |
| 4347 |
| 4341 class _ImageDataJs extends _DOMTypeJs implements ImageData native "*ImageData" { | 4348 class _ImageDataJs extends _DOMTypeJs implements ImageData native "*ImageData" { |
| 4342 | 4349 |
| 4343 final _CanvasPixelArrayJs data; | 4350 final _CanvasPixelArrayJs data; |
| 4344 | 4351 |
| 4345 final int height; | 4352 final int height; |
| 4346 | 4353 |
| 4347 final int width; | 4354 final int width; |
| 4348 } | 4355 } |
| 4349 | 4356 |
| 4350 class _Int16ArrayJs extends _ArrayBufferViewJs implements Int16Array, List<int>
native "*Int16Array" { | 4357 class _Int16ArrayJs extends _ArrayBufferViewJs implements Int16Array, List<int>
native "*Int16Array" { |
| (...skipping 6900 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11251 static final int CSS_TRANSLATEY = 3; | 11258 static final int CSS_TRANSLATEY = 3; |
| 11252 | 11259 |
| 11253 static final int CSS_TRANSLATEZ = 12; | 11260 static final int CSS_TRANSLATEZ = 12; |
| 11254 | 11261 |
| 11255 final int operationType; | 11262 final int operationType; |
| 11256 } | 11263 } |
| 11257 | 11264 |
| 11258 class _WebKitNamedFlowJs extends _DOMTypeJs implements WebKitNamedFlow native "*
WebKitNamedFlow" { | 11265 class _WebKitNamedFlowJs extends _DOMTypeJs implements WebKitNamedFlow native "*
WebKitNamedFlow" { |
| 11259 | 11266 |
| 11260 final bool overflow; | 11267 final bool overflow; |
| 11261 | |
| 11262 _NodeListJs getRegionsByContentNode(_NodeJs contentNode) native; | |
| 11263 } | 11268 } |
| 11264 | 11269 |
| 11265 class _WebKitPointJs extends _DOMTypeJs implements WebKitPoint native "*WebKitPo
int" { | 11270 class _WebKitPointJs extends _DOMTypeJs implements WebKitPoint native "*WebKitPo
int" { |
| 11266 | 11271 |
| 11267 num x; | 11272 num x; |
| 11268 | 11273 |
| 11269 num y; | 11274 num y; |
| 11270 } | 11275 } |
| 11271 | 11276 |
| 11272 class _WebKitTransitionEventJs extends _EventJs implements WebKitTransitionEvent
native "*WebKitTransitionEvent" { | 11277 class _WebKitTransitionEventJs extends _EventJs implements WebKitTransitionEvent
native "*WebKitTransitionEvent" { |
| (...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11696 if (value == null) return new Option(data); | 11701 if (value == null) return new Option(data); |
| 11697 if (defaultSelected == null) return new Option(data, value); | 11702 if (defaultSelected == null) return new Option(data, value); |
| 11698 if (selected == null) return new Option(data, value, defaultSelected); | 11703 if (selected == null) return new Option(data, value, defaultSelected); |
| 11699 return new Option(data, value, defaultSelected, selected); | 11704 return new Option(data, value, defaultSelected, selected); |
| 11700 '''; | 11705 '''; |
| 11701 } | 11706 } |
| 11702 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11707 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11703 // for details. All rights reserved. Use of this source code is governed by a | 11708 // for details. All rights reserved. Use of this source code is governed by a |
| 11704 // BSD-style license that can be found in the LICENSE file. | 11709 // BSD-style license that can be found in the LICENSE file. |
| 11705 | 11710 |
| 11711 class _IceCandidateFactoryProvider { |
| 11712 factory IceCandidate(String label, String candidateLine) native |
| 11713 '''return new IceCandidate(label, candidateLine);'''; |
| 11714 } |
| 11715 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11716 // for details. All rights reserved. Use of this source code is governed by a |
| 11717 // BSD-style license that can be found in the LICENSE file. |
| 11718 |
| 11706 class _MediaControllerFactoryProvider { | 11719 class _MediaControllerFactoryProvider { |
| 11707 factory MediaController() native | 11720 factory MediaController() native |
| 11708 '''return new MediaController();'''; | 11721 '''return new MediaController();'''; |
| 11709 } | 11722 } |
| 11710 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11723 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 11711 // for details. All rights reserved. Use of this source code is governed by a | 11724 // for details. All rights reserved. Use of this source code is governed by a |
| 11712 // BSD-style license that can be found in the LICENSE file. | 11725 // BSD-style license that can be found in the LICENSE file. |
| 11713 | 11726 |
| 11714 class _MediaStreamFactoryProvider { | 11727 class _MediaStreamFactoryProvider { |
| 11715 factory MediaStream(MediaStreamTrackList audioTracks, MediaStreamTrackList vid
eoTracks) native | 11728 factory MediaStream(MediaStreamTrackList audioTracks, MediaStreamTrackList vid
eoTracks) native |
| (...skipping 5247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16963 interface IDBVersionChangeRequest extends IDBRequest { | 16976 interface IDBVersionChangeRequest extends IDBRequest { |
| 16964 | 16977 |
| 16965 EventListener onblocked; | 16978 EventListener onblocked; |
| 16966 } | 16979 } |
| 16967 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 16980 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16968 // for details. All rights reserved. Use of this source code is governed by a | 16981 // for details. All rights reserved. Use of this source code is governed by a |
| 16969 // BSD-style license that can be found in the LICENSE file. | 16982 // BSD-style license that can be found in the LICENSE file. |
| 16970 | 16983 |
| 16971 // WARNING: Do not edit - generated code. | 16984 // WARNING: Do not edit - generated code. |
| 16972 | 16985 |
| 16986 interface IceCandidate default _IceCandidateFactoryProvider { |
| 16987 |
| 16988 IceCandidate(String label, String candidateLine); |
| 16989 |
| 16990 final String label; |
| 16991 |
| 16992 String toSdp(); |
| 16993 } |
| 16994 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16995 // for details. All rights reserved. Use of this source code is governed by a |
| 16996 // BSD-style license that can be found in the LICENSE file. |
| 16997 |
| 16998 // WARNING: Do not edit - generated code. |
| 16999 |
| 16973 interface ImageData { | 17000 interface ImageData { |
| 16974 | 17001 |
| 16975 final CanvasPixelArray data; | 17002 final CanvasPixelArray data; |
| 16976 | 17003 |
| 16977 final int height; | 17004 final int height; |
| 16978 | 17005 |
| 16979 final int width; | 17006 final int width; |
| 16980 } | 17007 } |
| 16981 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 17008 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 16982 // for details. All rights reserved. Use of this source code is governed by a | 17009 // for details. All rights reserved. Use of this source code is governed by a |
| (...skipping 6117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 23100 } | 23127 } |
| 23101 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23128 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23102 // for details. All rights reserved. Use of this source code is governed by a | 23129 // for details. All rights reserved. Use of this source code is governed by a |
| 23103 // BSD-style license that can be found in the LICENSE file. | 23130 // BSD-style license that can be found in the LICENSE file. |
| 23104 | 23131 |
| 23105 // WARNING: Do not edit - generated code. | 23132 // WARNING: Do not edit - generated code. |
| 23106 | 23133 |
| 23107 interface WebKitNamedFlow { | 23134 interface WebKitNamedFlow { |
| 23108 | 23135 |
| 23109 final bool overflow; | 23136 final bool overflow; |
| 23110 | |
| 23111 NodeList getRegionsByContentNode(Node contentNode); | |
| 23112 } | 23137 } |
| 23113 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 23138 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 23114 // for details. All rights reserved. Use of this source code is governed by a | 23139 // for details. All rights reserved. Use of this source code is governed by a |
| 23115 // BSD-style license that can be found in the LICENSE file. | 23140 // BSD-style license that can be found in the LICENSE file. |
| 23116 | 23141 |
| 23117 // WARNING: Do not edit - generated code. | 23142 // WARNING: Do not edit - generated code. |
| 23118 | 23143 |
| 23119 interface WebKitPoint default _WebKitPointFactoryProvider { | 23144 interface WebKitPoint default _WebKitPointFactoryProvider { |
| 23120 | 23145 |
| 23121 WebKitPoint(num x, num y); | 23146 WebKitPoint(num x, num y); |
| (...skipping 1324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 24446 if (length < 0) throw new IllegalArgumentException('length'); | 24471 if (length < 0) throw new IllegalArgumentException('length'); |
| 24447 if (start < 0) throw new IndexOutOfRangeException(start); | 24472 if (start < 0) throw new IndexOutOfRangeException(start); |
| 24448 int end = start + length; | 24473 int end = start + length; |
| 24449 if (end > a.length) throw new IndexOutOfRangeException(end); | 24474 if (end > a.length) throw new IndexOutOfRangeException(end); |
| 24450 for (int i = start; i < end; i++) { | 24475 for (int i = start; i < end; i++) { |
| 24451 accumulator.add(a[i]); | 24476 accumulator.add(a[i]); |
| 24452 } | 24477 } |
| 24453 return accumulator; | 24478 return accumulator; |
| 24454 } | 24479 } |
| 24455 } | 24480 } |
| OLD | NEW |