| 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 | 80 |
| 81 void validateColumnSets(); | 81 void validateColumnSets(); |
| 82 void invalidateColumnSets(); | 82 void invalidateColumnSets(); |
| 83 bool hasValidColumnSetInfo() const { return !m_columnSetsInvalidated && !m_m
ultiColumnSetList.isEmpty(); } | 83 bool hasValidColumnSetInfo() const { return !m_columnSetsInvalidated && !m_m
ultiColumnSetList.isEmpty(); } |
| 84 | 84 |
| 85 void mapRectToPaintInvalidationBacking(const LayoutBoxModelObject* paintInva
lidationContainer, LayoutRect&, const PaintInvalidationState*) const override; | 85 void mapRectToPaintInvalidationBacking(const LayoutBoxModelObject* paintInva
lidationContainer, LayoutRect&, const PaintInvalidationState*) const override; |
| 86 | 86 |
| 87 LayoutUnit pageLogicalHeightForOffset(LayoutUnit); | 87 LayoutUnit pageLogicalHeightForOffset(LayoutUnit); |
| 88 LayoutUnit pageRemainingLogicalHeightForOffset(LayoutUnit, PageBoundaryRule)
; | 88 LayoutUnit pageRemainingLogicalHeightForOffset(LayoutUnit, PageBoundaryRule)
; |
| 89 | 89 |
| 90 virtual void setPageBreak(LayoutUnit /*offset*/, LayoutUnit /*spaceShortage*
/) { } | 90 virtual void contentWasLaidOut(LayoutUnit logicalTopInFlowThreadAfterPaginat
ion) = 0; |
| 91 virtual void updateMinimumPageHeight(LayoutUnit /*offset*/, LayoutUnit /*min
Height*/) { } | 91 virtual void updateMinimumPageHeight(LayoutUnit /*offset*/, LayoutUnit /*min
Height*/) { } |
| 92 | 92 |
| 93 virtual bool addForcedColumnBreak(LayoutUnit, LayoutObject* breakChild, bool
isBefore, LayoutUnit* offsetBreakAdjustment = nullptr) { return false; } | |
| 94 | |
| 95 virtual bool isPageLogicalHeightKnown() const { return true; } | 93 virtual bool isPageLogicalHeightKnown() const { return true; } |
| 96 bool pageLogicalSizeChanged() const { return m_pageLogicalSizeChanged; } | 94 bool pageLogicalSizeChanged() const { return m_pageLogicalSizeChanged; } |
| 97 | 95 |
| 98 void collectLayerFragments(PaintLayerFragments&, const LayoutRect& layerBoun
dingBox, const LayoutRect& dirtyRectInFlowThread); | 96 void collectLayerFragments(PaintLayerFragments&, const LayoutRect& layerBoun
dingBox, const LayoutRect& dirtyRectInFlowThread); |
| 99 | 97 |
| 100 // Return the visual bounding box based on the supplied flow-thread bounding
box. Both | 98 // Return the visual bounding box based on the supplied flow-thread bounding
box. Both |
| 101 // rectangles are completely physical in terms of writing mode. | 99 // rectangles are completely physical in terms of writing mode. |
| 102 LayoutRect fragmentsBoundingBox(const LayoutRect& layerBoundingBox) const; | 100 LayoutRect fragmentsBoundingBox(const LayoutRect& layerBoundingBox) const; |
| 103 | 101 |
| 104 LayoutPoint flowThreadPointToVisualPoint(const LayoutPoint& flowThreadPoint)
const | 102 LayoutPoint flowThreadPointToVisualPoint(const LayoutPoint& flowThreadPoint)
const |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 }; | 152 }; |
| 155 | 153 |
| 156 template <> struct ValueToString<LayoutMultiColumnSet*> { | 154 template <> struct ValueToString<LayoutMultiColumnSet*> { |
| 157 static String string(const LayoutMultiColumnSet* value) { return String::for
mat("%p", value); } | 155 static String string(const LayoutMultiColumnSet* value) { return String::for
mat("%p", value); } |
| 158 }; | 156 }; |
| 159 #endif | 157 #endif |
| 160 | 158 |
| 161 } // namespace blink | 159 } // namespace blink |
| 162 | 160 |
| 163 #endif // LayoutFlowThread_h | 161 #endif // LayoutFlowThread_h |
| OLD | NEW |