mirror of
https://github.com/RGBCube/serenity
synced 2025-06-28 21:32:07 +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
|
@ -240,9 +240,9 @@ void WebContentClient::did_update_cookie(Web::Cookie::Cookie const& cookie)
|
|||
m_view.notify_server_did_update_cookie({}, cookie);
|
||||
}
|
||||
|
||||
Messages::WebContentClient::DidRequestNewTabResponse WebContentClient::did_request_new_tab()
|
||||
Messages::WebContentClient::DidRequestNewTabResponse WebContentClient::did_request_new_tab(Web::HTML::ActivateTab const& activate_tab)
|
||||
{
|
||||
return m_view.notify_request_open_new_tab({});
|
||||
return m_view.notify_server_did_request_new_tab({}, activate_tab);
|
||||
}
|
||||
|
||||
void WebContentClient::did_close_browsing_context()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue