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

Side by Side Diff: client/dom/generated/src/frog/SVGElementInstance.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 _SVGElementInstanceJs extends _DOMTypeJs implements SVGElementInstance nat ive "*SVGElementInstance" { 2 class _SVGElementInstanceJs extends _DOMTypeJs implements SVGElementInstance nat ive "*SVGElementInstance" {
3 3
4 _SVGElementInstanceListJs get childNodes() native "return this.childNodes;"; 4 final _SVGElementInstanceListJs childNodes;
5 5
6 _SVGElementJs get correspondingElement() native "return this.correspondingElem ent;"; 6 final _SVGElementJs correspondingElement;
7 7
8 _SVGUseElementJs get correspondingUseElement() native "return this.correspondi ngUseElement;"; 8 final _SVGUseElementJs correspondingUseElement;
9 9
10 _SVGElementInstanceJs get firstChild() native "return this.firstChild;"; 10 final _SVGElementInstanceJs firstChild;
11 11
12 _SVGElementInstanceJs get lastChild() native "return this.lastChild;"; 12 final _SVGElementInstanceJs lastChild;
13 13
14 _SVGElementInstanceJs get nextSibling() native "return this.nextSibling;"; 14 final _SVGElementInstanceJs nextSibling;
15 15
16 _SVGElementInstanceJs get parentNode() native "return this.parentNode;"; 16 final _SVGElementInstanceJs parentNode;
17 17
18 _SVGElementInstanceJs get previousSibling() native "return this.previousSiblin g;"; 18 final _SVGElementInstanceJs previousSibling;
19 19
20 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 20 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
21 21
22 bool dispatchEvent(_EventJs event) native; 22 bool dispatchEvent(_EventJs event) native;
23 23
24 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 24 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
25 } 25 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698