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

Side by Side Diff: Source/core/rendering/RenderMultiColumnSpannerSet.h

Issue 712553003: [New Multicolumn] Actual support for layout of column-span:all. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Code review. Camelize. Created 6 years 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
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 RenderMultiColumnSpannerSet_h 5 #ifndef RenderMultiColumnSpannerSet_h
6 #define RenderMultiColumnSpannerSet_h 6 #define RenderMultiColumnSpannerSet_h
7 7
8 #include "core/rendering/RenderMultiColumnSet.h" 8 #include "core/rendering/RenderMultiColumnSet.h"
9 9
10 namespace blink { 10 namespace blink {
(...skipping 10 matching lines...) Expand all
21 class RenderMultiColumnSpannerSet final : public RenderMultiColumnSet { 21 class RenderMultiColumnSpannerSet final : public RenderMultiColumnSet {
22 public: 22 public:
23 virtual bool isOfType(RenderObjectType type) const override { return type == RenderObjectRenderMultiColumnSpannerSet || RenderMultiColumnSet::isOfType(type) ; } 23 virtual bool isOfType(RenderObjectType type) const override { return type == RenderObjectRenderMultiColumnSpannerSet || RenderMultiColumnSet::isOfType(type) ; }
24 24
25 static RenderMultiColumnSpannerSet* createAnonymous(RenderMultiColumnFlowThr ead*, RenderStyle* parentStyle, RenderBox*); 25 static RenderMultiColumnSpannerSet* createAnonymous(RenderMultiColumnFlowThr ead*, RenderStyle* parentStyle, RenderBox*);
26 26
27 RenderBox* rendererInFlowThread() const { return m_rendererInFlowThread; } 27 RenderBox* rendererInFlowThread() const { return m_rendererInFlowThread; }
28 28
29 protected: 29 protected:
30 virtual bool recalculateColumnHeight(BalancedHeightCalculation) override; 30 virtual bool recalculateColumnHeight(BalancedHeightCalculation) override;
31 virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logic alTop, LogicalExtentComputedValues&) const override;
32 virtual LayoutUnit pageLogicalHeight() const override;
31 virtual const char* renderName() const override; 33 virtual const char* renderName() const override;
32 34
33 private: 35 private:
34 RenderMultiColumnSpannerSet(RenderMultiColumnFlowThread*, RenderBox*); 36 RenderMultiColumnSpannerSet(RenderMultiColumnFlowThread*, RenderBox*);
35 37
36 RenderBox* m_rendererInFlowThread; // The actual column-span:all renderer in side the flow thread. 38 RenderBox* m_rendererInFlowThread; // The actual column-span:all renderer in side the flow thread.
37 }; 39 };
38 40
39 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderMultiColumnSpannerSet, isRenderMultiColumn SpannerSet()); 41 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderMultiColumnSpannerSet, isRenderMultiColumn SpannerSet());
40 42
41 } // namespace blink 43 } // namespace blink
42 44
43 #endif 45 #endif
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderMultiColumnSet.cpp ('k') | Source/core/rendering/RenderMultiColumnSpannerSet.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698