mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 12:49:19 +00:00
WebContent: Add IPC call to set window handle from WebContent client
This commit is contained in:
parent
48e0789a17
commit
6d91d2fa50
Notes:
sideshowbarker
2024-07-17 02:57:43 +09:00
Author: https://github.com/kalenikaliaksandr
Commit: 6d91d2fa50
Pull-request: https://github.com/SerenityOS/serenity/pull/17855
Reviewed-by: https://github.com/linusg
Reviewed-by: https://github.com/trflynn89 ✅
4 changed files with 8 additions and 0 deletions
|
@ -66,6 +66,11 @@ Messages::WebContentServer::GetWindowHandleResponse ConnectionFromClient::get_wi
|
|||
return m_page_host->page().top_level_browsing_context().window_handle();
|
||||
}
|
||||
|
||||
void ConnectionFromClient::set_window_handle(String const& handle)
|
||||
{
|
||||
m_page_host->page().top_level_browsing_context().set_window_handle(handle);
|
||||
}
|
||||
|
||||
void ConnectionFromClient::connect_to_webdriver(DeprecatedString const& webdriver_ipc_path)
|
||||
{
|
||||
// FIXME: Propagate this error back to the browser.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue