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

Unified Diff: lib/html/dartium/html_dartium.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
Index: lib/html/dartium/html_dartium.dart
diff --git a/lib/html/dartium/html_dartium.dart b/lib/html/dartium/html_dartium.dart
index a7ff559e6c3dbff947cc36c7fb4f79a835d68dfe..5307c0e114a9d62b9420ff19f12b0c8156caff25 100644
--- a/lib/html/dartium/html_dartium.dart
+++ b/lib/html/dartium/html_dartium.dart
@@ -31397,10 +31397,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);
@@ -35513,26 +35516,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.

Powered by Google App Engine
This is Rietveld 408576698