| 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 763 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 774 | 774 |
| 775 private: | 775 private: |
| 776 bool mustInvalidateBackgroundOrBorderPaintOnHeightChange() const; | 776 bool mustInvalidateBackgroundOrBorderPaintOnHeightChange() const; |
| 777 bool mustInvalidateBackgroundOrBorderPaintOnWidthChange() const; | 777 bool mustInvalidateBackgroundOrBorderPaintOnWidthChange() const; |
| 778 inline bool mustInvalidateFillLayersPaintOnWidthChange(const FillLayer&) con
st; | 778 inline bool mustInvalidateFillLayersPaintOnWidthChange(const FillLayer&) con
st; |
| 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 void updateAlignmentAfterStyleChange(const ComputedStyle*); |
| 784 | 785 |
| 785 bool autoWidthShouldFitContent() const; | 786 bool autoWidthShouldFitContent() const; |
| 786 LayoutUnit shrinkToFitLogicalWidth(LayoutUnit availableLogicalWidth, LayoutU
nit bordersPlusPadding) const; | 787 LayoutUnit shrinkToFitLogicalWidth(LayoutUnit availableLogicalWidth, LayoutU
nit bordersPlusPadding) const; |
| 787 | 788 |
| 788 // Returns true if we queued up a paint invalidation. | 789 // Returns true if we queued up a paint invalidation. |
| 789 bool paintInvalidationLayerRectsForImage(WrappedImagePtr, const FillLayer&,
bool drawingBackground); | 790 bool paintInvalidationLayerRectsForImage(WrappedImagePtr, const FillLayer&,
bool drawingBackground); |
| 790 | 791 |
| 791 bool skipContainingBlockForPercentHeightCalculation(const LayoutBox* contain
ingBlock) const; | 792 bool skipContainingBlockForPercentHeightCalculation(const LayoutBox* contain
ingBlock) const; |
| 792 | 793 |
| 793 LayoutUnit containingBlockLogicalWidthForPositioned(const LayoutBoxModelObje
ct* containingBlock, bool checkForPerpendicularWritingMode = true) const; | 794 LayoutUnit containingBlockLogicalWidthForPositioned(const LayoutBoxModelObje
ct* containingBlock, bool checkForPerpendicularWritingMode = true) const; |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 936 if (UNLIKELY(inlineBoxWrapper() != 0)) | 937 if (UNLIKELY(inlineBoxWrapper() != 0)) |
| 937 deleteLineBoxWrapper(); | 938 deleteLineBoxWrapper(); |
| 938 } | 939 } |
| 939 | 940 |
| 940 ensureRareData().m_inlineBoxWrapper = boxWrapper; | 941 ensureRareData().m_inlineBoxWrapper = boxWrapper; |
| 941 } | 942 } |
| 942 | 943 |
| 943 } // namespace blink | 944 } // namespace blink |
| 944 | 945 |
| 945 #endif // LayoutBox_h | 946 #endif // LayoutBox_h |
| OLD | NEW |