| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
| 6 | 6 |
| 7 interface MediaElement extends Element { | 7 interface MediaElement extends Element { |
| 8 | 8 |
| 9 static final int HAVE_CURRENT_DATA = 2; | |
| 10 | |
| 11 static final int HAVE_ENOUGH_DATA = 4; | |
| 12 | |
| 13 static final int HAVE_FUTURE_DATA = 3; | |
| 14 | |
| 15 static final int HAVE_METADATA = 1; | |
| 16 | |
| 17 static final int HAVE_NOTHING = 0; | |
| 18 | |
| 19 static final int NETWORK_EMPTY = 0; | |
| 20 | |
| 21 static final int NETWORK_IDLE = 1; | |
| 22 | |
| 23 static final int NETWORK_LOADING = 2; | |
| 24 | |
| 25 static final int NETWORK_NO_SOURCE = 3; | |
| 26 | |
| 27 bool get autoplay(); | 9 bool get autoplay(); |
| 28 | 10 |
| 29 void set autoplay(bool value); | 11 void set autoplay(bool value); |
| 30 | 12 |
| 31 TimeRanges get buffered(); | 13 TimeRanges get buffered(); |
| 32 | 14 |
| 33 bool get controls(); | 15 bool get controls(); |
| 34 | 16 |
| 35 void set controls(bool value); | 17 void set controls(bool value); |
| 36 | 18 |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 int get webkitVideoDecodedByteCount(); | 91 int get webkitVideoDecodedByteCount(); |
| 110 | 92 |
| 111 String canPlayType(String type); | 93 String canPlayType(String type); |
| 112 | 94 |
| 113 void load(); | 95 void load(); |
| 114 | 96 |
| 115 void pause(); | 97 void pause(); |
| 116 | 98 |
| 117 void play(); | 99 void play(); |
| 118 } | 100 } |
| OLD | NEW |