diff options
author | Andreas Kling <kling@serenityos.org> | 2022-02-15 19:15:52 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-02-15 23:24:41 +0100 |
commit | 05c9fd962d03cc11c2bc076c805ff2faef85eb6f (patch) | |
tree | e2fc91a8a9743d861ea6530cabb3c4f2d0bc6044 /Userland/Libraries/LibWeb/DOM | |
parent | bdf0254b1679ed2d041fccdf6b3d7fb1313e0405 (diff) | |
download | serenity-05c9fd962d03cc11c2bc076c805ff2faef85eb6f.zip |
LibWeb: Add EventTarget::run_activation_behavior()
Diffstat (limited to 'Userland/Libraries/LibWeb/DOM')
-rw-r--r-- | Userland/Libraries/LibWeb/DOM/EventTarget.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/DOM/EventTarget.h b/Userland/Libraries/LibWeb/DOM/EventTarget.h index 65d7054baa..1bc0ea84d0 100644 --- a/Userland/Libraries/LibWeb/DOM/EventTarget.h +++ b/Userland/Libraries/LibWeb/DOM/EventTarget.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020, Andreas Kling <kling@serenityos.org> + * Copyright (c) 2020-2022, Andreas Kling <kling@serenityos.org> * * SPDX-License-Identifier: BSD-2-Clause */ @@ -58,6 +58,9 @@ public: Bindings::CallbackType* event_handler_attribute(FlyString const& name); void set_event_handler_attribute(FlyString const& name, Optional<Bindings::CallbackType>); + // https://dom.spec.whatwg.org/#eventtarget-activation-behavior + virtual void run_activation_behavior() { } + protected: EventTarget(); |