mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 07:36:50 +00:00
WebContent+Everywhere: Add a WebContent IPC to activate a tab
This commit is contained in:
committed by
Linus Groh
parent
a77daf77bd
commit
f8b6369c23
@@ -480,6 +480,12 @@ String OutOfProcessWebView::notify_server_did_request_new_tab(Badge<WebContentCl
|
||||
return {};
|
||||
}
|
||||
|
||||
void OutOfProcessWebView::notify_server_did_request_activate_tab(Badge<WebContentClient>)
|
||||
{
|
||||
if (on_activate_tab)
|
||||
on_activate_tab();
|
||||
}
|
||||
|
||||
void OutOfProcessWebView::notify_server_did_close_browsing_context(Badge<WebContentClient>)
|
||||
{
|
||||
if (on_close)
|
||||
|
||||
Reference in New Issue
Block a user