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 #include "config.h" | |
6 | |
7 #include "core/layout/MultiColumnFragmentainerGroup.h" | 5 #include "core/layout/MultiColumnFragmentainerGroup.h" |
8 | 6 |
9 #include "core/layout/ColumnBalancer.h" | 7 #include "core/layout/ColumnBalancer.h" |
10 #include "core/layout/FragmentationContext.h" | 8 #include "core/layout/FragmentationContext.h" |
11 #include "core/layout/LayoutMultiColumnSet.h" | 9 #include "core/layout/LayoutMultiColumnSet.h" |
12 | 10 |
13 namespace blink { | 11 namespace blink { |
14 | 12 |
15 MultiColumnFragmentainerGroup::MultiColumnFragmentainerGroup(LayoutMultiColumnSe
t& columnSet) | 13 MultiColumnFragmentainerGroup::MultiColumnFragmentainerGroup(LayoutMultiColumnSe
t& columnSet) |
16 : m_columnSet(columnSet) | 14 : m_columnSet(columnSet) |
(...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
554 append(MultiColumnFragmentainerGroup(m_columnSet)); | 552 append(MultiColumnFragmentainerGroup(m_columnSet)); |
555 return last(); | 553 return last(); |
556 } | 554 } |
557 | 555 |
558 void MultiColumnFragmentainerGroupList::deleteExtraGroups() | 556 void MultiColumnFragmentainerGroupList::deleteExtraGroups() |
559 { | 557 { |
560 shrink(1); | 558 shrink(1); |
561 } | 559 } |
562 | 560 |
563 } // namespace blink | 561 } // namespace blink |
OLD | NEW |