1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 19:58:11 +00:00

LibWeb: Add EventTarget::run_activation_behavior()

This commit is contained in:
Andreas Kling 2022-02-15 19:15:52 +01:00
parent bdf0254b16
commit 05c9fd962d

View file

@ -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();