mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-08 06:09:58 +00:00
22 lines
418 B
C++
22 lines
418 B
C++
|
|
/*
|
||
|
|
* Copyright (c) 2022, Andreas Kling <kling@serenityos.org>
|
||
|
|
*
|
||
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
||
|
|
*/
|
||
|
|
|
||
|
|
#include <LibWeb/UIEvents/FocusEvent.h>
|
||
|
|
|
||
|
|
namespace Web::UIEvents {
|
||
|
|
|
||
|
|
FocusEvent::FocusEvent(FlyString const& event_name, FocusEventInit const& event_init)
|
||
|
|
: UIEvent(event_name)
|
||
|
|
{
|
||
|
|
set_related_target(const_cast<DOM::EventTarget*>(event_init.related_target.ptr()));
|
||
|
|
}
|
||
|
|
|
||
|
|
FocusEvent::~FocusEvent()
|
||
|
|
{
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|