#include "third_party/blink/public/mojom/context_menu/context_menu.mojom-shared.h"
#include <ostream>
#include <utility>
#include "base/strings/stringprintf.h"
#include "mojo/public/cpp/bindings/lib/validate_params.h"
#include "mojo/public/cpp/bindings/lib/validation_errors.h"
#include "mojo/public/cpp/bindings/lib/validation_util.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value.h"
#include "third_party/blink/public/mojom/context_menu/context_menu.mojom-params-data.h"
namespace blink {
namespace mojom {
NOINLINE static const char* ContextMenuDataMediaTypeToStringHelper(ContextMenuDataMediaType value) { … }
std::string ContextMenuDataMediaTypeToString(ContextMenuDataMediaType value) { … }
std::ostream& operator<<(std::ostream& os, ContextMenuDataMediaType value) { … }
NOINLINE static const char* CustomContextMenuItemTypeToStringHelper(CustomContextMenuItemType value) { … }
std::string CustomContextMenuItemTypeToString(CustomContextMenuItemType value) { … }
std::ostream& operator<<(std::ostream& os, CustomContextMenuItemType value) { … }
namespace internal {
bool FormRendererId_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FormRendererId_Data::FormRendererId_Data()
: … { … }
bool FieldRendererId_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FieldRendererId_Data::FieldRendererId_Data()
: … { … }
bool CustomContextMenuItem_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
CustomContextMenuItem_Data::CustomContextMenuItem_Data()
: … { … }
bool UntrustworthyContextMenuParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
UntrustworthyContextMenuParams_Data::UntrustworthyContextMenuParams_Data()
: … { … }
bool ContextMenuClient_CustomContextMenuAction_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ContextMenuClient_CustomContextMenuAction_Params_Data::ContextMenuClient_CustomContextMenuAction_Params_Data()
: … { … }
bool ContextMenuClient_ContextMenuClosed_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ContextMenuClient_ContextMenuClosed_Params_Data::ContextMenuClient_ContextMenuClosed_Params_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::ContextMenuDataMediaType>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::ContextMenuDataMediaType value) { … }
}
namespace perfetto {
void TraceFormatTraits<::blink::mojom::CustomContextMenuItemType>::WriteIntoTrace(
perfetto::TracedValue context, ::blink::mojom::CustomContextMenuItemType value) { … }
}