#include "third_party/blink/renderer/core/inspector/protocol/layer_tree.h"
#include "third_party/blink/renderer/core/inspector/protocol/protocol.h"
#include "third_party/inspector_protocol/crdtp/cbor.h"
#include "third_party/inspector_protocol/crdtp/find_by_first.h"
#include "third_party/inspector_protocol/crdtp/span.h"
namespace blink {
namespace protocol {
namespace LayerTree {
DeserializerState;
ProtocolTypeTraits;
const char Metainfo::domainName[] = …;
const char Metainfo::commandPrefix[] = …;
const char Metainfo::version[] = …;
const char* ScrollRect::TypeEnum::RepaintsOnScroll = …;
const char* ScrollRect::TypeEnum::TouchEventHandler = …;
const char* ScrollRect::TypeEnum::WheelEventHandler = …;
CRDTP_BEGIN_DESERIALIZER(…)
CRDTP_BEGIN_SERIALIZER(…);
CRDTP_BEGIN_DESERIALIZER(…)
CRDTP_BEGIN_SERIALIZER(…);
CRDTP_BEGIN_DESERIALIZER(…)
CRDTP_BEGIN_SERIALIZER(…);
CRDTP_BEGIN_DESERIALIZER(…)
CRDTP_BEGIN_SERIALIZER(…);
void Frontend::layerPainted(const String& layerId, std::unique_ptr<protocol::DOM::Rect> clip)
{ … }
void Frontend::layerTreeDidChange(Maybe<protocol::Array<protocol::LayerTree::Layer>> layers)
{ … }
void Frontend::flush()
{ … }
void Frontend::sendRawNotification(std::unique_ptr<Serializable> notification)
{ … }
class DomainDispatcherImpl : public protocol::DomainDispatcher { … };
namespace {
DomainDispatcherImpl::CallHandler CommandByName(crdtp::span<uint8_t> command_name) { … }
}
std::function<void(const crdtp::Dispatchable&)> DomainDispatcherImpl::Dispatch(crdtp::span<uint8_t> command_name) { … }
namespace {
struct compositingReasonsParams : public crdtp::DeserializableProtocolObject<compositingReasonsParams> { … };
CRDTP_BEGIN_DESERIALIZER(…)
}
void DomainDispatcherImpl::compositingReasons(const crdtp::Dispatchable& dispatchable)
{ … }
namespace {
}
void DomainDispatcherImpl::disable(const crdtp::Dispatchable& dispatchable)
{ … }
namespace {
}
void DomainDispatcherImpl::enable(const crdtp::Dispatchable& dispatchable)
{ … }
namespace {
struct loadSnapshotParams : public crdtp::DeserializableProtocolObject<loadSnapshotParams> { … };
CRDTP_BEGIN_DESERIALIZER(…)
}
void DomainDispatcherImpl::loadSnapshot(const crdtp::Dispatchable& dispatchable)
{ … }
namespace {
struct makeSnapshotParams : public crdtp::DeserializableProtocolObject<makeSnapshotParams> { … };
CRDTP_BEGIN_DESERIALIZER(…)
}
void DomainDispatcherImpl::makeSnapshot(const crdtp::Dispatchable& dispatchable)
{ … }
namespace {
struct profileSnapshotParams : public crdtp::DeserializableProtocolObject<profileSnapshotParams> { … };
CRDTP_BEGIN_DESERIALIZER(…)
}
void DomainDispatcherImpl::profileSnapshot(const crdtp::Dispatchable& dispatchable)
{ … }
namespace {
struct releaseSnapshotParams : public crdtp::DeserializableProtocolObject<releaseSnapshotParams> { … };
CRDTP_BEGIN_DESERIALIZER(…)
}
void DomainDispatcherImpl::releaseSnapshot(const crdtp::Dispatchable& dispatchable)
{ … }
namespace {
struct replaySnapshotParams : public crdtp::DeserializableProtocolObject<replaySnapshotParams> { … };
CRDTP_BEGIN_DESERIALIZER(…)
}
void DomainDispatcherImpl::replaySnapshot(const crdtp::Dispatchable& dispatchable)
{ … }
namespace {
struct snapshotCommandLogParams : public crdtp::DeserializableProtocolObject<snapshotCommandLogParams> { … };
CRDTP_BEGIN_DESERIALIZER(…)
}
void DomainDispatcherImpl::snapshotCommandLog(const crdtp::Dispatchable& dispatchable)
{ … }
namespace {
const std::vector<std::pair<crdtp::span<uint8_t>, crdtp::span<uint8_t>>>& SortedRedirects() { … }
}
void Dispatcher::wire(UberDispatcher* uber, Backend* backend)
{ … }
}
}
}