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

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

Issue 2011833002: Typed CSSOM: Rename CalcLength and StyleCalcLength to CSSCalcLength (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/CSSCalcLength.h
diff --git a/third_party/WebKit/Source/core/css/cssom/StyleCalcLength.h b/third_party/WebKit/Source/core/css/cssom/CSSCalcLength.h
similarity index 86%
rename from third_party/WebKit/Source/core/css/cssom/StyleCalcLength.h
rename to third_party/WebKit/Source/core/css/cssom/CSSCalcLength.h
index 1bfa6e3c62eb1be855cff9c264211d9744ee5b09..acca8ebca7e1cd82bf4ce9b57dbb36249e75c105 100644
--- a/third_party/WebKit/Source/core/css/cssom/StyleCalcLength.h
+++ b/third_party/WebKit/Source/core/css/cssom/CSSCalcLength.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 StyleCalcLength_h
-#define StyleCalcLength_h
+#ifndef CSSCalcLength_h
+#define CSSCalcLength_h
#include "core/css/cssom/CSSLengthValue.h"
#include "wtf/BitVector.h"
@@ -13,12 +13,12 @@ namespace blink {
class CalcDictionary;
class CSSSimpleLength;
-class CORE_EXPORT StyleCalcLength final : public CSSLengthValue {
+class CORE_EXPORT CSSCalcLength final : public CSSLengthValue {
DEFINE_WRAPPERTYPEINFO();
public:
- static StyleCalcLength* create(const CSSLengthValue*);
- static StyleCalcLength* create(const CalcDictionary&, ExceptionState&);
- static StyleCalcLength* create(const CSSLengthValue* length, ExceptionState&)
+ static CSSCalcLength* create(const CSSLengthValue*);
+ static CSSCalcLength* create(const CalcDictionary&, ExceptionState&);
+ static CSSCalcLength* create(const CSSLengthValue* length, ExceptionState&)
{
return create(length);
}
@@ -60,9 +60,9 @@ protected:
CSSLengthValue* divideInternal(double, ExceptionState&) override;
private:
- StyleCalcLength();
- StyleCalcLength(const StyleCalcLength& other);
- StyleCalcLength(const CSSSimpleLength& other);
+ CSSCalcLength();
+ CSSCalcLength(const CSSCalcLength& other);
+ CSSCalcLength(const CSSSimpleLength& other);
static int indexForUnit(CSSPrimitiveValue::UnitType);
static CSSPrimitiveValue::UnitType unitFromIndex(int index)
@@ -97,7 +97,7 @@ private:
};
#define DEFINE_CALC_LENGTH_TYPE_CASTS(argumentType) \
- DEFINE_TYPE_CASTS(StyleCalcLength, argumentType, value, \
+ DEFINE_TYPE_CASTS(CSSCalcLength, argumentType, value, \
value->type() == CSSLengthValue::StyleValueType::CalcLengthType, \
value.type() == CSSLengthValue::StyleValueType::CalcLengthType)
« no previous file with comments | « third_party/WebKit/Source/core/core.gypi ('k') | third_party/WebKit/Source/core/css/cssom/CSSCalcLength.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698