| 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 630 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 641 | 641 |
| 642 void setAttributeInternal(size_t index, const QualifiedName&, const AtomicSt
ring& value, SynchronizationOfLazyAttribute); | 642 void setAttributeInternal(size_t index, const QualifiedName&, const AtomicSt
ring& value, SynchronizationOfLazyAttribute); |
| 643 void appendAttributeInternal(const QualifiedName&, const AtomicString& value
, SynchronizationOfLazyAttribute); | 643 void appendAttributeInternal(const QualifiedName&, const AtomicString& value
, SynchronizationOfLazyAttribute); |
| 644 void removeAttributeInternal(size_t index, SynchronizationOfLazyAttribute); | 644 void removeAttributeInternal(size_t index, SynchronizationOfLazyAttribute); |
| 645 void attributeChangedFromParserOrByCloning(const QualifiedName&, const Atomi
cString&, AttributeModificationReason); | 645 void attributeChangedFromParserOrByCloning(const QualifiedName&, const Atomi
cString&, AttributeModificationReason); |
| 646 | 646 |
| 647 #ifndef NDEBUG | 647 #ifndef NDEBUG |
| 648 void formatForDebugger(char* buffer, unsigned length) const override; | 648 void formatForDebugger(char* buffer, unsigned length) const override; |
| 649 #endif | 649 #endif |
| 650 | 650 |
| 651 bool pseudoStyleCacheIsInvalid(const ComputedStyle* currentStyle, ComputedSt
yle* newStyle); | 651 bool updatePseudoStyleCache(const ComputedStyle* currentStyle, ComputedStyle
* newStyle); |
| 652 | 652 |
| 653 void cancelFocusAppearanceUpdate(); | 653 void cancelFocusAppearanceUpdate(); |
| 654 | 654 |
| 655 const ComputedStyle* virtualEnsureComputedStyle(PseudoId pseudoElementSpecif
ier = NOPSEUDO) override { return ensureComputedStyle(pseudoElementSpecifier); } | 655 const ComputedStyle* virtualEnsureComputedStyle(PseudoId pseudoElementSpecif
ier = NOPSEUDO) override { return ensureComputedStyle(pseudoElementSpecifier); } |
| 656 | 656 |
| 657 inline void updateCallbackSelectors(const ComputedStyle* oldStyle, const Com
putedStyle* newStyle); | 657 inline void updateCallbackSelectors(const ComputedStyle* oldStyle, const Com
putedStyle* newStyle); |
| 658 inline void removeCallbackSelectors(); | 658 inline void removeCallbackSelectors(); |
| 659 inline void addCallbackSelectors(); | 659 inline void addCallbackSelectors(); |
| 660 | 660 |
| 661 // cloneNode is private so that non-virtual cloneElementWithChildren and clo
neElementWithoutChildren | 661 // cloneNode is private so that non-virtual cloneElementWithChildren and clo
neElementWithoutChildren |
| (...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 919 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) | 919 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) |
| 920 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 920 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
| 921 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ | 921 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ |
| 922 { \ | 922 { \ |
| 923 return adoptRefWillBeNoop(new T(tagName, document)); \ | 923 return adoptRefWillBeNoop(new T(tagName, document)); \ |
| 924 } | 924 } |
| 925 | 925 |
| 926 } // namespace | 926 } // namespace |
| 927 | 927 |
| 928 #endif // Element_h | 928 #endif // Element_h |
| OLD | NEW |