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/CSSStyleDeclaration.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 _CSSStyleDeclarationJs extends _DOMTypeJs implements CSSStyleDeclaration n ative "*CSSStyleDeclaration" { 2 class _CSSStyleDeclarationJs extends _DOMTypeJs implements CSSStyleDeclaration n ative "*CSSStyleDeclaration" {
3 3
4 String get cssText() native "return this.cssText;"; 4 String cssText;
5 5
6 void set cssText(String value) native "this.cssText = value;"; 6 final int length;
7 7
8 int get length() native "return this.length;"; 8 final _CSSRuleJs parentRule;
9
10 _CSSRuleJs get parentRule() native "return this.parentRule;";
11 9
12 _CSSValueJs getPropertyCSSValue(String propertyName) native; 10 _CSSValueJs getPropertyCSSValue(String propertyName) native;
13 11
14 String getPropertyPriority(String propertyName) native; 12 String getPropertyPriority(String propertyName) native;
15 13
16 String getPropertyShorthand(String propertyName) native; 14 String getPropertyShorthand(String propertyName) native;
17 15
18 String getPropertyValue(String propertyName) native; 16 String getPropertyValue(String propertyName) native;
19 17
20 bool isPropertyImplicit(String propertyName) native; 18 bool isPropertyImplicit(String propertyName) native;
21 19
22 String item(int index) native; 20 String item(int index) native;
23 21
24 String removeProperty(String propertyName) native; 22 String removeProperty(String propertyName) native;
25 23
26 void setProperty(String propertyName, String value, [String priority = null]) native; 24 void setProperty(String propertyName, String value, [String priority = null]) native;
27 } 25 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698