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

Unified Diff: client/dom/templates/html/interface/interface_Element.darttemplate

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
« no previous file with comments | « no previous file | client/dom/templates/html/interface/interface_Node.darttemplate » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/dom/templates/html/interface/interface_Element.darttemplate
diff --git a/client/dom/templates/html/interface/interface_Element.darttemplate b/client/dom/templates/html/interface/interface_Element.darttemplate
index c263cbc6878e8f3447f2f65366a9d3d050740e7f..799f0c0835e3360b7545b9c9f68ab7bd03e3b878 100644
--- a/client/dom/templates/html/interface/interface_Element.darttemplate
+++ b/client/dom/templates/html/interface/interface_Element.darttemplate
@@ -275,14 +275,12 @@ interface Element extends Node, NodeSelector default _$(ID)FactoryProvider {
*/
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);
/** @domName className, classList */
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);
« no previous file with comments | « no previous file | client/dom/templates/html/interface/interface_Node.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698