| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 LayoutMultiColumnSpannerPlaceholder_h | 5 #ifndef LayoutMultiColumnSpannerPlaceholder_h |
| 6 #define LayoutMultiColumnSpannerPlaceholder_h | 6 #define LayoutMultiColumnSpannerPlaceholder_h |
| 7 | 7 |
| 8 #include "core/layout/LayoutBlockFlow.h" | 8 #include "core/layout/LayoutBlockFlow.h" |
| 9 | 9 |
| 10 namespace blink { | 10 namespace blink { |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 // to make sure that we enter it. | 41 // to make sure that we enter it. |
| 42 setChildNeedsLayout(MarkOnlyThis); | 42 setChildNeedsLayout(MarkOnlyThis); |
| 43 } | 43 } |
| 44 | 44 |
| 45 void layoutObjectInFlowThreadStyleDidChange(const ComputedStyle* oldStyle); | 45 void layoutObjectInFlowThreadStyleDidChange(const ComputedStyle* oldStyle); |
| 46 void updateMarginProperties(); | 46 void updateMarginProperties(); |
| 47 | 47 |
| 48 const char* name() const override { | 48 const char* name() const override { |
| 49 return "LayoutMultiColumnSpannerPlaceholder"; | 49 return "LayoutMultiColumnSpannerPlaceholder"; |
| 50 } | 50 } |
| 51 char objectSize() const override { return sizeof(this); } |
| 51 | 52 |
| 52 protected: | 53 protected: |
| 53 void insertedIntoTree() override; | 54 void insertedIntoTree() override; |
| 54 void willBeRemovedFromTree() override; | 55 void willBeRemovedFromTree() override; |
| 55 bool needsPreferredWidthsRecalculation() const override; | 56 bool needsPreferredWidthsRecalculation() const override; |
| 56 LayoutUnit minPreferredLogicalWidth() const override; | 57 LayoutUnit minPreferredLogicalWidth() const override; |
| 57 LayoutUnit maxPreferredLogicalWidth() const override; | 58 LayoutUnit maxPreferredLogicalWidth() const override; |
| 58 void layout() override; | 59 void layout() override; |
| 59 void computeLogicalHeight(LayoutUnit logicalHeight, | 60 void computeLogicalHeight(LayoutUnit logicalHeight, |
| 60 LayoutUnit logicalTop, | 61 LayoutUnit logicalTop, |
| (...skipping 10 matching lines...) Expand all Loading... |
| 71 // The actual column-span:all layoutObject inside the flow thread. | 72 // The actual column-span:all layoutObject inside the flow thread. |
| 72 LayoutBox* m_layoutObjectInFlowThread; | 73 LayoutBox* m_layoutObjectInFlowThread; |
| 73 }; | 74 }; |
| 74 | 75 |
| 75 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutMultiColumnSpannerPlaceholder, | 76 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutMultiColumnSpannerPlaceholder, |
| 76 isLayoutMultiColumnSpannerPlaceholder()); | 77 isLayoutMultiColumnSpannerPlaceholder()); |
| 77 | 78 |
| 78 } // namespace blink | 79 } // namespace blink |
| 79 | 80 |
| 80 #endif | 81 #endif |
| OLD | NEW |