mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-25 17:25:08 +02:00
Passing the browser command line and executable path to every WebContent process just in case we load about:version always felt a bit weird. We now use the WebUI framework to load this information on demand.
23 lines
334 B
C++
23 lines
334 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 VersionUI final : public WebUI {
|
|
WEB_UI(VersionUI);
|
|
|
|
private:
|
|
virtual void register_interfaces() override;
|
|
|
|
void load_version_info();
|
|
};
|
|
|
|
}
|