mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 09:48:11 +00:00
LibWebView+Ladybird: Move preferred color scheme to ViewImplementation
This commit is contained in:
parent
5bf5697f16
commit
f183745f4e
6 changed files with 7 additions and 13 deletions
|
@ -61,6 +61,11 @@ void ViewImplementation::reset_zoom()
|
|||
update_zoom();
|
||||
}
|
||||
|
||||
void ViewImplementation::set_preferred_color_scheme(Web::CSS::PreferredColorScheme color_scheme)
|
||||
{
|
||||
client().async_set_preferred_color_scheme(color_scheme);
|
||||
}
|
||||
|
||||
DeprecatedString ViewImplementation::selected_text()
|
||||
{
|
||||
return client().get_selected_text();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue