mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 05:39:11 +00:00
LibWeb: Make preferred languages configurable
This also changes fetch to use the preferred languages for the Accept-Language header.
This commit is contained in:
parent
2cfc1873c0
commit
2ca8fd1832
Notes:
github-actions[bot]
2024-07-25 10:39:58 +00:00
Author: https://github.com/jamierocks
Commit: 2ca8fd1832
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/796
Reviewed-by: https://github.com/tcl3 ✅
9 changed files with 31 additions and 8 deletions
|
@ -66,6 +66,8 @@ public:
|
|||
void set_preferred_contrast(Web::CSS::PreferredContrast);
|
||||
void set_preferred_motion(Web::CSS::PreferredMotion);
|
||||
|
||||
void set_preferred_languages(Vector<String>);
|
||||
|
||||
void set_enable_do_not_track(bool);
|
||||
|
||||
ByteString selected_text();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue