| 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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 | 193 |
| 194 void scrollIntoView(bool alignToTop = true); | 194 void scrollIntoView(bool alignToTop = true); |
| 195 void scrollIntoViewIfNeeded(bool centerIfNeeded = true); | 195 void scrollIntoViewIfNeeded(bool centerIfNeeded = true); |
| 196 | 196 |
| 197 int offsetLeft(); | 197 int offsetLeft(); |
| 198 int offsetTop(); | 198 int offsetTop(); |
| 199 int offsetWidth(); | 199 int offsetWidth(); |
| 200 int offsetHeight(); | 200 int offsetHeight(); |
| 201 | 201 |
| 202 Element* offsetParent(); | 202 Element* offsetParent(); |
| 203 |
| 203 int clientLeft(); | 204 int clientLeft(); |
| 204 int clientTop(); | 205 int clientTop(); |
| 205 int clientWidth(); | 206 int clientWidth(); |
| 206 int clientHeight(); | 207 int clientHeight(); |
| 207 double scrollLeft(); | 208 double scrollLeft(); |
| 208 double scrollTop(); | 209 double scrollTop(); |
| 209 void setScrollLeft(double); | 210 void setScrollLeft(double); |
| 210 void setScrollTop(double); | 211 void setScrollTop(double); |
| 211 int scrollWidth(); | 212 int scrollWidth(); |
| 212 int scrollHeight(); | 213 int scrollHeight(); |
| (...skipping 753 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 966 static T* create(const QualifiedName&, Document&) | 967 static T* create(const QualifiedName&, Document&) |
| 967 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 968 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
| 968 T* T::create(const QualifiedName& tagName, Document& document) \ | 969 T* T::create(const QualifiedName& tagName, Document& document) \ |
| 969 { \ | 970 { \ |
| 970 return new T(tagName, document); \ | 971 return new T(tagName, document); \ |
| 971 } | 972 } |
| 972 | 973 |
| 973 } // namespace blink | 974 } // namespace blink |
| 974 | 975 |
| 975 #endif // Element_h | 976 #endif // Element_h |
| OLD | NEW |