| 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 class _HTMLMediaElementWrappingImplementation extends _HTMLElementWrappingImplem
entation implements HTMLMediaElement { | 7 class _HTMLMediaElementWrappingImplementation extends _HTMLElementWrappingImplem
entation implements HTMLMediaElement { |
| 8 _HTMLMediaElementWrappingImplementation() : super() {} | 8 _HTMLMediaElementWrappingImplementation() : super() {} |
| 9 | 9 |
| 10 static create__HTMLMediaElementWrappingImplementation() native { | 10 static create__HTMLMediaElementWrappingImplementation() native { |
| 11 return new _HTMLMediaElementWrappingImplementation(); | 11 return new _HTMLMediaElementWrappingImplementation(); |
| 12 } | 12 } |
| 13 | 13 |
| 14 bool get autoplay() { return _get_autoplay(this); } | 14 bool get autoplay() { return _get_autoplay(this); } |
| 15 static bool _get_autoplay(var _this) native; | 15 static bool _get_autoplay(var _this) native; |
| 16 | 16 |
| 17 void set autoplay(bool value) { _set_autoplay(this, value); } | 17 void set autoplay(bool value) { _set_autoplay(this, value); } |
| 18 static void _set_autoplay(var _this, bool value) native; | 18 static void _set_autoplay(var _this, bool value) native; |
| 19 | 19 |
| 20 TimeRanges get buffered() { return _get_buffered(this); } | 20 TimeRanges get buffered() { return _get_buffered(this); } |
| 21 static TimeRanges _get_buffered(var _this) native; | 21 static TimeRanges _get_buffered(var _this) native; |
| 22 | 22 |
| 23 MediaController get controller() { return _get_controller(this); } | |
| 24 static MediaController _get_controller(var _this) native; | |
| 25 | |
| 26 void set controller(MediaController value) { _set_controller(this, value); } | |
| 27 static void _set_controller(var _this, MediaController value) native; | |
| 28 | |
| 29 bool get controls() { return _get_controls(this); } | 23 bool get controls() { return _get_controls(this); } |
| 30 static bool _get_controls(var _this) native; | 24 static bool _get_controls(var _this) native; |
| 31 | 25 |
| 32 void set controls(bool value) { _set_controls(this, value); } | 26 void set controls(bool value) { _set_controls(this, value); } |
| 33 static void _set_controls(var _this, bool value) native; | 27 static void _set_controls(var _this, bool value) native; |
| 34 | 28 |
| 35 String get currentSrc() { return _get_currentSrc(this); } | 29 String get currentSrc() { return _get_currentSrc(this); } |
| 36 static String _get_currentSrc(var _this) native; | 30 static String _get_currentSrc(var _this) native; |
| 37 | 31 |
| 38 num get currentTime() { return _get_currentTime(this); } | 32 num get currentTime() { return _get_currentTime(this); } |
| (...skipping 25 matching lines...) Expand all Loading... |
| 64 | 58 |
| 65 num get initialTime() { return _get_initialTime(this); } | 59 num get initialTime() { return _get_initialTime(this); } |
| 66 static num _get_initialTime(var _this) native; | 60 static num _get_initialTime(var _this) native; |
| 67 | 61 |
| 68 bool get loop() { return _get_loop(this); } | 62 bool get loop() { return _get_loop(this); } |
| 69 static bool _get_loop(var _this) native; | 63 static bool _get_loop(var _this) native; |
| 70 | 64 |
| 71 void set loop(bool value) { _set_loop(this, value); } | 65 void set loop(bool value) { _set_loop(this, value); } |
| 72 static void _set_loop(var _this, bool value) native; | 66 static void _set_loop(var _this, bool value) native; |
| 73 | 67 |
| 74 String get mediaGroup() { return _get_mediaGroup(this); } | |
| 75 static String _get_mediaGroup(var _this) native; | |
| 76 | |
| 77 void set mediaGroup(String value) { _set_mediaGroup(this, value); } | |
| 78 static void _set_mediaGroup(var _this, String value) native; | |
| 79 | |
| 80 bool get muted() { return _get_muted(this); } | 68 bool get muted() { return _get_muted(this); } |
| 81 static bool _get_muted(var _this) native; | 69 static bool _get_muted(var _this) native; |
| 82 | 70 |
| 83 void set muted(bool value) { _set_muted(this, value); } | 71 void set muted(bool value) { _set_muted(this, value); } |
| 84 static void _set_muted(var _this, bool value) native; | 72 static void _set_muted(var _this, bool value) native; |
| 85 | 73 |
| 86 int get networkState() { return _get_networkState(this); } | 74 int get networkState() { return _get_networkState(this); } |
| 87 static int _get_networkState(var _this) native; | 75 static int _get_networkState(var _this) native; |
| 88 | 76 |
| 89 bool get paused() { return _get_paused(this); } | 77 bool get paused() { return _get_paused(this); } |
| (...skipping 25 matching lines...) Expand all Loading... |
| 115 | 103 |
| 116 String get src() { return _get_src(this); } | 104 String get src() { return _get_src(this); } |
| 117 static String _get_src(var _this) native; | 105 static String _get_src(var _this) native; |
| 118 | 106 |
| 119 void set src(String value) { _set_src(this, value); } | 107 void set src(String value) { _set_src(this, value); } |
| 120 static void _set_src(var _this, String value) native; | 108 static void _set_src(var _this, String value) native; |
| 121 | 109 |
| 122 num get startTime() { return _get_startTime(this); } | 110 num get startTime() { return _get_startTime(this); } |
| 123 static num _get_startTime(var _this) native; | 111 static num _get_startTime(var _this) native; |
| 124 | 112 |
| 125 TextTrackList get textTracks() { return _get_textTracks(this); } | |
| 126 static TextTrackList _get_textTracks(var _this) native; | |
| 127 | |
| 128 num get volume() { return _get_volume(this); } | 113 num get volume() { return _get_volume(this); } |
| 129 static num _get_volume(var _this) native; | 114 static num _get_volume(var _this) native; |
| 130 | 115 |
| 131 void set volume(num value) { _set_volume(this, value); } | 116 void set volume(num value) { _set_volume(this, value); } |
| 132 static void _set_volume(var _this, num value) native; | 117 static void _set_volume(var _this, num value) native; |
| 133 | 118 |
| 134 int get webkitAudioDecodedByteCount() { return _get_webkitAudioDecodedByteCoun
t(this); } | 119 int get webkitAudioDecodedByteCount() { return _get_webkitAudioDecodedByteCoun
t(this); } |
| 135 static int _get_webkitAudioDecodedByteCount(var _this) native; | 120 static int _get_webkitAudioDecodedByteCount(var _this) native; |
| 136 | 121 |
| 137 bool get webkitClosedCaptionsVisible() { return _get_webkitClosedCaptionsVisib
le(this); } | 122 bool get webkitClosedCaptionsVisible() { return _get_webkitClosedCaptionsVisib
le(this); } |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 206 static void _webkitSourceAppend(receiver, data) native; | 191 static void _webkitSourceAppend(receiver, data) native; |
| 207 | 192 |
| 208 void webkitSourceEndOfStream(int status) { | 193 void webkitSourceEndOfStream(int status) { |
| 209 _webkitSourceEndOfStream(this, status); | 194 _webkitSourceEndOfStream(this, status); |
| 210 return; | 195 return; |
| 211 } | 196 } |
| 212 static void _webkitSourceEndOfStream(receiver, status) native; | 197 static void _webkitSourceEndOfStream(receiver, status) native; |
| 213 | 198 |
| 214 String get typeName() { return "HTMLMediaElement"; } | 199 String get typeName() { return "HTMLMediaElement"; } |
| 215 } | 200 } |
| OLD | NEW |