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

Unified Diff: lib/html/frog/html_frog.dart

Side-by-side diff isn't available for this file because of its large size.
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:
Download patch
« lib/dom/idl/dart/dart.idl ('K') | « lib/html/dartium/html_dartium.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html/frog/html_frog.dart
diff --git a/lib/html/frog/html_frog.dart b/lib/html/frog/html_frog.dart
index 795c619bcf34a0528c95680f7811c5f9b9cb899d..9af8edf4f18fb43f00e6334e6e9640d628d295ac 100644
--- a/lib/html/frog/html_frog.dart
+++ b/lib/html/frog/html_frog.dart
@@ -22857,10 +22857,13 @@ interface ElementRect {
List<ClientRect> get clientRects();
}
+interface NodeSelector {
+ Element query(String selectors);
+ NodeList queryAll(String selectors);
+}
+
/// @domName Element
interface Element extends Node, NodeSelector default _ElementFactoryProvider {
-// TODO(jacobr): switch back to:
-// interface Element extends Node, NodeSelector, ElementTraversal default _ElementImpl {
Element.html(String html);
Element.tag(String tag);
@@ -26973,26 +26976,6 @@ interface NodeList extends List<Node> {
final int length;
}
-// Copyright (c) 2011, 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.
-
-// WARNING: Do not edit - generated code.
-
-/// @domName NodeSelector
-interface NodeSelector {
-
- // TODO(nweiz): add this back once DocumentFragment is ported.
- // ElementList queryAll(String selectors);
-
-
- /** @domName NodeSelector.querySelector */
- Element querySelector(String selectors);
-
- /** @domName NodeSelector.querySelectorAll */
- NodeList querySelectorAll(String selectors);
-
-}
// 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.
« lib/dom/idl/dart/dart.idl ('K') | « lib/html/dartium/html_dartium.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698