Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(60)

Side by Side Diff: client/html/generated/src/wrapping/_MediaListWrappingImplementation.dart

Issue 8835006: New version of dart:html (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix typos Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 MediaLis t { 7 class MediaListWrappingImplementation extends DOMWrapperBase implements MediaLis t {
8 MediaListWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} 8 MediaListWrappingImplementation._wrap(ptr) : super._wrap(ptr) {}
9 9
10 int get length() { return _ptr.length; } 10 int get length() { return _ptr.length; }
11 11
12 String get mediaText() { return _ptr.mediaText; } 12 String get mediaText() { return _ptr.mediaText; }
13 13
14 void set mediaText(String value) { _ptr.mediaText = value; } 14 void set mediaText(String value) { _ptr.mediaText = value; }
15 15
16 String operator[](int index) { 16 String operator[](int index) {
17 return item(index); 17 return _ptr[index];
18 } 18 }
19 19
20 void operator[]=(int index, String value) { 20 void operator[]=(int index, String value) {
21 throw new UnsupportedOperationException("Cannot assign element of immutable List."); 21 _ptr[index] = value;
22 } 22 }
23 23
24 void add(String value) { 24 void add(String value) {
25 throw new UnsupportedOperationException("Cannot add to immutable List."); 25 throw new UnsupportedOperationException("Cannot add to immutable List.");
26 } 26 }
27 27
28 void addLast(String value) { 28 void addLast(String value) {
29 throw new UnsupportedOperationException("Cannot add to immutable List."); 29 throw new UnsupportedOperationException("Cannot add to immutable List.");
30 } 30 }
31 31
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 109
110 void deleteMedium(String oldMedium) { 110 void deleteMedium(String oldMedium) {
111 _ptr.deleteMedium(oldMedium); 111 _ptr.deleteMedium(oldMedium);
112 return; 112 return;
113 } 113 }
114 114
115 String item(int index) { 115 String item(int index) {
116 return _ptr.item(index); 116 return _ptr.item(index);
117 } 117 }
118 } 118 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698