OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
4 * Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved. | 4 * Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 13 matching lines...) Expand all Loading... |
24 #define RenderBox_h | 24 #define RenderBox_h |
25 | 25 |
26 #include "core/rendering/RenderBoxModelObject.h" | 26 #include "core/rendering/RenderBoxModelObject.h" |
27 #include "core/rendering/RenderOverflow.h" | 27 #include "core/rendering/RenderOverflow.h" |
28 #include "core/rendering/shapes/ShapeOutsideInfo.h" | 28 #include "core/rendering/shapes/ShapeOutsideInfo.h" |
29 #include "platform/scroll/ScrollTypes.h" | 29 #include "platform/scroll/ScrollTypes.h" |
30 | 30 |
31 namespace blink { | 31 namespace blink { |
32 | 32 |
33 struct PaintInfo; | 33 struct PaintInfo; |
34 class RenderLayerScrollableArea; | |
35 | 34 |
36 enum SizeType { MainOrPreferredSize, MinSize, MaxSize }; | 35 enum SizeType { MainOrPreferredSize, MinSize, MaxSize }; |
37 enum AvailableLogicalHeightType { ExcludeMarginBorderPadding, IncludeMarginBorde
rPadding }; | 36 enum AvailableLogicalHeightType { ExcludeMarginBorderPadding, IncludeMarginBorde
rPadding }; |
38 enum OverlayScrollbarSizeRelevancy { IgnoreOverlayScrollbarSize, IncludeOverlayS
crollbarSize }; | 37 enum OverlayScrollbarSizeRelevancy { IgnoreOverlayScrollbarSize, IncludeOverlayS
crollbarSize }; |
39 enum MarginDirection { BlockDirection, InlineDirection }; | 38 enum MarginDirection { BlockDirection, InlineDirection }; |
40 | 39 |
41 enum ShouldComputePreferred { ComputeActual, ComputePreferred }; | 40 enum ShouldComputePreferred { ComputeActual, ComputePreferred }; |
42 | 41 |
43 enum ContentsClipBehavior { ForceContentsClip, SkipContentsClipIfPossible }; | 42 enum ContentsClipBehavior { ForceContentsClip, SkipContentsClipIfPossible }; |
44 | 43 |
(...skipping 735 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
780 if (UNLIKELY(inlineBoxWrapper() != 0)) | 779 if (UNLIKELY(inlineBoxWrapper() != 0)) |
781 deleteLineBoxWrapper(); | 780 deleteLineBoxWrapper(); |
782 } | 781 } |
783 | 782 |
784 ensureRareData().m_inlineBoxWrapper = boxWrapper; | 783 ensureRareData().m_inlineBoxWrapper = boxWrapper; |
785 } | 784 } |
786 | 785 |
787 } // namespace blink | 786 } // namespace blink |
788 | 787 |
789 #endif // RenderBox_h | 788 #endif // RenderBox_h |
OLD | NEW |