/* * Copyright (c) 2021, Sam Atkins * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include #include #include class BrowserSettingsWidget final : public GUI::SettingsWindow::Tab { C_OBJECT(BrowserSettingsWidget) public: virtual ~BrowserSettingsWidget() override; virtual void apply_settings() override; virtual void reset_default_values() override; private: BrowserSettingsWidget(); RefPtr m_homepage_url_textbox; void set_color_scheme(StringView); RefPtr m_color_scheme_combobox; RefPtr m_show_bookmarks_bar_checkbox; RefPtr m_auto_close_download_windows_checkbox; void set_search_engine_url(StringView); bool m_is_custom_search_engine { false }; RefPtr m_enable_search_engine_checkbox; RefPtr m_search_engine_combobox_group; RefPtr m_search_engine_combobox; RefPtr m_custom_search_engine_group; RefPtr m_custom_search_engine_textbox; };