diff options
author | Idan Horowitz <idan.horowitz@gmail.com> | 2022-03-30 23:35:42 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-03-31 01:10:47 +0200 |
commit | f45d361f037509edc653e29c88ce591678e562fa (patch) | |
tree | bdfda1412ebd9db0a93a7021decdef10edbf4d7f /Userland/Libraries/LibWeb/HTML | |
parent | 1c4f128fd126ea70c557114fe80d54ee4a7f8757 (diff) | |
download | serenity-f45d361f037509edc653e29c88ce591678e562fa.zip |
LibWeb: Replace ad-hoc EventHandler type with callback function typedef
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML')
-rw-r--r-- | Userland/Libraries/LibWeb/HTML/HTMLElement.idl | 1 | ||||
-rw-r--r-- | Userland/Libraries/LibWeb/HTML/MessagePort.idl | 1 | ||||
-rw-r--r-- | Userland/Libraries/LibWeb/HTML/Worker.idl | 3 | ||||
-rw-r--r-- | Userland/Libraries/LibWeb/HTML/WorkerGlobalScope.idl | 1 |
4 files changed, 6 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLElement.idl index 8b5518ef1e..fb81dffd01 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLElement.idl @@ -1,4 +1,5 @@ #import <HTML/DOMStringMap.idl> +#import <DOM/EventHandler.idl> interface HTMLElement : Element { diff --git a/Userland/Libraries/LibWeb/HTML/MessagePort.idl b/Userland/Libraries/LibWeb/HTML/MessagePort.idl index af03a2ce83..3a8a92fc7b 100644 --- a/Userland/Libraries/LibWeb/HTML/MessagePort.idl +++ b/Userland/Libraries/LibWeb/HTML/MessagePort.idl @@ -1,4 +1,5 @@ #import <DOM/EventTarget.idl> +#import <DOM/EventHandler.idl> interface MessagePort : EventTarget { diff --git a/Userland/Libraries/LibWeb/HTML/Worker.idl b/Userland/Libraries/LibWeb/HTML/Worker.idl index 73687379a1..4f92053381 100644 --- a/Userland/Libraries/LibWeb/HTML/Worker.idl +++ b/Userland/Libraries/LibWeb/HTML/Worker.idl @@ -1,3 +1,6 @@ +#import <DOM/EventTarget.idl> +#import <DOM/EventHandler.idl> + [Exposed=(Window)] interface Worker : EventTarget { constructor(DOMString scriptURL, optional WorkerOptions options = {}); diff --git a/Userland/Libraries/LibWeb/HTML/WorkerGlobalScope.idl b/Userland/Libraries/LibWeb/HTML/WorkerGlobalScope.idl index 04117e1d4c..28d1c1581f 100644 --- a/Userland/Libraries/LibWeb/HTML/WorkerGlobalScope.idl +++ b/Userland/Libraries/LibWeb/HTML/WorkerGlobalScope.idl @@ -1,4 +1,5 @@ #import <DOM/EventTarget.idl> +#import <DOM/EventHandler.idl> #import <HTML/WorkerLocation.idl> #import <HTML/WorkerNavigator.idl> |