mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 04:39:06 +00:00
LibWebView: Support custom search engines
This allows the user to store custom search engines via about:settings. Custom engines will be displayed below the builtin engines in the drop- down to select the default engine. A couple of edge cases here: 1. We currently reject a custom engine if one with the same name already exists. In the future, we should allow editing custom engines. 2. If a custom engine which was the default engine is removed, we will disable search rather than falling back to any other engine.
This commit is contained in:
parent
dbf4b189a4
commit
2810071a9c
Notes:
github-actions[bot]
2025-04-06 11:46:03 +00:00
Author: https://github.com/trflynn89
Commit: 2810071a9c
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4237
7 changed files with 317 additions and 28 deletions
|
@ -24,6 +24,8 @@ private:
|
|||
|
||||
void load_available_engines();
|
||||
void set_search_engine(JsonValue const&);
|
||||
void add_custom_search_engine(JsonValue const&);
|
||||
void remove_custom_search_engine(JsonValue const&);
|
||||
void set_autocomplete_engine(JsonValue const&);
|
||||
|
||||
void load_forcibly_enabled_site_settings();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue