1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 15:38:10 +00:00

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
parent a9f8d4eada
commit 640864b32e
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 {};
}