mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 01:29:17 +00:00
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:
parent
9e10010c54
commit
3ca2ee9c72
Notes:
github-actions[bot]
2024-10-29 11:04:23 +00:00
Author: https://github.com/trflynn89
Commit: 3ca2ee9c72
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2028
Reviewed-by: https://github.com/tcl3 ✅
14 changed files with 156 additions and 122 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue