mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
LibWebView+Ladybird: Move preferred color scheme to ViewImplementation
This commit is contained in:
committed by
Andreas Kling
parent
5bf5697f16
commit
f183745f4e
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user