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

Side by Side Diff: client/dom/generated/src/frog/MutationEvent.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 _MutationEventJs extends _EventJs implements MutationEvent native "*Mutati onEvent" { 2 class _MutationEventJs extends _EventJs implements MutationEvent native "*Mutati onEvent" {
3 3
4 static final int ADDITION = 2; 4 static final int ADDITION = 2;
5 5
6 static final int MODIFICATION = 1; 6 static final int MODIFICATION = 1;
7 7
8 static final int REMOVAL = 3; 8 static final int REMOVAL = 3;
9 9
10 int get attrChange() native "return this.attrChange;"; 10 final int attrChange;
11 11
12 String get attrName() native "return this.attrName;"; 12 final String attrName;
13 13
14 String get newValue() native "return this.newValue;"; 14 final String newValue;
15 15
16 String get prevValue() native "return this.prevValue;"; 16 final String prevValue;
17 17
18 _NodeJs get relatedNode() native "return this.relatedNode;"; 18 final _NodeJs relatedNode;
19 19
20 void initMutationEvent(String type, bool canBubble, bool cancelable, _NodeJs r elatedNode, String prevValue, String newValue, String attrName, int attrChange) native; 20 void initMutationEvent(String type, bool canBubble, bool cancelable, _NodeJs r elatedNode, String prevValue, String newValue, String attrName, int attrChange) native;
21 } 21 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698