chromium/out/Default/gen/third_party/blink/renderer/core/inspector/protocol/accessibility.cc

// This file is generated by TypeBuilder_cpp.template.

// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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;

// ------------- Enum values from types.

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 AXValueTypeEnum


namespace AXValueSourceTypeEnum {
const char Attribute[] =;
const char Implicit[] =;
const char Style[] =;
const char Contents[] =;
const char Placeholder[] =;
const char RelatedElement[] =;
} // namespace AXValueSourceTypeEnum


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[] =;
} // namespace AXValueNativeSourceTypeEnum


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[] =;
} // namespace AXPropertyNameEnum


CRDTP_BEGIN_DESERIALIZER()

CRDTP_BEGIN_SERIALIZER();


// ------------- Enum values from params.


// ------------- Frontend notifications.

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)
{}

// --------------------- Dispatcher.

class DomainDispatcherImpl : public protocol::DomainDispatcher {};

namespace {
// This helper method with a static map of command methods (instance methods
// of DomainDispatcherImpl declared just above) by their name is used immediately below,
// in the DomainDispatcherImpl::Dispatch method.
DomainDispatcherImpl::CallHandler CommandByName(crdtp::span<uint8_t> command_name) {}
}  // namespace

std::function<void(const crdtp::Dispatchable&)> DomainDispatcherImpl::Dispatch(crdtp::span<uint8_t> command_name) {}


namespace {


}  // namespace

void DomainDispatcherImpl::disable(const crdtp::Dispatchable& dispatchable)
{}

namespace {


}  // namespace

void DomainDispatcherImpl::enable(const crdtp::Dispatchable& dispatchable)
{}

namespace {

struct getPartialAXTreeParams : public crdtp::DeserializableProtocolObject<getPartialAXTreeParams> {};

CRDTP_BEGIN_DESERIALIZER()

}  // namespace

void DomainDispatcherImpl::getPartialAXTree(const crdtp::Dispatchable& dispatchable)
{}

namespace {

struct getFullAXTreeParams : public crdtp::DeserializableProtocolObject<getFullAXTreeParams> {};

CRDTP_BEGIN_DESERIALIZER()

}  // namespace

void DomainDispatcherImpl::getFullAXTree(const crdtp::Dispatchable& dispatchable)
{}

namespace {

struct getRootAXNodeParams : public crdtp::DeserializableProtocolObject<getRootAXNodeParams> {};

CRDTP_BEGIN_DESERIALIZER()

}  // namespace

void DomainDispatcherImpl::getRootAXNode(const crdtp::Dispatchable& dispatchable)
{}

namespace {

struct getAXNodeAndAncestorsParams : public crdtp::DeserializableProtocolObject<getAXNodeAndAncestorsParams> {};

CRDTP_BEGIN_DESERIALIZER()

}  // namespace

void DomainDispatcherImpl::getAXNodeAndAncestors(const crdtp::Dispatchable& dispatchable)
{}

namespace {

struct getChildAXNodesParams : public crdtp::DeserializableProtocolObject<getChildAXNodesParams> {};

CRDTP_BEGIN_DESERIALIZER()

}  // namespace

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()

}  // namespace

void DomainDispatcherImpl::queryAXTree(const crdtp::Dispatchable& dispatchable)
{}

namespace {
// This helper method (with a static map of redirects) is used from Dispatcher::wire
// immediately below.
const std::vector<std::pair<crdtp::span<uint8_t>, crdtp::span<uint8_t>>>& SortedRedirects() {}
}  // namespace

// static
void Dispatcher::wire(UberDispatcher* uber, Backend* backend)
{}

} // Accessibility
} // namespace blink
} // namespace protocol