summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML/Window.h
diff options
context:
space:
mode:
authorLuke Wilde <lukew@serenityos.org>2022-11-05 14:38:49 +0000
committerAndreas Kling <kling@serenityos.org>2022-11-07 14:10:41 +0100
commita569d02b0db85b44a99fc6974be74b41bc70029a (patch)
tree8e26d21cd0b2eb89d6a17d532f1c7e8df643e252 /Userland/Libraries/LibWeb/HTML/Window.h
parenta10204133a8888021ee81785d06e4dff64907dc9 (diff)
downloadserenity-a569d02b0db85b44a99fc6974be74b41bc70029a.zip
LibWeb: Implement Window.focus
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/Window.h')
-rw-r--r--Userland/Libraries/LibWeb/HTML/Window.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/Window.h b/Userland/Libraries/LibWeb/HTML/Window.h
index 03fdcdd02f..9b5b405ff0 100644
--- a/Userland/Libraries/LibWeb/HTML/Window.h
+++ b/Userland/Libraries/LibWeb/HTML/Window.h
@@ -256,6 +256,7 @@ private:
JS_DECLARE_NATIVE_FUNCTION(cancel_animation_frame);
JS_DECLARE_NATIVE_FUNCTION(atob);
JS_DECLARE_NATIVE_FUNCTION(btoa);
+ JS_DECLARE_NATIVE_FUNCTION(focus);
JS_DECLARE_NATIVE_FUNCTION(get_computed_style);
JS_DECLARE_NATIVE_FUNCTION(match_media);