blob: 627694de81462e70134fc79ee68210daae71b565 [file] [log] [blame]
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CSSFontVariationValue_h
#define CSSFontVariationValue_h
#include "core/css/CSSValue.h"
#include "platform/wtf/text/WTFString.h"
namespace blink {
class CSSFontVariationValue : public CSSValue {
static CSSFontVariationValue* Create(const AtomicString& tag, float value) {
return new CSSFontVariationValue(tag, value);
const AtomicString& Tag() const { return tag_; }
float Value() const { return value_; }
String CustomCSSText() const;
bool Equals(const CSSFontVariationValue&) const;
void TraceAfterDispatch(blink::Visitor* visitor) {
CSSFontVariationValue(const AtomicString& tag, float value);
AtomicString tag_;
const float value_;
DEFINE_CSS_VALUE_TYPE_CASTS(CSSFontVariationValue, IsFontVariationValue());
} // namespace blink