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

Side by Side Diff: client/dom/generated/src/frog/XPathResult.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 _XPathResultJs extends _DOMTypeJs implements XPathResult native "*XPathRes ult" { 2 class _XPathResultJs extends _DOMTypeJs implements XPathResult native "*XPathRes ult" {
3 3
4 static final int ANY_TYPE = 0; 4 static final int ANY_TYPE = 0;
5 5
6 static final int ANY_UNORDERED_NODE_TYPE = 8; 6 static final int ANY_UNORDERED_NODE_TYPE = 8;
7 7
8 static final int BOOLEAN_TYPE = 3; 8 static final int BOOLEAN_TYPE = 3;
9 9
10 static final int FIRST_ORDERED_NODE_TYPE = 9; 10 static final int FIRST_ORDERED_NODE_TYPE = 9;
11 11
12 static final int NUMBER_TYPE = 1; 12 static final int NUMBER_TYPE = 1;
13 13
14 static final int ORDERED_NODE_ITERATOR_TYPE = 5; 14 static final int ORDERED_NODE_ITERATOR_TYPE = 5;
15 15
16 static final int ORDERED_NODE_SNAPSHOT_TYPE = 7; 16 static final int ORDERED_NODE_SNAPSHOT_TYPE = 7;
17 17
18 static final int STRING_TYPE = 2; 18 static final int STRING_TYPE = 2;
19 19
20 static final int UNORDERED_NODE_ITERATOR_TYPE = 4; 20 static final int UNORDERED_NODE_ITERATOR_TYPE = 4;
21 21
22 static final int UNORDERED_NODE_SNAPSHOT_TYPE = 6; 22 static final int UNORDERED_NODE_SNAPSHOT_TYPE = 6;
23 23
24 bool get booleanValue() native "return this.booleanValue;"; 24 final bool booleanValue;
25 25
26 bool get invalidIteratorState() native "return this.invalidIteratorState;"; 26 final bool invalidIteratorState;
27 27
28 num get numberValue() native "return this.numberValue;"; 28 final num numberValue;
29 29
30 int get resultType() native "return this.resultType;"; 30 final int resultType;
31 31
32 _NodeJs get singleNodeValue() native "return this.singleNodeValue;"; 32 final _NodeJs singleNodeValue;
33 33
34 int get snapshotLength() native "return this.snapshotLength;"; 34 final int snapshotLength;
35 35
36 String get stringValue() native "return this.stringValue;"; 36 final String stringValue;
37 37
38 _NodeJs iterateNext() native; 38 _NodeJs iterateNext() native;
39 39
40 _NodeJs snapshotItem(int index) native; 40 _NodeJs snapshotItem(int index) native;
41 } 41 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698