Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(190)

Unified Diff: third_party/WebKit/Source/core/dom/Element.h

Issue 1449623002: IntersectionObserver: second cut. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Implemented root margin Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 93a27d039e0a717a13877f67d8eda1cceddd8b5f..e80b9c536efe34fa4959f3aae2b9699f0a16e28b 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;
@@ -551,6 +553,11 @@ public:
SpellcheckAttributeState spellcheckAttributeState() const;
+ WeakPtrWillBeRawPtr<Element> createWeakPtr();
+
+ void addIntersectionObservation(IntersectionObservation&);
+ void removeIntersectionObservation(IntersectionObservation&);
+
protected:
Element(const QualifiedName& tagName, Document*, ConstructionType);

Powered by Google App Engine
This is Rietveld 408576698