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

Side by Side Diff: client/dom/generated/src/wrapping/_TouchListWrappingImplementation.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 _TouchListWrappingImplementation extends DOMWrapperBase implements TouchLi st { 7 class _TouchListWrappingImplementation extends DOMWrapperBase implements TouchLi st {
8 _TouchListWrappingImplementation() : super() {} 8 _TouchListWrappingImplementation() : super() {}
9 9
10 static create__TouchListWrappingImplementation() native { 10 static create__TouchListWrappingImplementation() native {
11 return new _TouchListWrappingImplementation(); 11 return new _TouchListWrappingImplementation();
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 Touch operator[](int index) { 17 Touch operator[](int index) { return _index(this, index); }
18 return item(index); 18 static Touch _index(var _this, int index) native;
19 }
20 19
21 void operator[]=(int index, Touch value) { 20 void operator[]=(int index, Touch value) {
22 throw new UnsupportedOperationException("Cannot assign element of immutable List."); 21 throw new UnsupportedOperationException("Cannot assign element of immutable List.");
23 } 22 }
24 23
25 void add(Touch value) { 24 void add(Touch value) {
26 throw new UnsupportedOperationException("Cannot add to immutable List."); 25 throw new UnsupportedOperationException("Cannot add to immutable List.");
27 } 26 }
28 27
29 void addLast(Touch value) { 28 void addLast(Touch value) {
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 return new _FixedSizeListIterator<Touch>(this); 102 return new _FixedSizeListIterator<Touch>(this);
104 } 103 }
105 104
106 Touch item(int index) { 105 Touch item(int index) {
107 return _item(this, index); 106 return _item(this, index);
108 } 107 }
109 static Touch _item(receiver, index) native; 108 static Touch _item(receiver, index) native;
110 109
111 String get typeName() { return "TouchList"; } 110 String get typeName() { return "TouchList"; }
112 } 111 }
OLDNEW
« no previous file with comments | « client/dom/generated/src/wrapping/_StyleSheetListWrappingImplementation.dart ('k') | client/dom/generated/wrapping_dom.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698