| 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 SKY_ENGINE_CORE_RENDERING_RENDERPARAGRAPH_H_ | 5 #ifndef SKY_ENGINE_CORE_RENDERING_RENDERPARAGRAPH_H_ |
| 6 #define SKY_ENGINE_CORE_RENDERING_RENDERPARAGRAPH_H_ | 6 #define SKY_ENGINE_CORE_RENDERING_RENDERPARAGRAPH_H_ |
| 7 | 7 |
| 8 #include "sky/engine/core/dom/ContainerNode.h" | 8 #include "sky/engine/core/dom/ContainerNode.h" |
| 9 #include "sky/engine/core/rendering/RenderBlockFlow.h" | 9 #include "sky/engine/core/rendering/RenderBlockFlow.h" |
| 10 | 10 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 GapRects inlineSelectionGaps(RenderBlock* rootBlock, const LayoutPoint& root
BlockPhysicalPosition, const LayoutSize& offsetFromRootBlock, | 27 GapRects inlineSelectionGaps(RenderBlock* rootBlock, const LayoutPoint& root
BlockPhysicalPosition, const LayoutSize& offsetFromRootBlock, |
| 28 LayoutUnit& lastLogicalTop, LayoutUnit& lastLogicalLeft, LayoutUnit& las
tLogicalRight, const PaintInfo*); | 28 LayoutUnit& lastLogicalTop, LayoutUnit& lastLogicalLeft, LayoutUnit& las
tLogicalRight, const PaintInfo*); |
| 29 | 29 |
| 30 protected: | 30 protected: |
| 31 void layoutChildren(bool relayoutChildren, SubtreeLayoutScope&, LayoutUnit b
eforeEdge, LayoutUnit afterEdge) final; | 31 void layoutChildren(bool relayoutChildren, SubtreeLayoutScope&, LayoutUnit b
eforeEdge, LayoutUnit afterEdge) final; |
| 32 | 32 |
| 33 void addOverflowFromChildren() final; | 33 void addOverflowFromChildren() final; |
| 34 | 34 |
| 35 void simplifiedNormalFlowLayout() final; | 35 void simplifiedNormalFlowLayout() final; |
| 36 | 36 |
| 37 void paintChildren(PaintInfo&, const LayoutPoint&) final; | 37 void paintChildren(PaintInfo&, const LayoutPoint&, Vector<RenderBox*>& layer
s) final; |
| 38 | 38 |
| 39 bool hitTestContents(const HitTestRequest&, HitTestResult&, const HitTestLoc
ation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction)
final; | 39 bool hitTestContents(const HitTestRequest&, HitTestResult&, const HitTestLoc
ation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction)
final; |
| 40 | 40 |
| 41 virtual ETextAlign textAlignmentForLine(bool endsWithSoftBreak) const; | 41 virtual ETextAlign textAlignmentForLine(bool endsWithSoftBreak) const; |
| 42 | 42 |
| 43 void computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, LayoutUnit&
maxLogicalWidth) const final; | 43 void computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, LayoutUnit&
maxLogicalWidth) const final; |
| 44 | 44 |
| 45 int firstLineBoxBaseline() const final; | 45 int firstLineBoxBaseline() const final; |
| 46 int lastLineBoxBaseline(LineDirectionMode) const final; | 46 int lastLineBoxBaseline(LineDirectionMode) const final; |
| 47 | 47 |
| (...skipping 21 matching lines...) Expand all Loading... |
| 69 bool matchedEndLine(LineLayoutState&, const InlineBidiResolver&, const Inlin
eIterator& endLineStart, const BidiStatus& endLineStatus); | 69 bool matchedEndLine(LineLayoutState&, const InlineBidiResolver&, const Inlin
eIterator& endLineStart, const BidiStatus& endLineStatus); |
| 70 void deleteEllipsisLineBoxes(); | 70 void deleteEllipsisLineBoxes(); |
| 71 void checkLinesForTextOverflow(); | 71 void checkLinesForTextOverflow(); |
| 72 }; | 72 }; |
| 73 | 73 |
| 74 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderParagraph, isRenderParagraph()); | 74 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderParagraph, isRenderParagraph()); |
| 75 | 75 |
| 76 } // namespace blink | 76 } // namespace blink |
| 77 | 77 |
| 78 #endif // SKY_ENGINE_CORE_RENDERING_RENDERPARAGRAPH_H_ | 78 #endif // SKY_ENGINE_CORE_RENDERING_RENDERPARAGRAPH_H_ |
| OLD | NEW |