| 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 protected: | 52 protected: |
| 53 void insertedIntoTree() override; | 53 void insertedIntoTree() override; |
| 54 void willBeRemovedFromTree() override; | 54 void willBeRemovedFromTree() override; |
| 55 bool needsPreferredWidthsRecalculation() const override; | 55 bool needsPreferredWidthsRecalculation() const override; |
| 56 LayoutUnit minPreferredLogicalWidth() const override; | 56 LayoutUnit minPreferredLogicalWidth() const override; |
| 57 LayoutUnit maxPreferredLogicalWidth() const override; | 57 LayoutUnit maxPreferredLogicalWidth() const override; |
| 58 void layout() override; | 58 void layout() override; |
| 59 void computeLogicalHeight(LayoutUnit logicalHeight, | 59 void computeLogicalHeight(LayoutUnit logicalHeight, |
| 60 LayoutUnit logicalTop, | 60 LayoutUnit logicalTop, |
| 61 LogicalExtentComputedValues&) const override; | 61 LogicalExtentComputedValues&) const override; |
| 62 void invalidatePaintOfSubtreesIfNeeded( | |
| 63 const PaintInvalidationState&) override; | |
| 64 void paint(const PaintInfo&, const LayoutPoint& paintOffset) const override; | 62 void paint(const PaintInfo&, const LayoutPoint& paintOffset) const override; |
| 65 bool nodeAtPoint(HitTestResult&, | 63 bool nodeAtPoint(HitTestResult&, |
| 66 const HitTestLocation& locationInContainer, | 64 const HitTestLocation& locationInContainer, |
| 67 const LayoutPoint& accumulatedOffset, | 65 const LayoutPoint& accumulatedOffset, |
| 68 HitTestAction) override; | 66 HitTestAction) override; |
| 69 | 67 |
| 70 private: | 68 private: |
| 71 LayoutMultiColumnSpannerPlaceholder(LayoutBox*); | 69 LayoutMultiColumnSpannerPlaceholder(LayoutBox*); |
| 72 | 70 |
| 73 // The actual column-span:all layoutObject inside the flow thread. | 71 // The actual column-span:all layoutObject inside the flow thread. |
| 74 LayoutBox* m_layoutObjectInFlowThread; | 72 LayoutBox* m_layoutObjectInFlowThread; |
| 75 }; | 73 }; |
| 76 | 74 |
| 77 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutMultiColumnSpannerPlaceholder, | 75 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutMultiColumnSpannerPlaceholder, |
| 78 isLayoutMultiColumnSpannerPlaceholder()); | 76 isLayoutMultiColumnSpannerPlaceholder()); |
| 79 | 77 |
| 80 } // namespace blink | 78 } // namespace blink |
| 81 | 79 |
| 82 #endif | 80 #endif |
| OLD | NEW |