chromium/out/Default/gen/chrome/browser/lens/core/mojom/text.mojom.cc

// chrome/browser/lens/core/mojom/text.mojom.cc is auto generated by mojom_bindings_generator.py, do not edit

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

#if defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-private-field"
#endif

#include "chrome/browser/lens/core/mojom/text.mojom.h"

#include <math.h>
#include <stdint.h>
#include <utility>

#include "base/debug/alias.h"
#include "base/hash/md5_constexpr.h"
#include "base/run_loop.h"
#include "base/strings/string_number_conversions.h"
#include "base/task/thread_pool/thread_pool_instance.h"
#include "base/trace_event/trace_event.h"
#include "base/trace_event/typed_macros.h"
#include "mojo/public/cpp/bindings/features.h"
#include "mojo/public/cpp/bindings/lib/default_construct_tag_internal.h"
#include "mojo/public/cpp/bindings/lib/generated_code_util.h"
#include "mojo/public/cpp/bindings/lib/message_internal.h"
#include "mojo/public/cpp/bindings/lib/proxy_to_responder.h"
#include "mojo/public/cpp/bindings/lib/send_message_helper.h"
#include "mojo/public/cpp/bindings/lib/serialization_util.h"
#include "mojo/public/cpp/bindings/lib/unserialized_message_context.h"
#include "mojo/public/cpp/bindings/lib/validate_params.h"
#include "mojo/public/cpp/bindings/lib/validation_errors.h"
#include "mojo/public/cpp/bindings/mojo_buildflags.h"
#include "mojo/public/cpp/bindings/urgent_message_scope.h"
#include "mojo/public/interfaces/bindings/interface_control_messages.mojom.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value.h"

#include "chrome/browser/lens/core/mojom/text.mojom-params-data.h"
#include "chrome/browser/lens/core/mojom/text.mojom-shared-message-ids.h"

#include "chrome/browser/lens/core/mojom/text.mojom-import-headers.h"
#include "chrome/browser/lens/core/mojom/text.mojom-test-utils.h"


namespace lens::mojom {
Text::Text()
    :{}

Text::Text(
    TextLayoutPtr text_layout_in,
    const std::optional<std::string>& content_language_in)
    :{}

Text::~Text() = default;

void Text::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool Text::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
TextLayout::TextLayout()
    :{}

TextLayout::TextLayout(
    std::vector<ParagraphPtr> paragraphs_in)
    :{}

TextLayout::~TextLayout() = default;

void TextLayout::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool TextLayout::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
Word::Word()
    :{}

Word::Word(
    const std::string& plain_text_in,
    const std::optional<std::string>& text_separator_in,
    ::lens::mojom::GeometryPtr geometry_in,
    std::optional<WritingDirection> writing_direction_in,
    FormulaMetadataPtr formula_metadata_in)
    :{}

Word::~Word() = default;

void Word::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool Word::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
Line::Line()
    :{}

Line::Line(
    std::vector<WordPtr> words_in,
    ::lens::mojom::GeometryPtr geometry_in)
    :{}

Line::~Line() = default;

void Line::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool Line::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
BackgroundImageData::BackgroundImageData()
    :{}

BackgroundImageData::BackgroundImageData(
    ::mojo_base::BigBuffer background_image_in,
    const ::gfx::Size& image_size_in,
    float vertical_padding_in,
    float horizontal_padding_in,
    ::mojo_base::BigBuffer text_mask_in)
    :{}

BackgroundImageData::~BackgroundImageData() = default;

void BackgroundImageData::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool BackgroundImageData::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
TranslatedLine::TranslatedLine()
    :{}

TranslatedLine::TranslatedLine(
    std::vector<WordPtr> words_in,
    const std::string& translation_in,
    ::SkColor text_color_in,
    ::SkColor background_primary_color_in,
    BackgroundImageDataPtr background_image_data_in,
    ::lens::mojom::GeometryPtr geometry_in)
    :{}

TranslatedLine::~TranslatedLine() = default;

void TranslatedLine::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool TranslatedLine::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
TranslatedParagraph::TranslatedParagraph()
    :{}

TranslatedParagraph::TranslatedParagraph(
    std::vector<TranslatedLinePtr> lines_in,
    std::optional<Alignment> alignment_in,
    std::optional<WritingDirection> writing_direction_in,
    const std::optional<std::string>& content_language_in)
    :{}

TranslatedParagraph::~TranslatedParagraph() = default;

void TranslatedParagraph::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool TranslatedParagraph::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
Paragraph::Paragraph()
    :{}

Paragraph::Paragraph(
    std::vector<LinePtr> lines_in,
    TranslatedParagraphPtr translation_in,
    ::lens::mojom::GeometryPtr geometry_in,
    std::optional<WritingDirection> writing_direction_in,
    const std::optional<std::string>& content_language_in)
    :{}

Paragraph::~Paragraph() = default;

void Paragraph::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool Paragraph::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}
FormulaMetadata::FormulaMetadata()
    :{}

FormulaMetadata::FormulaMetadata(
    const std::optional<std::string>& latex_in)
    :{}

FormulaMetadata::~FormulaMetadata() = default;

void FormulaMetadata::WriteIntoTrace(
    perfetto::TracedValue traced_context) const {}

bool FormulaMetadata::Validate(
    const void* data,
    mojo::internal::ValidationContext* validation_context) {}


}  // lens::mojom


namespace mojo {


// static
bool StructTraits<::lens::mojom::Text::DataView, ::lens::mojom::TextPtr>::Read(
    ::lens::mojom::Text::DataView input,
    ::lens::mojom::TextPtr* output) {}


// static
bool StructTraits<::lens::mojom::TextLayout::DataView, ::lens::mojom::TextLayoutPtr>::Read(
    ::lens::mojom::TextLayout::DataView input,
    ::lens::mojom::TextLayoutPtr* output) {}


// static
bool StructTraits<::lens::mojom::Word::DataView, ::lens::mojom::WordPtr>::Read(
    ::lens::mojom::Word::DataView input,
    ::lens::mojom::WordPtr* output) {}


// static
bool StructTraits<::lens::mojom::Line::DataView, ::lens::mojom::LinePtr>::Read(
    ::lens::mojom::Line::DataView input,
    ::lens::mojom::LinePtr* output) {}


// static
bool StructTraits<::lens::mojom::BackgroundImageData::DataView, ::lens::mojom::BackgroundImageDataPtr>::Read(
    ::lens::mojom::BackgroundImageData::DataView input,
    ::lens::mojom::BackgroundImageDataPtr* output) {}


// static
bool StructTraits<::lens::mojom::TranslatedLine::DataView, ::lens::mojom::TranslatedLinePtr>::Read(
    ::lens::mojom::TranslatedLine::DataView input,
    ::lens::mojom::TranslatedLinePtr* output) {}


// static
bool StructTraits<::lens::mojom::TranslatedParagraph::DataView, ::lens::mojom::TranslatedParagraphPtr>::Read(
    ::lens::mojom::TranslatedParagraph::DataView input,
    ::lens::mojom::TranslatedParagraphPtr* output) {}


// static
bool StructTraits<::lens::mojom::Paragraph::DataView, ::lens::mojom::ParagraphPtr>::Read(
    ::lens::mojom::Paragraph::DataView input,
    ::lens::mojom::ParagraphPtr* output) {}


// static
bool StructTraits<::lens::mojom::FormulaMetadata::DataView, ::lens::mojom::FormulaMetadataPtr>::Read(
    ::lens::mojom::FormulaMetadata::DataView input,
    ::lens::mojom::FormulaMetadataPtr* output) {}

}  // namespace mojo


// Symbols declared in the -test-utils.h header are defined here instead of a
// separate .cc file to save compile time.


namespace lens::mojom {




}  // lens::mojom


#if defined(__clang__)
#pragma clang diagnostic pop
#endif