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 574 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
585 | 585 |
586 DECLARE_VIRTUAL_TRACE_WRAPPERS(); | 586 DECLARE_VIRTUAL_TRACE_WRAPPERS(); |
587 | 587 |
588 SpellcheckAttributeState spellcheckAttributeState() const; | 588 SpellcheckAttributeState spellcheckAttributeState() const; |
589 | 589 |
590 NodeIntersectionObserverData* intersectionObserverData() const; | 590 NodeIntersectionObserverData* intersectionObserverData() const; |
591 NodeIntersectionObserverData& ensureIntersectionObserverData(); | 591 NodeIntersectionObserverData& ensureIntersectionObserverData(); |
592 | 592 |
593 HeapHashMap<Member<ResizeObserver>, Member<ResizeObservation>>* resizeObserv
erData() const; | 593 HeapHashMap<Member<ResizeObserver>, Member<ResizeObservation>>* resizeObserv
erData() const; |
594 HeapHashMap<Member<ResizeObserver>, Member<ResizeObservation>>& ensureResize
ObserverData(); | 594 HeapHashMap<Member<ResizeObserver>, Member<ResizeObservation>>& ensureResize
ObserverData(); |
| 595 void setNeedsResizeObserverUpdate(); |
595 | 596 |
596 protected: | 597 protected: |
597 Element(const QualifiedName& tagName, Document*, ConstructionType); | 598 Element(const QualifiedName& tagName, Document*, ConstructionType); |
598 | 599 |
599 const ElementData* elementData() const { return m_elementData.get(); } | 600 const ElementData* elementData() const { return m_elementData.get(); } |
600 UniqueElementData& ensureUniqueElementData(); | 601 UniqueElementData& ensureUniqueElementData(); |
601 | 602 |
602 void addPropertyToPresentationAttributeStyle(MutableStylePropertySet*, CSSPr
opertyID, CSSValueID identifier); | 603 void addPropertyToPresentationAttributeStyle(MutableStylePropertySet*, CSSPr
opertyID, CSSValueID identifier); |
603 void addPropertyToPresentationAttributeStyle(MutableStylePropertySet*, CSSPr
opertyID, double value, CSSPrimitiveValue::UnitType); | 604 void addPropertyToPresentationAttributeStyle(MutableStylePropertySet*, CSSPr
opertyID, double value, CSSPrimitiveValue::UnitType); |
604 void addPropertyToPresentationAttributeStyle(MutableStylePropertySet*, CSSPr
opertyID, const String& value); | 605 void addPropertyToPresentationAttributeStyle(MutableStylePropertySet*, CSSPr
opertyID, const String& value); |
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
983 static T* create(const QualifiedName&, Document&) | 984 static T* create(const QualifiedName&, Document&) |
984 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ | 985 #define DEFINE_ELEMENT_FACTORY_WITH_TAGNAME(T) \ |
985 T* T::create(const QualifiedName& tagName, Document& document) \ | 986 T* T::create(const QualifiedName& tagName, Document& document) \ |
986 { \ | 987 { \ |
987 return new T(tagName, document); \ | 988 return new T(tagName, document); \ |
988 } | 989 } |
989 | 990 |
990 } // namespace blink | 991 } // namespace blink |
991 | 992 |
992 #endif // Element_h | 993 #endif // Element_h |
OLD | NEW |