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

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

Issue 10854208: Adding Element.AddHTML and Element.addText methods. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updating CL to the latest committed version. Created 8 years, 4 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 // TODO(vsm): Eliminate this type. 7 // TODO(vsm): Eliminate this type.
8 8
9 // Note, ElementList implements List (instead of List<Element>) so 9 // Note, ElementList implements List (instead of List<Element>) so
10 // that its implementing classes may be cast to Lists of more specific 10 // that its implementing classes may be cast to Lists of more specific
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 void set elements(Collection<Element> value); 64 void set elements(Collection<Element> value);
65 65
66 /** @domName className, classList */ 66 /** @domName className, classList */
67 Set<String> get classes(); 67 Set<String> get classes();
68 68
69 void set classes(Collection<String> value); 69 void set classes(Collection<String> value);
70 70
71 AttributeMap get dataAttributes(); 71 AttributeMap get dataAttributes();
72 void set dataAttributes(Map<String, String> value); 72 void set dataAttributes(Map<String, String> value);
73 73
74 void addText(String text);
75 void addHTML(String html);
76
74 /** 77 /**
75 * @domName getClientRects, getBoundingClientRect, clientHeight, clientWidth, 78 * @domName getClientRects, getBoundingClientRect, clientHeight, clientWidth,
76 * clientTop, clientLeft, offsetHeight, offsetWidth, offsetTop, offsetLeft, 79 * clientTop, clientLeft, offsetHeight, offsetWidth, offsetTop, offsetLeft,
77 * scrollHeight, scrollWidth, scrollTop, scrollLeft 80 * scrollHeight, scrollWidth, scrollTop, scrollLeft
78 */ 81 */
79 Future<ElementRect> get rect(); 82 Future<ElementRect> get rect();
80 83
81 /** @domName Window.getComputedStyle */ 84 /** @domName Window.getComputedStyle */
82 Future<CSSStyleDeclaration> get computedStyle(); 85 Future<CSSStyleDeclaration> get computedStyle();
83 86
84 /** @domName Window.getComputedStyle */ 87 /** @domName Window.getComputedStyle */
85 Future<CSSStyleDeclaration> getComputedStyle(String pseudoElement); 88 Future<CSSStyleDeclaration> getComputedStyle(String pseudoElement);
86 89
87 Element clone(bool deep); 90 Element clone(bool deep);
88 91
89 Element get parent(); 92 Element get parent();
90 93
91 $!MEMBERS 94 $!MEMBERS
92 } 95 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698