Chromium Code Reviews| 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 { | 15 class ScrollOptions { |
| 16 final int lines; | 16 final int lines; |
| 17 final int pages; | 17 final int pages; |
| 18 final bool center; | 18 final bool center; |
| 19 | 19 |
| 20 ScrollOptions([this.lines = 0, this.pages = 0, this.center = false]); | 20 ScrollOptions([lines = 0, pages = 0, center = false]) |
| 21 : this.lines = lines, this.pages = pages, this.center = center; | |
| 21 } | 22 } |
|
sra1
2011/11/23 01:16:45
Revert this - jacob fixed it.
| |
| 22 | 23 |
| 23 interface ElementEvents extends Events { | 24 interface ElementEvents extends Events { |
| 24 EventListenerList get abort(); | 25 EventListenerList get abort(); |
| 25 EventListenerList get beforeCopy(); | 26 EventListenerList get beforeCopy(); |
| 26 EventListenerList get beforeCut(); | 27 EventListenerList get beforeCut(); |
| 27 EventListenerList get beforePaste(); | 28 EventListenerList get beforePaste(); |
| 28 EventListenerList get blur(); | 29 EventListenerList get blur(); |
| 29 EventListenerList get change(); | 30 EventListenerList get change(); |
| 30 EventListenerList get click(); | 31 EventListenerList get click(); |
| 31 EventListenerList get contextMenu(); | 32 EventListenerList get contextMenu(); |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 194 bool matchesSelector([String selectors]); | 195 bool matchesSelector([String selectors]); |
| 195 | 196 |
| 196 Future<ElementRect> get rect(); | 197 Future<ElementRect> get rect(); |
| 197 | 198 |
| 198 Future<CSSStyleDeclaration> get computedStyle(); | 199 Future<CSSStyleDeclaration> get computedStyle(); |
| 199 | 200 |
| 200 Future<CSSStyleDeclaration> getComputedStyle(String pseudoElement); | 201 Future<CSSStyleDeclaration> getComputedStyle(String pseudoElement); |
| 201 | 202 |
| 202 ElementEvents get on(); | 203 ElementEvents get on(); |
| 203 } | 204 } |
| OLD | NEW |