chromium/third_party/blink/renderer/core/html/canvas/predefined_color_space.cc

// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/renderer/core/html/canvas/predefined_color_space.h"

#include "third_party/blink/renderer/bindings/core/v8/v8_canvas_high_dynamic_range_options.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_canvas_smpte_st_2086_metadata.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_predefined_color_space.h"
#include "third_party/blink/renderer/platform/runtime_enabled_features.h"

namespace blink {

bool ValidateAndConvertColorSpace(const V8PredefinedColorSpace& v8_color_space,
                                  PredefinedColorSpace& color_space,
                                  ExceptionState& exception_state) {}

V8PredefinedColorSpace PredefinedColorSpaceToV8(
    PredefinedColorSpace color_space) {}

void ParseCanvasHighDynamicRangeOptions(
    const CanvasHighDynamicRangeOptions* options,
    gfx::HDRMetadata& hdr_metadata) {}

}  // namespace blink