| 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 void cloneAttributesFromElement(const Element&); | 193 void cloneAttributesFromElement(const Element&); |
| 194 | 194 |
| 195 // Clones all attribute-derived data, including subclass specifics (through
copyNonAttributeProperties.) | 195 // Clones all attribute-derived data, including subclass specifics (through
copyNonAttributeProperties.) |
| 196 void cloneDataFromElement(const Element&); | 196 void cloneDataFromElement(const Element&); |
| 197 | 197 |
| 198 bool hasEquivalentAttributes(const Element* other) const; | 198 bool hasEquivalentAttributes(const Element* other) const; |
| 199 | 199 |
| 200 virtual void attach(const AttachContext& = AttachContext()) override; | 200 virtual void attach(const AttachContext& = AttachContext()) override; |
| 201 virtual void detach(const AttachContext& = AttachContext()) override; | 201 virtual void detach(const AttachContext& = AttachContext()) override; |
| 202 virtual RenderObject* createRenderer(RenderStyle*); | 202 virtual RenderObject* createRenderer(RenderStyle*); |
| 203 virtual bool rendererIsNeeded(const RenderStyle&); | |
| 204 void recalcStyle(StyleRecalcChange, Text* nextTextSibling = 0); | 203 void recalcStyle(StyleRecalcChange, Text* nextTextSibling = 0); |
| 205 void setAnimationStyleChange(bool); | 204 void setAnimationStyleChange(bool); |
| 206 void setNeedsAnimationStyleRecalc(); | 205 void setNeedsAnimationStyleRecalc(); |
| 207 | 206 |
| 208 void setNeedsCompositingUpdate(); | 207 void setNeedsCompositingUpdate(); |
| 209 | 208 |
| 210 bool supportsStyleSharing() const; | 209 bool supportsStyleSharing() const; |
| 211 | 210 |
| 212 ElementShadow* shadow() const; | 211 ElementShadow* shadow() const; |
| 213 ElementShadow& ensureShadow(); | 212 ElementShadow& ensureShadow(); |
| (...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 595 static PassRefPtr<T> create(const QualifiedName&, Document&) | 594 static PassRefPtr<T> create(const QualifiedName&, Document&) |
| 596 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 595 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
| 597 PassRefPtr<T> T::create(const QualifiedName& tagName, Document& document) \ | 596 PassRefPtr<T> T::create(const QualifiedName& tagName, Document& document) \ |
| 598 { \ | 597 { \ |
| 599 return adoptRef(new T(tagName, document)); \ | 598 return adoptRef(new T(tagName, document)); \ |
| 600 } | 599 } |
| 601 | 600 |
| 602 } // namespace | 601 } // namespace |
| 603 | 602 |
| 604 #endif // Element_h | 603 #endif // Element_h |
| OLD | NEW |