#ifndef THIRD_PARTY_BLINK_PUBLIC_MOJOM_NOTIFICATIONS_NOTIFICATION_MOJOM_SHARED_H_
#define THIRD_PARTY_BLINK_PUBLIC_MOJOM_NOTIFICATIONS_NOTIFICATION_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 "third_party/blink/public/mojom/notifications/notification.mojom-shared-internal.h"
#include "mojo/public/mojom/base/string16.mojom-shared.h"
#include "mojo/public/mojom/base/time.mojom-shared.h"
#include "skia/public/mojom/bitmap.mojom-shared.h"
#include "url/mojom/url.mojom-shared.h"
#include "mojo/public/cpp/bindings/lib/interface_serialization.h"
#include "mojo/public/cpp/system/data_pipe.h"
#include "base/component_export.h"
namespace blink::mojom {
class NotificationActionDataView;
class NotificationDataDataView;
class NotificationResourcesDataView;
}
namespace mojo {
namespace internal {
template <>
struct MojomTypeTraits<::blink::mojom::NotificationActionDataView> { … };
template <>
struct MojomTypeTraits<::blink::mojom::NotificationDataDataView> { … };
template <>
struct MojomTypeTraits<::blink::mojom::NotificationResourcesDataView> { … };
}
}
namespace blinkmojom
namespace std {
template <>
struct hash<::blink::mojom::NotificationDirection>
: public mojo::internal::EnumHashImpl<::blink::mojom::NotificationDirection> { … };
template <>
struct hash<::blink::mojom::NotificationActionType>
: public mojo::internal::EnumHashImpl<::blink::mojom::NotificationActionType> { … };
template <>
struct hash<::blink::mojom::NotificationScenario>
: public mojo::internal::EnumHashImpl<::blink::mojom::NotificationScenario> { … };
}
namespace mojo {
namespace internal {
Serializer< ::blink::mojom::NotificationDirection, MaybeConstUserType>;
}
namespace internal {
Serializer< ::blink::mojom::NotificationActionType, MaybeConstUserType>;
}
namespace internal {
Serializer< ::blink::mojom::NotificationScenario, MaybeConstUserType>;
}
namespace internal {
Serializer< ::blink::mojom::NotificationActionDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::blink::mojom::NotificationDataDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::blink::mojom::NotificationResourcesDataView, MaybeConstUserType>;
}
}
namespace blink::mojom {
inline void NotificationActionDataView::GetActionDataView(
mojo::StringDataView* output) { … }
inline void NotificationActionDataView::GetTitleDataView(
::mojo_base::mojom::String16DataView* output) { … }
inline void NotificationActionDataView::GetIconDataView(
::url::mojom::UrlDataView* output) { … }
inline void NotificationActionDataView::GetPlaceholderDataView(
::mojo_base::mojom::String16DataView* output) { … }
inline void NotificationDataDataView::GetTitleDataView(
::mojo_base::mojom::String16DataView* output) { … }
inline void NotificationDataDataView::GetLangDataView(
mojo::StringDataView* output) { … }
inline void NotificationDataDataView::GetBodyDataView(
::mojo_base::mojom::String16DataView* output) { … }
inline void NotificationDataDataView::GetTagDataView(
mojo::StringDataView* output) { … }
inline void NotificationDataDataView::GetImageDataView(
::url::mojom::UrlDataView* output) { … }
inline void NotificationDataDataView::GetIconDataView(
::url::mojom::UrlDataView* output) { … }
inline void NotificationDataDataView::GetBadgeDataView(
::url::mojom::UrlDataView* output) { … }
inline void NotificationDataDataView::GetVibrationPatternDataView(
mojo::ArrayDataView<int32_t>* output) { … }
inline void NotificationDataDataView::GetDataDataView(
mojo::ArrayDataView<uint8_t>* output) { … }
inline void NotificationDataDataView::GetActionsDataView(
mojo::ArrayDataView<NotificationActionDataView>* output) { … }
inline void NotificationDataDataView::GetShowTriggerTimestampDataView(
::mojo_base::mojom::TimeDataView* output) { … }
inline void NotificationResourcesDataView::GetImageDataView(
::skia::mojom::BitmapN32DataView* output) { … }
inline void NotificationResourcesDataView::GetIconDataView(
::skia::mojom::BitmapN32DataView* output) { … }
inline void NotificationResourcesDataView::GetBadgeDataView(
::skia::mojom::BitmapN32DataView* output) { … }
inline void NotificationResourcesDataView::GetActionIconsDataView(
mojo::ArrayDataView<::skia::mojom::BitmapN32DataView>* output) { … }
}
namespace perfetto {
template <>
struct COMPONENT_EXPORT(MOJOM_SHARED_BLINK_COMMON_EXPORT) TraceFormatTraits<::blink::mojom::NotificationDirection> { … };
}
namespace perfetto {
template <>
struct COMPONENT_EXPORT(MOJOM_SHARED_BLINK_COMMON_EXPORT) TraceFormatTraits<::blink::mojom::NotificationActionType> { … };
}
namespace perfetto {
template <>
struct COMPONENT_EXPORT(MOJOM_SHARED_BLINK_COMMON_EXPORT) TraceFormatTraits<::blink::mojom::NotificationScenario> { … };
}
#endif