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

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

Issue 2005593002: Initial ResizeObserver implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix global-interface-listing test 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
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 1f21fcaf2f4483149f863d350b5fef51daa3857b..43dd6f515aef33550dc8c5520dcb419a579abec4 100644
--- a/third_party/WebKit/Source/core/dom/Element.h
+++ b/third_party/WebKit/Source/core/dom/Element.h
@@ -63,6 +63,8 @@ class MutableStylePropertySet;
class NodeIntersectionObserverData;
class PropertySetCSSStyleDeclaration;
class PseudoElement;
+class ResizeObservation;
+class ResizeObserver;
class ScrollState;
class ScrollStateCallback;
class ScrollToOptions;
@@ -578,6 +580,9 @@ public:
NodeIntersectionObserverData* intersectionObserverData() const;
NodeIntersectionObserverData& ensureIntersectionObserverData();
+ HeapHashMap<Member<ResizeObserver>, Member<ResizeObservation>>* resizeObserverData() const;
+ HeapHashMap<Member<ResizeObserver>, Member<ResizeObservation>>& ensureResizeObserverData();
+
protected:
Element(const QualifiedName& tagName, Document*, ConstructionType);

Powered by Google App Engine
This is Rietveld 408576698