| 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 | 90 |
| 91 LayoutFlowThread* flowThread() const { return m_flowThread; } | 91 LayoutFlowThread* flowThread() const { return m_flowThread; } |
| 92 | 92 |
| 93 LayoutBlockFlow* multiColumnBlockFlow() const { return toLayoutBlockFlow(par
ent()); } | 93 LayoutBlockFlow* multiColumnBlockFlow() const { return toLayoutBlockFlow(par
ent()); } |
| 94 LayoutMultiColumnFlowThread* multiColumnFlowThread() const { return toLayout
MultiColumnFlowThread(flowThread()); } | 94 LayoutMultiColumnFlowThread* multiColumnFlowThread() const { return toLayout
MultiColumnFlowThread(flowThread()); } |
| 95 | 95 |
| 96 LayoutMultiColumnSet* nextSiblingMultiColumnSet() const; | 96 LayoutMultiColumnSet* nextSiblingMultiColumnSet() const; |
| 97 LayoutMultiColumnSet* previousSiblingMultiColumnSet() const; | 97 LayoutMultiColumnSet* previousSiblingMultiColumnSet() const; |
| 98 | 98 |
| 99 // Return true if we have a fragmentainer group that can hold a column at th
e specified flow thread block offset. | 99 // Return true if we have a fragmentainer group that can hold a column at th
e specified flow thread block offset. |
| 100 bool hasFragmentainerGroupForColumnAt(LayoutUnit bottomOffsetInFlowThread) c
onst; | 100 bool hasFragmentainerGroupForColumnAt(LayoutUnit bottomOffsetInFlowThread, P
ageBoundaryRule) const; |
| 101 | 101 |
| 102 MultiColumnFragmentainerGroup& appendNewFragmentainerGroup(); | 102 MultiColumnFragmentainerGroup& appendNewFragmentainerGroup(); |
| 103 | 103 |
| 104 // Logical top relative to the content edge of the multicol container. | 104 // Logical top relative to the content edge of the multicol container. |
| 105 LayoutUnit logicalTopFromMulticolContentEdge() const; | 105 LayoutUnit logicalTopFromMulticolContentEdge() const; |
| 106 | 106 |
| 107 LayoutUnit logicalTopInFlowThread() const; | 107 LayoutUnit logicalTopInFlowThread() const; |
| 108 LayoutUnit logicalBottomInFlowThread() const; | 108 LayoutUnit logicalBottomInFlowThread() const; |
| 109 LayoutUnit logicalHeightInFlowThread() const { return logicalBottomInFlowThr
ead() - logicalTopInFlowThread(); } | 109 LayoutUnit logicalHeightInFlowThread() const { return logicalBottomInFlowThr
ead() - logicalTopInFlowThread(); } |
| 110 LayoutRect flowThreadPortionRect() const; | 110 LayoutRect flowThreadPortionRect() const; |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 | 198 |
| 199 bool m_initialHeightCalculated; | 199 bool m_initialHeightCalculated; |
| 200 }; | 200 }; |
| 201 | 201 |
| 202 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutMultiColumnSet, isLayoutMultiColumnSet()); | 202 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutMultiColumnSet, isLayoutMultiColumnSet()); |
| 203 | 203 |
| 204 } // namespace blink | 204 } // namespace blink |
| 205 | 205 |
| 206 #endif // LayoutMultiColumnSet_h | 206 #endif // LayoutMultiColumnSet_h |
| 207 | 207 |
| OLD | NEW |