mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-02 22:55:23 +00:00
LibWeb: Implement WindowEventHandlers
This commit is contained in:
@@ -7,10 +7,13 @@
|
||||
#pragma once
|
||||
|
||||
#include <LibWeb/HTML/HTMLElement.h>
|
||||
#include <LibWeb/HTML/WindowEventHandlers.h>
|
||||
|
||||
namespace Web::HTML {
|
||||
|
||||
class HTMLBodyElement final : public HTMLElement {
|
||||
class HTMLBodyElement final
|
||||
: public HTMLElement
|
||||
, public WindowEventHandlers {
|
||||
public:
|
||||
using WrapperType = Bindings::HTMLBodyElementWrapper;
|
||||
|
||||
@@ -24,6 +27,9 @@ private:
|
||||
// ^HTML::GlobalEventHandlers
|
||||
virtual EventTarget& global_event_handlers_to_event_target(FlyString const& event_name) override;
|
||||
|
||||
// ^HTML::WindowEventHandlers
|
||||
virtual EventTarget& window_event_handlers_to_event_target() override;
|
||||
|
||||
RefPtr<CSS::ImageStyleValue> m_background_style_value;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user