#ifndef THIRD_PARTY_BLINK_RENDERER_CORE_HTML_CANVAS_PREDEFINED_COLOR_SPACE_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_HTML_CANVAS_PREDEFINED_COLOR_SPACE_H_
#include "third_party/blink/renderer/core/core_export.h"
#include "third_party/blink/renderer/platform/bindings/exception_state.h"
#include "third_party/blink/renderer/platform/graphics/graphics_types.h"
#include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"
#include "ui/gfx/hdr_metadata.h"
namespace blink {
class CanvasHighDynamicRangeOptions;
class V8PredefinedColorSpace;
bool CORE_EXPORT
ValidateAndConvertColorSpace(const V8PredefinedColorSpace& v8_color_space,
PredefinedColorSpace& color_space,
ExceptionState& exception_state);
V8PredefinedColorSpace CORE_EXPORT
PredefinedColorSpaceToV8(PredefinedColorSpace color_space);
void CORE_EXPORT
ParseCanvasHighDynamicRangeOptions(const CanvasHighDynamicRangeOptions* options,
gfx::HDRMetadata& hdr_metadata);
}
#endif