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