| Index: Source/core/css/CSSUnsetValue.h
|
| diff --git a/Source/core/css/CSSUnsetValue.h b/Source/core/css/CSSUnsetValue.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..a748b479fa5e26c2d39d0f0036482f8ed3fbe7d0
|
| --- /dev/null
|
| +++ b/Source/core/css/CSSUnsetValue.h
|
| @@ -0,0 +1,37 @@
|
| +// 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 "core/css/CSSValue.h"
|
| +#include "wtf/PassRefPtr.h"
|
| +
|
| +namespace blink {
|
| +
|
| +class CSSUnsetValue : public CSSValue {
|
| +public:
|
| + static PassRefPtrWillBeRawPtr<CSSUnsetValue> create()
|
| + {
|
| + return adoptRefWillBeNoop(new CSSUnsetValue);
|
| + }
|
| +
|
| + String customCSSText() const;
|
| +
|
| + bool equals(const CSSUnsetValue&) const { return true; }
|
| +
|
| + void traceAfterDispatch(Visitor* visitor) { CSSValue::traceAfterDispatch(visitor); }
|
| +
|
| +private:
|
| + CSSUnsetValue()
|
| + : CSSValue(UnsetClass)
|
| + {
|
| + }
|
| +};
|
| +
|
| +DEFINE_CSS_VALUE_TYPE_CASTS(CSSUnsetValue, isUnsetValue());
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif // CSSUnsetValue_h
|
|
|