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

Side by Side 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: 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 21 matching lines...) Expand all
32 ClientRect get offset(); 32 ClientRect get offset();
33 ClientRect get scroll(); 33 ClientRect get scroll();
34 // In global coords 34 // In global coords
35 ClientRect get bounding(); 35 ClientRect get bounding();
36 // In global coords 36 // In global coords
37 List<ClientRect> get clientRects(); 37 List<ClientRect> get clientRects();
38 } 38 }
39 39
40 $!COMMENT 40 $!COMMENT
41 interface Element extends Node, NodeSelector default _$(ID)FactoryProvider { 41 interface Element extends Node, NodeSelector default _$(ID)FactoryProvider {
42 // TODO(jacobr): switch back to:
43 // interface $ID$EXTENDS default _ElementImpl {
44 Element.html(String html); 42 Element.html(String html);
45 Element.tag(String tag); 43 Element.tag(String tag);
46 44
47 AttributeMap get attributes(); 45 AttributeMap get attributes();
48 void set attributes(Map<String, String> value); 46 void set attributes(Map<String, String> value);
49 47
50 /** 48 /**
51 * @domName childElementCount, firstElementChild, lastElementChild, 49 * @domName childElementCount, firstElementChild, lastElementChild,
52 * children, Node.nodes.add 50 * children, Node.nodes.add
53 */ 51 */
(...skipping 21 matching lines...) Expand all
75 73
76 /** @domName Window.getComputedStyle */ 74 /** @domName Window.getComputedStyle */
77 Future<CSSStyleDeclaration> getComputedStyle(String pseudoElement); 75 Future<CSSStyleDeclaration> getComputedStyle(String pseudoElement);
78 76
79 Element clone(bool deep); 77 Element clone(bool deep);
80 78
81 Element get parent(); 79 Element get parent();
82 80
83 $!MEMBERS 81 $!MEMBERS
84 } 82 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698