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. |
| 565 bool isDocumentFragment() const WTF_DELETED_FUNCTION; // Hide to catch usele
ss calls. |
| 566 bool isDocumentNode() const WTF_DELETED_FUNCTION; // Hide to catch useless c
alls. |
| 567 |
564 void styleAttributeChanged(const AtomicString& newStyleString, AttributeModi
ficationReason); | 568 void styleAttributeChanged(const AtomicString& newStyleString, AttributeModi
ficationReason); |
565 | 569 |
566 void updatePresentationAttributeStyle(); | 570 void updatePresentationAttributeStyle(); |
567 | 571 |
568 void inlineStyleChanged(); | 572 void inlineStyleChanged(); |
569 PropertySetCSSStyleDeclaration* inlineStyleCSSOMWrapper(); | 573 PropertySetCSSStyleDeclaration* inlineStyleCSSOMWrapper(); |
570 void setInlineStyleFromString(const AtomicString&); | 574 void setInlineStyleFromString(const AtomicString&); |
571 | 575 |
572 StyleRecalcChange recalcOwnStyle(StyleRecalcChange); | 576 StyleRecalcChange recalcOwnStyle(StyleRecalcChange); |
573 void recalcChildStyle(StyleRecalcChange); | 577 void recalcChildStyle(StyleRecalcChange); |
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
871 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) | 875 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) |
872 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 876 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
873 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ | 877 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ |
874 { \ | 878 { \ |
875 return adoptRefWillBeNoop(new T(tagName, document)); \ | 879 return adoptRefWillBeNoop(new T(tagName, document)); \ |
876 } | 880 } |
877 | 881 |
878 } // namespace | 882 } // namespace |
879 | 883 |
880 #endif | 884 #endif |
OLD | NEW |