blob: 34b21397eb98d8aca0208a67c29c0c0966ee45f7 [file] [log] [blame]
// Copyright 2014 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 CSSUnsetValue_h
#define CSSUnsetValue_h
#include "base/memory/scoped_refptr.h"
#include "core/css/CSSValue.h"
namespace blink {
class CSSUnsetValue : public CSSValue {
public:
static CSSUnsetValue* Create();
String CustomCSSText() const;
bool Equals(const CSSUnsetValue&) const { return true; }
void TraceAfterDispatch(blink::Visitor* visitor) {
CSSValue::TraceAfterDispatch(visitor);
}
private:
friend class CSSValuePool;
CSSUnsetValue() : CSSValue(kUnsetClass) {}
};
DEFINE_CSS_VALUE_TYPE_CASTS(CSSUnsetValue, IsUnsetValue());
} // namespace blink
#endif // CSSUnsetValue_h