summaryrefslogtreecommitdiff
path: root/dom/base/nsGlobalWindow.h
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2023-04-09 13:38:38 +0000
committerMoonchild <moonchild@palemoon.org>2023-04-09 13:38:38 +0000
commitb62bf0c4b7e70f3bfcc1915526e158712aef1211 (patch)
tree4ed5780064051bd9b8c0d4be5d1bebfcb65d0f44 /dom/base/nsGlobalWindow.h
parentc01fd8ec19ea7f170cf56241ce2ee803f4e2adc2 (diff)
parent78e4526d55adc049eacc6031fafd66fbe9a7e315 (diff)
downloaduxp-b62bf0c4b7e70f3bfcc1915526e158712aef1211.tar.gz
Merge pull request 'Implement window.event' (#2207) from FranklinDM/UXP-contrib:work_js-window-event into master
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2207
Diffstat (limited to 'dom/base/nsGlobalWindow.h')
-rw-r--r--dom/base/nsGlobalWindow.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dom/base/nsGlobalWindow.h b/dom/base/nsGlobalWindow.h
index e42835a0b2..e593890af0 100644
--- a/dom/base/nsGlobalWindow.h
+++ b/dom/base/nsGlobalWindow.h
@@ -845,6 +845,7 @@ public:
already_AddRefed<nsPIDOMWindowOuter> GetOpener() override;
void SetOpener(JSContext* aCx, JS::Handle<JS::Value> aOpener,
mozilla::ErrorResult& aError);
+ void GetEvent(JSContext* aCx, JS::MutableHandle<JS::Value> aRetval);
already_AddRefed<nsPIDOMWindowOuter> GetParentOuter();
already_AddRefed<nsPIDOMWindowOuter> GetParent(mozilla::ErrorResult& aError);
already_AddRefed<nsPIDOMWindowOuter> GetParent() override;