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

Unified Diff: sdk/lib/html/dart2js/html_dart2js.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 | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dart2js/html_dart2js.dart
diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
index 793c36cd8cf1ea90793a2a3ea614f794343ac646..10e82ee3fde6d5ef51b12692649329fb46db7792 100644
--- a/sdk/lib/html/dart2js/html_dart2js.dart
+++ b/sdk/lib/html/dart2js/html_dart2js.dart
@@ -8276,7 +8276,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));
}
@@ -8296,7 +8296,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.
@@ -8383,7 +8383,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));
@@ -8441,7 +8441,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.
@@ -10878,7 +10878,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));
/**
@@ -10897,7 +10897,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);
/**
@@ -38493,7 +38493,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
@@ -38530,7 +38530,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 | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698