| 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 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 321 // Clones attributes only. | 321 // Clones attributes only. |
| 322 void cloneAttributesFromElement(const Element&); | 322 void cloneAttributesFromElement(const Element&); |
| 323 | 323 |
| 324 // Clones all attribute-derived data, including subclass specifics (through
copyNonAttributeProperties.) | 324 // Clones all attribute-derived data, including subclass specifics (through
copyNonAttributeProperties.) |
| 325 void cloneDataFromElement(const Element&); | 325 void cloneDataFromElement(const Element&); |
| 326 | 326 |
| 327 bool hasEquivalentAttributes(const Element* other) const; | 327 bool hasEquivalentAttributes(const Element* other) const; |
| 328 | 328 |
| 329 virtual void copyNonAttributePropertiesFromElement(const Element&) { } | 329 virtual void copyNonAttributePropertiesFromElement(const Element&) { } |
| 330 | 330 |
| 331 void attach(const AttachContext& = AttachContext()) override; | 331 void attachLayoutTree(const AttachContext& = AttachContext()) override; |
| 332 void detach(const AttachContext& = AttachContext()) override; | 332 void detach(const AttachContext& = AttachContext()) override; |
| 333 | 333 |
| 334 virtual LayoutObject* createLayoutObject(const ComputedStyle&); | 334 virtual LayoutObject* createLayoutObject(const ComputedStyle&); |
| 335 virtual bool layoutObjectIsNeeded(const ComputedStyle&); | 335 virtual bool layoutObjectIsNeeded(const ComputedStyle&); |
| 336 void recalcStyle(StyleRecalcChange, Text* nextTextSibling = nullptr); | 336 void recalcStyle(StyleRecalcChange, Text* nextTextSibling = nullptr); |
| 337 void pseudoStateChanged(CSSSelector::PseudoType); | 337 void pseudoStateChanged(CSSSelector::PseudoType); |
| 338 void setAnimationStyleChange(bool); | 338 void setAnimationStyleChange(bool); |
| 339 void clearAnimationStyleChange(); | 339 void clearAnimationStyleChange(); |
| 340 void setNeedsAnimationStyleRecalc(); | 340 void setNeedsAnimationStyleRecalc(); |
| 341 | 341 |
| (...skipping 626 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 968 static T* create(const QualifiedName&, Document&) | 968 static T* create(const QualifiedName&, Document&) |
| 969 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 969 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
| 970 T* T::create(const QualifiedName& tagName, Document& document) \ | 970 T* T::create(const QualifiedName& tagName, Document& document) \ |
| 971 { \ | 971 { \ |
| 972 return new T(tagName, document); \ | 972 return new T(tagName, document); \ |
| 973 } | 973 } |
| 974 | 974 |
| 975 } // namespace blink | 975 } // namespace blink |
| 976 | 976 |
| 977 #endif // Element_h | 977 #endif // Element_h |
| OLD | NEW |