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

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

Issue 9315061: Specify the types for Element.classes, Element.elements and Node.nodes (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixed dynamic type error issue with VM. Created 8 years, 9 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
« no previous file with comments | « no previous file | client/dom/templates/html/interface/interface_Node.darttemplate » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 /** 7 /**
8 * Provides a Map abstraction on top of data-* attributes, similar to the 8 * Provides a Map abstraction on top of data-* attributes, similar to the
9 * dataSet in the old DOM. 9 * dataSet in the old DOM.
10 */ 10 */
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 // its parent interface. 268 // its parent interface.
269 String get title(); 269 String get title();
270 void set title(String value); 270 void set title(String value);
271 271
272 /** 272 /**
273 * @domName childElementCount, firstElementChild, lastElementChild, 273 * @domName childElementCount, firstElementChild, lastElementChild,
274 * children, Node.nodes.add 274 * children, Node.nodes.add
275 */ 275 */
276 ElementList get elements(); 276 ElementList get elements();
277 277
278 // TODO: The type of value should be Collection<Element>. See http://b/5392897 278 void set elements(Collection<Element> value);
279 void set elements(value);
280 279
281 /** @domName className, classList */ 280 /** @domName className, classList */
282 Set<String> get classes(); 281 Set<String> get classes();
283 282
284 // TODO: The type of value should be Collection<String>. See http://b/5392897 283 void set classes(Collection<String> value);
285 void set classes(value);
286 284
287 Map<String, String> get dataAttributes(); 285 Map<String, String> get dataAttributes();
288 void set dataAttributes(Map<String, String> value); 286 void set dataAttributes(Map<String, String> value);
289 287
290 /** 288 /**
291 * @domName getClientRects, getBoundingClientRect, clientHeight, clientWidth, 289 * @domName getClientRects, getBoundingClientRect, clientHeight, clientWidth,
292 * clientTop, clientLeft, offsetHeight, offsetWidth, offsetTop, offsetLeft, 290 * clientTop, clientLeft, offsetHeight, offsetWidth, offsetTop, offsetLeft,
293 * scrollHeight, scrollWidth, scrollTop, scrollLeft 291 * scrollHeight, scrollWidth, scrollTop, scrollLeft
294 */ 292 */
295 Future<ElementRect> get rect(); 293 Future<ElementRect> get rect();
296 294
297 /** @domName Window.getComputedStyle */ 295 /** @domName Window.getComputedStyle */
298 Future<CSSStyleDeclaration> get computedStyle(); 296 Future<CSSStyleDeclaration> get computedStyle();
299 297
300 /** @domName Window.getComputedStyle */ 298 /** @domName Window.getComputedStyle */
301 Future<CSSStyleDeclaration> getComputedStyle(String pseudoElement); 299 Future<CSSStyleDeclaration> getComputedStyle(String pseudoElement);
302 300
303 Element clone(bool deep); 301 Element clone(bool deep);
304 302
305 Element get parent(); 303 Element get parent();
306 304
307 $!MEMBERS 305 $!MEMBERS
308 } 306 }
OLDNEW
« no previous file with comments | « no previous file | client/dom/templates/html/interface/interface_Node.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698