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

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

Issue 2161313002: ResizeObserver implementation, part 2: lifetime (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CR fixes Created 4 years, 5 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
« no previous file with comments | « third_party/WebKit/Source/core/core.gypi ('k') | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 21464a10bca850b58caee5f29bc233e0e1afb45f..a728b47fcce4fa469aff2efe0c5b3e47323b1877 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;
@@ -707,6 +708,9 @@ public:
IntersectionObserverController& ensureIntersectionObserverController();
NodeIntersectionObserverData& ensureIntersectionObserverData();
+ ResizeObserverController* resizeObserverController() const { return m_resizeObserverController; }
+ ResizeObserverController& ensureResizeObserverController();
+
void updateViewportDescription();
// Returns the owning element in the parent document. Returns nullptr if
@@ -1410,6 +1414,7 @@ private:
Member<IntersectionObserverController> m_intersectionObserverController;
Member<NodeIntersectionObserverData> m_intersectionObserverData;
+ Member<ResizeObserverController> m_resizeObserverController;
int m_nodeCount;
« no previous file with comments | « third_party/WebKit/Source/core/core.gypi ('k') | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698