| 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 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 m_rareData->m_multiColumnFlowThread = nullptr; | 202 m_rareData->m_multiColumnFlowThread = nullptr; |
| 203 } | 203 } |
| 204 | 204 |
| 205 void addOverflowFromInlineChildren(); | 205 void addOverflowFromInlineChildren(); |
| 206 | 206 |
| 207 // FIXME: This should be const to avoid a const_cast, but can modify child d
irty bits and LayoutTextCombine | 207 // FIXME: This should be const to avoid a const_cast, but can modify child d
irty bits and LayoutTextCombine |
| 208 void computeInlinePreferredLogicalWidths(LayoutUnit& minLogicalWidth, Layout
Unit& maxLogicalWidth); | 208 void computeInlinePreferredLogicalWidths(LayoutUnit& minLogicalWidth, Layout
Unit& maxLogicalWidth); |
| 209 | 209 |
| 210 bool shouldPaintSelectionGaps() const final; | 210 bool shouldPaintSelectionGaps() const final; |
| 211 LayoutRect logicalLeftSelectionGap(const LayoutBlock* rootBlock, const Layou
tPoint& rootBlockPhysicalPosition, const LayoutSize& offsetFromRootBlock, | 211 LayoutRect logicalLeftSelectionGap(const LayoutBlock* rootBlock, const Layou
tPoint& rootBlockPhysicalPosition, const LayoutSize& offsetFromRootBlock, |
| 212 const LayoutObject* selObj, LayoutUnit logicalLeft, LayoutUnit logicalTo
p, LayoutUnit logicalHeight, const PaintInfo*) const; | 212 const LineLayoutItem selObj, LayoutUnit logicalLeft, LayoutUnit logicalT
op, LayoutUnit logicalHeight, const PaintInfo*) const; |
| 213 LayoutRect logicalRightSelectionGap(const LayoutBlock* rootBlock, const Layo
utPoint& rootBlockPhysicalPosition, const LayoutSize& offsetFromRootBlock, | 213 LayoutRect logicalRightSelectionGap(const LayoutBlock* rootBlock, const Layo
utPoint& rootBlockPhysicalPosition, const LayoutSize& offsetFromRootBlock, |
| 214 const LayoutObject* selObj, LayoutUnit logicalRight, LayoutUnit logicalT
op, LayoutUnit logicalHeight, const PaintInfo*) const; | 214 const LineLayoutItem selObj, LayoutUnit logicalRight, LayoutUnit logical
Top, LayoutUnit logicalHeight, const PaintInfo*) const; |
| 215 void getSelectionGapInfo(SelectionState, bool& leftGap, bool& rightGap) cons
t; | 215 void getSelectionGapInfo(SelectionState, bool& leftGap, bool& rightGap) cons
t; |
| 216 | 216 |
| 217 LayoutRect selectionRectForPaintInvalidation(const LayoutBoxModelObject* pai
ntInvalidationContainer) const final; | 217 LayoutRect selectionRectForPaintInvalidation(const LayoutBoxModelObject* pai
ntInvalidationContainer) const final; |
| 218 GapRects selectionGapRectsForPaintInvalidation(const LayoutBoxModelObject* p
aintInvalidationContainer) const; | 218 GapRects selectionGapRectsForPaintInvalidation(const LayoutBoxModelObject* p
aintInvalidationContainer) const; |
| 219 GapRects selectionGaps(const LayoutBlock* rootBlock, const LayoutPoint& root
BlockPhysicalPosition, const LayoutSize& offsetFromRootBlock, | 219 GapRects selectionGaps(const LayoutBlock* rootBlock, const LayoutPoint& root
BlockPhysicalPosition, const LayoutSize& offsetFromRootBlock, |
| 220 LayoutUnit& lastLogicalTop, LayoutUnit& lastLogicalLeft, LayoutUnit& las
tLogicalRight, | 220 LayoutUnit& lastLogicalTop, LayoutUnit& lastLogicalLeft, LayoutUnit& las
tLogicalRight, |
| 221 const PaintInfo* = nullptr, ClipScope* = nullptr) const; | 221 const PaintInfo* = nullptr, ClipScope* = nullptr) const; |
| 222 GapRects inlineSelectionGaps(const LayoutBlock* rootBlock, const LayoutPoint
& rootBlockPhysicalPosition, const LayoutSize& offsetFromRootBlock, | 222 GapRects inlineSelectionGaps(const LayoutBlock* rootBlock, const LayoutPoint
& rootBlockPhysicalPosition, const LayoutSize& offsetFromRootBlock, |
| 223 LayoutUnit& lastLogicalTop, LayoutUnit& lastLogicalLeft, LayoutUnit& las
tLogicalRight, const PaintInfo*) const; | 223 LayoutUnit& lastLogicalTop, LayoutUnit& lastLogicalLeft, LayoutUnit& las
tLogicalRight, const PaintInfo*) const; |
| 224 GapRects blockSelectionGaps(const LayoutBlock* rootBlock, const LayoutPoint&
rootBlockPhysicalPosition, const LayoutSize& offsetFromRootBlock, | 224 GapRects blockSelectionGaps(const LayoutBlock* rootBlock, const LayoutPoint&
rootBlockPhysicalPosition, const LayoutSize& offsetFromRootBlock, |
| (...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 606 | 606 |
| 607 // END METHODS DEFINED IN LayoutBlockFlowLine | 607 // END METHODS DEFINED IN LayoutBlockFlowLine |
| 608 | 608 |
| 609 }; | 609 }; |
| 610 | 610 |
| 611 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlockFlow, isLayoutBlockFlow()); | 611 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlockFlow, isLayoutBlockFlow()); |
| 612 | 612 |
| 613 } // namespace blink | 613 } // namespace blink |
| 614 | 614 |
| 615 #endif // LayoutBlockFlow_h | 615 #endif // LayoutBlockFlow_h |
| OLD | NEW |