| 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 contentWasLaidOut(LayoutUnit logicalTopInFlowThreadAfterPaginat
ion) = 0; | 90 virtual void contentWasLaidOut(LayoutUnit logicalTopInFlowThreadAfterPaginat
ion) = 0; |
| 91 virtual void updateMinimumPageHeight(LayoutUnit /*offset*/, LayoutUnit /*min
Height*/) { } | |
| 92 | 91 |
| 93 virtual bool isPageLogicalHeightKnown() const { return true; } | 92 virtual bool isPageLogicalHeightKnown() const { return true; } |
| 94 bool pageLogicalSizeChanged() const { return m_pageLogicalSizeChanged; } | 93 bool pageLogicalSizeChanged() const { return m_pageLogicalSizeChanged; } |
| 95 | 94 |
| 96 void collectLayerFragments(PaintLayerFragments&, const LayoutRect& layerBoun
dingBox, const LayoutRect& dirtyRectInFlowThread); | 95 void collectLayerFragments(PaintLayerFragments&, const LayoutRect& layerBoun
dingBox, const LayoutRect& dirtyRectInFlowThread); |
| 97 | 96 |
| 98 // Return the visual bounding box based on the supplied flow-thread bounding
box. Both | 97 // Return the visual bounding box based on the supplied flow-thread bounding
box. Both |
| 99 // rectangles are completely physical in terms of writing mode. | 98 // rectangles are completely physical in terms of writing mode. |
| 100 LayoutRect fragmentsBoundingBox(const LayoutRect& layerBoundingBox) const; | 99 LayoutRect fragmentsBoundingBox(const LayoutRect& layerBoundingBox) const; |
| 101 | 100 |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 // These structures are used by PODIntervalTree for debugging. | 147 // These structures are used by PODIntervalTree for debugging. |
| 149 #ifndef NDEBUG | 148 #ifndef NDEBUG |
| 150 template <> struct ValueToString<LayoutMultiColumnSet*> { | 149 template <> struct ValueToString<LayoutMultiColumnSet*> { |
| 151 static String string(const LayoutMultiColumnSet* value) { return String::for
mat("%p", value); } | 150 static String string(const LayoutMultiColumnSet* value) { return String::for
mat("%p", value); } |
| 152 }; | 151 }; |
| 153 #endif | 152 #endif |
| 154 | 153 |
| 155 } // namespace blink | 154 } // namespace blink |
| 156 | 155 |
| 157 #endif // LayoutFlowThread_h | 156 #endif // LayoutFlowThread_h |
| OLD | NEW |