| OLD | NEW |
| 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 |
| 11 class DeferredElementRect { | 11 class DeferredElementRect { |
| 12 // TODO(jacobr) | 12 // TODO(jacobr) |
| 13 } | 13 } |
| 14 | 14 |
| 15 class ScrollOptions { | |
| 16 final int lines; | |
| 17 final int pages; | |
| 18 final bool center; | |
| 19 | |
| 20 ScrollOptions([this.lines = 0, this.pages = 0, this.center = false]); | |
| 21 } | |
| 22 | |
| 23 interface ElementEvents extends Events { | 15 interface ElementEvents extends Events { |
| 24 EventListenerList get abort(); | 16 EventListenerList get abort(); |
| 25 EventListenerList get beforeCopy(); | 17 EventListenerList get beforeCopy(); |
| 26 EventListenerList get beforeCut(); | 18 EventListenerList get beforeCut(); |
| 27 EventListenerList get beforePaste(); | 19 EventListenerList get beforePaste(); |
| 28 EventListenerList get blur(); | 20 EventListenerList get blur(); |
| 29 EventListenerList get change(); | 21 EventListenerList get change(); |
| 30 EventListenerList get click(); | 22 EventListenerList get click(); |
| 31 EventListenerList get contextMenu(); | 23 EventListenerList get contextMenu(); |
| 32 EventListenerList get copy(); | 24 EventListenerList get copy(); |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 bool matchesSelector([String selectors]); | 186 bool matchesSelector([String selectors]); |
| 195 | 187 |
| 196 Future<ElementRect> get rect(); | 188 Future<ElementRect> get rect(); |
| 197 | 189 |
| 198 Future<CSSStyleDeclaration> get computedStyle(); | 190 Future<CSSStyleDeclaration> get computedStyle(); |
| 199 | 191 |
| 200 Future<CSSStyleDeclaration> getComputedStyle(String pseudoElement); | 192 Future<CSSStyleDeclaration> getComputedStyle(String pseudoElement); |
| 201 | 193 |
| 202 ElementEvents get on(); | 194 ElementEvents get on(); |
| 203 } | 195 } |
| OLD | NEW |