Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / css / FontSize.h
index 6eea72c..a864114 100644 (file)
 #ifndef FontSize_h
 #define FontSize_h
 
-namespace WebCore {
+#include "core/CSSValueKeywords.h"
+#include "platform/fonts/FixedPitchFontType.h"
+
+namespace blink {
 
 class Document;
 
@@ -39,12 +42,12 @@ public:
 
     // Given a CSS keyword in the range (xx-small to -webkit-xxx-large), this function will return
     // the correct font size scaled relative to the user's default (medium).
-    static float fontSizeForKeyword(const Document*, int keyword, bool shouldUseFixedDefaultSize);
+    static float fontSizeForKeyword(const Document*, CSSValueID keyword, FixedPitchFontType);
 
     // Given a font size in pixel, this function will return legacy font size between 1 and 7.
-    static int legacyFontSize(const Document*, int pixelFontSize, bool shouldUseFixedDefaultSize);
+    static int legacyFontSize(const Document*, int pixelFontSize, FixedPitchFontType);
 };
 
-} // namespace WebCore
+} // namespace blink
 
 #endif // FontSize_h