chromium/out/Default/gen/skia/public/mojom/bitmap.mojom-shared.h

// skia/public/mojom/bitmap.mojom-shared.h is auto generated by mojom_bindings_generator.py, do not edit

// 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.

#ifndef SKIA_PUBLIC_MOJOM_BITMAP_MOJOM_SHARED_H_
#define SKIA_PUBLIC_MOJOM_BITMAP_MOJOM_SHARED_H_

#include <stdint.h>

#include <functional>
#include <iosfwd>
#include <type_traits>
#include <utility>
#include "mojo/public/cpp/bindings/array_data_view.h"
#include "mojo/public/cpp/bindings/enum_traits.h"
#include "mojo/public/cpp/bindings/interface_data_view.h"
#include "mojo/public/cpp/bindings/lib/bindings_internal.h"
#include "mojo/public/cpp/bindings/lib/serialization.h"
#include "mojo/public/cpp/bindings/map_data_view.h"
#include "mojo/public/cpp/bindings/string_data_view.h"

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

#include "skia/public/mojom/bitmap.mojom-shared-internal.h"
#include "mojo/public/mojom/base/big_buffer.mojom-shared.h"
#include "skia/public/mojom/image_info.mojom-shared.h"
#include "mojo/public/cpp/bindings/lib/interface_serialization.h"
#include "mojo/public/cpp/system/data_pipe.h"






namespace skia::mojom {
class BitmapN32DataView;

class BitmapWithArbitraryBppDataView;

class BitmapMappedFromTrustedProcessDataView;

class InlineBitmapDataView;



}  // skia::mojom

namespace mojo {
namespace internal {

template <>
struct MojomTypeTraits<::skia::mojom::BitmapN32DataView> {};

template <>
struct MojomTypeTraits<::skia::mojom::BitmapWithArbitraryBppDataView> {};

template <>
struct MojomTypeTraits<::skia::mojom::BitmapMappedFromTrustedProcessDataView> {};

template <>
struct MojomTypeTraits<::skia::mojom::InlineBitmapDataView> {};

}  // namespace internal
}  // namespace mojo


namespace skia::mojom {


class BitmapN32DataView {};


class BitmapWithArbitraryBppDataView {};


class BitmapMappedFromTrustedProcessDataView {};


class InlineBitmapDataView {};


}  // skia::mojom

namespace std {

}  // namespace std

namespace mojo {


namespace internal {

Serializer< ::skia::mojom::BitmapN32DataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::skia::mojom::BitmapWithArbitraryBppDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::skia::mojom::BitmapMappedFromTrustedProcessDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::skia::mojom::InlineBitmapDataView, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


namespace skia::mojom {

inline void BitmapN32DataView::GetImageInfoDataView(
    ::skia::mojom::BitmapN32ImageInfoDataView* output) {}
inline void BitmapN32DataView::GetPixelDataDataView(
    ::mojo_base::mojom::BigBufferDataView* output) {}


inline void BitmapWithArbitraryBppDataView::GetImageInfoDataView(
    ::skia::mojom::ImageInfoDataView* output) {}
inline void BitmapWithArbitraryBppDataView::GetPixelDataDataView(
    ::mojo_base::mojom::BigBufferDataView* output) {}


inline void BitmapMappedFromTrustedProcessDataView::GetImageInfoDataView(
    ::skia::mojom::ImageInfoDataView* output) {}
inline void BitmapMappedFromTrustedProcessDataView::GetPixelDataDataView(
    ::mojo_base::mojom::BigBufferDataView* output) {}


inline void InlineBitmapDataView::GetImageInfoDataView(
    ::skia::mojom::BitmapN32ImageInfoDataView* output) {}
inline void InlineBitmapDataView::GetPixelDataDataView(
    mojo::ArrayDataView<uint8_t>* output) {}



}  // skia::mojom

// Declare TraceFormatTraits for enums, which should be defined in ::perfetto
// namespace.

#endif  // SKIA_PUBLIC_MOJOM_BITMAP_MOJOM_SHARED_H_