#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 {
}
namespace mojo {
namespace internal {
}
}
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) { … }
}
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 mojo {
namespace internal {
Serializer< ::ui::mojom::ModalType, MaybeConstUserType>;
}
namespace internal {
Serializer< ::ui::mojom::MenuSourceType, MaybeConstUserType>;
}
namespace internal {
Serializer< ::ui::mojom::WindowShowState, MaybeConstUserType>;
}
}
namespace ui::mojom {
}
namespace perfetto {
template <>
struct TraceFormatTraits<::ui::mojom::ModalType> { … };
}
namespace perfetto {
template <>
struct TraceFormatTraits<::ui::mojom::MenuSourceType> { … };
}
namespace perfetto {
template <>
struct TraceFormatTraits<::ui::mojom::WindowShowState> { … };
}
#endif