mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:08:13 +00:00
WebDriver: Implement POST /session/{id}/window/fullscreen
endpoint
This commit is contained in:
parent
6805cf00ad
commit
1aa16b4dd4
12 changed files with 57 additions and 0 deletions
|
@ -473,6 +473,13 @@ Gfx::IntRect OutOfProcessWebView::notify_server_did_request_minimize_window()
|
|||
return {};
|
||||
}
|
||||
|
||||
Gfx::IntRect OutOfProcessWebView::notify_server_did_request_fullscreen_window()
|
||||
{
|
||||
if (on_fullscreen_window)
|
||||
return on_fullscreen_window();
|
||||
return {};
|
||||
}
|
||||
|
||||
void OutOfProcessWebView::notify_server_did_request_file(Badge<WebContentClient>, String const& path, i32 request_id)
|
||||
{
|
||||
auto file = FileSystemAccessClient::Client::the().try_request_file_read_only_approved(window(), path);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue