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

Side by Side Diff: client/dom/generated/src/frog/ElementTraversal.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 _ElementTraversalJs extends _DOMTypeJs implements ElementTraversal native "*ElementTraversal" { 2 class _ElementTraversalJs extends _DOMTypeJs implements ElementTraversal native "*ElementTraversal" {
3 3
4 int get childElementCount() native "return this.childElementCount;"; 4 final int childElementCount;
5 5
6 _ElementJs get firstElementChild() native "return this.firstElementChild;"; 6 final _ElementJs firstElementChild;
7 7
8 _ElementJs get lastElementChild() native "return this.lastElementChild;"; 8 final _ElementJs lastElementChild;
9 9
10 _ElementJs get nextElementSibling() native "return this.nextElementSibling;"; 10 final _ElementJs nextElementSibling;
11 11
12 _ElementJs get previousElementSibling() native "return this.previousElementSib ling;"; 12 final _ElementJs previousElementSibling;
13 } 13 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698