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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 class ElementAnimations; | 45 class ElementAnimations; |
46 class Attr; | 46 class Attr; |
47 class Attribute; | 47 class Attribute; |
48 class CSSStyleDeclaration; | 48 class CSSStyleDeclaration; |
49 class ClientRect; | 49 class ClientRect; |
50 class ClientRectList; | 50 class ClientRectList; |
51 class CustomElementDefinition; | 51 class CustomElementDefinition; |
52 class DOMStringMap; | 52 class DOMStringMap; |
53 class DOMTokenList; | 53 class DOMTokenList; |
54 class Dictionary; | 54 class Dictionary; |
55 class ElementIntersectionObserverData; | |
56 class ElementRareData; | 55 class ElementRareData; |
57 class ElementShadow; | 56 class ElementShadow; |
58 class ExceptionState; | 57 class ExceptionState; |
59 class Image; | 58 class Image; |
60 class IntSize; | 59 class IntSize; |
61 class Locale; | 60 class Locale; |
62 class MutableStylePropertySet; | 61 class MutableStylePropertySet; |
| 62 class NodeIntersectionObserverData; |
63 class PropertySetCSSStyleDeclaration; | 63 class PropertySetCSSStyleDeclaration; |
64 class PseudoElement; | 64 class PseudoElement; |
65 class ScrollState; | 65 class ScrollState; |
66 class ScrollStateCallback; | 66 class ScrollStateCallback; |
67 class ScrollToOptions; | 67 class ScrollToOptions; |
68 class ShadowRoot; | 68 class ShadowRoot; |
69 class ShadowRootInit; | 69 class ShadowRootInit; |
70 class StylePropertySet; | 70 class StylePropertySet; |
71 | 71 |
72 enum SpellcheckAttributeState { | 72 enum SpellcheckAttributeState { |
(...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
547 // the element is inDocument() and the context is an isolated world. | 547 // the element is inDocument() and the context is an isolated world. |
548 void logAddElementIfIsolatedWorldAndInDocument(const char element[], const Q
ualifiedName& attr1); | 548 void logAddElementIfIsolatedWorldAndInDocument(const char element[], const Q
ualifiedName& attr1); |
549 void logAddElementIfIsolatedWorldAndInDocument(const char element[], const Q
ualifiedName& attr1, const QualifiedName& attr2); | 549 void logAddElementIfIsolatedWorldAndInDocument(const char element[], const Q
ualifiedName& attr1, const QualifiedName& attr2); |
550 void logAddElementIfIsolatedWorldAndInDocument(const char element[], const Q
ualifiedName& attr1, const QualifiedName& attr2, const QualifiedName& attr3); | 550 void logAddElementIfIsolatedWorldAndInDocument(const char element[], const Q
ualifiedName& attr1, const QualifiedName& attr2, const QualifiedName& attr3); |
551 void logUpdateAttributeIfIsolatedWorldAndInDocument(const char element[], co
nst QualifiedName& attributeName, const AtomicString& oldValue, const AtomicStri
ng& newValue); | 551 void logUpdateAttributeIfIsolatedWorldAndInDocument(const char element[], co
nst QualifiedName& attributeName, const AtomicString& oldValue, const AtomicStri
ng& newValue); |
552 | 552 |
553 DECLARE_VIRTUAL_TRACE(); | 553 DECLARE_VIRTUAL_TRACE(); |
554 | 554 |
555 SpellcheckAttributeState spellcheckAttributeState() const; | 555 SpellcheckAttributeState spellcheckAttributeState() const; |
556 | 556 |
557 ElementIntersectionObserverData* intersectionObserverData() const; | 557 NodeIntersectionObserverData* intersectionObserverData() const; |
558 ElementIntersectionObserverData& ensureIntersectionObserverData(); | 558 NodeIntersectionObserverData& ensureIntersectionObserverData(); |
559 | 559 |
560 protected: | 560 protected: |
561 Element(const QualifiedName& tagName, Document*, ConstructionType); | 561 Element(const QualifiedName& tagName, Document*, ConstructionType); |
562 | 562 |
563 const ElementData* elementData() const { return m_elementData.get(); } | 563 const ElementData* elementData() const { return m_elementData.get(); } |
564 UniqueElementData& ensureUniqueElementData(); | 564 UniqueElementData& ensureUniqueElementData(); |
565 | 565 |
566 void addPropertyToPresentationAttributeStyle(MutableStylePropertySet*, CSSPr
opertyID, CSSValueID identifier); | 566 void addPropertyToPresentationAttributeStyle(MutableStylePropertySet*, CSSPr
opertyID, CSSValueID identifier); |
567 void addPropertyToPresentationAttributeStyle(MutableStylePropertySet*, CSSPr
opertyID, double value, CSSPrimitiveValue::UnitType); | 567 void addPropertyToPresentationAttributeStyle(MutableStylePropertySet*, CSSPr
opertyID, double value, CSSPrimitiveValue::UnitType); |
568 void addPropertyToPresentationAttributeStyle(MutableStylePropertySet*, CSSPr
opertyID, const String& value); | 568 void addPropertyToPresentationAttributeStyle(MutableStylePropertySet*, CSSPr
opertyID, const String& value); |
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
939 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) | 939 static PassRefPtrWillBeRawPtr<T> create(const QualifiedName&, Document&) |
940 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 940 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
941 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ | 941 PassRefPtrWillBeRawPtr<T> T::create(const QualifiedName& tagName, Document&
document) \ |
942 { \ | 942 { \ |
943 return adoptRefWillBeNoop(new T(tagName, document)); \ | 943 return adoptRefWillBeNoop(new T(tagName, document)); \ |
944 } | 944 } |
945 | 945 |
946 } // namespace | 946 } // namespace |
947 | 947 |
948 #endif // Element_h | 948 #endif // Element_h |
OLD | NEW |