Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / platform / LengthFunctions.h
index 91373e7..98362d3 100644 (file)
 
 namespace WebCore {
 
+class FloatSize;
 class LayoutUnit;
 class Length;
+class LengthSize;
 
 PLATFORM_EXPORT int intValueForLength(const Length&, LayoutUnit maximumValue);
 PLATFORM_EXPORT float floatValueForLength(const Length&, float maximumValue);
 PLATFORM_EXPORT LayoutUnit minimumValueForLength(const Length&, LayoutUnit maximumValue);
 PLATFORM_EXPORT LayoutUnit roundedMinimumValueForLength(const Length&, LayoutUnit maximumValue);
 PLATFORM_EXPORT LayoutUnit valueForLength(const Length&, LayoutUnit maximumValue);
+PLATFORM_EXPORT FloatSize floatSizeForLengthSize(const LengthSize&, const FloatSize& boxSize);
 
 } // namespace WebCore