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

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: Observe content box, not clientWidth Created 4 years, 7 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 2816210aa4d48655d719edabd21b46e1998617dd..03edb1cf8522dff8847b495767e443367ac9d8c1 100644
--- a/third_party/WebKit/Source/core/dom/Document.h
+++ b/third_party/WebKit/Source/core/dom/Document.h
@@ -144,6 +144,7 @@ class PlatformMouseEvent;
class ProcessingInstruction;
class QualifiedName;
class Range;
+class ResizeObserverController;
class LayoutView;
class ResourceFetcher;
class SVGDocumentExtensions;
@@ -689,6 +690,9 @@ public:
IntersectionObserverController& ensureIntersectionObserverController();
NodeIntersectionObserverData& ensureIntersectionObserverData();
+ bool resizeObserverController() const { return m_resizeObserverController; }
szager1 2016/06/02 20:52:41 I would still prefer that you honor existing conve
atotic1 2016/06/08 18:59:21 Done.
+ ResizeObserverController& ensureResizeObserverController();
+
void updateViewportDescription();
void processReferrerPolicy(const String& policy);
@@ -1389,6 +1393,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