mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:07:34 +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
|
* SPDX-License-Identifier: BSD-2-Clause
|
||||||
*/
|
*/
|
||||||
|
@ -58,6 +58,9 @@ public:
|
||||||
Bindings::CallbackType* event_handler_attribute(FlyString const& name);
|
Bindings::CallbackType* event_handler_attribute(FlyString const& name);
|
||||||
void set_event_handler_attribute(FlyString const& name, Optional<Bindings::CallbackType>);
|
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:
|
protected:
|
||||||
EventTarget();
|
EventTarget();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue