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

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

Issue 1449623002: IntersectionObserver: second cut. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Add RuntimeEnabled flags to all idl's, fix test expectations. Created 4 years, 11 months 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/Document.h
diff --git a/third_party/WebKit/Source/core/dom/Document.h b/third_party/WebKit/Source/core/dom/Document.h
index 91b3c4ee763bb9b41ea15a19dbd6daba7d11c192..7e996cd4f93353633b8ac9b10711d049a50255ba 100644
--- a/third_party/WebKit/Source/core/dom/Document.h
+++ b/third_party/WebKit/Source/core/dom/Document.h
@@ -126,6 +126,7 @@ class HitTestRequest;
class IdleRequestCallback;
class IdleRequestOptions;
class InputDeviceCapabilities;
+class IntersectionObserverController;
class LayoutPoint;
class LiveNodeListBase;
class Locale;
@@ -684,6 +685,10 @@ public:
bool hasMutationObservers() const { return m_mutationObserverTypes; }
void addMutationObserverTypes(MutationObserverOptions types) { m_mutationObserverTypes |= types; }
+ WeakPtrWillBeRawPtr<Document> createWeakPtr();
+
+ IntersectionObserverController& ensureIntersectionObserverController();
+
void updateViewportDescription();
void processReferrerPolicy(const String& policy);
@@ -1398,6 +1403,8 @@ private:
PersistentWillBeMember<CanvasFontCache> m_canvasFontCache;
+ PersistentWillBeMember<IntersectionObserverController> m_intersectionObserverController;
+
int m_nodeCount;
};

Powered by Google App Engine
This is Rietveld 408576698