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

Unified Diff: lib/html/src/dart2js_LocationWrapper.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/dart2js_DOMImplementation.dart ('k') | lib/uri/uri.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/src/dart2js_LocationWrapper.dart
diff --git a/lib/html/src/dart2js_LocationWrapper.dart b/lib/html/src/dart2js_LocationWrapper.dart
index 201ce94a482fc79fbd34a096108059f8ef370aac..7aa91ebac68f23847da2388d18f43b4864ad0a5f 100644
--- a/lib/html/src/dart2js_LocationWrapper.dart
+++ b/lib/html/src/dart2js_LocationWrapper.dart
@@ -16,41 +16,41 @@ class _LocationWrapper implements Location {
// TODO(sra): Replace all the _set and _get calls with 'JS' forms.
// final List<String> ancestorOrigins;
- List<String> get ancestorOrigins() => _get(_ptr, 'ancestorOrigins');
+ List<String> get ancestorOrigins => _get(_ptr, 'ancestorOrigins');
// String hash;
- String get hash() => _get(_ptr, 'hash');
+ String get hash => _get(_ptr, 'hash');
void set hash(String value) => _set(_ptr, 'hash', value);
// String host;
- String get host() => _get(_ptr, 'host');
+ String get host => _get(_ptr, 'host');
void set host(String value) => _set(_ptr, 'host', value);
// String hostname;
- String get hostname() => _get(_ptr, 'hostname');
+ String get hostname => _get(_ptr, 'hostname');
void set hostname(String value) => _set(_ptr, 'hostname', value);
// String href;
- String get href() => _get(_ptr, 'href');
+ String get href => _get(_ptr, 'href');
void set href(String value) => _set(_ptr, 'href', value);
// final String origin;
- String get origin() => _get(_ptr, 'origin');
+ String get origin => _get(_ptr, 'origin');
// String pathname;
- String get pathname() => _get(_ptr, 'pathname');
+ String get pathname => _get(_ptr, 'pathname');
void set pathname(String value) => _set(_ptr, 'pathname', value);
// String port;
- String get port() => _get(_ptr, 'port');
+ String get port => _get(_ptr, 'port');
void set port(String value) => _set(_ptr, 'port', value);
// String protocol;
- String get protocol() => _get(_ptr, 'protocol');
+ String get protocol => _get(_ptr, 'protocol');
void set protocol(String value) => _set(_ptr, 'protocol', value);
// String search;
- String get search() => _get(_ptr, 'search');
+ String get search => _get(_ptr, 'search');
void set search(String value) => _set(_ptr, 'search', value);
« no previous file with comments | « lib/html/src/dart2js_DOMImplementation.dart ('k') | lib/uri/uri.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698