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

Side by Side Diff: client/dom/generated/src/frog/CSSStyleSheet.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 _CSSStyleSheetJs extends _StyleSheetJs implements CSSStyleSheet native "*C SSStyleSheet" { 2 class _CSSStyleSheetJs extends _StyleSheetJs implements CSSStyleSheet native "*C SSStyleSheet" {
3 3
4 _CSSRuleListJs get cssRules() native "return this.cssRules;"; 4 final _CSSRuleListJs cssRules;
5 5
6 _CSSRuleJs get ownerRule() native "return this.ownerRule;"; 6 final _CSSRuleJs ownerRule;
7 7
8 _CSSRuleListJs get rules() native "return this.rules;"; 8 final _CSSRuleListJs rules;
9 9
10 int addRule(String selector, String style, [int index = null]) native; 10 int addRule(String selector, String style, [int index = null]) native;
11 11
12 void deleteRule(int index) native; 12 void deleteRule(int index) native;
13 13
14 int insertRule(String rule, int index) native; 14 int insertRule(String rule, int index) native;
15 15
16 void removeRule(int index) native; 16 void removeRule(int index) native;
17 } 17 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698