mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 21:59:07 +00:00
LibWeb+UI: Add internals API to set browser zoom
This commit is contained in:
parent
f39433d6b0
commit
5cc9a5802d
Notes:
github-actions[bot]
2025-01-21 15:12:32 +00:00
Author: https://github.com/InvalidUsernameException
Commit: 5cc9a5802d
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2982
Reviewed-by: https://github.com/AtkinsSJ
17 changed files with 78 additions and 3 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue