Index: third_party/WebKit/Source/core/dom/Element.h |
diff --git a/third_party/WebKit/Source/core/dom/Element.h b/third_party/WebKit/Source/core/dom/Element.h |
index b4b5cbbf086bb47984c4ae36cce8ae609a699e61..002973d2ee2fb2931e4aeff864503e13c0170f16 100644 |
--- a/third_party/WebKit/Source/core/dom/Element.h |
+++ b/third_party/WebKit/Source/core/dom/Element.h |
@@ -56,6 +56,8 @@ class ElementRareData; |
class ElementShadow; |
class ExceptionState; |
class Image; |
+class IntersectionObservation; |
+class IntersectionObserver; |
class IntSize; |
class Locale; |
class MutableStylePropertySet; |
@@ -538,6 +540,13 @@ public: |
SpellcheckAttributeState spellcheckAttributeState() const; |
+ WeakPtr<Element> createWeakPtr(); |
+ |
+ void addIntersectionObservation(IntersectionObservation&); |
+ void removeIntersectionObservation(IntersectionObservation&); |
+ |
+ bool computeIntersection(Element*, LayoutRect&, LayoutRect&, LayoutRect&); |
+ |
protected: |
Element(const QualifiedName& tagName, Document*, ConstructionType); |
@@ -681,6 +690,8 @@ private: |
void detachAttrNodeFromElementWithValue(Attr*, const AtomicString& value); |
void detachAttrNodeAtIndex(Attr*, size_t index); |
+ void disconnectIntersectionObservations(); |
+ |
v8::Local<v8::Object> wrapCustomElement(v8::Isolate*, v8::Local<v8::Object> creationContext); |
RefPtrWillBeMember<ElementData> m_elementData; |