chromium/out/Default/gen/ui/base/mojom/ui_base_types.mojom-shared.h

// ui/base/mojom/ui_base_types.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_BASE_MOJOM_UI_BASE_TYPES_MOJOM_SHARED_H_
#define UI_BASE_MOJOM_UI_BASE_TYPES_MOJOM_SHARED_H_

#include <stdint.h>

#include <functional>
#include <iosfwd>
#include <type_traits>
#include <utility>

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

#include "ui/base/mojom/ui_base_types.mojom-shared-internal.h"







namespace ui::mojom {


}  // ui::mojom

namespace mojo {
namespace internal {

}  // namespace internal
}  // namespace mojo


namespace ui::mojom {


enum class ModalType : int32_t {};

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


enum class MenuSourceType : int32_t {};

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


enum class WindowShowState : int32_t {};

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


}  // ui::mojom

namespace std {

template <>
struct hash<::ui::mojom::ModalType>
    : public mojo::internal::EnumHashImpl<::ui::mojom::ModalType> {};

template <>
struct hash<::ui::mojom::MenuSourceType>
    : public mojo::internal::EnumHashImpl<::ui::mojom::MenuSourceType> {};

template <>
struct hash<::ui::mojom::WindowShowState>
    : public mojo::internal::EnumHashImpl<::ui::mojom::WindowShowState> {};

}  // namespace std

namespace mojo {


namespace internal {

Serializer< ::ui::mojom::ModalType, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::ui::mojom::MenuSourceType, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::ui::mojom::WindowShowState, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


namespace ui::mojom {


}  // ui::mojom

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

namespace perfetto {

template <>
struct  TraceFormatTraits<::ui::mojom::ModalType> {};

} // namespace perfetto

namespace perfetto {

template <>
struct  TraceFormatTraits<::ui::mojom::MenuSourceType> {};

} // namespace perfetto

namespace perfetto {

template <>
struct  TraceFormatTraits<::ui::mojom::WindowShowState> {};

} // namespace perfetto

#endif  // UI_BASE_MOJOM_UI_BASE_TYPES_MOJOM_SHARED_H_