#include "ui/gfx/mojom/display_color_spaces.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 "ui/gfx/mojom/display_color_spaces.mojom-params-data.h"
namespace gfx {
namespace mojom {
NOINLINE static const char* ContentColorUsageToStringHelper(ContentColorUsage value) { … }
std::string ContentColorUsageToString(ContentColorUsage value) { … }
std::ostream& operator<<(std::ostream& os, ContentColorUsage value) { … }
namespace internal {
bool DisplayColorSpaces_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DisplayColorSpaces_Data::DisplayColorSpaces_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::gfx::mojom::ContentColorUsage>::WriteIntoTrace(
perfetto::TracedValue context, ::gfx::mojom::ContentColorUsage value) { … }
}