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

Unified Diff: sdk/lib/html/dartium/html_dartium.dart

Side-by-side diff isn't available for this file because of its large size.
Issue 896293003: Cleanup method signatures that were incorrect due to a lack of understanding about how Dart generic… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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:
Download patch
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | tests/html/element_classes_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dartium/html_dartium.dart
diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart
index 1504658fe41bef7fdcbd39ebce8ae41d496e153a..7560b9b8fe34f90e9da13c949be2a0de268a4e3d 100644
--- a/sdk/lib/html/dartium/html_dartium.dart
+++ b/sdk/lib/html/dartium/html_dartium.dart
@@ -9205,7 +9205,7 @@ class Document extends Node
* For details about CSS selector syntax, see the
* [CSS selector specification](http://www.w3.org/TR/css3-selectors/).
*/
- ElementList querySelectorAll(String selectors) {
+ ElementList<Element> querySelectorAll(String selectors) {
return new _FrozenElementList._wrap(_querySelectorAll(selectors));
}
@@ -9225,7 +9225,7 @@ class Document extends Node
@deprecated
@Experimental()
@DomName('Document.querySelectorAll')
- ElementList queryAll(String relativeSelectors) =>
+ ElementList<Element> queryAll(String relativeSelectors) =>
querySelectorAll(relativeSelectors);
/// Checks if [registerElement] is supported on the current platform.
@@ -9302,7 +9302,7 @@ class DocumentFragment extends Node implements ParentNode {
* For details about CSS selector syntax, see the
* [CSS selector specification](http://www.w3.org/TR/css3-selectors/).
*/
- ElementList querySelectorAll(String selectors) =>
+ ElementList<Element> querySelectorAll(String selectors) =>
new _FrozenElementList._wrap(_querySelectorAll(selectors));
@@ -9360,7 +9360,7 @@ class DocumentFragment extends Node implements ParentNode {
@deprecated
@Experimental()
@DomName('DocumentFragment.querySelectorAll')
- ElementList queryAll(String relativeSelectors) {
+ ElementList<Element> queryAll(String relativeSelectors) {
return querySelectorAll(relativeSelectors);
}
// To suppress missing implicit constructor warnings.
@@ -11900,7 +11900,7 @@ abstract class Element extends Node implements GlobalEventHandlers, ParentNode,
* [CSS selector specification](http://www.w3.org/TR/css3-selectors/).
*/
@DomName('Element.querySelectorAll')
- ElementList querySelectorAll(String selectors) =>
+ ElementList<Element> querySelectorAll(String selectors) =>
new _FrozenElementList._wrap(_querySelectorAll(selectors));
/**
@@ -11919,7 +11919,7 @@ abstract class Element extends Node implements GlobalEventHandlers, ParentNode,
@deprecated
@DomName('Element.querySelectorAll')
@Experimental()
- ElementList queryAll(String relativeSelectors) =>
+ ElementList<Element> queryAll(String relativeSelectors) =>
querySelectorAll(relativeSelectors);
/**
@@ -40809,7 +40809,7 @@ Element query(String relativeSelectors) => document.query(relativeSelectors);
*/
@deprecated
@Experimental()
-ElementList queryAll(String relativeSelectors) => document.queryAll(relativeSelectors);
+ElementList<Element> queryAll(String relativeSelectors) => document.queryAll(relativeSelectors);
/**
* Finds the first descendant element of this document that matches the
@@ -40846,7 +40846,7 @@ Element querySelector(String selectors) => document.querySelector(selectors);
* For details about CSS selector syntax, see the
* [CSS selector specification](http://www.w3.org/TR/css3-selectors/).
*/
-ElementList querySelectorAll(String selectors) => document.querySelectorAll(selectors);
+ElementList<Element> querySelectorAll(String selectors) => document.querySelectorAll(selectors);
/// A utility for changing the Dart wrapper type for elements.
abstract class ElementUpgrader {
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | tests/html/element_classes_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698