| Index: third_party/WebKit/Source/core/css/cssom/CSSKeywordValue.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/cssom/KeywordValue.cpp b/third_party/WebKit/Source/core/css/cssom/CSSKeywordValue.cpp
|
| similarity index 66%
|
| rename from third_party/WebKit/Source/core/css/cssom/KeywordValue.cpp
|
| rename to third_party/WebKit/Source/core/css/cssom/CSSKeywordValue.cpp
|
| index bb3634cbb7a420f134e94db784ec8c96e8c21521..0f0348cfee915b0f9f45ea50a344e8389b4db0b6 100644
|
| --- a/third_party/WebKit/Source/core/css/cssom/KeywordValue.cpp
|
| +++ b/third_party/WebKit/Source/core/css/cssom/CSSKeywordValue.cpp
|
| @@ -2,7 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "core/css/cssom/KeywordValue.h"
|
| +#include "core/css/cssom/CSSKeywordValue.h"
|
|
|
| #include "bindings/core/v8/ExceptionState.h"
|
| #include "core/css/CSSCustomIdentValue.h"
|
| @@ -11,28 +11,28 @@
|
|
|
| namespace blink {
|
|
|
| -KeywordValue* KeywordValue::create(const String& keyword, ExceptionState& exceptionState)
|
| +CSSKeywordValue* CSSKeywordValue::create(const String& keyword, ExceptionState& exceptionState)
|
| {
|
| if (keyword.isEmpty()) {
|
| - exceptionState.throwTypeError("KeywordValue does not support empty strings");
|
| + exceptionState.throwTypeError("CSSKeywordValue does not support empty strings");
|
| return nullptr;
|
| }
|
| - return new KeywordValue(keyword);
|
| + return new CSSKeywordValue(keyword);
|
| }
|
|
|
| -const String& KeywordValue::keywordValue() const
|
| +const String& CSSKeywordValue::keywordValue() const
|
| {
|
| return m_keywordValue;
|
| }
|
|
|
| -CSSValueID KeywordValue::keywordValueID() const
|
| +CSSValueID CSSKeywordValue::keywordValueID() const
|
| {
|
| CSSParserString cssKeywordString;
|
| cssKeywordString.init(m_keywordValue);
|
| return cssValueKeywordID(cssKeywordString);
|
| }
|
|
|
| -CSSValue* KeywordValue::toCSSValue() const
|
| +CSSValue* CSSKeywordValue::toCSSValue() const
|
| {
|
| CSSValueID keywordID = keywordValueID();
|
| if (keywordID == CSSValueID::CSSValueInvalid) {
|
|
|