| 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 * Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved. | 4 * Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 768 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 779 | 779 |
| 780 void invalidatePaintRectClippedByOldAndNewBounds(const LayoutBoxModelObject&
paintInvalidationContainer, const LayoutRect&, const LayoutRect& oldBounds, con
st LayoutRect& newBounds); | 780 void invalidatePaintRectClippedByOldAndNewBounds(const LayoutBoxModelObject&
paintInvalidationContainer, const LayoutRect&, const LayoutRect& oldBounds, con
st LayoutRect& newBounds); |
| 781 | 781 |
| 782 void updateShapeOutsideInfoAfterStyleChange(const ComputedStyle&, const Comp
utedStyle* oldStyle); | 782 void updateShapeOutsideInfoAfterStyleChange(const ComputedStyle&, const Comp
utedStyle* oldStyle); |
| 783 void updateGridPositionAfterStyleChange(const ComputedStyle*); | 783 void updateGridPositionAfterStyleChange(const ComputedStyle*); |
| 784 | 784 |
| 785 bool autoWidthShouldFitContent() const; | 785 bool autoWidthShouldFitContent() const; |
| 786 LayoutUnit shrinkToFitLogicalWidth(LayoutUnit availableLogicalWidth, LayoutU
nit bordersPlusPadding) const; | 786 LayoutUnit shrinkToFitLogicalWidth(LayoutUnit availableLogicalWidth, LayoutU
nit bordersPlusPadding) const; |
| 787 | 787 |
| 788 // Returns true if we queued up a paint invalidation. | 788 // Returns true if we queued up a paint invalidation. |
| 789 bool paintInvalidationLayerRectsForImage(WrappedImagePtr, const FillLayer&,
bool drawingBackground); | 789 bool invalidatePaintOfLayerRectsForImage(WrappedImagePtr, const FillLayer&,
bool drawingBackground); |
| 790 | 790 |
| 791 bool skipContainingBlockForPercentHeightCalculation(const LayoutBox* contain
ingBlock) const; | 791 bool skipContainingBlockForPercentHeightCalculation(const LayoutBox* contain
ingBlock) const; |
| 792 | 792 |
| 793 LayoutUnit containingBlockLogicalWidthForPositioned(const LayoutBoxModelObje
ct* containingBlock, bool checkForPerpendicularWritingMode = true) const; | 793 LayoutUnit containingBlockLogicalWidthForPositioned(const LayoutBoxModelObje
ct* containingBlock, bool checkForPerpendicularWritingMode = true) const; |
| 794 LayoutUnit containingBlockLogicalHeightForPositioned(const LayoutBoxModelObj
ect* containingBlock, bool checkForPerpendicularWritingMode = true) const; | 794 LayoutUnit containingBlockLogicalHeightForPositioned(const LayoutBoxModelObj
ect* containingBlock, bool checkForPerpendicularWritingMode = true) const; |
| 795 | 795 |
| 796 void computePositionedLogicalHeight(LogicalExtentComputedValues&) const; | 796 void computePositionedLogicalHeight(LogicalExtentComputedValues&) const; |
| 797 void computePositionedLogicalWidthUsing(SizeType, Length logicalWidth, const
LayoutBoxModelObject* containerBlock, TextDirection containerDirection, | 797 void computePositionedLogicalWidthUsing(SizeType, Length logicalWidth, const
LayoutBoxModelObject* containerBlock, TextDirection containerDirection, |
| 798 LayoutUnit containerLogicalWidth, LayoutUnit bordersPlusPadding, | 798 LayoutUnit containerLogicalWidth, LayoutUnit bordersPlusPadding, |
| 799 const Length& logicalLeft, const Length& logicalRight, const Length& mar
ginLogicalLeft, | 799 const Length& logicalLeft, const Length& logicalRight, const Length& mar
ginLogicalLeft, |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 937 if (UNLIKELY(inlineBoxWrapper() != nullptr)) | 937 if (UNLIKELY(inlineBoxWrapper() != nullptr)) |
| 938 deleteLineBoxWrapper(); | 938 deleteLineBoxWrapper(); |
| 939 } | 939 } |
| 940 | 940 |
| 941 ensureRareData().m_inlineBoxWrapper = boxWrapper; | 941 ensureRareData().m_inlineBoxWrapper = boxWrapper; |
| 942 } | 942 } |
| 943 | 943 |
| 944 } // namespace blink | 944 } // namespace blink |
| 945 | 945 |
| 946 #endif // LayoutBox_h | 946 #endif // LayoutBox_h |
| OLD | NEW |