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

Side by Side Diff: lib/dom/templates/html/interface/interface_Element.darttemplate

Issue 10447091: Cleanup NodeSelectors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 // WARNING: Do not edit - generated code. 5 // WARNING: Do not edit - generated code.
6 6
7 interface ElementList extends List<Element> { 7 interface ElementList extends List<Element> {
8 // TODO(jacobr): add element batch manipulation methods. 8 // TODO(jacobr): add element batch manipulation methods.
9 ElementList filter(bool f(Element element)); 9 ElementList filter(bool f(Element element));
10 10
(...skipping 30 matching lines...) Expand all
41 interface Element extends Node, NodeSelector default _$(ID)FactoryProvider { 41 interface Element extends Node, NodeSelector default _$(ID)FactoryProvider {
42 // TODO(jacobr): switch back to: 42 // TODO(jacobr): switch back to:
43 // interface $ID$EXTENDS default _ElementImpl { 43 // interface $ID$EXTENDS default _ElementImpl {
44 Element.html(String html); 44 Element.html(String html);
45 Element.tag(String tag); 45 Element.tag(String tag);
46 46
47 AttributeMap get attributes(); 47 AttributeMap get attributes();
48 void set attributes(Map<String, String> value); 48 void set attributes(Map<String, String> value);
49 49
50 /** 50 /**
51 * @domName querySelectorAll, getElementsByClassName, getElementsByTagName,
52 * getElementsByTagNameNS
53 */
54 ElementList queryAll(String selectors);
55
56 /**
57 * @domName childElementCount, firstElementChild, lastElementChild, 51 * @domName childElementCount, firstElementChild, lastElementChild,
58 * children, Node.nodes.add 52 * children, Node.nodes.add
59 */ 53 */
60 ElementList get elements(); 54 ElementList get elements();
61 55
62 void set elements(Collection<Element> value); 56 void set elements(Collection<Element> value);
63 57
64 /** @domName className, classList */ 58 /** @domName className, classList */
65 Set<String> get classes(); 59 Set<String> get classes();
66 60
(...skipping 14 matching lines...) Expand all
81 75
82 /** @domName Window.getComputedStyle */ 76 /** @domName Window.getComputedStyle */
83 Future<CSSStyleDeclaration> getComputedStyle(String pseudoElement); 77 Future<CSSStyleDeclaration> getComputedStyle(String pseudoElement);
84 78
85 Element clone(bool deep); 79 Element clone(bool deep);
86 80
87 Element get parent(); 81 Element get parent();
88 82
89 $!MEMBERS 83 $!MEMBERS
90 } 84 }
OLDNEW
« no previous file with comments | « lib/dom/templates/html/impl/impl_Element.darttemplate ('k') | lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698