| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 HTMLMediaElement extends HTMLElement { | 7 interface HTMLMediaElement extends HTMLElement { |
| 8 | 8 |
| 9 static final int EOS_DECODE_ERR = 2; |
| 10 |
| 11 static final int EOS_NETWORK_ERR = 1; |
| 12 |
| 13 static final int EOS_NO_ERROR = 0; |
| 14 |
| 9 static final int HAVE_CURRENT_DATA = 2; | 15 static final int HAVE_CURRENT_DATA = 2; |
| 10 | 16 |
| 11 static final int HAVE_ENOUGH_DATA = 4; | 17 static final int HAVE_ENOUGH_DATA = 4; |
| 12 | 18 |
| 13 static final int HAVE_FUTURE_DATA = 3; | 19 static final int HAVE_FUTURE_DATA = 3; |
| 14 | 20 |
| 15 static final int HAVE_METADATA = 1; | 21 static final int HAVE_METADATA = 1; |
| 16 | 22 |
| 17 static final int HAVE_NOTHING = 0; | 23 static final int HAVE_NOTHING = 0; |
| 18 | 24 |
| 19 static final int NETWORK_EMPTY = 0; | 25 static final int NETWORK_EMPTY = 0; |
| 20 | 26 |
| 21 static final int NETWORK_IDLE = 1; | 27 static final int NETWORK_IDLE = 1; |
| 22 | 28 |
| 23 static final int NETWORK_LOADING = 2; | 29 static final int NETWORK_LOADING = 2; |
| 24 | 30 |
| 25 static final int NETWORK_NO_SOURCE = 3; | 31 static final int NETWORK_NO_SOURCE = 3; |
| 26 | 32 |
| 33 static final int SOURCE_CLOSED = 0; |
| 34 |
| 35 static final int SOURCE_ENDED = 2; |
| 36 |
| 37 static final int SOURCE_OPEN = 1; |
| 38 |
| 27 bool autoplay; | 39 bool autoplay; |
| 28 | 40 |
| 29 final TimeRanges buffered; | 41 final TimeRanges buffered; |
| 30 | 42 |
| 31 MediaController controller; | 43 MediaController controller; |
| 32 | 44 |
| 33 bool controls; | 45 bool controls; |
| 34 | 46 |
| 35 final String currentSrc; | 47 final String currentSrc; |
| 36 | 48 |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 void load(); | 111 void load(); |
| 100 | 112 |
| 101 void pause(); | 113 void pause(); |
| 102 | 114 |
| 103 void play(); | 115 void play(); |
| 104 | 116 |
| 105 void webkitSourceAppend(Uint8Array data); | 117 void webkitSourceAppend(Uint8Array data); |
| 106 | 118 |
| 107 void webkitSourceEndOfStream(int status); | 119 void webkitSourceEndOfStream(int status); |
| 108 } | 120 } |
| OLD | NEW |