#include "third_party/blink/renderer/core/css/cssom/css_rgb.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/platform/bindings/exception_state.h"
#include "third_party/blink/renderer/platform/graphics/color.h"
namespace blink {
CSSRGB::CSSRGB(const Color& input_color) { … }
CSSRGB::CSSRGB(CSSNumericValue* r,
CSSNumericValue* g,
CSSNumericValue* b,
CSSNumericValue* alpha)
: … { … }
CSSRGB* CSSRGB::Create(const V8CSSNumberish* red,
const V8CSSNumberish* green,
const V8CSSNumberish* blue,
const V8CSSNumberish* alpha,
ExceptionState& exception_state) { … }
V8CSSNumberish* CSSRGB::r() const { … }
V8CSSNumberish* CSSRGB::g() const { … }
V8CSSNumberish* CSSRGB::b() const { … }
V8CSSNumberish* CSSRGB::alpha() const { … }
void CSSRGB::setR(const V8CSSNumberish* red, ExceptionState& exception_state) { … }
void CSSRGB::setG(const V8CSSNumberish* green,
ExceptionState& exception_state) { … }
void CSSRGB::setB(const V8CSSNumberish* blue, ExceptionState& exception_state) { … }
void CSSRGB::setAlpha(const V8CSSNumberish* alpha,
ExceptionState& exception_state) { … }
Color CSSRGB::ToColor() const { … }
}