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
commit a9f8d4eada
Notes: sideshowbarker 2024-07-17 07:25:39 +09:00
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({});