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

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

Issue 11267018: Make getKeys, getValues getters (keys, values). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update status files with co19 issue number. Created 8 years, 2 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/Serialization.dart ('k') | lib/html/templates/html/impl/impl_Element.darttemplate » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/src/native_DOMImplementation.dart
diff --git a/lib/html/src/native_DOMImplementation.dart b/lib/html/src/native_DOMImplementation.dart
index 5a9a500a8aa1a7c94fe8b1783a70295bb7f80778..d45e7e4590a5ad76ccbb014fe8de93cad4b84378 100644
--- a/lib/html/src/native_DOMImplementation.dart
+++ b/lib/html/src/native_DOMImplementation.dart
@@ -100,8 +100,8 @@ class _DOMStringMapImpl extends NativeFieldWrapperClass1 implements Map<String,
String remove(String key) native "DOMStringMap_remove_Callback";
void clear() => Maps.clear(this);
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);
+ Collection<String> get keys native "DOMStringMap_getKeys_Callback";
+ Collection<String> get values => Maps.getValues(this);
int get length => Maps.length(this);
bool get isEmpty => Maps.isEmpty(this);
}
« no previous file with comments | « lib/html/src/Serialization.dart ('k') | lib/html/templates/html/impl/impl_Element.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698