#ifndef UI_EVENTS_MOJOM_EVENT_MOJOM_BLINK_H_
#define UI_EVENTS_MOJOM_EVENT_MOJOM_BLINK_H_
#include <stdint.h>
#include <limits>
#include <optional>
#include <type_traits>
#include <utility>
#include "base/types/cxx23_to_underlying.h"
#include "mojo/public/cpp/bindings/clone_traits.h"
#include "mojo/public/cpp/bindings/equals_traits.h"
#include "mojo/public/cpp/bindings/lib/serialization.h"
#include "mojo/public/cpp/bindings/struct_ptr.h"
#include "mojo/public/cpp/bindings/struct_traits.h"
#include "mojo/public/cpp/bindings/union_traits.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value_forward.h"
#include "ui/events/mojom/event.mojom-features.h"
#include "ui/events/mojom/event.mojom-shared.h"
#include "ui/events/mojom/event.mojom-blink-forward.h"
#include "mojo/public/mojom/base/time.mojom-blink.h"
#include "ui/events/mojom/event_constants.mojom-blink.h"
#include "ui/events/mojom/keyboard_codes.mojom-blink-forward.h"
#include "ui/gfx/geometry/mojom/geometry.mojom-blink.h"
#include "ui/latency/mojom/latency_info.mojom-blink.h"
#include "mojo/public/cpp/bindings/lib/wtf_clone_equals_util.h"
#include "mojo/public/cpp/bindings/lib/wtf_hash_util.h"
#include "third_party/blink/renderer/platform/wtf/hash_functions.h"
#include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"
#include "mojo/public/cpp/bindings/lib/native_enum_serialization.h"
#include "mojo/public/cpp/bindings/lib/native_struct_serialization.h"
namespace ui::mojom::blink {
class KeyData { … };
template <typename T, KeyData::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, KeyData::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, KeyData::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, KeyData::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class GesturePinchData { … };
template <typename T, GesturePinchData::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, GesturePinchData::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, GesturePinchData::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, GesturePinchData::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class GestureSwipeData { … };
template <typename T, GestureSwipeData::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, GestureSwipeData::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, GestureSwipeData::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, GestureSwipeData::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class GestureDataDetails { … };
class LocationData { … };
template <typename T, LocationData::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, LocationData::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, LocationData::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, LocationData::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class GestureData { … };
template <typename T, GestureData::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, GestureData::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, GestureData::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, GestureData::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class ScrollData { … };
template <typename T, ScrollData::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, ScrollData::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, ScrollData::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, ScrollData::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class PointerDetails { … };
template <typename T, PointerDetails::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, PointerDetails::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, PointerDetails::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, PointerDetails::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class MouseData { … };
template <typename T, MouseData::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, MouseData::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, MouseData::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, MouseData::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class TouchData { … };
template <typename T, TouchData::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, TouchData::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, TouchData::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, TouchData::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class Event { … };
template <typename T, Event::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, Event::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, Event::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, Event::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
template <typename UnionPtrType>
GestureDataDetailsPtr GestureDataDetails::Clone() const { … }
template <typename T,
typename std::enable_if<std::is_same<
T, GestureDataDetails>::value>::type*>
bool GestureDataDetails::Equals(const T& other) const { … }
template <typename StructPtrType>
KeyDataPtr KeyData::Clone() const { … }
template <typename T, KeyData::EnableIfSame<T>*>
bool KeyData::Equals(const T& other_struct) const { … }
template <typename T, KeyData::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
LocationDataPtr LocationData::Clone() const { … }
template <typename T, LocationData::EnableIfSame<T>*>
bool LocationData::Equals(const T& other_struct) const { … }
template <typename T, LocationData::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
GesturePinchDataPtr GesturePinchData::Clone() const { … }
template <typename T, GesturePinchData::EnableIfSame<T>*>
bool GesturePinchData::Equals(const T& other_struct) const { … }
template <typename T, GesturePinchData::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
GestureSwipeDataPtr GestureSwipeData::Clone() const { … }
template <typename T, GestureSwipeData::EnableIfSame<T>*>
bool GestureSwipeData::Equals(const T& other_struct) const { … }
template <typename T, GestureSwipeData::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
GestureDataPtr GestureData::Clone() const { … }
template <typename T, GestureData::EnableIfSame<T>*>
bool GestureData::Equals(const T& other_struct) const { … }
template <typename T, GestureData::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
ScrollDataPtr ScrollData::Clone() const { … }
template <typename T, ScrollData::EnableIfSame<T>*>
bool ScrollData::Equals(const T& other_struct) const { … }
template <typename T, ScrollData::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
PointerDetailsPtr PointerDetails::Clone() const { … }
template <typename T, PointerDetails::EnableIfSame<T>*>
bool PointerDetails::Equals(const T& other_struct) const { … }
template <typename T, PointerDetails::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
MouseDataPtr MouseData::Clone() const { … }
template <typename T, MouseData::EnableIfSame<T>*>
bool MouseData::Equals(const T& other_struct) const { … }
template <typename T, MouseData::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
TouchDataPtr TouchData::Clone() const { … }
template <typename T, TouchData::EnableIfSame<T>*>
bool TouchData::Equals(const T& other_struct) const { … }
template <typename T, TouchData::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
EventPtr Event::Clone() const { … }
template <typename T, Event::EnableIfSame<T>*>
bool Event::Equals(const T& other_struct) const { … }
template <typename T, Event::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
}
namespace mojo {
template <>
struct StructTraits<::ui::mojom::blink::KeyData::DataView,
::ui::mojom::blink::KeyDataPtr> { … };
template <>
struct StructTraits<::ui::mojom::blink::LocationData::DataView,
::ui::mojom::blink::LocationDataPtr> { … };
template <>
struct StructTraits<::ui::mojom::blink::GesturePinchData::DataView,
::ui::mojom::blink::GesturePinchDataPtr> { … };
template <>
struct StructTraits<::ui::mojom::blink::GestureSwipeData::DataView,
::ui::mojom::blink::GestureSwipeDataPtr> { … };
template <>
struct StructTraits<::ui::mojom::blink::GestureData::DataView,
::ui::mojom::blink::GestureDataPtr> { … };
template <>
struct StructTraits<::ui::mojom::blink::ScrollData::DataView,
::ui::mojom::blink::ScrollDataPtr> { … };
template <>
struct StructTraits<::ui::mojom::blink::PointerDetails::DataView,
::ui::mojom::blink::PointerDetailsPtr> { … };
template <>
struct StructTraits<::ui::mojom::blink::MouseData::DataView,
::ui::mojom::blink::MouseDataPtr> { … };
template <>
struct StructTraits<::ui::mojom::blink::TouchData::DataView,
::ui::mojom::blink::TouchDataPtr> { … };
template <>
struct StructTraits<::ui::mojom::blink::Event::DataView,
::ui::mojom::blink::EventPtr> { … };
template <>
struct UnionTraits<::ui::mojom::blink::GestureDataDetails::DataView,
::ui::mojom::blink::GestureDataDetailsPtr> { … };
}
#endif