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:
parent
bdf0254b16
commit
05c9fd962d
1 changed files with 4 additions and 1 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue