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

Unified Diff: lib/html/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
Index: lib/html/src/dart2js_DOMImplementation.dart
diff --git a/lib/html/src/dart2js_DOMImplementation.dart b/lib/html/src/dart2js_DOMImplementation.dart
index 4bb9ffda3540623f1645a26a09cb935ec674d430..96d9a004f37a9453997c62c30005c0ae465e61a5 100644
--- a/lib/html/src/dart2js_DOMImplementation.dart
+++ b/lib/html/src/dart2js_DOMImplementation.dart
@@ -12,16 +12,16 @@ class _DOMWindowCrossFrameImpl implements Window {
// TODO(vsm): Add frames to navigate subframes. See 2312.
- bool get closed() => _closed(_window);
+ bool get closed => _closed(_window);
static bool _closed(win) native "return win.closed;";
- Window get opener() => _createSafe(_opener(_window));
+ Window get opener => _createSafe(_opener(_window));
static Window _opener(win) native "return win.opener;";
- Window get parent() => _createSafe(_parent(_window));
+ Window get parent => _createSafe(_parent(_window));
static Window _parent(win) native "return win.parent;";
- Window get top() => _createSafe(_top(_window));
+ Window get top => _createSafe(_top(_window));
static Window _top(win) native "return win.top;";
// Methods.
« no previous file with comments | « lib/html/src/XMLHttpRequestUploadWrappingImplementation.dart ('k') | lib/html/src/dart2js_LocationWrapper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698