| Index: third_party/WebKit/Source/core/css/cssom/StyleValue.h
|
| diff --git a/third_party/WebKit/Source/core/css/cssom/StyleValue.h b/third_party/WebKit/Source/core/css/cssom/StyleValue.h
|
| deleted file mode 100644
|
| index a34d1fa46ffaa82c8f645b6a712dd2623a0665f9..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/Source/core/css/cssom/StyleValue.h
|
| +++ /dev/null
|
| @@ -1,53 +0,0 @@
|
| -// Copyright 2015 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 StyleValue_h
|
| -#define StyleValue_h
|
| -
|
| -#include "bindings/core/v8/ScriptWrappable.h"
|
| -#include "core/CoreExport.h"
|
| -#include "core/css/CSSValue.h"
|
| -#include "core/css/CSSValuePool.h"
|
| -
|
| -namespace blink {
|
| -
|
| -class ExceptionState;
|
| -class ScriptState;
|
| -class ScriptValue;
|
| -
|
| -class CORE_EXPORT StyleValue : public GarbageCollectedFinalized<StyleValue>, public ScriptWrappable {
|
| - WTF_MAKE_NONCOPYABLE(StyleValue);
|
| - DEFINE_WRAPPERTYPEINFO();
|
| -public:
|
| - enum StyleValueType {
|
| - AngleType,
|
| - CalcLengthType,
|
| - KeywordType,
|
| - NumberType,
|
| - PositionType,
|
| - SimpleLengthType,
|
| - TransformValueType,
|
| - };
|
| -
|
| - virtual ~StyleValue() { }
|
| -
|
| - virtual StyleValueType type() const = 0;
|
| -
|
| - static ScriptValue parse(ScriptState*, const String& propertyName, const String& value, ExceptionState&);
|
| -
|
| - virtual CSSValue* toCSSValue() const = 0;
|
| - virtual String cssString() const
|
| - {
|
| - return toCSSValue()->cssText();
|
| - }
|
| -
|
| - DEFINE_INLINE_VIRTUAL_TRACE() { }
|
| -
|
| -protected:
|
| - StyleValue() {}
|
| -};
|
| -
|
| -} // namespace blink
|
| -
|
| -#endif
|
|
|