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

Side by Side Diff: client/dom/generated/src/frog/DOMTokenList.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 _DOMTokenListJs extends _DOMTypeJs implements DOMTokenList native "*DOMTok enList" { 2 class _DOMTokenListJs extends _DOMTypeJs implements DOMTokenList native "*DOMTok enList" {
3 3
4 int get length() native "return this.length;"; 4 final int length;
5 5
6 void add(String token) native; 6 void add(String token) native;
7 7
8 bool contains(String token) native; 8 bool contains(String token) native;
9 9
10 String item(int index) native; 10 String item(int index) native;
11 11
12 void remove(String token) native; 12 void remove(String token) native;
13 13
14 String toString() native; 14 String toString() native;
15 15
16 bool toggle(String token) native; 16 bool toggle(String token) native;
17 } 17 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698