| 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 754 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 765 | 765 |
| 766 virtual void clearPaintInvalidationState(const PaintInvalidationState&) over
ride; | 766 virtual void clearPaintInvalidationState(const PaintInvalidationState&) over
ride; |
| 767 #if ENABLE(ASSERT) | 767 #if ENABLE(ASSERT) |
| 768 virtual bool paintInvalidationStateIsDirty() const override; | 768 virtual bool paintInvalidationStateIsDirty() const override; |
| 769 #endif | 769 #endif |
| 770 | 770 |
| 771 virtual PaintInvalidationReason invalidatePaintIfNeeded(PaintInvalidationSta
te&, const LayoutBoxModelObject& newPaintInvalidationContainer) override; | 771 virtual PaintInvalidationReason invalidatePaintIfNeeded(PaintInvalidationSta
te&, const LayoutBoxModelObject& newPaintInvalidationContainer) override; |
| 772 | 772 |
| 773 virtual bool hasNonCompositedScrollbars() const override final; | 773 virtual bool hasNonCompositedScrollbars() const override final; |
| 774 | 774 |
| 775 bool mustInvalidateFillLayersPaintOnWidthChange(const FillLayer&) const; |
| 776 |
| 775 private: | 777 private: |
| 776 bool mustInvalidateBackgroundOrBorderPaintOnHeightChange() const; | 778 bool mustInvalidateBackgroundOrBorderPaintOnHeightChange() const; |
| 777 bool mustInvalidateBackgroundOrBorderPaintOnWidthChange() const; | 779 bool mustInvalidateBackgroundOrBorderPaintOnWidthChange() const; |
| 778 inline bool mustInvalidateFillLayersPaintOnWidthChange(const FillLayer&) con
st; | |
| 779 | 780 |
| 780 void invalidatePaintRectClippedByOldAndNewBounds(const LayoutBoxModelObject&
paintInvalidationContainer, const LayoutRect&, const LayoutRect& oldBounds, con
st LayoutRect& newBounds); | 781 void invalidatePaintRectClippedByOldAndNewBounds(const LayoutBoxModelObject&
paintInvalidationContainer, const LayoutRect&, const LayoutRect& oldBounds, con
st LayoutRect& newBounds); |
| 781 | 782 |
| 782 void updateShapeOutsideInfoAfterStyleChange(const ComputedStyle&, const Comp
utedStyle* oldStyle); | 783 void updateShapeOutsideInfoAfterStyleChange(const ComputedStyle&, const Comp
utedStyle* oldStyle); |
| 783 void updateGridPositionAfterStyleChange(const ComputedStyle*); | 784 void updateGridPositionAfterStyleChange(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. |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 937 if (UNLIKELY(inlineBoxWrapper() != 0)) | 938 if (UNLIKELY(inlineBoxWrapper() != 0)) |
| 938 deleteLineBoxWrapper(); | 939 deleteLineBoxWrapper(); |
| 939 } | 940 } |
| 940 | 941 |
| 941 ensureRareData().m_inlineBoxWrapper = boxWrapper; | 942 ensureRareData().m_inlineBoxWrapper = boxWrapper; |
| 942 } | 943 } |
| 943 | 944 |
| 944 } // namespace blink | 945 } // namespace blink |
| 945 | 946 |
| 946 #endif // LayoutBox_h | 947 #endif // LayoutBox_h |
| OLD | NEW |