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 529 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
540 | 540 |
541 protected: | 541 protected: |
542 Element(const QualifiedName& tagName, Document*, ConstructionType); | 542 Element(const QualifiedName& tagName, Document*, ConstructionType); |
543 | 543 |
544 const ElementData* elementData() const { return m_elementData.get(); } | 544 const ElementData* elementData() const { return m_elementData.get(); } |
545 UniqueElementData& ensureUniqueElementData(); | 545 UniqueElementData& ensureUniqueElementData(); |
546 | 546 |
547 void addPropertyToPresentationAttributeStyle(MutableStylePropertySet*, CSSPr
opertyID, CSSValueID identifier); | 547 void addPropertyToPresentationAttributeStyle(MutableStylePropertySet*, CSSPr
opertyID, CSSValueID identifier); |
548 void addPropertyToPresentationAttributeStyle(MutableStylePropertySet*, CSSPr
opertyID, double value, CSSPrimitiveValue::UnitType); | 548 void addPropertyToPresentationAttributeStyle(MutableStylePropertySet*, CSSPr
opertyID, double value, CSSPrimitiveValue::UnitType); |
549 void addPropertyToPresentationAttributeStyle(MutableStylePropertySet*, CSSPr
opertyID, const String& value); | 549 void addPropertyToPresentationAttributeStyle(MutableStylePropertySet*, CSSPr
opertyID, const String& value); |
| 550 void addPropertyToPresentationAttributeStyle(MutableStylePropertySet*, CSSPr
opertyID, PassRefPtrWillBeRawPtr<CSSValue>); |
550 | 551 |
551 InsertionNotificationRequest insertedInto(ContainerNode*) override; | 552 InsertionNotificationRequest insertedInto(ContainerNode*) override; |
552 void removedFrom(ContainerNode*) override; | 553 void removedFrom(ContainerNode*) override; |
553 void childrenChanged(const ChildrenChange&) override; | 554 void childrenChanged(const ChildrenChange&) override; |
554 | 555 |
555 virtual void willRecalcStyle(StyleRecalcChange); | 556 virtual void willRecalcStyle(StyleRecalcChange); |
556 virtual void didRecalcStyle(StyleRecalcChange); | 557 virtual void didRecalcStyle(StyleRecalcChange); |
557 virtual PassRefPtr<ComputedStyle> customStyleForLayoutObject(); | 558 virtual PassRefPtr<ComputedStyle> customStyleForLayoutObject(); |
558 | 559 |
559 virtual bool shouldRegisterAsNamedItem() const { return false; } | 560 virtual bool shouldRegisterAsNamedItem() const { return false; } |
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
919 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) | 920 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) |
920 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 921 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
921 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ | 922 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ |
922 { \ | 923 { \ |
923 return adoptRefWillBeNoop(new T(tagName, document)); \ | 924 return adoptRefWillBeNoop(new T(tagName, document)); \ |
924 } | 925 } |
925 | 926 |
926 } // namespace | 927 } // namespace |
927 | 928 |
928 #endif // Element_h | 929 #endif // Element_h |
OLD | NEW |