chromium/third_party/blink/renderer/core/css/cssom/css_hwb.cc

// Copyright 2022 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/css/cssom/css_hwb.h"

#include "third_party/blink/renderer/bindings/core/v8/v8_union_cssnumericvalue_double.h"
#include "third_party/blink/renderer/core/css/cssom/css_unit_value.h"
#include "third_party/blink/renderer/core/css/cssom/cssom_types.h"
#include "third_party/blink/renderer/platform/bindings/exception_state.h"
#include "third_party/blink/renderer/platform/graphics/color.h"

namespace blink {

CSSHWB::CSSHWB(const Color& input_color) {}

CSSHWB::CSSHWB(CSSNumericValue* h,
               CSSNumericValue* w,
               CSSNumericValue* b,
               CSSNumericValue* alpha)
    :{}

CSSHWB* CSSHWB::Create(CSSNumericValue* hue,
                       const V8CSSNumberish* white,
                       const V8CSSNumberish* black,
                       const V8CSSNumberish* alpha,
                       ExceptionState& exception_state) {}

V8CSSNumberish* CSSHWB::w() const {}

V8CSSNumberish* CSSHWB::b() const {}

V8CSSNumberish* CSSHWB::alpha() const {}

void CSSHWB::setH(CSSNumericValue* hue, ExceptionState& exception_state) {}

void CSSHWB::setW(const V8CSSNumberish* white,
                  ExceptionState& exception_state) {}

void CSSHWB::setB(const V8CSSNumberish* black,
                  ExceptionState& exception_state) {}

void CSSHWB::setAlpha(const V8CSSNumberish* alpha,
                      ExceptionState& exception_state) {}

Color CSSHWB::ToColor() const {}

}  // namespace blink