diff options
Diffstat (limited to 'Userland/Utilities')
-rw-r--r-- | Userland/Utilities/headless-browser.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Userland/Utilities/headless-browser.cpp b/Userland/Utilities/headless-browser.cpp index 6cbe8fee1e..a3e4599f57 100644 --- a/Userland/Utilities/headless-browser.cpp +++ b/Userland/Utilities/headless-browser.cpp @@ -36,6 +36,7 @@ #include <LibIPC/File.h> #include <LibWeb/Cookie/Cookie.h> #include <LibWeb/Cookie/ParsedCookie.h> +#include <LibWeb/HTML/ActivateTab.h> #include <LibWeb/Loader/FrameLoader.h> #include <LibWebView/ViewImplementation.h> #include <LibWebView/WebContentClient.h> @@ -132,7 +133,7 @@ private: DeprecatedString notify_server_did_request_cookie(Badge<WebView::WebContentClient>, const URL&, Web::Cookie::Source) override { return {}; } void notify_server_did_set_cookie(Badge<WebView::WebContentClient>, const URL&, Web::Cookie::ParsedCookie const&, Web::Cookie::Source) override { } void notify_server_did_update_cookie(Badge<WebView::WebContentClient>, Web::Cookie::Cookie const&) override { } - String notify_request_open_new_tab(Badge<WebView::WebContentClient>) override { return {}; } + String notify_server_did_request_new_tab(Badge<WebView::WebContentClient>, Web::HTML::ActivateTab) override { return {}; } void notify_server_did_close_browsing_context(Badge<WebView::WebContentClient>) override { } void notify_server_did_update_resource_count(i32) override { } void notify_server_did_request_restore_window() override { } |