mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:07:35 +00:00
LibWeb/HTML: Port Window.focus() to IDL
This commit is contained in:
parent
b59505aba5
commit
56550b6ec0
3 changed files with 21 additions and 24 deletions
|
@ -140,6 +140,7 @@ public:
|
|||
void set_name(String const&);
|
||||
JS::NonnullGCPtr<Location> location() const;
|
||||
JS::NonnullGCPtr<History> history() const;
|
||||
void focus();
|
||||
|
||||
JS::NonnullGCPtr<WindowProxy> frames() const;
|
||||
u32 length() const;
|
||||
|
@ -256,7 +257,6 @@ private:
|
|||
JS_DECLARE_NATIVE_FUNCTION(clear_timeout);
|
||||
JS_DECLARE_NATIVE_FUNCTION(request_animation_frame);
|
||||
JS_DECLARE_NATIVE_FUNCTION(cancel_animation_frame);
|
||||
JS_DECLARE_NATIVE_FUNCTION(focus);
|
||||
|
||||
JS_DECLARE_NATIVE_FUNCTION(get_selection);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue