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