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 a38f9cafc1cfcc8e476a66aaa684b0cc9cb86dd0..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/Source/core/css/cssom/StyleValue.h |
+++ /dev/null |
@@ -1,52 +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" |
- |
-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 |