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

// services/viz/public/mojom/compositing/begin_frame_args.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_BEGIN_FRAME_ARGS_MOJOM_SHARED_H_
#define SERVICES_VIZ_PUBLIC_MOJOM_COMPOSITING_BEGIN_FRAME_ARGS_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/begin_frame_args.mojom-shared-internal.h"
#include "mojo/public/mojom/base/time.mojom-shared.h"







namespace viz::mojom {
class BeginFrameArgsDataView;

class BeginFrameAckDataView;



}  // viz::mojom

namespace mojo {
namespace internal {

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

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

}  // namespace internal
}  // namespace mojo


namespace viz::mojom {


enum class BeginFrameArgsType : int32_t {};

 std::ostream& operator<<(std::ostream& os, BeginFrameArgsType value);
inline bool IsKnownEnumValue(BeginFrameArgsType value) {}


class BeginFrameArgsDataView {};


class BeginFrameAckDataView {};


}  // viz::mojom

namespace std {

template <>
struct hash<::viz::mojom::BeginFrameArgsType>
    : public mojo::internal::EnumHashImpl<::viz::mojom::BeginFrameArgsType> {};

}  // namespace std

namespace mojo {


namespace internal {

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

}  // namespace internal


namespace internal {

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

}  // namespace internal


namespace internal {

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

}  // namespace internal

}  // namespace mojo


namespace viz::mojom {

inline void BeginFrameArgsDataView::GetFrameTimeDataView(
    ::mojo_base::mojom::TimeTicksDataView* output) {}
inline void BeginFrameArgsDataView::GetDeadlineDataView(
    ::mojo_base::mojom::TimeTicksDataView* output) {}
inline void BeginFrameArgsDataView::GetIntervalDataView(
    ::mojo_base::mojom::TimeDeltaDataView* output) {}
inline void BeginFrameArgsDataView::GetDispatchTimeDataView(
    ::mojo_base::mojom::TimeTicksDataView* output) {}
inline void BeginFrameArgsDataView::GetClientArrivalTimeDataView(
    ::mojo_base::mojom::TimeTicksDataView* output) {}


inline void BeginFrameAckDataView::GetPreferredFrameIntervalDataView(
    ::mojo_base::mojom::TimeDeltaDataView* output) {}



}  // viz::mojom

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

namespace perfetto {

template <>
struct  TraceFormatTraits<::viz::mojom::BeginFrameArgsType> {};

} // namespace perfetto

#endif  // SERVICES_VIZ_PUBLIC_MOJOM_COMPOSITING_BEGIN_FRAME_ARGS_MOJOM_SHARED_H_