| 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 _MediaListWrappingImplementation extends DOMWrapperBase implements MediaLi
st { | 7 class _MediaListWrappingImplementation extends DOMWrapperBase implements MediaLi
st { |
| 8 _MediaListWrappingImplementation() : super() {} | 8 _MediaListWrappingImplementation() : super() {} |
| 9 | 9 |
| 10 static create__MediaListWrappingImplementation() native { | 10 static create__MediaListWrappingImplementation() native { |
| 11 return new _MediaListWrappingImplementation(); | 11 return new _MediaListWrappingImplementation(); |
| 12 } | 12 } |
| 13 | 13 |
| 14 int get length() { return _get__MediaList_length(this); } | 14 int get length() { return _get_length(this); } |
| 15 static int _get__MediaList_length(var _this) native; | 15 static int _get_length(var _this) native; |
| 16 | 16 |
| 17 String get mediaText() { return _get__MediaList_mediaText(this); } | 17 String get mediaText() { return _get_mediaText(this); } |
| 18 static String _get__MediaList_mediaText(var _this) native; | 18 static String _get_mediaText(var _this) native; |
| 19 | 19 |
| 20 void set mediaText(String value) { _set__MediaList_mediaText(this, value); } | 20 void set mediaText(String value) { _set_mediaText(this, value); } |
| 21 static void _set__MediaList_mediaText(var _this, String value) native; | 21 static void _set_mediaText(var _this, String value) native; |
| 22 | 22 |
| 23 String operator[](int index) { | 23 String operator[](int index) { |
| 24 return item(index); | 24 return item(index); |
| 25 } | 25 } |
| 26 | 26 |
| 27 void operator[]=(int index, String value) { | 27 void operator[]=(int index, String value) { |
| 28 throw new UnsupportedOperationException("Cannot assign element of immutable
List."); | 28 throw new UnsupportedOperationException("Cannot assign element of immutable
List."); |
| 29 } | 29 } |
| 30 | 30 |
| 31 void add(String value) { | 31 void add(String value) { |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 } | 121 } |
| 122 static void _deleteMedium(receiver, oldMedium) native; | 122 static void _deleteMedium(receiver, oldMedium) native; |
| 123 | 123 |
| 124 String item(int index) { | 124 String item(int index) { |
| 125 return _item(this, index); | 125 return _item(this, index); |
| 126 } | 126 } |
| 127 static String _item(receiver, index) native; | 127 static String _item(receiver, index) native; |
| 128 | 128 |
| 129 String get typeName() { return "MediaList"; } | 129 String get typeName() { return "MediaList"; } |
| 130 } | 130 } |
| OLD | NEW |