Ladybird: Implement notify_request_open_new_tab

This commit is contained in:
Aliaksandr Kalenik 2023-03-14 17:19:28 +03:00 committed by Tim Flynn
commit 640864b32e
Notes: sideshowbarker 2024-07-17 07:08:37 +09:00
4 changed files with 13 additions and 2 deletions

View file

@ -977,6 +977,9 @@ void WebContentView::notify_server_did_close_browsing_context(Badge<WebContentCl
String WebContentView::notify_request_open_new_tab(Badge<WebContentClient>)
{
if (on_new_tab)
return on_new_tab();
return {};
}