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

Unified Diff: Source/core/css/CSSFontFeatureValue.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/CSSComputedStyleDeclaration.cpp ('k') | Source/core/css/CSSFontFeatureValue.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSFontFeatureValue.h
diff --git a/Source/core/css/FontFeatureValue.h b/Source/core/css/CSSFontFeatureValue.h
similarity index 80%
rename from Source/core/css/FontFeatureValue.h
rename to Source/core/css/CSSFontFeatureValue.h
index 4aa3345b3aa985026c14e740a7d30ef0292a550a..d566a5b39047afa4f3e81088e781787b84e3ce52 100644
--- a/Source/core/css/FontFeatureValue.h
+++ b/Source/core/css/CSSFontFeatureValue.h
@@ -23,34 +23,36 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef FontFeatureValue_h
-#define FontFeatureValue_h
+#ifndef CSSFontFeatureValue_h
+#define CSSFontFeatureValue_h
#include "core/css/CSSValue.h"
#include "wtf/text/WTFString.h"
namespace WebCore {
-class FontFeatureValue : public CSSValue {
+class CSSFontFeatureValue : public CSSValue {
public:
- static PassRefPtr<FontFeatureValue> create(const String& tag, int value)
+ static PassRefPtr<CSSFontFeatureValue> create(const String& tag, int value)
{
- return adoptRef(new FontFeatureValue(tag, value));
+ return adoptRef(new CSSFontFeatureValue(tag, value));
}
const String& tag() const { return m_tag; }
int value() const { return m_value; }
String customCssText() const;
- bool equals(const FontFeatureValue&) const;
+ bool equals(const CSSFontFeatureValue&) const;
private:
- FontFeatureValue(const String&, int);
+ CSSFontFeatureValue(const String&, int);
String m_tag;
const int m_value;
};
+DEFINE_CSS_VALUE_TYPE_CASTS(FontFeatureValue);
+
} // namespace
#endif
« no previous file with comments | « Source/core/css/CSSComputedStyleDeclaration.cpp ('k') | Source/core/css/CSSFontFeatureValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698