OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved. | 2 * Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above | 8 * 1. Redistributions of source code must retain the above |
9 * copyright notice, this list of conditions and the following | 9 * copyright notice, this list of conditions and the following |
10 * disclaimer. | 10 * disclaimer. |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 | 83 |
84 bool hasColumnSets() const { return m_multiColumnSetList.size(); } | 84 bool hasColumnSets() const { return m_multiColumnSetList.size(); } |
85 | 85 |
86 void validateColumnSets(); | 86 void validateColumnSets(); |
87 void invalidateColumnSets(); | 87 void invalidateColumnSets(); |
88 bool hasValidColumnSetInfo() const { return !m_columnSetsInvalidated && !m_m
ultiColumnSetList.isEmpty(); } | 88 bool hasValidColumnSetInfo() const { return !m_columnSetsInvalidated && !m_m
ultiColumnSetList.isEmpty(); } |
89 | 89 |
90 void mapRectToPaintInvalidationBacking(const LayoutBoxModelObject* paintInva
lidationContainer, LayoutRect&, const PaintInvalidationState*) const override; | 90 void mapRectToPaintInvalidationBacking(const LayoutBoxModelObject* paintInva
lidationContainer, LayoutRect&, const PaintInvalidationState*) const override; |
91 | 91 |
92 LayoutUnit pageLogicalHeightForOffset(LayoutUnit); | 92 LayoutUnit pageLogicalHeightForOffset(LayoutUnit); |
93 LayoutUnit pageRemainingLogicalHeightForOffset(LayoutUnit, PageBoundaryRule
= IncludePageBoundary); | 93 LayoutUnit pageRemainingLogicalHeightForOffset(LayoutUnit, PageBoundaryRule)
; |
94 | 94 |
95 virtual void setPageBreak(LayoutUnit /*offset*/, LayoutUnit /*spaceShortage*
/) { } | 95 virtual void setPageBreak(LayoutUnit /*offset*/, LayoutUnit /*spaceShortage*
/) { } |
96 virtual void updateMinimumPageHeight(LayoutUnit /*offset*/, LayoutUnit /*min
Height*/) { } | 96 virtual void updateMinimumPageHeight(LayoutUnit /*offset*/, LayoutUnit /*min
Height*/) { } |
97 | 97 |
98 virtual bool addForcedColumnBreak(LayoutUnit, LayoutObject* breakChild, bool
isBefore, LayoutUnit* offsetBreakAdjustment = nullptr) { return false; } | 98 virtual bool addForcedColumnBreak(LayoutUnit, LayoutObject* breakChild, bool
isBefore, LayoutUnit* offsetBreakAdjustment = nullptr) { return false; } |
99 | 99 |
100 virtual bool isPageLogicalHeightKnown() const { return true; } | 100 virtual bool isPageLogicalHeightKnown() const { return true; } |
101 bool pageLogicalSizeChanged() const { return m_pageLogicalSizeChanged; } | 101 bool pageLogicalSizeChanged() const { return m_pageLogicalSizeChanged; } |
102 | 102 |
103 void collectLayerFragments(DeprecatedPaintLayerFragments&, const LayoutRect&
layerBoundingBox, const LayoutRect& dirtyRectInFlowThread); | 103 void collectLayerFragments(DeprecatedPaintLayerFragments&, const LayoutRect&
layerBoundingBox, const LayoutRect& dirtyRectInFlowThread); |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 }; | 159 }; |
160 | 160 |
161 template <> struct ValueToString<LayoutMultiColumnSet*> { | 161 template <> struct ValueToString<LayoutMultiColumnSet*> { |
162 static String string(const LayoutMultiColumnSet* value) { return String::for
mat("%p", value); } | 162 static String string(const LayoutMultiColumnSet* value) { return String::for
mat("%p", value); } |
163 }; | 163 }; |
164 #endif | 164 #endif |
165 | 165 |
166 } // namespace blink | 166 } // namespace blink |
167 | 167 |
168 #endif // LayoutFlowThread_h | 168 #endif // LayoutFlowThread_h |
OLD | NEW |