Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(80)

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutMultiColumnSpannerPlaceholder.h

Issue 2615203002: Remove multicol special-cases from invalidation and the pre-paint tree walk (Closed)
Patch Set: Cleanup comment Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutMultiColumnSpannerPlaceholder.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutMultiColumnSpannerPlaceholder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698