mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-09 10:31:51 +00:00
The intent is that this will replace the separate Task Manager window. This will allow us to more easily add features such as actual process management, better rendering of the process table, etc. Included in this page is the ability to sort table rows. This also lays the ground work for more internal `about` pages, such as about:config.
28 lines
518 B
C++
28 lines
518 B
C++
/*
|
|
* Copyright (c) 2025, Tim Flynn <trflynn89@ladybird.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <LibWeb/Internals/InternalsBase.h>
|
|
|
|
namespace Web::Internals {
|
|
|
|
class Processes final : public InternalsBase {
|
|
WEB_PLATFORM_OBJECT(Processes, InternalsBase);
|
|
GC_DECLARE_ALLOCATOR(Processes);
|
|
|
|
public:
|
|
virtual ~Processes() override;
|
|
|
|
void update_process_statistics();
|
|
|
|
private:
|
|
explicit Processes(JS::Realm&);
|
|
|
|
virtual void initialize(JS::Realm&) override;
|
|
};
|
|
|
|
}
|