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

Unified Diff: client/html/release/html.dart

Issue 9315061: Specify the types for Element.classes, Element.elements and Node.nodes (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixed dynamic type error issue with VM. Created 8 years, 9 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: client/html/release/html.dart
diff --git a/client/html/release/html.dart b/client/html/release/html.dart
index 029627196fccd98632448f8524e584e263c7ac61..643b31ec44fd19496c429303b88fcbb1bc25b25b 100644
--- a/client/html/release/html.dart
+++ b/client/html/release/html.dart
@@ -11325,7 +11325,7 @@ interface DOMApplicationCache extends EventTarget {
DOMApplicationCacheEvents get on();
}
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
@@ -11415,13 +11415,11 @@ interface Element extends Node /*, common.NodeSelector, common.ElementTraversal
ElementList get elements();
- // TODO: The type of value should be Collection<Element>. See http://b/5392897
- void set elements(value);
+ void set elements(Collection<Element> value);
Set<String> get classes();
- // TODO: The type of value should be Collection<String>. See http://b/5392897
- void set classes(value);
+ void set classes(Collection<String> value);
Map<String, String> get dataAttributes();
void set dataAttributes(Map<String, String> value);
@@ -12478,7 +12476,7 @@ interface MutationEvent extends Event default MutationEventWrappingImplementatio
Node get relatedNode();
}
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
@@ -12487,8 +12485,7 @@ interface Node extends EventTarget {
NodeList get nodes();
- // TODO: The type of value should be Collection<Node>. See http://b/5392897
- void set nodes(value);
+ void set nodes(Collection<Node> value);
Node get nextNode();
« no previous file with comments | « client/html/generated/html/interface/Node.dart ('k') | client/html/src/DocumentFragmentWrappingImplementation.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698