mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 22:38:13 +00:00
LibWeb/HTML: Port Window.event to IDL
This commit is contained in:
parent
8c0f0726d1
commit
95ce5735ce
4 changed files with 17 additions and 22 deletions
|
@ -167,6 +167,8 @@ public:
|
|||
|
||||
void post_message(JS::Value message, String const&);
|
||||
|
||||
Variant<JS::Handle<DOM::Event>, JS::Value> event() const;
|
||||
|
||||
private:
|
||||
explicit Window(JS::Realm&);
|
||||
|
||||
|
@ -235,9 +237,6 @@ private:
|
|||
JS_DECLARE_NATIVE_FUNCTION(screen_getter);
|
||||
JS_DECLARE_NATIVE_FUNCTION(screen_setter);
|
||||
|
||||
JS_DECLARE_NATIVE_FUNCTION(event_getter);
|
||||
JS_DECLARE_NATIVE_FUNCTION(event_setter);
|
||||
|
||||
JS_DECLARE_NATIVE_FUNCTION(inner_width_getter);
|
||||
JS_DECLARE_NATIVE_FUNCTION(inner_height_getter);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue