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

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

Issue 8784013: Fix CanvasPixelArray's operator[] for the wrapping js dom (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: rerun 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 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_length(this); } 14 int get length() { return _get_length(this); }
15 static int _get_length(var _this) native; 15 static int _get_length(var _this) native;
16 16
17 String get mediaText() { return _get_mediaText(this); } 17 String get mediaText() { return _get_mediaText(this); }
18 static String _get_mediaText(var _this) native; 18 static String _get_mediaText(var _this) native;
19 19
20 void set mediaText(String value) { _set_mediaText(this, value); } 20 void set mediaText(String value) { _set_mediaText(this, value); }
21 static void _set_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) { return _index(this, index); }
24 return item(index); 24 static String _index(var _this, int index) native;
25 }
26 25
27 void operator[]=(int index, String value) { 26 void operator[]=(int index, String value) {
28 throw new UnsupportedOperationException("Cannot assign element of immutable List."); 27 throw new UnsupportedOperationException("Cannot assign element of immutable List.");
29 } 28 }
30 29
31 void add(String value) { 30 void add(String value) {
32 throw new UnsupportedOperationException("Cannot add to immutable List."); 31 throw new UnsupportedOperationException("Cannot add to immutable List.");
33 } 32 }
34 33
35 void addLast(String value) { 34 void addLast(String value) {
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 } 120 }
122 static void _deleteMedium(receiver, oldMedium) native; 121 static void _deleteMedium(receiver, oldMedium) native;
123 122
124 String item(int index) { 123 String item(int index) {
125 return _item(this, index); 124 return _item(this, index);
126 } 125 }
127 static String _item(receiver, index) native; 126 static String _item(receiver, index) native;
128 127
129 String get typeName() { return "MediaList"; } 128 String get typeName() { return "MediaList"; }
130 } 129 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698