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

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

Issue 8548010: Wrapper dom changes in preparation for SVG (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: tweak Created 9 years, 1 month 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 _HTMLCollectionWrappingImplementation extends DOMWrapperBase implements HT MLCollection { 7 class _HTMLCollectionWrappingImplementation extends DOMWrapperBase implements HT MLCollection {
8 _HTMLCollectionWrappingImplementation() : super() {} 8 _HTMLCollectionWrappingImplementation() : super() {}
9 9
10 static create__HTMLCollectionWrappingImplementation() native { 10 static create__HTMLCollectionWrappingImplementation() native {
11 return new _HTMLCollectionWrappingImplementation(); 11 return new _HTMLCollectionWrappingImplementation();
12 } 12 }
13 13
14 int get length() { return _get__HTMLCollection_length(this); } 14 int get length() { return _get_length(this); }
15 static int _get__HTMLCollection_length(var _this) native; 15 static int _get_length(var _this) native;
16 16
17 Node operator[](int index) { 17 Node operator[](int index) {
18 return item(index); 18 return item(index);
19 } 19 }
20 20
21 void operator[]=(int index, Node value) { 21 void operator[]=(int index, Node value) {
22 throw new UnsupportedOperationException("Cannot assign element of immutable List."); 22 throw new UnsupportedOperationException("Cannot assign element of immutable List.");
23 } 23 }
24 24
25 void add(Node value) { 25 void add(Node value) {
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 } 108 }
109 static Node _item(receiver, index) native; 109 static Node _item(receiver, index) native;
110 110
111 Node namedItem(String name) { 111 Node namedItem(String name) {
112 return _namedItem(this, name); 112 return _namedItem(this, name);
113 } 113 }
114 static Node _namedItem(receiver, name) native; 114 static Node _namedItem(receiver, name) native;
115 115
116 String get typeName() { return "HTMLCollection"; } 116 String get typeName() { return "HTMLCollection"; }
117 } 117 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698