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

// chrome/browser/lens/core/mojom/text.mojom.h 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.

#ifndef CHROME_BROWSER_LENS_CORE_MOJOM_TEXT_MOJOM_H_
#define CHROME_BROWSER_LENS_CORE_MOJOM_TEXT_MOJOM_H_

#include <stdint.h>

#include <limits>
#include <optional>
#include <type_traits>
#include <utility>

#include "base/types/cxx23_to_underlying.h"
#include "mojo/public/cpp/bindings/clone_traits.h"
#include "mojo/public/cpp/bindings/equals_traits.h"
#include "mojo/public/cpp/bindings/lib/serialization.h"
#include "mojo/public/cpp/bindings/struct_ptr.h"
#include "mojo/public/cpp/bindings/struct_traits.h"
#include "mojo/public/cpp/bindings/union_traits.h"

#include "third_party/perfetto/include/perfetto/tracing/traced_value_forward.h"

#include "chrome/browser/lens/core/mojom/text.mojom-features.h"  // IWYU pragma: export
#include "chrome/browser/lens/core/mojom/text.mojom-shared.h"  // IWYU pragma: export
#include "chrome/browser/lens/core/mojom/text.mojom-forward.h"  // IWYU pragma: export
#include "chrome/browser/lens/core/mojom/geometry.mojom.h"
#include "ui/gfx/geometry/mojom/geometry.mojom.h"
#include "mojo/public/mojom/base/big_buffer.mojom.h"
#include "skia/public/mojom/skcolor.mojom.h"
#include <string>
#include <vector>

#include "mojo/public/cpp/bindings/lib/control_message_handler.h"
#include "mojo/public/cpp/bindings/lib/message_size_estimator.h"
#include "mojo/public/cpp/bindings/raw_ptr_impl_ref_traits.h"






namespace lens::mojom {













class  FormulaMetadata {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
template <typename T, FormulaMetadata::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, FormulaMetadata::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, FormulaMetadata::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, FormulaMetadata::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}







class  Text {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
template <typename T, Text::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, Text::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, Text::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, Text::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}





class  TextLayout {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
template <typename T, TextLayout::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, TextLayout::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, TextLayout::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, TextLayout::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}





class  Word {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
template <typename T, Word::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, Word::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, Word::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, Word::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}





class  Line {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
template <typename T, Line::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, Line::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, Line::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, Line::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}





class  BackgroundImageData {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
template <typename T, BackgroundImageData::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, BackgroundImageData::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, BackgroundImageData::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, BackgroundImageData::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}





class  TranslatedLine {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
template <typename T, TranslatedLine::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, TranslatedLine::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, TranslatedLine::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, TranslatedLine::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}





class  TranslatedParagraph {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
template <typename T, TranslatedParagraph::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, TranslatedParagraph::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, TranslatedParagraph::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, TranslatedParagraph::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}





class  Paragraph {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
template <typename T, Paragraph::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, Paragraph::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, Paragraph::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, Paragraph::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}


template <typename StructPtrType>
TextPtr Text::Clone() const {}

template <typename T, Text::EnableIfSame<T>*>
bool Text::Equals(const T& other_struct) const {}

template <typename T, Text::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
TextLayoutPtr TextLayout::Clone() const {}

template <typename T, TextLayout::EnableIfSame<T>*>
bool TextLayout::Equals(const T& other_struct) const {}

template <typename T, TextLayout::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
WordPtr Word::Clone() const {}

template <typename T, Word::EnableIfSame<T>*>
bool Word::Equals(const T& other_struct) const {}

template <typename T, Word::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
LinePtr Line::Clone() const {}

template <typename T, Line::EnableIfSame<T>*>
bool Line::Equals(const T& other_struct) const {}

template <typename T, Line::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
BackgroundImageDataPtr BackgroundImageData::Clone() const {}

template <typename T, BackgroundImageData::EnableIfSame<T>*>
bool BackgroundImageData::Equals(const T& other_struct) const {}

template <typename T, BackgroundImageData::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
TranslatedLinePtr TranslatedLine::Clone() const {}

template <typename T, TranslatedLine::EnableIfSame<T>*>
bool TranslatedLine::Equals(const T& other_struct) const {}

template <typename T, TranslatedLine::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
TranslatedParagraphPtr TranslatedParagraph::Clone() const {}

template <typename T, TranslatedParagraph::EnableIfSame<T>*>
bool TranslatedParagraph::Equals(const T& other_struct) const {}

template <typename T, TranslatedParagraph::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
ParagraphPtr Paragraph::Clone() const {}

template <typename T, Paragraph::EnableIfSame<T>*>
bool Paragraph::Equals(const T& other_struct) const {}

template <typename T, Paragraph::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
FormulaMetadataPtr FormulaMetadata::Clone() const {}

template <typename T, FormulaMetadata::EnableIfSame<T>*>
bool FormulaMetadata::Equals(const T& other_struct) const {}

template <typename T, FormulaMetadata::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}


}  // lens::mojom

namespace mojo {


template <>
struct  StructTraits<::lens::mojom::Text::DataView,
                                         ::lens::mojom::TextPtr> {};


template <>
struct  StructTraits<::lens::mojom::TextLayout::DataView,
                                         ::lens::mojom::TextLayoutPtr> {};


template <>
struct  StructTraits<::lens::mojom::Word::DataView,
                                         ::lens::mojom::WordPtr> {};


template <>
struct  StructTraits<::lens::mojom::Line::DataView,
                                         ::lens::mojom::LinePtr> {};


template <>
struct  StructTraits<::lens::mojom::BackgroundImageData::DataView,
                                         ::lens::mojom::BackgroundImageDataPtr> {};


template <>
struct  StructTraits<::lens::mojom::TranslatedLine::DataView,
                                         ::lens::mojom::TranslatedLinePtr> {};


template <>
struct  StructTraits<::lens::mojom::TranslatedParagraph::DataView,
                                         ::lens::mojom::TranslatedParagraphPtr> {};


template <>
struct  StructTraits<::lens::mojom::Paragraph::DataView,
                                         ::lens::mojom::ParagraphPtr> {};


template <>
struct  StructTraits<::lens::mojom::FormulaMetadata::DataView,
                                         ::lens::mojom::FormulaMetadataPtr> {};

}  // namespace mojo

#endif  // CHROME_BROWSER_LENS_CORE_MOJOM_TEXT_MOJOM_H_