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:
parent
4717d645d3
commit
a9f8d4eada
12 changed files with 32 additions and 0 deletions
|
@ -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({});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue