| 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 600 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 611 #ifndef NDEBUG | 611 #ifndef NDEBUG |
| 612 virtual void formatForDebugger(char* buffer, unsigned length) const override
; | 612 virtual void formatForDebugger(char* buffer, unsigned length) const override
; |
| 613 #endif | 613 #endif |
| 614 | 614 |
| 615 bool pseudoStyleCacheIsInvalid(const LayoutStyle* currentStyle, LayoutStyle*
newStyle); | 615 bool pseudoStyleCacheIsInvalid(const LayoutStyle* currentStyle, LayoutStyle*
newStyle); |
| 616 | 616 |
| 617 void cancelFocusAppearanceUpdate(); | 617 void cancelFocusAppearanceUpdate(); |
| 618 | 618 |
| 619 virtual LayoutStyle* virtualComputedStyle(PseudoId pseudoElementSpecifier =
NOPSEUDO) override { return computedStyle(pseudoElementSpecifier); } | 619 virtual LayoutStyle* virtualComputedStyle(PseudoId pseudoElementSpecifier =
NOPSEUDO) override { return computedStyle(pseudoElementSpecifier); } |
| 620 | 620 |
| 621 inline void updateCallbackSelectors(const LayoutStyle* oldStyle, const Layou
tStyle* newStyle); | 621 inline void updateCallbackSelectors(LayoutStyle* oldStyle, LayoutStyle* newS
tyle); |
| 622 inline void removeCallbackSelectors(); | 622 inline void removeCallbackSelectors(); |
| 623 inline void addCallbackSelectors(); | 623 inline void addCallbackSelectors(); |
| 624 | 624 |
| 625 // cloneNode is private so that non-virtual cloneElementWithChildren and clo
neElementWithoutChildren | 625 // cloneNode is private so that non-virtual cloneElementWithChildren and clo
neElementWithoutChildren |
| 626 // are used instead. | 626 // are used instead. |
| 627 virtual PassRefPtrWillBeRawPtr<Node> cloneNode(bool deep) override; | 627 virtual PassRefPtrWillBeRawPtr<Node> cloneNode(bool deep) override; |
| 628 virtual PassRefPtrWillBeRawPtr<Element> cloneElementWithoutAttributesAndChil
dren(); | 628 virtual PassRefPtrWillBeRawPtr<Element> cloneElementWithoutAttributesAndChil
dren(); |
| 629 | 629 |
| 630 QualifiedName m_tagName; | 630 QualifiedName m_tagName; |
| 631 | 631 |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 881 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) | 881 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) |
| 882 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 882 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
| 883 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ | 883 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ |
| 884 { \ | 884 { \ |
| 885 return adoptRefWillBeNoop(new T(tagName, document)); \ | 885 return adoptRefWillBeNoop(new T(tagName, document)); \ |
| 886 } | 886 } |
| 887 | 887 |
| 888 } // namespace | 888 } // namespace |
| 889 | 889 |
| 890 #endif // Element_h | 890 #endif // Element_h |
| OLD | NEW |