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

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

Issue 359780043: WIP for IO
Patch Set: 22 tests pass Created 5 years, 8 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
« no previous file with comments | « Source/WebCore/dom/Element.cpp ('k') | Source/WebCore/dom/ElementRareData.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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()
« no previous file with comments | « Source/WebCore/dom/Element.cpp ('k') | Source/WebCore/dom/ElementRareData.cpp » ('j') | no next file with comments »

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