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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 LayoutMultiColumnSet* m_lastSetWorkedOn; | 217 LayoutMultiColumnSet* m_lastSetWorkedOn; |
218 | 218 |
219 unsigned m_columnCount; // The used value of column-count | 219 unsigned m_columnCount; // The used value of column-count |
220 LayoutUnit m_columnHeightAvailable; // Total height available to columns, or
0 if auto. | 220 LayoutUnit m_columnHeightAvailable; // Total height available to columns, or
0 if auto. |
221 bool m_inBalancingPass; // Set when relayouting for column balancing. | 221 bool m_inBalancingPass; // Set when relayouting for column balancing. |
222 bool m_needsColumnHeightsRecalculation; // Set when we need to recalculate t
he column set heights after layout. | 222 bool m_needsColumnHeightsRecalculation; // Set when we need to recalculate t
he column set heights after layout. |
223 bool m_progressionIsInline; // Always true for regular multicol. False for p
aged-y overflow. | 223 bool m_progressionIsInline; // Always true for regular multicol. False for p
aged-y overflow. |
224 bool m_isBeingEvacuated; | 224 bool m_isBeingEvacuated; |
225 }; | 225 }; |
226 | 226 |
| 227 // Cannot use DEFINE_LAYOUT_OBJECT_TYPE_CASTS here, because isMultiColumnFlowThr
ead() is defined in |
| 228 // LayoutFlowThread, not in LayoutObject. |
| 229 DEFINE_TYPE_CASTS(LayoutMultiColumnFlowThread, LayoutFlowThread, object, object-
>isLayoutMultiColumnFlowThread(), object.isLayoutMultiColumnFlowThread()); |
| 230 |
227 } // namespace blink | 231 } // namespace blink |
228 | 232 |
229 #endif // LayoutMultiColumnFlowThread_h | 233 #endif // LayoutMultiColumnFlowThread_h |
OLD | NEW |