1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:47:35 +00:00

WebContent+Everywhere: Add an option to not activate new tabs over IPC

WebDriver, for example, will want to create new tabs without activating
them.
This commit is contained in:
Timothy Flynn 2023-03-20 18:39:20 -04:00 committed by Linus Groh
parent 78ed798852
commit e6fc35897f
21 changed files with 81 additions and 62 deletions

View file

@ -377,9 +377,9 @@ void PageHost::page_did_update_resource_count(i32 count_waiting)
m_client.async_did_update_resource_count(count_waiting);
}
String PageHost::page_did_request_new_tab()
String PageHost::page_did_request_new_tab(Web::HTML::ActivateTab activate_tab)
{
return m_client.did_request_new_tab();
return m_client.did_request_new_tab(activate_tab);
}
void PageHost::page_did_close_browsing_context(Web::HTML::BrowsingContext const&)