| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef MultiColumnFragmentainerGroup_h | 5 #ifndef MultiColumnFragmentainerGroup_h |
| 6 #define MultiColumnFragmentainerGroup_h | 6 #define MultiColumnFragmentainerGroup_h |
| 7 | 7 |
| 8 #include "core/layout/LayoutMultiColumnFlowThread.h" | 8 #include "core/layout/LayoutMultiColumnFlowThread.h" |
| 9 #include "wtf/Allocator.h" | 9 #include "platform/wtf/Allocator.h" |
| 10 | 10 |
| 11 namespace blink { | 11 namespace blink { |
| 12 | 12 |
| 13 // A group of columns, that are laid out in the inline progression direction, | 13 // A group of columns, that are laid out in the inline progression direction, |
| 14 // all with the same column height. | 14 // all with the same column height. |
| 15 // | 15 // |
| 16 // When a multicol container is inside another fragmentation context, and said | 16 // When a multicol container is inside another fragmentation context, and said |
| 17 // multicol container lives in multiple outer fragmentainers (pages / columns), | 17 // multicol container lives in multiple outer fragmentainers (pages / columns), |
| 18 // we need to put these inner columns into separate groups, with one group per | 18 // we need to put these inner columns into separate groups, with one group per |
| 19 // outer fragmentainer. Such a group of columns is what comprises a "row of | 19 // outer fragmentainer. Such a group of columns is what comprises a "row of |
| (...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 | 220 |
| 221 private: | 221 private: |
| 222 LayoutMultiColumnSet& column_set_; | 222 LayoutMultiColumnSet& column_set_; |
| 223 | 223 |
| 224 Vector<MultiColumnFragmentainerGroup, 1> groups_; | 224 Vector<MultiColumnFragmentainerGroup, 1> groups_; |
| 225 }; | 225 }; |
| 226 | 226 |
| 227 } // namespace blink | 227 } // namespace blink |
| 228 | 228 |
| 229 #endif // MultiColumnFragmentainerGroup_h | 229 #endif // MultiColumnFragmentainerGroup_h |
| OLD | NEW |