diff options
author | Moonchild <moonchild@palemoon.org> | 2020-09-16 19:39:33 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-09-21 11:04:31 +0000 |
commit | 075fa012868017c9cb49f1b92960bf02f4bf27ca (patch) | |
tree | bce03e7900f790b896f889c24a51814a4ade828d /dom/base/nsDocument.h | |
parent | 32e0d2ca2369d4ee0658affde0e96bdf0f84455a (diff) | |
download | UXP-075fa012868017c9cb49f1b92960bf02f4bf27ca.tar UXP-075fa012868017c9cb49f1b92960bf02f4bf27ca.tar.gz UXP-075fa012868017c9cb49f1b92960bf02f4bf27ca.tar.lz UXP-075fa012868017c9cb49f1b92960bf02f4bf27ca.tar.xz UXP-075fa012868017c9cb49f1b92960bf02f4bf27ca.zip |
Issue #1643 - Part 4: Hook up all the plumbing.
Diffstat (limited to 'dom/base/nsDocument.h')
-rw-r--r-- | dom/base/nsDocument.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/dom/base/nsDocument.h b/dom/base/nsDocument.h index a319ad13e..220f4152d 100644 --- a/dom/base/nsDocument.h +++ b/dom/base/nsDocument.h @@ -59,6 +59,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" @@ -1206,6 +1207,10 @@ public: virtual void UnblockDOMContentLoaded() override; + void AddResizeObserver(mozilla::dom::ResizeObserver* aResizeObserver) override; + + void ScheduleResizeObserversNotification() const override; + protected: friend class nsNodeUtils; friend class nsDocumentOnStack; @@ -1342,6 +1347,9 @@ protected: nsTArray<nsIObserver*> mCharSetObservers; + mozilla::UniquePtr<mozilla::dom::ResizeObserverController> + mResizeObserverController; + PLDHashTable *mSubDocuments; // Array of owning references to all children |