mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-25 18:34:14 +00:00
27 lines
508 B
C
27 lines
508 B
C
|
|
/*
|
||
|
|
* Copyright (c) 2025, Tim Flynn <trflynn89@ladybird.org>
|
||
|
|
*
|
||
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
||
|
|
*/
|
||
|
|
|
||
|
|
#pragma once
|
||
|
|
|
||
|
|
#include <LibWebView/WebUI.h>
|
||
|
|
|
||
|
|
namespace WebView {
|
||
|
|
|
||
|
|
class SettingsUI : public WebUI {
|
||
|
|
WEB_UI(SettingsUI);
|
||
|
|
|
||
|
|
private:
|
||
|
|
virtual void register_interfaces() override;
|
||
|
|
|
||
|
|
void load_current_settings();
|
||
|
|
void restore_default_settings();
|
||
|
|
void set_new_tab_page_url(JsonValue const&);
|
||
|
|
void load_available_search_engines();
|
||
|
|
void set_search_engine(JsonValue const&);
|
||
|
|
};
|
||
|
|
|
||
|
|
}
|