| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2007 David Smith (catfish.man@gmail.com) | 4 * (C) 2007 David Smith (catfish.man@gmail.com) |
| 5 * Copyright (C) 2003-2013 Apple Inc. All rights reserved. | 5 * Copyright (C) 2003-2013 Apple Inc. All rights reserved. |
| 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. |
| 7 * Copyright (C) 2013 Google Inc. All rights reserved. | 7 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 8 * | 8 * |
| 9 * Redistribution and use in source and binary forms, with or without | 9 * Redistribution and use in source and binary forms, with or without |
| 10 * modification, are permitted provided that the following conditions are | 10 * modification, are permitted provided that the following conditions are |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 | 171 |
| 172 LayoutMultiColumnFlowThread* multiColumnFlowThread() const { return m_rareDa
ta ? m_rareData->m_multiColumnFlowThread : 0; } | 172 LayoutMultiColumnFlowThread* multiColumnFlowThread() const { return m_rareDa
ta ? m_rareData->m_multiColumnFlowThread : 0; } |
| 173 void resetMultiColumnFlowThread() | 173 void resetMultiColumnFlowThread() |
| 174 { | 174 { |
| 175 if (m_rareData) | 175 if (m_rareData) |
| 176 m_rareData->m_multiColumnFlowThread = nullptr; | 176 m_rareData->m_multiColumnFlowThread = nullptr; |
| 177 } | 177 } |
| 178 | 178 |
| 179 void addOverflowFromInlineChildren(); | 179 void addOverflowFromInlineChildren(); |
| 180 | 180 |
| 181 // FIXME: This should be const to avoid a const_cast, but can modify child d
irty bits and RenderCombineText | 181 // FIXME: This should be const to avoid a const_cast, but can modify child d
irty bits and LayoutTextCombine |
| 182 void computeInlinePreferredLogicalWidths(LayoutUnit& minLogicalWidth, Layout
Unit& maxLogicalWidth); | 182 void computeInlinePreferredLogicalWidths(LayoutUnit& minLogicalWidth, Layout
Unit& maxLogicalWidth); |
| 183 | 183 |
| 184 virtual bool shouldPaintSelectionGaps() const override final; | 184 virtual bool shouldPaintSelectionGaps() const override final; |
| 185 LayoutRect logicalLeftSelectionGap(const LayoutBlock* rootBlock, const Layou
tPoint& rootBlockPhysicalPosition, const LayoutSize& offsetFromRootBlock, | 185 LayoutRect logicalLeftSelectionGap(const LayoutBlock* rootBlock, const Layou
tPoint& rootBlockPhysicalPosition, const LayoutSize& offsetFromRootBlock, |
| 186 const LayoutObject* selObj, LayoutUnit logicalLeft, LayoutUnit logicalTo
p, LayoutUnit logicalHeight, const PaintInfo*) const; | 186 const LayoutObject* selObj, LayoutUnit logicalLeft, LayoutUnit logicalTo
p, LayoutUnit logicalHeight, const PaintInfo*) const; |
| 187 LayoutRect logicalRightSelectionGap(const LayoutBlock* rootBlock, const Layo
utPoint& rootBlockPhysicalPosition, const LayoutSize& offsetFromRootBlock, | 187 LayoutRect logicalRightSelectionGap(const LayoutBlock* rootBlock, const Layo
utPoint& rootBlockPhysicalPosition, const LayoutSize& offsetFromRootBlock, |
| 188 const LayoutObject* selObj, LayoutUnit logicalRight, LayoutUnit logicalT
op, LayoutUnit logicalHeight, const PaintInfo*) const; | 188 const LayoutObject* selObj, LayoutUnit logicalRight, LayoutUnit logicalT
op, LayoutUnit logicalHeight, const PaintInfo*) const; |
| 189 void getSelectionGapInfo(SelectionState, bool& leftGap, bool& rightGap) cons
t; | 189 void getSelectionGapInfo(SelectionState, bool& leftGap, bool& rightGap) cons
t; |
| 190 | 190 |
| 191 virtual LayoutRect selectionRectForPaintInvalidation(const LayoutBoxModelObj
ect* paintInvalidationContainer) const override final; | 191 virtual LayoutRect selectionRectForPaintInvalidation(const LayoutBoxModelObj
ect* paintInvalidationContainer) const override final; |
| (...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 539 | 539 |
| 540 // END METHODS DEFINED IN LayoutBlockFlowLine | 540 // END METHODS DEFINED IN LayoutBlockFlowLine |
| 541 | 541 |
| 542 }; | 542 }; |
| 543 | 543 |
| 544 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlockFlow, isLayoutBlockFlow()); | 544 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlockFlow, isLayoutBlockFlow()); |
| 545 | 545 |
| 546 } // namespace blink | 546 } // namespace blink |
| 547 | 547 |
| 548 #endif // LayoutBlockFlow_h | 548 #endif // LayoutBlockFlow_h |
| OLD | NEW |