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 461c72d39c1d354e8769c1dd9f3a3341dd96e390..ef6dfb69618d5909d10af8c37229a9bdfd1d8c40 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; |
@@ -537,6 +539,13 @@ public: |
SpellcheckAttributeState spellcheckAttributeState() const; |
+ WeakPtrWillBeRawPtr<Element> createWeakPtr(); |
+ |
+ void addIntersectionObservation(IntersectionObservation&); |
+ void removeIntersectionObservation(IntersectionObservation&); |
+ |
+ bool computeIntersection(Element*, LayoutRect&, LayoutRect&, LayoutRect&); |
esprehn
2015/12/12 00:14:12
const, also const Element* hopefully.
szager1
2015/12/16 19:15:33
This method has been refactored out.
|
+ |
protected: |
Element(const QualifiedName& tagName, Document*, ConstructionType); |
@@ -671,6 +680,9 @@ private: |
bool shouldInvalidateDistributionWhenAttributeChanged(ElementShadow*, const QualifiedName&, const AtomicString&); |
+ bool computeElementIntersection(Element*, LayoutRect&, LayoutRect&); |
+ Element* computeFrameIntersection(LayoutRect&, LayoutRect&); |
+ |
ElementRareData* elementRareData() const; |
ElementRareData& ensureElementRareData(); |