LibWeb+UI: Add internals API to set browser zoom

This commit is contained in:
InvalidUsernameException 2024-12-23 22:15:06 +01:00 committed by Alexander Kalenik
commit 5cc9a5802d
Notes: github-actions[bot] 2025-01-21 15:12:32 +00:00
17 changed files with 78 additions and 3 deletions

View file

@ -244,6 +244,11 @@ void Internals::set_echo_server_port(u16 const port)
s_echo_server_port = port;
}
void Internals::set_browser_zoom(double factor)
{
internals_page().client().page_did_set_browser_zoom(factor);
}
bool Internals::headless()
{
return internals_page().client().is_headless();