| Index: third_party/WebKit/Source/core/css/cssom/CSSKeywordValue.h
|
| diff --git a/third_party/WebKit/Source/core/css/cssom/KeywordValue.h b/third_party/WebKit/Source/core/css/cssom/CSSKeywordValue.h
|
| similarity index 66%
|
| rename from third_party/WebKit/Source/core/css/cssom/KeywordValue.h
|
| rename to third_party/WebKit/Source/core/css/cssom/CSSKeywordValue.h
|
| index c143db4931309f31c7dceb8962bf7d61866ed712..d3971586f205c42a6bf2127636b6a4f3b413cb73 100644
|
| --- a/third_party/WebKit/Source/core/css/cssom/KeywordValue.h
|
| +++ b/third_party/WebKit/Source/core/css/cssom/CSSKeywordValue.h
|
| @@ -2,8 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef KeywordValue_h
|
| -#define KeywordValue_h
|
| +#ifndef CSSKeywordValue_h
|
| +#define CSSKeywordValue_h
|
|
|
| #include "core/CoreExport.h"
|
| #include "core/css/cssom/StyleValue.h"
|
| @@ -12,11 +12,11 @@ namespace blink {
|
|
|
| class ExceptionState;
|
|
|
| -class CORE_EXPORT KeywordValue final : public StyleValue {
|
| - WTF_MAKE_NONCOPYABLE(KeywordValue);
|
| +class CORE_EXPORT CSSKeywordValue final : public StyleValue {
|
| + WTF_MAKE_NONCOPYABLE(CSSKeywordValue);
|
| DEFINE_WRAPPERTYPEINFO();
|
| public:
|
| - static KeywordValue* create(const String& keyword, ExceptionState&);
|
| + static CSSKeywordValue* create(const String& keyword, ExceptionState&);
|
|
|
| StyleValueType type() const override { return KeywordType; }
|
|
|
| @@ -26,12 +26,12 @@ public:
|
| CSSValue* toCSSValue() const override;
|
|
|
| private:
|
| - KeywordValue(const String& keyword) : m_keywordValue(keyword) {}
|
| + CSSKeywordValue(const String& keyword) : m_keywordValue(keyword) {}
|
|
|
| String m_keywordValue;
|
| };
|
|
|
| -DEFINE_TYPE_CASTS(KeywordValue, StyleValue, value,
|
| +DEFINE_TYPE_CASTS(CSSKeywordValue, StyleValue, value,
|
| value->type() == StyleValue::StyleValueType::KeywordType,
|
| value.type() == StyleValue::StyleValueType::KeywordType);
|
|
|
|
|