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

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

Issue 9016026: Moves over remaining .dart code references to 'factory' in interface declartions to 'default' (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years 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/src/DocumentFragment.dart ('k') | client/html/src/ErrorEvent.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 Element get first(); 7 Element get first();
8 // TODO(jacobr): add insertAt 8 // TODO(jacobr): add insertAt
9 } 9 }
10 10
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 interface ElementRect { 67 interface ElementRect {
68 ClientRect get client(); 68 ClientRect get client();
69 ClientRect get offset(); 69 ClientRect get offset();
70 ClientRect get scroll(); 70 ClientRect get scroll();
71 ClientRect get bounding(); 71 ClientRect get bounding();
72 List<ClientRect> get clientRects(); 72 List<ClientRect> get clientRects();
73 } 73 }
74 74
75 75
76 interface Element extends Node /*, common.NodeSelector, common.ElementTraversal */ 76 interface Element extends Node /*, common.NodeSelector, common.ElementTraversal */
77 factory ElementWrappingImplementation { 77 default ElementWrappingImplementation {
78 78
79 Element.html(String html); 79 Element.html(String html);
80 Element.tag(String tag); 80 Element.tag(String tag);
81 81
82 Map<String, String> get attributes(); 82 Map<String, String> get attributes();
83 void set attributes(Map<String, String> value); 83 void set attributes(Map<String, String> value);
84 84
85 ElementList get elements(); 85 ElementList get elements();
86 86
87 // TODO: The type of value should be Collection<Element>. See http://b/5392897 87 // TODO: The type of value should be Collection<Element>. See http://b/5392897
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 } 195 }
OLDNEW
« no previous file with comments | « client/html/src/DocumentFragment.dart ('k') | client/html/src/ErrorEvent.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698