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:
parent
a9f8d4eada
commit
640864b32e
4 changed files with 13 additions and 2 deletions
|
@ -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 {};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue