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:
parent
78ed798852
commit
e6fc35897f
21 changed files with 81 additions and 62 deletions
|
@ -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&)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue