chromium/out/Default/gen/services/viz/public/mojom/compositing/layer_context.mojom-shared.h

// services/viz/public/mojom/compositing/layer_context.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 SERVICES_VIZ_PUBLIC_MOJOM_COMPOSITING_LAYER_CONTEXT_MOJOM_SHARED_H_
#define SERVICES_VIZ_PUBLIC_MOJOM_COMPOSITING_LAYER_CONTEXT_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 "services/viz/public/mojom/compositing/layer_context.mojom-shared-internal.h"
#include "services/viz/public/mojom/compositing/begin_frame_args.mojom-shared.h"
#include "services/viz/public/mojom/compositing/layer.mojom-shared.h"
#include "services/viz/public/mojom/compositing/local_surface_id.mojom-shared.h"
#include "services/viz/public/mojom/compositing/tiling.mojom-shared.h"
#include "skia/public/mojom/skcolor4f.mojom-shared.h"
#include "ui/gfx/geometry/mojom/geometry.mojom-shared.h"
#include "mojo/public/cpp/bindings/lib/interface_serialization.h"
#include "mojo/public/cpp/system/data_pipe.h"






namespace viz::mojom {
class LayerTreeUpdateDataView;

class PendingLayerContextDataView;



}  // viz::mojom

namespace mojo {
namespace internal {

template <>
struct MojomTypeTraits<::viz::mojom::LayerTreeUpdateDataView> {};

template <>
struct MojomTypeTraits<::viz::mojom::PendingLayerContextDataView> {};

}  // namespace internal
}  // namespace mojo


namespace viz::mojom {
// Interface base classes. They are used for type safety check.
class LayerContextInterfaceBase {};

LayerContextPtrDataView;
LayerContextRequestDataView;
LayerContextAssociatedPtrInfoDataView;
LayerContextAssociatedRequestDataView;
class LayerContextClientInterfaceBase {};

LayerContextClientPtrDataView;
LayerContextClientRequestDataView;
LayerContextClientAssociatedPtrInfoDataView;
LayerContextClientAssociatedRequestDataView;


class LayerTreeUpdateDataView {};


class PendingLayerContextDataView {};


}  // viz::mojom

namespace std {

}  // namespace std

namespace mojo {


namespace internal {

Serializer< ::viz::mojom::LayerTreeUpdateDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::viz::mojom::PendingLayerContextDataView, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


namespace viz::mojom {

inline void LayerTreeUpdateDataView::GetDeviceViewportDataView(
    ::gfx::mojom::RectDataView* output) {}
inline void LayerTreeUpdateDataView::GetLocalSurfaceIdFromParentDataView(
    ::viz::mojom::LocalSurfaceIdDataView* output) {}
inline void LayerTreeUpdateDataView::GetBackgroundColorDataView(
    ::skia::mojom::SkColor4fDataView* output) {}
inline void LayerTreeUpdateDataView::GetLayersDataView(
    mojo::ArrayDataView<::viz::mojom::LayerDataView>* output) {}
inline void LayerTreeUpdateDataView::GetLayerOrderDataView(
    mojo::ArrayDataView<int32_t>* output) {}
inline void LayerTreeUpdateDataView::GetTransformTreeUpdateDataView(
    ::viz::mojom::TransformTreeUpdateDataView* output) {}
inline void LayerTreeUpdateDataView::GetTransformNodesDataView(
    mojo::ArrayDataView<::viz::mojom::TransformNodeDataView>* output) {}
inline void LayerTreeUpdateDataView::GetClipNodesDataView(
    mojo::ArrayDataView<::viz::mojom::ClipNodeDataView>* output) {}
inline void LayerTreeUpdateDataView::GetEffectNodesDataView(
    mojo::ArrayDataView<::viz::mojom::EffectNodeDataView>* output) {}
inline void LayerTreeUpdateDataView::GetScrollNodesDataView(
    mojo::ArrayDataView<::viz::mojom::ScrollNodeDataView>* output) {}
inline void LayerTreeUpdateDataView::GetTilingsDataView(
    mojo::ArrayDataView<::viz::mojom::TilingDataView>* output) {}





}  // viz::mojom

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

#endif  // SERVICES_VIZ_PUBLIC_MOJOM_COMPOSITING_LAYER_CONTEXT_MOJOM_SHARED_H_