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

Unified Diff: lib/dom/src/dart2js_DOMImplementation.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/dom/src/GlobalProperties.dart ('k') | lib/dom/src/dart2js_DOMType.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/dom/src/dart2js_DOMImplementation.dart
diff --git a/lib/dom/src/dart2js_DOMImplementation.dart b/lib/dom/src/dart2js_DOMImplementation.dart
index 86bac7b22839fcf1644073b1cce0762f2db5f535..de821c86c281451ac7c1a2326611007c3cba8461 100644
--- a/lib/dom/src/dart2js_DOMImplementation.dart
+++ b/lib/dom/src/dart2js_DOMImplementation.dart
@@ -9,16 +9,16 @@ class _DOMWindowCrossFrameImpl implements DOMType, DOMWindow {
// DOMType
var dartObjectLocalStorage;
- String get typeName() => "DOMWindow";
+ String get typeName => "DOMWindow";
// Fields.
// TODO(vsm): Implement history and location getters.
- bool get closed() => _window.closed;
- int get length() => _window.length;
- DOMWindow get opener() => _createSafe(_window.opener);
- DOMWindow get parent() => _createSafe(_window.parent);
- DOMWindow get top() => _createSafe(_window.top);
+ bool get closed => _window.closed;
+ int get length => _window.length;
+ DOMWindow get opener => _createSafe(_window.opener);
+ DOMWindow get parent => _createSafe(_window.parent);
+ DOMWindow get top => _createSafe(_window.top);
// Methods.
void focus() => _window.focus();
« no previous file with comments | « lib/dom/src/GlobalProperties.dart ('k') | lib/dom/src/dart2js_DOMType.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698