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

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

Issue 1957163002: Rename KeywordValue to CSSKeywordValue (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 7 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/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);
« no previous file with comments | « third_party/WebKit/Source/core/core.gypi ('k') | third_party/WebKit/Source/core/css/cssom/CSSKeywordValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698