mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-05 09:52:54 +00:00
LibWeb+LibWebView+UI: Migrate to LibWebView's language settings
This commit is contained in:
parent
f242920cc9
commit
a3ea4881e7
Notes:
github-actions[bot]
2025-04-04 08:17:32 +00:00
Author: https://github.com/trflynn89
Commit: a3ea4881e7
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4215
Reviewed-by: https://github.com/gmta ✅
13 changed files with 14 additions and 148 deletions
|
@ -80,8 +80,6 @@ public:
|
|||
void set_preferred_contrast(Web::CSS::PreferredContrast);
|
||||
void set_preferred_motion(Web::CSS::PreferredMotion);
|
||||
|
||||
void set_preferred_languages(ReadonlySpan<String>);
|
||||
|
||||
ByteString selected_text();
|
||||
Optional<String> selected_text_with_whitespace_collapsed();
|
||||
void select_all();
|
||||
|
@ -262,6 +260,7 @@ protected:
|
|||
};
|
||||
void handle_web_content_process_crash(LoadErrorPage = LoadErrorPage::Yes);
|
||||
|
||||
virtual void languages_changed() override;
|
||||
virtual void autoplay_settings_changed() override;
|
||||
virtual void do_not_track_changed() override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue