1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 08:08:12 +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

@ -240,6 +240,11 @@ void WebContentClient::did_update_cookie(Web::Cookie::Cookie const& cookie)
m_view.notify_server_did_update_cookie({}, cookie);
}
Messages::WebContentClient::DidRequestNewTabResponse WebContentClient::did_request_new_tab()
{
return m_view.notify_request_open_new_tab({});
}
void WebContentClient::did_close_browsing_context()
{
m_view.notify_server_did_close_browsing_context({});