chromium/out/Default/gen/ui/display/mojom/display_constants.mojom-shared.h

// ui/display/mojom/display_constants.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 UI_DISPLAY_MOJOM_DISPLAY_CONSTANTS_MOJOM_SHARED_H_
#define UI_DISPLAY_MOJOM_DISPLAY_CONSTANTS_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 "ui/display/mojom/display_constants.mojom-shared-internal.h"







namespace display::mojom {
class ModesetFlagsDataView;



}  // display::mojom

namespace mojo {
namespace internal {

template <>
struct MojomTypeTraits<::display::mojom::ModesetFlagsDataView> {};

}  // namespace internal
}  // namespace mojo


namespace display::mojom {


enum class DisplayConnectionType : int32_t {};

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


enum class HDCPState : int32_t {};

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


enum class ContentProtectionMethod : int32_t {};

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


enum class PanelOrientation : int32_t {};

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


enum class PrivacyScreenState : int32_t {};

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


enum class VariableRefreshRateState : int32_t {};

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


class ModesetFlagsDataView {};


}  // display::mojom

namespace std {

template <>
struct hash<::display::mojom::DisplayConnectionType>
    : public mojo::internal::EnumHashImpl<::display::mojom::DisplayConnectionType> {};

template <>
struct hash<::display::mojom::HDCPState>
    : public mojo::internal::EnumHashImpl<::display::mojom::HDCPState> {};

template <>
struct hash<::display::mojom::ContentProtectionMethod>
    : public mojo::internal::EnumHashImpl<::display::mojom::ContentProtectionMethod> {};

template <>
struct hash<::display::mojom::PanelOrientation>
    : public mojo::internal::EnumHashImpl<::display::mojom::PanelOrientation> {};

template <>
struct hash<::display::mojom::PrivacyScreenState>
    : public mojo::internal::EnumHashImpl<::display::mojom::PrivacyScreenState> {};

template <>
struct hash<::display::mojom::VariableRefreshRateState>
    : public mojo::internal::EnumHashImpl<::display::mojom::VariableRefreshRateState> {};

}  // namespace std

namespace mojo {


namespace internal {

Serializer< ::display::mojom::DisplayConnectionType, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::display::mojom::HDCPState, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::display::mojom::ContentProtectionMethod, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::display::mojom::PanelOrientation, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::display::mojom::PrivacyScreenState, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::display::mojom::VariableRefreshRateState, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::display::mojom::ModesetFlagsDataView, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


namespace display::mojom {




}  // display::mojom

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

namespace perfetto {

template <>
struct  TraceFormatTraits<::display::mojom::DisplayConnectionType> {};

} // namespace perfetto

namespace perfetto {

template <>
struct  TraceFormatTraits<::display::mojom::HDCPState> {};

} // namespace perfetto

namespace perfetto {

template <>
struct  TraceFormatTraits<::display::mojom::ContentProtectionMethod> {};

} // namespace perfetto

namespace perfetto {

template <>
struct  TraceFormatTraits<::display::mojom::PanelOrientation> {};

} // namespace perfetto

namespace perfetto {

template <>
struct  TraceFormatTraits<::display::mojom::PrivacyScreenState> {};

} // namespace perfetto

namespace perfetto {

template <>
struct  TraceFormatTraits<::display::mojom::VariableRefreshRateState> {};

} // namespace perfetto

#endif  // UI_DISPLAY_MOJOM_DISPLAY_CONSTANTS_MOJOM_SHARED_H_