mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:28:11 +00:00
WebContent+Everywhere: Add a WebContent IPC to activate a tab
This commit is contained in:
parent
a77daf77bd
commit
f8b6369c23
18 changed files with 50 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue