X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2FWebKit%2FSource%2Fplatform%2FLengthFunctions.h;h=98362d39dcc00ff024642bbbfdd1cba15a1c943f;hb=ff3e2503a20db9193d323c1d19c38c68004dec4a;hp=91373e757e35f45e6b961f57a04ea3290a175f41;hpb=7338fba38ba696536d1cc9d389afd716a6ab2fe6;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/WebKit/Source/platform/LengthFunctions.h b/src/third_party/WebKit/Source/platform/LengthFunctions.h index 91373e7..98362d3 100644 --- a/src/third_party/WebKit/Source/platform/LengthFunctions.h +++ b/src/third_party/WebKit/Source/platform/LengthFunctions.h @@ -28,14 +28,17 @@ 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