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 3921 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3932 class _HTMLTrackElementJs extends _HTMLElementJs implements HTMLTrackElement nat
ive "*HTMLTrackElement" { | 3932 class _HTMLTrackElementJs extends _HTMLElementJs implements HTMLTrackElement nat
ive "*HTMLTrackElement" { |
3933 | 3933 |
3934 static final int ERROR = 3; | 3934 static final int ERROR = 3; |
3935 | 3935 |
3936 static final int LOADED = 2; | 3936 static final int LOADED = 2; |
3937 | 3937 |
3938 static final int LOADING = 1; | 3938 static final int LOADING = 1; |
3939 | 3939 |
3940 static final int NONE = 0; | 3940 static final int NONE = 0; |
3941 | 3941 |
| 3942 bool get defaultValue() native "return this.default;"; |
| 3943 void set defaultValue(bool value) native "this.default = value;"; |
| 3944 |
3942 String kind; | 3945 String kind; |
3943 | 3946 |
3944 String label; | 3947 String label; |
3945 | 3948 |
3946 final int readyState; | 3949 final int readyState; |
3947 | 3950 |
3948 String src; | 3951 String src; |
3949 | 3952 |
3950 String srclang; | 3953 String srclang; |
3951 | 3954 |
(...skipping 12403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
16355 interface HTMLTrackElement extends HTMLElement { | 16358 interface HTMLTrackElement extends HTMLElement { |
16356 | 16359 |
16357 static final int ERROR = 3; | 16360 static final int ERROR = 3; |
16358 | 16361 |
16359 static final int LOADED = 2; | 16362 static final int LOADED = 2; |
16360 | 16363 |
16361 static final int LOADING = 1; | 16364 static final int LOADING = 1; |
16362 | 16365 |
16363 static final int NONE = 0; | 16366 static final int NONE = 0; |
16364 | 16367 |
| 16368 bool defaultValue; |
| 16369 |
16365 String kind; | 16370 String kind; |
16366 | 16371 |
16367 String label; | 16372 String label; |
16368 | 16373 |
16369 final int readyState; | 16374 final int readyState; |
16370 | 16375 |
16371 String src; | 16376 String src; |
16372 | 16377 |
16373 String srclang; | 16378 String srclang; |
16374 | 16379 |
(...skipping 7857 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
24232 if (length < 0) throw new IllegalArgumentException('length'); | 24237 if (length < 0) throw new IllegalArgumentException('length'); |
24233 if (start < 0) throw new IndexOutOfRangeException(start); | 24238 if (start < 0) throw new IndexOutOfRangeException(start); |
24234 int end = start + length; | 24239 int end = start + length; |
24235 if (end > a.length) throw new IndexOutOfRangeException(end); | 24240 if (end > a.length) throw new IndexOutOfRangeException(end); |
24236 for (int i = start; i < end; i++) { | 24241 for (int i = start; i < end; i++) { |
24237 accumulator.add(a[i]); | 24242 accumulator.add(a[i]); |
24238 } | 24243 } |
24239 return accumulator; | 24244 return accumulator; |
24240 } | 24245 } |
24241 } | 24246 } |
OLD | NEW |