| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Apple Inc. All rights reserved. | 2 * Copyright (C) 2012 Apple Inc. 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 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 void expandToEncompassFlowThreadContentsIfNeeded(); | 142 void expandToEncompassFlowThreadContentsIfNeeded(); |
| 143 | 143 |
| 144 void computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, LayoutUnit&
maxLogicalWidth) const final; | 144 void computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, LayoutUnit&
maxLogicalWidth) const final; |
| 145 | 145 |
| 146 void attachToFlowThread(); | 146 void attachToFlowThread(); |
| 147 void detachFromFlowThread(); | 147 void detachFromFlowThread(); |
| 148 | 148 |
| 149 // The top of the page nearest to the specified block offset. All in flowthr
ead coordinates. | 149 // The top of the page nearest to the specified block offset. All in flowthr
ead coordinates. |
| 150 LayoutUnit pageLogicalTopForOffset(LayoutUnit offset) const; | 150 LayoutUnit pageLogicalTopForOffset(LayoutUnit offset) const; |
| 151 | 151 |
| 152 LayoutRect fragmentsBoundingBox(const LayoutRect& boundingBoxInFlowThread) c
onst; |
| 153 |
| 152 void collectLayerFragments(DeprecatedPaintLayerFragments&, const LayoutRect&
layerBoundingBox, const LayoutRect& dirtyRect); | 154 void collectLayerFragments(DeprecatedPaintLayerFragments&, const LayoutRect&
layerBoundingBox, const LayoutRect& dirtyRect); |
| 153 | 155 |
| 154 LayoutUnit columnGap() const; | 156 LayoutUnit columnGap() const; |
| 155 | 157 |
| 156 // The "CSS actual" value of column-count. This includes overflowing columns
, if any. | 158 // The "CSS actual" value of column-count. This includes overflowing columns
, if any. |
| 157 unsigned actualColumnCount() const; | 159 unsigned actualColumnCount() const; |
| 158 | 160 |
| 159 const char* name() const override { return "LayoutMultiColumnSet"; } | 161 const char* name() const override { return "LayoutMultiColumnSet"; } |
| 160 | 162 |
| 161 protected: | 163 protected: |
| (...skipping 15 matching lines...) Expand all Loading... |
| 177 MultiColumnFragmentainerGroupList m_fragmentainerGroups; | 179 MultiColumnFragmentainerGroupList m_fragmentainerGroups; |
| 178 LayoutFlowThread* m_flowThread; | 180 LayoutFlowThread* m_flowThread; |
| 179 }; | 181 }; |
| 180 | 182 |
| 181 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutMultiColumnSet, isLayoutMultiColumnSet()); | 183 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutMultiColumnSet, isLayoutMultiColumnSet()); |
| 182 | 184 |
| 183 } // namespace blink | 185 } // namespace blink |
| 184 | 186 |
| 185 #endif // LayoutMultiColumnSet_h | 187 #endif // LayoutMultiColumnSet_h |
| 186 | 188 |
| OLD | NEW |