mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-16 23:39:44 +00:00
LibDevTools+LibWebView: Port DevTools to String
This commit is contained in:
parent
9879ac0893
commit
4791ec35bf
Notes:
github-actions[bot]
2025-02-21 00:29:06 +00:00
Author: https://github.com/trflynn89
Commit: 4791ec35bf
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3631
Reviewed-by: https://github.com/awesomekling ✅
35 changed files with 99 additions and 98 deletions
|
@ -6,14 +6,14 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <AK/ByteString.h>
|
||||
#include <AK/NonnullRefPtr.h>
|
||||
#include <AK/String.h>
|
||||
#include <LibDevTools/Actor.h>
|
||||
|
||||
namespace DevTools {
|
||||
|
||||
struct CSSProperty {
|
||||
ByteString name;
|
||||
String name;
|
||||
bool is_inherited { false };
|
||||
};
|
||||
|
||||
|
@ -21,13 +21,13 @@ class CSSPropertiesActor final : public Actor {
|
|||
public:
|
||||
static constexpr auto base_name = "css-properties"sv;
|
||||
|
||||
static NonnullRefPtr<CSSPropertiesActor> create(DevToolsServer&, ByteString name);
|
||||
static NonnullRefPtr<CSSPropertiesActor> create(DevToolsServer&, String name);
|
||||
virtual ~CSSPropertiesActor() override;
|
||||
|
||||
virtual void handle_message(StringView type, JsonObject const&) override;
|
||||
|
||||
private:
|
||||
CSSPropertiesActor(DevToolsServer&, ByteString name);
|
||||
CSSPropertiesActor(DevToolsServer&, String name);
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue