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

Side by Side Diff: client/dom/generated/src/frog/NamedNodeMap.dart

Issue 9312003: Use fields in hidden native DOM classes instead of getters/setters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Also fix native Created 8 years, 10 months 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 1
2 class _NamedNodeMapJs extends _DOMTypeJs implements NamedNodeMap native "*NamedN odeMap" { 2 class _NamedNodeMapJs extends _DOMTypeJs implements NamedNodeMap native "*NamedN odeMap" {
3 3
4 int get length() native "return this.length;"; 4 final int length;
5 5
6 _NodeJs operator[](int index) native "return this[index];"; 6 _NodeJs operator[](int index) native "return this[index];";
7 7
8 void operator[]=(int index, _NodeJs value) { 8 void operator[]=(int index, _NodeJs value) {
9 throw new UnsupportedOperationException("Cannot assign element of immutable List."); 9 throw new UnsupportedOperationException("Cannot assign element of immutable List.");
10 } 10 }
11 // -- start List<Node> mixins. 11 // -- start List<Node> mixins.
12 // Node is the element type. 12 // Node is the element type.
13 13
14 // From Iterable<Node>: 14 // From Iterable<Node>:
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 _NodeJs item(int index) native; 83 _NodeJs item(int index) native;
84 84
85 _NodeJs removeNamedItem(String name) native; 85 _NodeJs removeNamedItem(String name) native;
86 86
87 _NodeJs removeNamedItemNS(String namespaceURI, String localName) native; 87 _NodeJs removeNamedItemNS(String namespaceURI, String localName) native;
88 88
89 _NodeJs setNamedItem(_NodeJs node) native; 89 _NodeJs setNamedItem(_NodeJs node) native;
90 90
91 _NodeJs setNamedItemNS(_NodeJs node) native; 91 _NodeJs setNamedItemNS(_NodeJs node) native;
92 } 92 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698