| OLD | NEW |
| 1 /* | 1 /* |
| 2 Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 Copyright (C) 2006, 2008 Apple Inc. All rights reserved. | 3 Copyright (C) 2006, 2008 Apple Inc. All rights reserved. |
| 4 Copyright (C) 2011 Rik Cabanier (cabanier@adobe.com) | 4 Copyright (C) 2011 Rik Cabanier (cabanier@adobe.com) |
| 5 Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved. | 5 Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved. |
| 6 Copyright (C) 2012 Motorola Mobility, Inc. All rights reserved. | 6 Copyright (C) 2012 Motorola Mobility, Inc. All rights reserved. |
| 7 Copyright (C) 2013 Google, Inc. All rights reserved. | 7 Copyright (C) 2013 Google, Inc. All rights reserved. |
| 8 | 8 |
| 9 This library is free software; you can redistribute it and/or | 9 This library is free software; you can redistribute it and/or |
| 10 modify it under the terms of the GNU Library General Public | 10 modify it under the terms of the GNU Library General Public |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 #ifndef CSSLengthFunctions_h | 25 #ifndef CSSLengthFunctions_h |
| 26 #define CSSLengthFunctions_h | 26 #define CSSLengthFunctions_h |
| 27 | 27 |
| 28 namespace WebCore { | 28 namespace WebCore { |
| 29 | 29 |
| 30 class LayoutUnit; | 30 class LayoutUnit; |
| 31 class Length; | 31 class Length; |
| 32 class RenderView; | 32 class RenderView; |
| 33 | 33 |
| 34 // FIXME: Move these to platform/LengthFunctions.h | 34 // FIXME: Move these to platform/LengthFunctions.h |
| 35 int minimumIntValueForLength(const Length&, LayoutUnit maximumValue, bool roundP
ercentages = false); | 35 int minimumIntValueForLength(const Length&, LayoutUnit maximumValue); |
| 36 int intValueForLength(const Length&, LayoutUnit maximumValue, bool roundPercenta
ges = false); | 36 int intValueForLength(const Length&, LayoutUnit maximumValue); |
| 37 LayoutUnit minimumValueForLength(const Length&, LayoutUnit maximumValue, bool ro
undPercentages = false); | 37 LayoutUnit minimumValueForLength(const Length&, LayoutUnit maximumValue); |
| 38 LayoutUnit valueForLength(const Length&, LayoutUnit maximumValue, bool roundPerc
entages = false); | 38 LayoutUnit roundedMinimumValueForLength(const Length&, LayoutUnit maximumValue); |
| 39 LayoutUnit valueForLength(const Length&, LayoutUnit maximumValue); |
| 39 | 40 |
| 40 } // namespace WebCore | 41 } // namespace WebCore |
| 41 | 42 |
| 42 #endif // CSSLengthFunctions_h | 43 #endif // CSSLengthFunctions_h |
| OLD | NEW |