| 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 virtual void removeRegionFromThread(LayoutMultiColumnSet*); | 80 virtual void removeRegionFromThread(LayoutMultiColumnSet*); |
| 81 | 81 |
| 82 virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logic
alTop, LogicalExtentComputedValues&) const override; | 82 virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logic
alTop, LogicalExtentComputedValues&) const override; |
| 83 | 83 |
| 84 bool hasRegions() const { return m_multiColumnSetList.size(); } | 84 bool hasRegions() const { return m_multiColumnSetList.size(); } |
| 85 | 85 |
| 86 void validateRegions(); | 86 void validateRegions(); |
| 87 void invalidateRegions(); | 87 void invalidateRegions(); |
| 88 bool hasValidRegionInfo() const { return !m_regionsInvalidated && !m_multiCo
lumnSetList.isEmpty(); } | 88 bool hasValidRegionInfo() const { return !m_regionsInvalidated && !m_multiCo
lumnSetList.isEmpty(); } |
| 89 | 89 |
| 90 virtual void mapRectToPaintInvalidationBacking(const LayoutLayerModelObject*
paintInvalidationContainer, LayoutRect&, const PaintInvalidationState*) const o
verride; | 90 virtual void mapRectToPaintInvalidationBacking(const LayoutBoxModelObject* p
aintInvalidationContainer, LayoutRect&, const PaintInvalidationState*) const ove
rride; |
| 91 | 91 |
| 92 LayoutUnit pageLogicalHeightForOffset(LayoutUnit); | 92 LayoutUnit pageLogicalHeightForOffset(LayoutUnit); |
| 93 LayoutUnit pageRemainingLogicalHeightForOffset(LayoutUnit, PageBoundaryRule
= IncludePageBoundary); | 93 LayoutUnit pageRemainingLogicalHeightForOffset(LayoutUnit, PageBoundaryRule
= IncludePageBoundary); |
| 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 bool regionsHaveUniformLogicalHeight() const { return m_regionsHaveUniformLo
gicalHeight; } | 98 bool regionsHaveUniformLogicalHeight() const { return m_regionsHaveUniformLo
gicalHeight; } |
| 99 | 99 |
| 100 // FIXME: These 2 functions should return a LayoutMultiColumnSet. | 100 // FIXME: These 2 functions should return a LayoutMultiColumnSet. |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 }; | 167 }; |
| 168 | 168 |
| 169 template <> struct ValueToString<LayoutMultiColumnSet*> { | 169 template <> struct ValueToString<LayoutMultiColumnSet*> { |
| 170 static String string(const LayoutMultiColumnSet* value) { return String::for
mat("%p", value); } | 170 static String string(const LayoutMultiColumnSet* value) { return String::for
mat("%p", value); } |
| 171 }; | 171 }; |
| 172 #endif | 172 #endif |
| 173 | 173 |
| 174 } // namespace blink | 174 } // namespace blink |
| 175 | 175 |
| 176 #endif // LayoutFlowThread_h | 176 #endif // LayoutFlowThread_h |
| OLD | NEW |