chromium/out/Default/gen/components/ui_devtools/css.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 "components/ui_devtools/css.h"

#include "components/ui_devtools/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 ui_devtools {
namespace protocol {
namespace CSS {

DeserializerState;
ProtocolTypeTraits;

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

const char Metainfo::domainName[] =;
const char Metainfo::commandPrefix[] =;
const char Metainfo::version[] =;


CRDTP_BEGIN_DESERIALIZER()

CRDTP_BEGIN_SERIALIZER();


CRDTP_BEGIN_DESERIALIZER()

CRDTP_BEGIN_SERIALIZER();


CRDTP_BEGIN_DESERIALIZER()

CRDTP_BEGIN_SERIALIZER();


CRDTP_BEGIN_DESERIALIZER()

CRDTP_BEGIN_SERIALIZER();


CRDTP_BEGIN_DESERIALIZER()

CRDTP_BEGIN_SERIALIZER();


CRDTP_BEGIN_DESERIALIZER()

CRDTP_BEGIN_SERIALIZER();


CRDTP_BEGIN_DESERIALIZER()

CRDTP_BEGIN_SERIALIZER();


CRDTP_BEGIN_DESERIALIZER()

CRDTP_BEGIN_SERIALIZER();


CRDTP_BEGIN_DESERIALIZER()

CRDTP_BEGIN_SERIALIZER();


CRDTP_BEGIN_DESERIALIZER()

CRDTP_BEGIN_SERIALIZER();


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


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

void Frontend::styleSheetChanged(const String& styleSheetId)
{}

void Frontend::styleSheetAdded(std::unique_ptr<protocol::CSS::CSSStyleSheetHeader> header)
{}

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 getMatchedStylesForNodeParams : public crdtp::DeserializableProtocolObject<getMatchedStylesForNodeParams> {};

CRDTP_BEGIN_DESERIALIZER()

}  // namespace

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

namespace {

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

CRDTP_BEGIN_DESERIALIZER()

}  // namespace

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

namespace {

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

CRDTP_BEGIN_DESERIALIZER()

}  // namespace

void DomainDispatcherImpl::setStyleTexts(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)
{}

} // CSS
} // namespace ui_devtools
} // namespace protocol