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

Side by Side Diff: client/html/src/Element.dart

Issue 9270054: Make ElementList return ElementLists. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 11 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 | « client/html/release/htmlimpl.dart ('k') | client/html/src/ElementWrappingImplementation.dart » ('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 interface ElementList extends List<Element> { 5 interface ElementList extends List<Element> {
6 // TODO(jacobr): add element batch manipulation methods. 6 // TODO(jacobr): add element batch manipulation methods.
7 ElementList filter(bool f(Element element));
8
9 ElementList getRange(int start, int length);
10
7 Element get first(); 11 Element get first();
8 // TODO(jacobr): add insertAt 12 // TODO(jacobr): add insertAt
9 } 13 }
10 14
11 class DeferredElementRect { 15 class DeferredElementRect {
12 // TODO(jacobr) 16 // TODO(jacobr)
13 } 17 }
14 18
15 interface ElementEvents extends Events { 19 interface ElementEvents extends Events {
16 EventListenerList get abort(); 20 EventListenerList get abort();
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 Future<ElementRect> get rect(); 192 Future<ElementRect> get rect();
189 193
190 Future<CSSStyleDeclaration> get computedStyle(); 194 Future<CSSStyleDeclaration> get computedStyle();
191 195
192 Future<CSSStyleDeclaration> getComputedStyle(String pseudoElement); 196 Future<CSSStyleDeclaration> getComputedStyle(String pseudoElement);
193 197
194 ElementEvents get on(); 198 ElementEvents get on();
195 199
196 Element clone(bool deep); 200 Element clone(bool deep);
197 } 201 }
OLDNEW
« no previous file with comments | « client/html/release/htmlimpl.dart ('k') | client/html/src/ElementWrappingImplementation.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698