mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2026-06-27 19:51:03 +00:00
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.
24 lines
450 B
C++
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&);
|
|
};
|
|
|
|
}
|