| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2001 Peter Kelly (pmk@post.com) | 4 * (C) 2001 Peter Kelly (pmk@post.com) |
| 5 * (C) 2001 Dirk Mueller (mueller@kde.org) | 5 * (C) 2001 Dirk Mueller (mueller@kde.org) |
| 6 * Copyright (C) 2003-2011, 2013, 2014 Apple Inc. All rights reserved. | 6 * Copyright (C) 2003-2011, 2013, 2014 Apple Inc. All rights reserved. |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 int clientTop(); | 180 int clientTop(); |
| 181 int clientWidth(); | 181 int clientWidth(); |
| 182 int clientHeight(); | 182 int clientHeight(); |
| 183 virtual double scrollLeft(); | 183 virtual double scrollLeft(); |
| 184 virtual double scrollTop(); | 184 virtual double scrollTop(); |
| 185 virtual void setScrollLeft(double); | 185 virtual void setScrollLeft(double); |
| 186 virtual void setScrollTop(double); | 186 virtual void setScrollTop(double); |
| 187 virtual int scrollWidth(); | 187 virtual int scrollWidth(); |
| 188 virtual int scrollHeight(); | 188 virtual int scrollHeight(); |
| 189 | 189 |
| 190 virtual void scrollBy(double x, double y); | 190 void scrollBy(double x, double y); |
| 191 virtual void scrollBy(const ScrollToOptions&); | 191 virtual void scrollBy(const ScrollToOptions&); |
| 192 virtual void scrollTo(double x, double y); | 192 void scrollTo(double x, double y); |
| 193 virtual void scrollTo(const ScrollToOptions&); | 193 virtual void scrollTo(const ScrollToOptions&); |
| 194 void scroll(double x, double y) { scrollTo(x, y); } | |
| 195 void scroll(const ScrollToOptions& scrollToOptions) { scrollTo(scrollToOptio
ns); } | |
| 196 | 194 |
| 197 IntRect boundsInRootViewSpace(); | 195 IntRect boundsInRootViewSpace(); |
| 198 | 196 |
| 199 PassRefPtrWillBeRawPtr<ClientRectList> getClientRects(); | 197 PassRefPtrWillBeRawPtr<ClientRectList> getClientRects(); |
| 200 PassRefPtrWillBeRawPtr<ClientRect> getBoundingClientRect(); | 198 PassRefPtrWillBeRawPtr<ClientRect> getBoundingClientRect(); |
| 201 | 199 |
| 202 const AtomicString& computedRole(); | 200 const AtomicString& computedRole(); |
| 203 String computedName(); | 201 String computedName(); |
| 204 | 202 |
| 205 // Returns the absolute bounding box translated into screen coordinates: | 203 // Returns the absolute bounding box translated into screen coordinates: |
| (...skipping 675 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 881 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) | 879 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) |
| 882 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 880 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
| 883 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ | 881 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ |
| 884 { \ | 882 { \ |
| 885 return adoptRefWillBeNoop(new T(tagName, document)); \ | 883 return adoptRefWillBeNoop(new T(tagName, document)); \ |
| 886 } | 884 } |
| 887 | 885 |
| 888 } // namespace | 886 } // namespace |
| 889 | 887 |
| 890 #endif // Element_h | 888 #endif // Element_h |
| OLD | NEW |