1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:37:35 +00:00

WebContent+Everywhere: Add a WebContent IPC to activate a tab

This commit is contained in:
Timothy Flynn 2023-03-20 19:52:00 -04:00 committed by Linus Groh
parent a77daf77bd
commit f8b6369c23
18 changed files with 50 additions and 0 deletions

View file

@ -245,6 +245,11 @@ Messages::WebContentClient::DidRequestNewTabResponse WebContentClient::did_reque
return m_view.notify_server_did_request_new_tab({}, activate_tab);
}
void WebContentClient::did_request_activate_tab()
{
m_view.notify_server_did_request_activate_tab({});
}
void WebContentClient::did_close_browsing_context()
{
m_view.notify_server_did_close_browsing_context({});