Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(140)

Unified Diff: third_party/WebKit/Source/core/css/cssom/StyleValue.h

Issue 2036893003: [CSS Typed OM] Rename StyleValue -> CSSStyleValue (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update more union types Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
« no previous file with comments | « third_party/WebKit/Source/core/css/cssom/StylePropertyMap.idl ('k') | third_party/WebKit/Source/core/css/cssom/StyleValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698