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

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

Issue 10536006: Fix NodeSelector interface. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove NodeSelector from dart.idl. Created 8 years, 6 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: lib/dom/templates/html/interface/interface_Element.darttemplate
diff --git a/lib/dom/templates/html/interface/interface_Element.darttemplate b/lib/dom/templates/html/interface/interface_Element.darttemplate
index 766ad7f5cbda8b80ffdc80985e5b07b9de3b04a0..dee20666cd9a71ed1f525cdd3d26dba62082bfaf 100644
--- a/lib/dom/templates/html/interface/interface_Element.darttemplate
+++ b/lib/dom/templates/html/interface/interface_Element.darttemplate
@@ -37,10 +37,13 @@ interface ElementRect {
List<ClientRect> get clientRects();
}
+interface NodeSelector {
+ Element query(String selectors);
+ NodeList queryAll(String selectors);
+}
+
$!COMMENT
interface Element extends Node, NodeSelector default _$(ID)FactoryProvider {
-// TODO(jacobr): switch back to:
-// interface $ID$EXTENDS default _ElementImpl {
Element.html(String html);
Element.tag(String tag);

Powered by Google App Engine
This is Rietveld 408576698