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

Unified Diff: third_party/WebKit/Source/core/css/cssom/KeywordValue.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/KeywordValue.h
diff --git a/third_party/WebKit/Source/core/css/cssom/KeywordValue.h b/third_party/WebKit/Source/core/css/cssom/KeywordValue.h
deleted file mode 100644
index c143db4931309f31c7dceb8962bf7d61866ed712..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/core/css/cssom/KeywordValue.h
+++ /dev/null
@@ -1,40 +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 KeywordValue_h
-#define KeywordValue_h
-
-#include "core/CoreExport.h"
-#include "core/css/cssom/StyleValue.h"
-
-namespace blink {
-
-class ExceptionState;
-
-class CORE_EXPORT KeywordValue final : public StyleValue {
- WTF_MAKE_NONCOPYABLE(KeywordValue);
- DEFINE_WRAPPERTYPEINFO();
-public:
- static KeywordValue* create(const String& keyword, ExceptionState&);
-
- StyleValueType type() const override { return KeywordType; }
-
- const String& keywordValue() const;
- CSSValueID keywordValueID() const;
-
- CSSValue* toCSSValue() const override;
-
-private:
- KeywordValue(const String& keyword) : m_keywordValue(keyword) {}
-
- String m_keywordValue;
-};
-
-DEFINE_TYPE_CASTS(KeywordValue, StyleValue, value,
- value->type() == StyleValue::StyleValueType::KeywordType,
- value.type() == StyleValue::StyleValueType::KeywordType);
-
-} // namespace blink
-
-#endif
« no previous file with comments | « third_party/WebKit/Source/core/css/cssom/CSSOMKeywords.h ('k') | third_party/WebKit/Source/core/css/cssom/KeywordValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698