| 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 645 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 656 const LayoutRect& oldBounds, const LayoutPoint& oldPositionFromPaintInva
lidationContainer, | 656 const LayoutRect& oldBounds, const LayoutPoint& oldPositionFromPaintInva
lidationContainer, |
| 657 const LayoutRect& newBounds, const LayoutPoint& newPositionFromPaintInva
lidationContainer) OVERRIDE; | 657 const LayoutRect& newBounds, const LayoutPoint& newPositionFromPaintInva
lidationContainer) OVERRIDE; |
| 658 virtual void incrementallyInvalidatePaint(const RenderLayerModelObject& pain
tInvalidationContainer, const LayoutRect& oldBounds, const LayoutRect& newBounds
, const LayoutPoint& positionFromPaintInvalidationContainer) OVERRIDE; | 658 virtual void incrementallyInvalidatePaint(const RenderLayerModelObject& pain
tInvalidationContainer, const LayoutRect& oldBounds, const LayoutRect& newBounds
, const LayoutPoint& positionFromPaintInvalidationContainer) OVERRIDE; |
| 659 | 659 |
| 660 virtual void clearPaintInvalidationState(const PaintInvalidationState&) OVER
RIDE; | 660 virtual void clearPaintInvalidationState(const PaintInvalidationState&) OVER
RIDE; |
| 661 #if ENABLE(ASSERT) | 661 #if ENABLE(ASSERT) |
| 662 virtual bool paintInvalidationStateIsDirty() const OVERRIDE; | 662 virtual bool paintInvalidationStateIsDirty() const OVERRIDE; |
| 663 #endif | 663 #endif |
| 664 | 664 |
| 665 private: | 665 private: |
| 666 void invalidatePaintRectClippedByOldAndNewBounds(const RenderLayerModelObjec
t& paintInvalidationContainer, const LayoutRect&, const LayoutRect& oldBounds, c
onst LayoutRect& newBounds); |
| 667 |
| 666 void updateShapeOutsideInfoAfterStyleChange(const RenderStyle&, const Render
Style* oldStyle); | 668 void updateShapeOutsideInfoAfterStyleChange(const RenderStyle&, const Render
Style* oldStyle); |
| 667 void updateGridPositionAfterStyleChange(const RenderStyle*); | 669 void updateGridPositionAfterStyleChange(const RenderStyle*); |
| 668 | 670 |
| 669 bool autoWidthShouldFitContent() const; | 671 bool autoWidthShouldFitContent() const; |
| 670 void shrinkToFitWidth(const LayoutUnit availableSpace, const LayoutUnit logi
calLeftValue, const LayoutUnit bordersPlusPadding, LogicalExtentComputedValues&)
const; | 672 void shrinkToFitWidth(const LayoutUnit availableSpace, const LayoutUnit logi
calLeftValue, const LayoutUnit bordersPlusPadding, LogicalExtentComputedValues&)
const; |
| 671 | 673 |
| 672 // Returns true if we queued up a paint invalidation. | 674 // Returns true if we queued up a paint invalidation. |
| 673 bool paintInvalidationLayerRectsForImage(WrappedImagePtr, const FillLayer&,
bool drawingBackground); | 675 bool paintInvalidationLayerRectsForImage(WrappedImagePtr, const FillLayer&,
bool drawingBackground); |
| 674 | 676 |
| 675 bool skipContainingBlockForPercentHeightCalculation(const RenderBox* contain
ingBlock) const; | 677 bool skipContainingBlockForPercentHeightCalculation(const RenderBox* contain
ingBlock) const; |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 780 if (UNLIKELY(inlineBoxWrapper() != 0)) | 782 if (UNLIKELY(inlineBoxWrapper() != 0)) |
| 781 deleteLineBoxWrapper(); | 783 deleteLineBoxWrapper(); |
| 782 } | 784 } |
| 783 | 785 |
| 784 ensureRareData().m_inlineBoxWrapper = boxWrapper; | 786 ensureRareData().m_inlineBoxWrapper = boxWrapper; |
| 785 } | 787 } |
| 786 | 788 |
| 787 } // namespace blink | 789 } // namespace blink |
| 788 | 790 |
| 789 #endif // RenderBox_h | 791 #endif // RenderBox_h |
| OLD | NEW |