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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 class ElementRareData; | 56 class ElementRareData; |
57 class ElementShadow; | 57 class ElementShadow; |
58 class ExceptionState; | 58 class ExceptionState; |
59 class Image; | 59 class Image; |
60 class IntSize; | 60 class IntSize; |
61 class Locale; | 61 class Locale; |
62 class MutableStylePropertySet; | 62 class MutableStylePropertySet; |
63 class NodeIntersectionObserverData; | 63 class NodeIntersectionObserverData; |
64 class PropertySetCSSStyleDeclaration; | 64 class PropertySetCSSStyleDeclaration; |
65 class PseudoElement; | 65 class PseudoElement; |
| 66 class ResizeObservation; |
| 67 class ResizeObserver; |
66 class ScrollState; | 68 class ScrollState; |
67 class ScrollStateCallback; | 69 class ScrollStateCallback; |
68 class ScrollToOptions; | 70 class ScrollToOptions; |
69 class ShadowRoot; | 71 class ShadowRoot; |
70 class ShadowRootInit; | 72 class ShadowRootInit; |
71 class StylePropertySet; | 73 class StylePropertySet; |
72 class StylePropertyMap; | 74 class StylePropertyMap; |
73 | 75 |
74 enum SpellcheckAttributeState { | 76 enum SpellcheckAttributeState { |
75 SpellcheckAttributeTrue, | 77 SpellcheckAttributeTrue, |
(...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
571 | 573 |
572 DECLARE_VIRTUAL_TRACE(); | 574 DECLARE_VIRTUAL_TRACE(); |
573 | 575 |
574 DECLARE_VIRTUAL_TRACE_WRAPPERS(); | 576 DECLARE_VIRTUAL_TRACE_WRAPPERS(); |
575 | 577 |
576 SpellcheckAttributeState spellcheckAttributeState() const; | 578 SpellcheckAttributeState spellcheckAttributeState() const; |
577 | 579 |
578 NodeIntersectionObserverData* intersectionObserverData() const; | 580 NodeIntersectionObserverData* intersectionObserverData() const; |
579 NodeIntersectionObserverData& ensureIntersectionObserverData(); | 581 NodeIntersectionObserverData& ensureIntersectionObserverData(); |
580 | 582 |
| 583 HeapHashMap<Member<ResizeObserver>, Member<ResizeObservation>>* resizeObserv
erData() const; |
| 584 HeapHashMap<Member<ResizeObserver>, Member<ResizeObservation>>& ensureResize
ObserverData(); |
| 585 |
581 protected: | 586 protected: |
582 Element(const QualifiedName& tagName, Document*, ConstructionType); | 587 Element(const QualifiedName& tagName, Document*, ConstructionType); |
583 | 588 |
584 const ElementData* elementData() const { return m_elementData.get(); } | 589 const ElementData* elementData() const { return m_elementData.get(); } |
585 UniqueElementData& ensureUniqueElementData(); | 590 UniqueElementData& ensureUniqueElementData(); |
586 | 591 |
587 void addPropertyToPresentationAttributeStyle(MutableStylePropertySet*, CSSPr
opertyID, CSSValueID identifier); | 592 void addPropertyToPresentationAttributeStyle(MutableStylePropertySet*, CSSPr
opertyID, CSSValueID identifier); |
588 void addPropertyToPresentationAttributeStyle(MutableStylePropertySet*, CSSPr
opertyID, double value, CSSPrimitiveValue::UnitType); | 593 void addPropertyToPresentationAttributeStyle(MutableStylePropertySet*, CSSPr
opertyID, double value, CSSPrimitiveValue::UnitType); |
589 void addPropertyToPresentationAttributeStyle(MutableStylePropertySet*, CSSPr
opertyID, const String& value); | 594 void addPropertyToPresentationAttributeStyle(MutableStylePropertySet*, CSSPr
opertyID, const String& value); |
590 void addPropertyToPresentationAttributeStyle(MutableStylePropertySet*, CSSPr
opertyID, CSSValue*); | 595 void addPropertyToPresentationAttributeStyle(MutableStylePropertySet*, CSSPr
opertyID, CSSValue*); |
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
966 static T* create(const QualifiedName&, Document&) | 971 static T* create(const QualifiedName&, Document&) |
967 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 972 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
968 T* T::create(const QualifiedName& tagName, Document& document) \ | 973 T* T::create(const QualifiedName& tagName, Document& document) \ |
969 { \ | 974 { \ |
970 return new T(tagName, document); \ | 975 return new T(tagName, document); \ |
971 } | 976 } |
972 | 977 |
973 } // namespace blink | 978 } // namespace blink |
974 | 979 |
975 #endif // Element_h | 980 #endif // Element_h |
OLD | NEW |