mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-29 12:49:08 +00:00
The DevTools client will ask for this actor before trying to render any box model or computed style information. We can just stub out this actor for now.
28 lines
609 B
C++
28 lines
609 B
C++
/*
|
|
* Copyright (c) 2025, Tim Flynn <trflynn89@ladybird.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <AK/NonnullRefPtr.h>
|
|
#include <LibDevTools/Actor.h>
|
|
|
|
namespace DevTools {
|
|
|
|
class LayoutInspectorActor final : public Actor {
|
|
public:
|
|
static constexpr auto base_name = "layout-inspector"sv;
|
|
|
|
static NonnullRefPtr<LayoutInspectorActor> create(DevToolsServer&, String name);
|
|
virtual ~LayoutInspectorActor() override;
|
|
|
|
virtual void handle_message(StringView type, JsonObject const&) override;
|
|
|
|
private:
|
|
LayoutInspectorActor(DevToolsServer&, String name);
|
|
};
|
|
|
|
}
|