LibWeb+WebContent+WebDriver+UI: Make window min/maximize asynchronous

This follows suit of previous changes to never block the WebContent
process in WebDriver endpoints.
This commit is contained in:
Timothy Flynn 2024-10-28 23:45:18 -04:00 committed by Tim Ledbetter
commit 3ca2ee9c72
Notes: github-actions[bot] 2024-10-29 11:04:23 +00:00
14 changed files with 156 additions and 122 deletions

View file

@ -276,19 +276,19 @@ void PageClient::page_did_request_restore_window()
client().async_did_request_restore_window(m_id);
}
Gfx::IntRect PageClient::page_did_request_maximize_window()
void PageClient::page_did_request_maximize_window()
{
return client().did_request_maximize_window(m_id);
client().async_did_request_maximize_window(m_id);
}
Gfx::IntRect PageClient::page_did_request_minimize_window()
void PageClient::page_did_request_minimize_window()
{
return client().did_request_minimize_window(m_id);
client().async_did_request_minimize_window(m_id);
}
Gfx::IntRect PageClient::page_did_request_fullscreen_window()
void PageClient::page_did_request_fullscreen_window()
{
return client().did_request_fullscreen_window(m_id);
client().async_did_request_fullscreen_window(m_id);
}
void PageClient::page_did_request_tooltip_override(Web::CSSPixelPoint position, ByteString const& title)