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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 LayoutUnit pageRemainingLogicalHeightForOffset(LayoutUnit, PageBoundaryRule
= IncludePageBoundary); | 91 LayoutUnit pageRemainingLogicalHeightForOffset(LayoutUnit, PageBoundaryRule
= IncludePageBoundary); |
92 | 92 |
93 virtual void setPageBreak(LayoutUnit /*offset*/, LayoutUnit /*spaceShortage*
/) { } | 93 virtual void setPageBreak(LayoutUnit /*offset*/, LayoutUnit /*spaceShortage*
/) { } |
94 virtual void updateMinimumPageHeight(LayoutUnit /*offset*/, LayoutUnit /*min
Height*/) { } | 94 virtual void updateMinimumPageHeight(LayoutUnit /*offset*/, LayoutUnit /*min
Height*/) { } |
95 | 95 |
96 virtual bool addForcedColumnBreak(LayoutUnit, LayoutObject* breakChild, bool
isBefore, LayoutUnit* offsetBreakAdjustment = nullptr) { return false; } | 96 virtual bool addForcedColumnBreak(LayoutUnit, LayoutObject* breakChild, bool
isBefore, LayoutUnit* offsetBreakAdjustment = nullptr) { return false; } |
97 | 97 |
98 virtual bool isPageLogicalHeightKnown() const { return true; } | 98 virtual bool isPageLogicalHeightKnown() const { return true; } |
99 bool pageLogicalSizeChanged() const { return m_pageLogicalSizeChanged; } | 99 bool pageLogicalSizeChanged() const { return m_pageLogicalSizeChanged; } |
100 | 100 |
101 void collectLayerFragments(DeprecatedPaintLayerFragments&, const LayoutRect&
layerBoundingBox, const LayoutRect& dirtyRect); | 101 void collectLayerFragments(DeprecatedPaintLayerFragments&, const LayoutRect&
layerBoundingBox, const LayoutRect& dirtyRectInFlowThread); |
102 | 102 |
103 // Return the visual bounding box based on the supplied flow-thread bounding
box. Both | 103 // Return the visual bounding box based on the supplied flow-thread bounding
box. Both |
104 // rectangles are completely physical in terms of writing mode. | 104 // rectangles are completely physical in terms of writing mode. |
105 LayoutRect fragmentsBoundingBox(const LayoutRect& layerBoundingBox) const; | 105 LayoutRect fragmentsBoundingBox(const LayoutRect& layerBoundingBox) const; |
106 | 106 |
107 LayoutPoint flowThreadPointToVisualPoint(const LayoutPoint& flowThreadPoint)
const | 107 LayoutPoint flowThreadPointToVisualPoint(const LayoutPoint& flowThreadPoint)
const |
108 { | 108 { |
109 return flowThreadPoint + columnOffset(flowThreadPoint); | 109 return flowThreadPoint + columnOffset(flowThreadPoint); |
110 } | 110 } |
111 | 111 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 }; | 157 }; |
158 | 158 |
159 template <> struct ValueToString<LayoutMultiColumnSet*> { | 159 template <> struct ValueToString<LayoutMultiColumnSet*> { |
160 static String string(const LayoutMultiColumnSet* value) { return String::for
mat("%p", value); } | 160 static String string(const LayoutMultiColumnSet* value) { return String::for
mat("%p", value); } |
161 }; | 161 }; |
162 #endif | 162 #endif |
163 | 163 |
164 } // namespace blink | 164 } // namespace blink |
165 | 165 |
166 #endif // LayoutFlowThread_h | 166 #endif // LayoutFlowThread_h |
OLD | NEW |