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 #include "config.h" | 5 #include "config.h" |
6 #include "core/rendering/RenderMultiColumnSpannerSet.h" | 6 #include "core/rendering/RenderMultiColumnSpannerSet.h" |
7 | 7 |
8 namespace blink { | 8 namespace blink { |
9 | 9 |
10 RenderMultiColumnSpannerSet* RenderMultiColumnSpannerSet::createAnonymous(Render MultiColumnFlowThread* flowThread, RenderStyle* parentStyle, RenderBox* renderer InFlowThread) | 10 RenderMultiColumnSpannerSet* RenderMultiColumnSpannerSet::createAnonymous(Render MultiColumnFlowThread* flowThread, RenderStyle* parentStyle, RenderBox* renderer InFlowThread) |
(...skipping 10 matching lines...) Expand all Loading... | |
21 : RenderMultiColumnSet(flowThread) | 21 : RenderMultiColumnSet(flowThread) |
22 , m_rendererInFlowThread(rendererInFlowThread) | 22 , m_rendererInFlowThread(rendererInFlowThread) |
23 { | 23 { |
24 } | 24 } |
25 | 25 |
26 bool RenderMultiColumnSpannerSet::recalculateColumnHeight(BalancedHeightCalculat ion calculationMode) | 26 bool RenderMultiColumnSpannerSet::recalculateColumnHeight(BalancedHeightCalculat ion calculationMode) |
27 { | 27 { |
28 return false; | 28 return false; |
29 } | 29 } |
30 | 30 |
31 void RenderMultiColumnSpannerSet::computeLogicalHeight(LayoutUnit, LayoutUnit lo gicalTop, LogicalExtentComputedValues& computedValues) const | |
32 { | |
33 computedValues.m_extent = m_rendererInFlowThread->logicalHeight(); | |
34 computedValues.m_position = logicalTop; | |
35 } | |
36 | |
37 LayoutUnit RenderMultiColumnSpannerSet::pageLogicalHeight() const | |
38 { | |
39 return m_rendererInFlowThread->logicalHeight(); | |
Julien - ping for review
2014/11/26 21:09:01
Should we ASSERT that m_rendererInFlowThread doesn
mstensho (USE GERRIT)
2014/11/27 21:20:29
Good idea. Done. But then we obviously have to avo
Julien - ping for review
2014/12/03 23:02:22
Both patches seem as complicated at the end of the
mstensho (USE GERRIT)
2014/12/10 13:48:19
I've found a third way, which I dislike even less.
| |
40 } | |
41 | |
31 const char* RenderMultiColumnSpannerSet::renderName() const | 42 const char* RenderMultiColumnSpannerSet::renderName() const |
32 { | 43 { |
33 return "RenderMultiColumnSpannerSet"; | 44 return "RenderMultiColumnSpannerSet"; |
34 } | 45 } |
35 | 46 |
36 } | 47 } |
OLD | NEW |