#include "third_party/blink/renderer/core/inspector/protocol/accessibility.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 Accessibility {
DeserializerState;
ProtocolTypeTraits;
const char Metainfo::domainName[] = …;
const char Metainfo::commandPrefix[] = …;
const char Metainfo::version[] = …;
namespace AXValueTypeEnum {
const char Boolean[] = …;
const char Tristate[] = …;
const char BooleanOrUndefined[] = …;
const char Idref[] = …;
const char IdrefList[] = …;
const char Integer[] = …;
const char Node[] = …;
const char NodeList[] = …;
const char Number[] = …;
const char String[] = …;
const char ComputedString[] = …;
const char Token[] = …;
const char TokenList[] = …;
const char DomRelation[] = …;
const char Role[] = …;
const char InternalRole[] = …;
const char ValueUndefined[] = …;
}
namespace AXValueSourceTypeEnum {
const char Attribute[] = …;
const char Implicit[] = …;
const char Style[] = …;
const char Contents[] = …;
const char Placeholder[] = …;
const char RelatedElement[] = …;
}
namespace AXValueNativeSourceTypeEnum {
const char Description[] = …;
const char Figcaption[] = …;
const char Label[] = …;
const char Labelfor[] = …;
const char Labelwrapped[] = …;
const char Legend[] = …;
const char Rubyannotation[] = …;
const char Tablecaption[] = …;
const char Title[] = …;
const char Other[] = …;
}
CRDTP_BEGIN_DESERIALIZER(…)
CRDTP_BEGIN_SERIALIZER(…);
CRDTP_BEGIN_DESERIALIZER(…)
CRDTP_BEGIN_SERIALIZER(…);
CRDTP_BEGIN_DESERIALIZER(…)
CRDTP_BEGIN_SERIALIZER(…);
CRDTP_BEGIN_DESERIALIZER(…)
CRDTP_BEGIN_SERIALIZER(…);
namespace AXPropertyNameEnum {
const char Busy[] = …;
const char Disabled[] = …;
const char Editable[] = …;
const char Focusable[] = …;
const char Focused[] = …;
const char Hidden[] = …;
const char HiddenRoot[] = …;
const char Invalid[] = …;
const char Keyshortcuts[] = …;
const char Settable[] = …;
const char Roledescription[] = …;
const char Live[] = …;
const char Atomic[] = …;
const char Relevant[] = …;
const char Root[] = …;
const char Autocomplete[] = …;
const char HasPopup[] = …;
const char Level[] = …;
const char Multiselectable[] = …;
const char Orientation[] = …;
const char Multiline[] = …;
const char Readonly[] = …;
const char Required[] = …;
const char Valuemin[] = …;
const char Valuemax[] = …;
const char Valuetext[] = …;
const char Checked[] = …;
const char Expanded[] = …;
const char Modal[] = …;
const char Pressed[] = …;
const char Selected[] = …;
const char Activedescendant[] = …;
const char Controls[] = …;
const char Describedby[] = …;
const char Details[] = …;
const char Errormessage[] = …;
const char Flowto[] = …;
const char Labelledby[] = …;
const char Owns[] = …;
const char Url[] = …;
}
CRDTP_BEGIN_DESERIALIZER(…)
CRDTP_BEGIN_SERIALIZER(…);
void Frontend::loadComplete(std::unique_ptr<protocol::Accessibility::AXNode> root)
{ … }
void Frontend::nodesUpdated(std::unique_ptr<protocol::Array<protocol::Accessibility::AXNode>> nodes)
{ … }
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 {
}
void DomainDispatcherImpl::disable(const crdtp::Dispatchable& dispatchable)
{ … }
namespace {
}
void DomainDispatcherImpl::enable(const crdtp::Dispatchable& dispatchable)
{ … }
namespace {
struct getPartialAXTreeParams : public crdtp::DeserializableProtocolObject<getPartialAXTreeParams> { … };
CRDTP_BEGIN_DESERIALIZER(…)
}
void DomainDispatcherImpl::getPartialAXTree(const crdtp::Dispatchable& dispatchable)
{ … }
namespace {
struct getFullAXTreeParams : public crdtp::DeserializableProtocolObject<getFullAXTreeParams> { … };
CRDTP_BEGIN_DESERIALIZER(…)
}
void DomainDispatcherImpl::getFullAXTree(const crdtp::Dispatchable& dispatchable)
{ … }
namespace {
struct getRootAXNodeParams : public crdtp::DeserializableProtocolObject<getRootAXNodeParams> { … };
CRDTP_BEGIN_DESERIALIZER(…)
}
void DomainDispatcherImpl::getRootAXNode(const crdtp::Dispatchable& dispatchable)
{ … }
namespace {
struct getAXNodeAndAncestorsParams : public crdtp::DeserializableProtocolObject<getAXNodeAndAncestorsParams> { … };
CRDTP_BEGIN_DESERIALIZER(…)
}
void DomainDispatcherImpl::getAXNodeAndAncestors(const crdtp::Dispatchable& dispatchable)
{ … }
namespace {
struct getChildAXNodesParams : public crdtp::DeserializableProtocolObject<getChildAXNodesParams> { … };
CRDTP_BEGIN_DESERIALIZER(…)
}
void DomainDispatcherImpl::getChildAXNodes(const crdtp::Dispatchable& dispatchable)
{ … }
class QueryAXTreeCallbackImpl : public Backend::QueryAXTreeCallback, public DomainDispatcher::Callback { … };
namespace {
struct queryAXTreeParams : public crdtp::DeserializableProtocolObject<queryAXTreeParams> { … };
CRDTP_BEGIN_DESERIALIZER(…)
}
void DomainDispatcherImpl::queryAXTree(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)
{ … }
}
}
}