| 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 543 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 554 PassRefPtr<RenderStyle> originalStyleForRenderer(); | 554 PassRefPtr<RenderStyle> originalStyleForRenderer(); |
| 555 | 555 |
| 556 Node* insertAdjacent(const String& where, Node* newChild, ExceptionState&); | 556 Node* insertAdjacent(const String& where, Node* newChild, ExceptionState&); |
| 557 | 557 |
| 558 private: | 558 private: |
| 559 bool hasElementFlag(ElementFlags mask) const { return hasRareData() && hasEl
ementFlagInternal(mask); } | 559 bool hasElementFlag(ElementFlags mask) const { return hasRareData() && hasEl
ementFlagInternal(mask); } |
| 560 void setElementFlag(ElementFlags, bool value = true); | 560 void setElementFlag(ElementFlags, bool value = true); |
| 561 void clearElementFlag(ElementFlags); | 561 void clearElementFlag(ElementFlags); |
| 562 bool hasElementFlagInternal(ElementFlags) const; | 562 bool hasElementFlagInternal(ElementFlags) const; |
| 563 | 563 |
| 564 bool isElementNode() const WTF_DELETED_FUNCTION; // Hide to catch useless ca
lls. | 564 bool isElementNode() const WTF_DELETED_FUNCTION; // This will catch anyone d
oing an unnecessary check. |
| 565 bool isDocumentFragment() const WTF_DELETED_FUNCTION; // Hide to catch usele
ss calls. | 565 bool isDocumentFragment() const WTF_DELETED_FUNCTION; // This will catch any
one doing an unnecessary check. |
| 566 bool isDocumentNode() const WTF_DELETED_FUNCTION; // Hide to catch useless c
alls. | 566 bool isDocumentNode() const WTF_DELETED_FUNCTION; // This will catch anyone
doing an unnecessary check. |
| 567 | 567 |
| 568 void styleAttributeChanged(const AtomicString& newStyleString, AttributeModi
ficationReason); | 568 void styleAttributeChanged(const AtomicString& newStyleString, AttributeModi
ficationReason); |
| 569 | 569 |
| 570 void updatePresentationAttributeStyle(); | 570 void updatePresentationAttributeStyle(); |
| 571 | 571 |
| 572 void inlineStyleChanged(); | 572 void inlineStyleChanged(); |
| 573 PropertySetCSSStyleDeclaration* inlineStyleCSSOMWrapper(); | 573 PropertySetCSSStyleDeclaration* inlineStyleCSSOMWrapper(); |
| 574 void setInlineStyleFromString(const AtomicString&); | 574 void setInlineStyleFromString(const AtomicString&); |
| 575 | 575 |
| 576 StyleRecalcChange recalcOwnStyle(StyleRecalcChange); | 576 StyleRecalcChange recalcOwnStyle(StyleRecalcChange); |
| (...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 864 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) | 864 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) |
| 865 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 865 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
| 866 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ | 866 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ |
| 867 { \ | 867 { \ |
| 868 return adoptRefWillBeNoop(new T(tagName, document)); \ | 868 return adoptRefWillBeNoop(new T(tagName, document)); \ |
| 869 } | 869 } |
| 870 | 870 |
| 871 } // namespace | 871 } // namespace |
| 872 | 872 |
| 873 #endif | 873 #endif |
| OLD | NEW |