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

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: 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/Element.h
diff --git a/third_party/WebKit/Source/core/dom/Element.h b/third_party/WebKit/Source/core/dom/Element.h
index 0cc727779c3f23970d0b5af2ba0efe72fe275fbf..335a11057f224ef872cd5004f5e4123b8613cad2 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