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

Unified Diff: lib/html/src/SVGElementWrappingImplementation.dart

Issue 10919146: Get rid of a lot of () for getters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/html/src/SVGElementInstanceWrappingImplementation.dart ('k') | lib/html/src/SVGSVGElement.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/src/SVGElementWrappingImplementation.dart
diff --git a/lib/html/src/SVGElementWrappingImplementation.dart b/lib/html/src/SVGElementWrappingImplementation.dart
index 65cbc4c1cc5c0cbd532f093e1c8fe52515ff9356..c00fcae78c5477cb27e6920068372234e7342a66 100644
--- a/lib/html/src/SVGElementWrappingImplementation.dart
+++ b/lib/html/src/SVGElementWrappingImplementation.dart
@@ -36,26 +36,26 @@ class SVGElementWrappingImplementation extends ElementWrappingImplementation imp
'top-level elements but 1 expected');
}
- CSSClassSet get classes() {
+ CSSClassSet get classes {
if (_cssClassSet === null) {
_cssClassSet = new _SVGClassSet(_ptr);
}
return _cssClassSet;
}
- String get id() { return _ptr.id; }
+ String get id { return _ptr.id; }
void set id(String value) { _ptr.id = value; }
- SVGSVGElement get ownerSVGElement() { return LevelDom.wrapSVGSVGElement(_ptr.ownerSVGElement); }
+ SVGSVGElement get ownerSVGElement { return LevelDom.wrapSVGSVGElement(_ptr.ownerSVGElement); }
- SVGElement get viewportElement() { return LevelDom.wrapSVGElement(_ptr.viewportElement); }
+ SVGElement get viewportElement { return LevelDom.wrapSVGElement(_ptr.viewportElement); }
- String get xmlbase() { return _ptr.xmlbase; }
+ String get xmlbase { return _ptr.xmlbase; }
void set xmlbase(String value) { _ptr.xmlbase = value; }
- ElementList get elements() {
+ ElementList get elements {
if (_elements == null) {
_elements = new FilteredElementList(this);
}
@@ -68,13 +68,13 @@ class SVGElementWrappingImplementation extends ElementWrappingImplementation imp
elements.addAll(value);
}
- String get outerHTML() {
+ String get outerHTML {
final container = new Element.tag("div");
container.elements.add(this.clone(true));
return container.innerHTML;
}
- String get innerHTML() {
+ String get innerHTML {
final container = new Element.tag("div");
container.elements.addAll(this.clone(true).elements);
return container.innerHTML;
« no previous file with comments | « lib/html/src/SVGElementInstanceWrappingImplementation.dart ('k') | lib/html/src/SVGSVGElement.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698