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

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 place where Collection<E> was treated as List<E> Created 8 years, 11 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 f2bac6dd81d263a52c9fec8be6d1db17e5b7bb41..47167370c53cd5baf053aa52e64e5798f02a66d4 100644
--- a/client/html/release/html.dart
+++ b/client/html/release/html.dart
@@ -11320,7 +11320,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.
@@ -11410,13 +11410,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);
@@ -12473,7 +12471,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.
@@ -12482,8 +12480,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 | « no previous file | client/html/release/htmlimpl.dart » ('j') | client/html/src/SVGElementWrappingImplementation.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698