| 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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 virtual void scrollTo(double x, double y); | 192 virtual 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); } | 194 void scroll(double x, double y) { scrollTo(x, y); } |
| 195 void scroll(const ScrollToOptions& scrollToOptions) { scrollTo(scrollToOptio
ns); } | 195 void scroll(const ScrollToOptions& scrollToOptions) { scrollTo(scrollToOptio
ns); } |
| 196 | 196 |
| 197 IntRect boundsInRootViewSpace(); | 197 IntRect boundsInRootViewSpace(); |
| 198 | 198 |
| 199 PassRefPtrWillBeRawPtr<ClientRectList> getClientRects(); | 199 PassRefPtrWillBeRawPtr<ClientRectList> getClientRects(); |
| 200 PassRefPtrWillBeRawPtr<ClientRect> getBoundingClientRect(); | 200 PassRefPtrWillBeRawPtr<ClientRect> getBoundingClientRect(); |
| 201 | 201 |
| 202 const AtomicString& computedRole(); |
| 203 String computedName(); |
| 204 |
| 202 // Returns the absolute bounding box translated into screen coordinates: | 205 // Returns the absolute bounding box translated into screen coordinates: |
| 203 IntRect screenRect() const; | 206 IntRect screenRect() const; |
| 204 | 207 |
| 205 virtual void didMoveToNewDocument(Document&) override; | 208 virtual void didMoveToNewDocument(Document&) override; |
| 206 | 209 |
| 207 void removeAttribute(const AtomicString& name); | 210 void removeAttribute(const AtomicString& name); |
| 208 void removeAttributeNS(const AtomicString& namespaceURI, const AtomicString&
localName); | 211 void removeAttributeNS(const AtomicString& namespaceURI, const AtomicString&
localName); |
| 209 | 212 |
| 210 PassRefPtrWillBeRawPtr<Attr> detachAttribute(size_t index); | 213 PassRefPtrWillBeRawPtr<Attr> detachAttribute(size_t index); |
| 211 | 214 |
| (...skipping 665 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 877 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) | 880 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) |
| 878 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 881 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
| 879 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ | 882 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ |
| 880 { \ | 883 { \ |
| 881 return adoptRefWillBeNoop(new T(tagName, document)); \ | 884 return adoptRefWillBeNoop(new T(tagName, document)); \ |
| 882 } | 885 } |
| 883 | 886 |
| 884 } // namespace | 887 } // namespace |
| 885 | 888 |
| 886 #endif // Element_h | 889 #endif // Element_h |
| OLD | NEW |