ladybird/Libraries/LibWebView/WebUI/HistoryUI.h
Timothy Flynn 496c88d0c9 LibWebView: Add about:history to view, query and mangage browser history
This adds a WebUI to view the local browsing history, with controls to
search and delete entries. The APIs used to search history are paginated
to prevent excessive query sizes.
2026-06-10 20:27:36 +02:00

24 lines
450 B
C++

/*
* Copyright (c) 2026, Tim Flynn <trflynn89@ladybird.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <LibWebView/WebUI.h>
namespace WebView {
class HistoryUI final : public WebUI {
WEB_UI(HistoryUI);
private:
virtual void register_interfaces() override;
void load_history_entries(JsonValue const&);
void remove_history_entry(JsonValue const&);
void forget_history_site(JsonValue const&);
};
}