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

Unified Diff: lib/dom/src/native_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/dummy_GlobalProperties.dart ('k') | lib/dom/src/native_DOMPublic.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/dom/src/native_DOMImplementation.dart
diff --git a/lib/dom/src/native_DOMImplementation.dart b/lib/dom/src/native_DOMImplementation.dart
index d6a79b975626577fe7f591f911ddddddf192a996..b57eb52760abb4297c880cc256a2e4eaefbcfd08 100644
--- a/lib/dom/src/native_DOMImplementation.dart
+++ b/lib/dom/src/native_DOMImplementation.dart
@@ -63,7 +63,7 @@ class _DOMWindowCrossFrameImpl extends NativeFieldWrapperClass1 implements Windo
void postMessage(/*SerializedScriptValue*/ message, String targetOrigin, [List messagePorts]) native "DOMWindow_postMessage_Callback";
// Implementation support.
- String get typeName() => "DOMWindow";
+ String get typeName => "DOMWindow";
}
class _HistoryCrossFrameImpl extends NativeFieldWrapperClass1 implements History {
@@ -75,7 +75,7 @@ class _HistoryCrossFrameImpl extends NativeFieldWrapperClass1 implements History
void go(int distance) native "History_go_Callback";
// Implementation support.
- String get typeName() => "History";
+ String get typeName => "History";
}
class _LocationCrossFrameImpl extends NativeFieldWrapperClass1 implements Location {
@@ -85,7 +85,7 @@ class _LocationCrossFrameImpl extends NativeFieldWrapperClass1 implements Locati
void set href(String) native "Location_href_Setter";
// Implementation support.
- String get typeName() => "Location";
+ String get typeName => "Location";
}
class _DOMStringMapImpl extends NativeFieldWrapperClass1 implements Map<String, String> {
@@ -101,7 +101,7 @@ class _DOMStringMapImpl extends NativeFieldWrapperClass1 implements Map<String,
void forEach(void f(String key, String value)) => Maps.forEach(this, f);
Collection<String> getKeys() native "DOMStringMap_getKeys_Callback";
Collection<String> getValues() => Maps.getValues(this);
- int get length() => Maps.length(this);
+ int get length => Maps.length(this);
bool isEmpty() => Maps.isEmpty(this);
}
« no previous file with comments | « lib/dom/src/dummy_GlobalProperties.dart ('k') | lib/dom/src/native_DOMPublic.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698