mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:17:35 +00:00
LibWeb: Port FocusEvent to new String
This commit is contained in:
parent
d527edf0ab
commit
e14be3927a
3 changed files with 7 additions and 6 deletions
|
@ -6,6 +6,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <AK/FlyString.h>
|
||||
#include <LibWeb/UIEvents/UIEvent.h>
|
||||
|
||||
namespace Web::UIEvents {
|
||||
|
@ -18,12 +19,12 @@ class FocusEvent final : public UIEvent {
|
|||
WEB_PLATFORM_OBJECT(FocusEvent, UIEvent);
|
||||
|
||||
public:
|
||||
static WebIDL::ExceptionOr<JS::NonnullGCPtr<FocusEvent>> construct_impl(JS::Realm&, DeprecatedFlyString const& event_name, FocusEventInit const& event_init);
|
||||
static WebIDL::ExceptionOr<JS::NonnullGCPtr<FocusEvent>> construct_impl(JS::Realm&, FlyString const& event_name, FocusEventInit const& event_init);
|
||||
|
||||
virtual ~FocusEvent() override;
|
||||
|
||||
private:
|
||||
FocusEvent(JS::Realm&, DeprecatedFlyString const& event_name, FocusEventInit const&);
|
||||
FocusEvent(JS::Realm&, FlyString const& event_name, FocusEventInit const&);
|
||||
|
||||
virtual JS::ThrowCompletionOr<void> initialize(JS::Realm&) override;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue