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

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

Issue 2005593002: Initial ResizeObserver implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update to master: Vector<WeakMember> no longer ok. Created 4 years, 6 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 15ac30448e4ff43714c38889990b47d2dee218cc..f608e5e3ddc9d47e095698c2bb14a61f3b44ccbb 100644
--- a/third_party/WebKit/Source/core/dom/Document.h
+++ b/third_party/WebKit/Source/core/dom/Document.h
@@ -142,6 +142,7 @@ class PlatformMouseEvent;
class ProcessingInstruction;
class QualifiedName;
class Range;
+class ResizeObserverController;
class ResourceFetcher;
class RootScrollerController;
class SVGDocumentExtensions;
@@ -705,6 +706,9 @@ public:
IntersectionObserverController& ensureIntersectionObserverController();
NodeIntersectionObserverData& ensureIntersectionObserverData();
+ ResizeObserverController* resizeObserverController() const { return m_resizeObserverController; }
+ ResizeObserverController& ensureResizeObserverController();
+
void updateViewportDescription();
void processReferrerPolicy(const String& policy);
@@ -1406,6 +1410,7 @@ private:
Member<IntersectionObserverController> m_intersectionObserverController;
Member<NodeIntersectionObserverData> m_intersectionObserverData;
+ Member<ResizeObserverController> m_resizeObserverController;
int m_nodeCount;

Powered by Google App Engine
This is Rietveld 408576698