mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00:00
LibWeb+LibWebView+WebContent+Ladybird: Add IPC call that opens new tab
This commit is contained in:
parent
4717d645d3
commit
a9f8d4eada
Notes:
sideshowbarker
2024-07-17 07:25:39 +09:00
Author: https://github.com/kalenikaliaksandr
Commit: a9f8d4eada
Pull-request: https://github.com/SerenityOS/serenity/pull/17855
Reviewed-by: https://github.com/linusg
Reviewed-by: https://github.com/trflynn89 ✅
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