mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-05 15:27:04 +00:00
LibWeb: Add Contrast preference
This commit is contained in:
committed by
Andreas Kling
parent
7ac6fd2746
commit
ee64684565
@@ -157,6 +157,11 @@ void ViewImplementation::set_preferred_color_scheme(Web::CSS::PreferredColorSche
|
||||
client().async_set_preferred_color_scheme(page_id(), color_scheme);
|
||||
}
|
||||
|
||||
void ViewImplementation::set_preferred_contrast(Web::CSS::PreferredContrast contrast)
|
||||
{
|
||||
client().async_set_preferred_contrast(page_id(), contrast);
|
||||
}
|
||||
|
||||
ByteString ViewImplementation::selected_text()
|
||||
{
|
||||
return client().get_selected_text(page_id());
|
||||
|
||||
Reference in New Issue
Block a user