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

Side by Side Diff: client/dom/generated/src/frog/CSSRule.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 _CSSRuleJs extends _DOMTypeJs implements CSSRule native "*CSSRule" { 2 class _CSSRuleJs extends _DOMTypeJs implements CSSRule native "*CSSRule" {
3 3
4 static final int CHARSET_RULE = 2; 4 static final int CHARSET_RULE = 2;
5 5
6 static final int FONT_FACE_RULE = 5; 6 static final int FONT_FACE_RULE = 5;
7 7
8 static final int IMPORT_RULE = 3; 8 static final int IMPORT_RULE = 3;
9 9
10 static final int MEDIA_RULE = 4; 10 static final int MEDIA_RULE = 4;
11 11
12 static final int PAGE_RULE = 6; 12 static final int PAGE_RULE = 6;
13 13
14 static final int STYLE_RULE = 1; 14 static final int STYLE_RULE = 1;
15 15
16 static final int UNKNOWN_RULE = 0; 16 static final int UNKNOWN_RULE = 0;
17 17
18 static final int WEBKIT_KEYFRAMES_RULE = 8; 18 static final int WEBKIT_KEYFRAMES_RULE = 8;
19 19
20 static final int WEBKIT_KEYFRAME_RULE = 9; 20 static final int WEBKIT_KEYFRAME_RULE = 9;
21 21
22 static final int WEBKIT_REGION_RULE = 10; 22 static final int WEBKIT_REGION_RULE = 10;
23 23
24 String get cssText() native "return this.cssText;"; 24 String cssText;
25 25
26 void set cssText(String value) native "this.cssText = value;"; 26 final _CSSRuleJs parentRule;
27 27
28 _CSSRuleJs get parentRule() native "return this.parentRule;"; 28 final _CSSStyleSheetJs parentStyleSheet;
29 29
30 _CSSStyleSheetJs get parentStyleSheet() native "return this.parentStyleSheet;" ; 30 final int type;
31
32 int get type() native "return this.type;";
33 } 31 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698