1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 10:17:35 +00:00

LibWeb+LibWebView+WebContent+Ladybird: Add IPC call that opens new tab

This commit is contained in:
Aliaksandr Kalenik 2023-03-14 17:12:09 +03:00 committed by Tim Flynn
parent 4717d645d3
commit a9f8d4eada
12 changed files with 32 additions and 0 deletions

View file

@ -975,6 +975,11 @@ void WebContentView::notify_server_did_close_browsing_context(Badge<WebContentCl
emit close();
}
String WebContentView::notify_request_open_new_tab(Badge<WebContentClient>)
{
return {};
}
void WebContentView::notify_server_did_update_cookie(Badge<WebContentClient>, Web::Cookie::Cookie const& cookie)
{
if (on_update_cookie)

View file

@ -145,6 +145,7 @@ public:
virtual DeprecatedString notify_server_did_request_cookie(Badge<WebContentClient>, const AK::URL& url, Web::Cookie::Source source) override;
virtual void notify_server_did_set_cookie(Badge<WebContentClient>, const AK::URL& url, Web::Cookie::ParsedCookie const& cookie, Web::Cookie::Source source) override;
virtual void notify_server_did_update_cookie(Badge<WebContentClient>, Web::Cookie::Cookie const& cookie) override;
virtual String notify_request_open_new_tab(Badge<WebContentClient>) override;
virtual void notify_server_did_close_browsing_context(Badge<WebContentClient>) override;
virtual void notify_server_did_update_resource_count(i32 count_waiting) override;
virtual void notify_server_did_request_restore_window() override;