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

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

Issue 10080008: Do not delete DOMStringMap and DOMStringList types from idl database. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Added empty DOMStringList implementation. Created 8 years, 8 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/DOMStringMap.dart ('k') | lib/dom/templates/dom/native/dom_public.darttemplate » ('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 aa0a3ccca2aebd3ef3eef8d7bcc8f9f7e0b7c99f..cd652dc2c02bed0ba27f6e9b4a8e15fcadffc4f5 100644
--- a/lib/dom/src/native_DOMImplementation.dart
+++ b/lib/dom/src/native_DOMImplementation.dart
@@ -79,7 +79,7 @@ class LocationCrossFrameImplementation extends DOMWrapperBase implements Locatio
String get typeName() => "Location";
}
-class DOMStringMapImplementation extends DOMWrapperBase implements Map<String, String> {
+class DOMStringMapImplementation extends DOMWrapperBase implements DOMStringMap {
static DOMStringMapImplementation _createDOMStringMapImplementation() => new DOMStringMapImplementation._createDOMStringMapImplementation();
DOMStringMapImplementation._createDOMStringMapImplementation();
@@ -96,3 +96,10 @@ class DOMStringMapImplementation extends DOMWrapperBase implements Map<String, S
int get length() => Maps.length(this);
bool isEmpty() => Maps.isEmpty(this);
}
+
+class DOMStringListImplementation extends DOMWrapperBase implements DOMStringList {
+ static DOMStringListImplementation _createDOMStringListImplementation() => new DOMStringListImplementation._createDOMStringListImplementation();
+ DOMStringListImplementation._createDOMStringListImplementation();
+
+ // FIXME: provide implementation.
+}
« no previous file with comments | « lib/dom/src/DOMStringMap.dart ('k') | lib/dom/templates/dom/native/dom_public.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698