1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-09 17:44:56 +09:00
ladybird/UI/Headless
Timothy Flynn e084a86861 LibWebView+UI: Introduce a persistent settings object
This adds a WebView::Settings class to own persistent browser settings.
In this first pass, it now owns the new tab page URL and search engine
settings.

For simplicitly, we currently use a JSON format for these settings. They
are stored alongside the cookie database. As of this commit, the saved
JSON will have the form:

    {
        "newTabPageURL": "about:blank",
        "searchEngine": {
            "name": "Google"
        }
    }

(The search engine is an object to allow room for a future patch to
implement custom search engine URLs.)

For Qt, this replaces the management of these particular settings in the
Qt settings UI. We will have an internal browser page to control these
settings instead. In the future, we will want to port all settings to
this new class. We will also want to allow UI-specific settings (such as
whether the hamburger menu is displayed in Qt).
2025-03-22 17:27:45 +01:00
..
Application.cpp LibWebView+UI: Rename ChromeOptions to BrowserOptions 2025-03-15 19:57:27 -04:00
Application.h LibWebView+UI: Rename ChromeOptions to BrowserOptions 2025-03-15 19:57:27 -04:00
CMakeLists.txt CI: Enable verbose logging of LibWeb tests 2024-11-30 12:10:12 -05:00
Fixture.cpp LibWeb: Don't try to wait for HTTP server to exit if kill call fails 2024-12-20 14:59:56 +01:00
Fixture.h LibWebView+UI: Read and set echo server port in HttpEchoServerFixture 2024-12-05 17:02:57 -07:00
HeadlessWebView.cpp LibIPC: Do not require constructing containers when sending IPC messages 2025-03-09 11:14:20 -04:00
HeadlessWebView.h LibWeb+UI: Add internals API to set browser zoom 2025-01-21 16:05:12 +01:00
main.cpp LibWebView+UI: Introduce a persistent settings object 2025-03-22 17:27:45 +01:00
Test.cpp UI/Headless: Wait for "reftest-wait" class removal before screenshotting 2025-03-18 20:09:46 +01:00
Test.h headless-browser: Add support for crash tests 2025-01-17 09:08:15 +01:00