summaryrefslogtreecommitdiff
path: root/dom/base/nsDocument.h
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-09-16 19:39:33 +0000
committerMoonchild <moonchild@palemoon.org>2020-09-16 19:39:33 +0000
commitb6b868b1bda0d82b85647f3e9ff2ab1f788eeb46 (patch)
tree3ef85068d06334887dbe9a3656e26e1837d1114c /dom/base/nsDocument.h
parenta53a2a3a38d03721b19768480dbdb0bccb4616d9 (diff)
downloaduxp-b6b868b1bda0d82b85647f3e9ff2ab1f788eeb46.tar.gz
Issue #1643 - Part 4: Hook up all the plumbing.
Diffstat (limited to 'dom/base/nsDocument.h')
-rw-r--r--dom/base/nsDocument.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/dom/base/nsDocument.h b/dom/base/nsDocument.h
index 502ba0f133..017879b1fb 100644
--- a/dom/base/nsDocument.h
+++ b/dom/base/nsDocument.h
@@ -60,6 +60,7 @@
#include "mozilla/MemoryReporting.h"
#include "mozilla/PendingAnimationTracker.h"
#include "mozilla/dom/DOMImplementation.h"
+#include "mozilla/dom/ResizeObserverController.h"
#include "mozilla/dom/ScriptLoader.h"
#include "mozilla/dom/StyleSheetList.h"
#include "nsDataHashtable.h"
@@ -1024,6 +1025,10 @@ public:
virtual void UnblockDOMContentLoaded() override;
+ void AddResizeObserver(mozilla::dom::ResizeObserver* aResizeObserver) override;
+
+ void ScheduleResizeObserversNotification() const override;
+
protected:
friend class nsNodeUtils;
friend class nsDocumentOnStack;
@@ -1160,6 +1165,9 @@ protected:
nsTArray<nsIObserver*> mCharSetObservers;
+ mozilla::UniquePtr<mozilla::dom::ResizeObserverController>
+ mResizeObserverController;
+
PLDHashTable *mSubDocuments;
// Array of owning references to all children