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

Side by Side Diff: client/dom/generated/src/frog/JavaScriptCallFrame.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 _JavaScriptCallFrameJs extends _DOMTypeJs implements JavaScriptCallFrame n ative "*JavaScriptCallFrame" { 2 class _JavaScriptCallFrameJs extends _DOMTypeJs implements JavaScriptCallFrame n ative "*JavaScriptCallFrame" {
3 3
4 static final int CATCH_SCOPE = 4; 4 static final int CATCH_SCOPE = 4;
5 5
6 static final int CLOSURE_SCOPE = 3; 6 static final int CLOSURE_SCOPE = 3;
7 7
8 static final int GLOBAL_SCOPE = 0; 8 static final int GLOBAL_SCOPE = 0;
9 9
10 static final int LOCAL_SCOPE = 1; 10 static final int LOCAL_SCOPE = 1;
11 11
12 static final int WITH_SCOPE = 2; 12 static final int WITH_SCOPE = 2;
13 13
14 _JavaScriptCallFrameJs get caller() native "return this.caller;"; 14 final _JavaScriptCallFrameJs caller;
15 15
16 int get column() native "return this.column;"; 16 final int column;
17 17
18 String get functionName() native "return this.functionName;"; 18 final String functionName;
19 19
20 int get line() native "return this.line;"; 20 final int line;
21 21
22 List get scopeChain() native "return this.scopeChain;"; 22 final List scopeChain;
23 23
24 int get sourceID() native "return this.sourceID;"; 24 final int sourceID;
25 25
26 Object get thisObject() native "return this.thisObject;"; 26 final Object thisObject;
27 27
28 String get type() native "return this.type;"; 28 final String type;
29 29
30 void evaluate(String script) native; 30 void evaluate(String script) native;
31 31
32 int scopeType(int scopeIndex) native; 32 int scopeType(int scopeIndex) native;
33 } 33 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698