| 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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 AttributeCollection attributesWithoutUpdate() const; | 164 AttributeCollection attributesWithoutUpdate() const; |
| 165 | 165 |
| 166 void scrollIntoView(bool alignToTop = true); | 166 void scrollIntoView(bool alignToTop = true); |
| 167 void scrollIntoViewIfNeeded(bool centerIfNeeded = true); | 167 void scrollIntoViewIfNeeded(bool centerIfNeeded = true); |
| 168 | 168 |
| 169 int offsetLeft(); | 169 int offsetLeft(); |
| 170 int offsetTop(); | 170 int offsetTop(); |
| 171 int offsetWidth(); | 171 int offsetWidth(); |
| 172 int offsetHeight(); | 172 int offsetHeight(); |
| 173 | 173 |
| 174 // FIXME: Replace uses of offsetParent in the platform with calls | |
| 175 // to the render layer and merge offsetParentForBindings and offsetParent. | |
| 176 Element* offsetParentForBindings(); | |
| 177 | |
| 178 Element* offsetParent(); | 174 Element* offsetParent(); |
| 179 int clientLeft(); | 175 int clientLeft(); |
| 180 int clientTop(); | 176 int clientTop(); |
| 181 int clientWidth(); | 177 int clientWidth(); |
| 182 int clientHeight(); | 178 int clientHeight(); |
| 183 virtual double scrollLeft(); | 179 virtual double scrollLeft(); |
| 184 virtual double scrollTop(); | 180 virtual double scrollTop(); |
| 185 virtual void setScrollLeft(double); | 181 virtual void setScrollLeft(double); |
| 186 virtual void setScrollTop(double); | 182 virtual void setScrollTop(double); |
| 187 virtual int scrollWidth(); | 183 virtual int scrollWidth(); |
| (...skipping 691 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 879 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) | 875 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) |
| 880 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 876 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
| 881 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ | 877 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ |
| 882 { \ | 878 { \ |
| 883 return adoptRefWillBeNoop(new T(tagName, document)); \ | 879 return adoptRefWillBeNoop(new T(tagName, document)); \ |
| 884 } | 880 } |
| 885 | 881 |
| 886 } // namespace | 882 } // namespace |
| 887 | 883 |
| 888 #endif // Element_h | 884 #endif // Element_h |
| OLD | NEW |