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

Unified Diff: Source/core/css/CSSFontValue.h

Issue 26134002: Add *CSS* prefix to FontValue and FontFeatureValue (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 2 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
« no previous file with comments | « Source/core/css/CSSFontFeatureValue.cpp ('k') | Source/core/css/CSSFontValue.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSFontValue.h
diff --git a/Source/core/css/FontValue.h b/Source/core/css/CSSFontValue.h
similarity index 83%
rename from Source/core/css/FontValue.h
rename to Source/core/css/CSSFontValue.h
index df8f9a739edc28506c28c78ef435a4e7e0f1797b..5ca4f32d0fd846a9f56ee6e58f4ff90930a4e2a7 100644
--- a/Source/core/css/FontValue.h
+++ b/Source/core/css/CSSFontValue.h
@@ -18,8 +18,8 @@
* Boston, MA 02110-1301, USA.
*/
-#ifndef FontValue_h
-#define FontValue_h
+#ifndef CSSFontValue_h
+#define CSSFontValue_h
#include "core/css/CSSValue.h"
#include "wtf/PassRefPtr.h"
@@ -30,16 +30,16 @@ namespace WebCore {
class CSSPrimitiveValue;
class CSSValueList;
-class FontValue : public CSSValue {
+class CSSFontValue : public CSSValue {
public:
- static PassRefPtr<FontValue> create()
+ static PassRefPtr<CSSFontValue> create()
{
- return adoptRef(new FontValue);
+ return adoptRef(new CSSFontValue);
}
String customCssText() const;
- bool equals(const FontValue&) const;
+ bool equals(const CSSFontValue&) const;
RefPtr<CSSPrimitiveValue> style;
RefPtr<CSSPrimitiveValue> variant;
@@ -49,12 +49,14 @@ public:
RefPtr<CSSValueList> family;
private:
- FontValue()
+ CSSFontValue()
: CSSValue(FontClass)
{
}
};
+DEFINE_CSS_VALUE_TYPE_CASTS(FontValue);
+
} // namespace
#endif
« no previous file with comments | « Source/core/css/CSSFontFeatureValue.cpp ('k') | Source/core/css/CSSFontValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698