summaryrefslogtreecommitdiffstats
path: root/dom/base/nsContentUtils.h
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2020-01-05 18:15:57 -0500
committerGaming4JC <g4jc@hyperbola.info>2020-01-26 15:50:30 -0500
commit8e6ce5fae721e5a4caf38b0b72e1c4a0324ae55e (patch)
tree1c398b6e727da3fd13829209835ede7a427eac97 /dom/base/nsContentUtils.h
parent6bbb9f062b63c5a920b1d240ba0d8575150dd01a (diff)
downloadUXP-8e6ce5fae721e5a4caf38b0b72e1c4a0324ae55e.tar
UXP-8e6ce5fae721e5a4caf38b0b72e1c4a0324ae55e.tar.gz
UXP-8e6ce5fae721e5a4caf38b0b72e1c4a0324ae55e.tar.lz
UXP-8e6ce5fae721e5a4caf38b0b72e1c4a0324ae55e.tar.xz
UXP-8e6ce5fae721e5a4caf38b0b72e1c4a0324ae55e.zip
Bug 1121994 - Implement adopted callback for custom elements.
Tag UXP Issue #1344
Diffstat (limited to 'dom/base/nsContentUtils.h')
-rw-r--r--dom/base/nsContentUtils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/dom/base/nsContentUtils.h b/dom/base/nsContentUtils.h
index 5075bcb6d..ae9b4c8c8 100644
--- a/dom/base/nsContentUtils.h
+++ b/dom/base/nsContentUtils.h
@@ -126,6 +126,7 @@ class EventTarget;
class IPCDataTransfer;
class IPCDataTransferItem;
struct LifecycleCallbackArgs;
+struct LifecycleAdoptedCallbackArgs;
class NodeInfo;
class nsIContentChild;
class nsIContentParent;
@@ -2734,6 +2735,7 @@ public:
static void EnqueueLifecycleCallback(nsIDocument::ElementCallbackType aType,
Element* aCustomElement,
mozilla::dom::LifecycleCallbackArgs* aArgs = nullptr,
+ mozilla::dom::LifecycleAdoptedCallbackArgs* aAdoptedCallbackArgs = nullptr,
mozilla::dom::CustomElementDefinition* aDefinition = nullptr);
static void GetCustomPrototype(nsIDocument* aDoc,