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

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

Issue 9127005: Properly type the clone method for Element and a few of its subclasses. (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
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 Element get first(); 7 Element get first();
8 // TODO(jacobr): add insertAt 8 // TODO(jacobr): add insertAt
9 } 9 }
10 10
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 185
186 bool matchesSelector([String selectors]); 186 bool matchesSelector([String selectors]);
187 187
188 Future<ElementRect> get rect(); 188 Future<ElementRect> get rect();
189 189
190 Future<CSSStyleDeclaration> get computedStyle(); 190 Future<CSSStyleDeclaration> get computedStyle();
191 191
192 Future<CSSStyleDeclaration> getComputedStyle(String pseudoElement); 192 Future<CSSStyleDeclaration> getComputedStyle(String pseudoElement);
193 193
194 ElementEvents get on(); 194 ElementEvents get on();
195
196 Element clone(bool deep);
195 } 197 }
OLDNEW
« no previous file with comments | « client/html/src/DocumentFragmentWrappingImplementation.dart ('k') | client/html/src/ElementWrappingImplementation.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698