Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(938)

Unified Diff: Source/WebCore/dom/ElementRareData.h

Issue 349730043: WIP - wip
Patch Set: . Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/WebCore/dom/ElementRareData.h
diff --git a/Source/WebCore/dom/ElementRareData.h b/Source/WebCore/dom/ElementRareData.h
index a0f301e874a4c0af143930adadde62c5ea8fbbff..055e3e4901cf9f5402e64c04579f8b2466931300 100644
--- a/Source/WebCore/dom/ElementRareData.h
+++ b/Source/WebCore/dom/ElementRareData.h
@@ -24,6 +24,7 @@
#include "CustomElementReactionQueue.h"
#include "DOMTokenList.h"
#include "DatasetDOMStringMap.h"
+#include "IntersectionObserver.h"
#include "NamedNodeMap.h"
#include "NodeRareData.h"
#include "PseudoElement.h"
@@ -116,6 +117,11 @@ public:
bool hasCSSAnimation() const { return m_hasCSSAnimation; }
void setHasCSSAnimation(bool value) { m_hasCSSAnimation = value; }
+#if ENABLE(INTERSECTION_OBSERVER)
+ Vector<IntersectionObserverRegistration>* intersectionObserverRegistrations() { return m_intersectionObserverRegistrations.get(); }
+ void setIntersectionObserverRegistrations(std::unique_ptr<Vector<IntersectionObserverRegistration>>&& registrations) { m_intersectionObserverRegistrations = WTFMove(registrations); }
+#endif
+
private:
int m_tabIndex;
unsigned short m_childIndex;
@@ -154,6 +160,10 @@ private:
RefPtr<PseudoElement> m_afterPseudoElement;
void releasePseudoElement(PseudoElement*);
+
+#if ENABLE(INTERSECTION_OBSERVER)
+ std::unique_ptr<Vector<IntersectionObserverRegistration>> m_intersectionObserverRegistrations;
+#endif
};
inline IntSize defaultMinimumSizeForResizing()

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b