Index: tools/dom/templates/html/dartium/html_dartium.darttemplate |
diff --git a/tools/dom/templates/html/dartium/html_dartium.darttemplate b/tools/dom/templates/html/dartium/html_dartium.darttemplate |
index fdec63380364273d20ad833f1fa6884d5efb2a75..b0b6cc4a16d4f2a1b300ec3073f2c1a227ad3dba 100644 |
--- a/tools/dom/templates/html/dartium/html_dartium.darttemplate |
+++ b/tools/dom/templates/html/dartium/html_dartium.darttemplate |
@@ -119,9 +119,23 @@ HtmlDocument get document { |
return _document; |
} |
+/** |
+ * Alias for [querySelector]. Note this function is deprecated because its |
+ * semantics will be changing in the future. |
+ */ |
+@deprecated |
+@Experimental() |
+Element query(String relativeSelectors) => document.query(relativeSelectors); |
+/** |
+ * Alias for [querySelectorAll]. Note this function is deprecated because its |
+ * semantics will be changing in the future. |
+ */ |
+@deprecated |
+@Experimental() |
+ElementList queryAll(String relativeSelectors) => document.queryAll(relativeSelectors); |
-Element query(String selector) => document.query(selector); |
-ElementList queryAll(String selector) => document.queryAll(selector); |
+Element querySelector(String selector) => document.querySelector(selector); |
+ElementList querySelectorAll(String selector) => document.querySelectorAll(selector); |
int _getNewIsolateId() => _Utils._getNewIsolateId(); |