| 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 668 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 679 const LayoutRect& oldBounds, const LayoutPoint& oldPositionFromPaintInva
lidationContainer, | 679 const LayoutRect& oldBounds, const LayoutPoint& oldPositionFromPaintInva
lidationContainer, |
| 680 const LayoutRect& newBounds, const LayoutPoint& newPositionFromPaintInva
lidationContainer) OVERRIDE; | 680 const LayoutRect& newBounds, const LayoutPoint& newPositionFromPaintInva
lidationContainer) OVERRIDE; |
| 681 virtual void incrementallyInvalidatePaint(const RenderLayerModelObject& pain
tInvalidationContainer, const LayoutRect& oldBounds, const LayoutRect& newBounds
, const LayoutPoint& positionFromPaintInvalidationContainer) OVERRIDE; | 681 virtual void incrementallyInvalidatePaint(const RenderLayerModelObject& pain
tInvalidationContainer, const LayoutRect& oldBounds, const LayoutRect& newBounds
, const LayoutPoint& positionFromPaintInvalidationContainer) OVERRIDE; |
| 682 | 682 |
| 683 virtual void clearPaintInvalidationState(const PaintInvalidationState&) OVER
RIDE; | 683 virtual void clearPaintInvalidationState(const PaintInvalidationState&) OVER
RIDE; |
| 684 #if ENABLE(ASSERT) | 684 #if ENABLE(ASSERT) |
| 685 virtual bool paintInvalidationStateIsDirty() const OVERRIDE; | 685 virtual bool paintInvalidationStateIsDirty() const OVERRIDE; |
| 686 #endif | 686 #endif |
| 687 | 687 |
| 688 private: | 688 private: |
| 689 void invalidatePaintRectClippedByOldAndNewBounds(const RenderLayerModelObjec
t& paintInvalidationContainer, const LayoutRect&, const LayoutRect& oldBounds, c
onst LayoutRect& newBounds); |
| 690 |
| 689 void updateShapeOutsideInfoAfterStyleChange(const RenderStyle&, const Render
Style* oldStyle); | 691 void updateShapeOutsideInfoAfterStyleChange(const RenderStyle&, const Render
Style* oldStyle); |
| 690 void updateGridPositionAfterStyleChange(const RenderStyle*); | 692 void updateGridPositionAfterStyleChange(const RenderStyle*); |
| 691 | 693 |
| 692 bool autoWidthShouldFitContent() const; | 694 bool autoWidthShouldFitContent() const; |
| 693 void shrinkToFitWidth(const LayoutUnit availableSpace, const LayoutUnit logi
calLeftValue, const LayoutUnit bordersPlusPadding, LogicalExtentComputedValues&)
const; | 695 void shrinkToFitWidth(const LayoutUnit availableSpace, const LayoutUnit logi
calLeftValue, const LayoutUnit bordersPlusPadding, LogicalExtentComputedValues&)
const; |
| 694 | 696 |
| 695 // Returns true if we queued up a paint invalidation. | 697 // Returns true if we queued up a paint invalidation. |
| 696 bool paintInvalidationLayerRectsForImage(WrappedImagePtr, const FillLayer&,
bool drawingBackground); | 698 bool paintInvalidationLayerRectsForImage(WrappedImagePtr, const FillLayer&,
bool drawingBackground); |
| 697 | 699 |
| 698 bool skipContainingBlockForPercentHeightCalculation(const RenderBox* contain
ingBlock) const; | 700 bool skipContainingBlockForPercentHeightCalculation(const RenderBox* contain
ingBlock) const; |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 803 if (UNLIKELY(inlineBoxWrapper() != 0)) | 805 if (UNLIKELY(inlineBoxWrapper() != 0)) |
| 804 deleteLineBoxWrapper(); | 806 deleteLineBoxWrapper(); |
| 805 } | 807 } |
| 806 | 808 |
| 807 ensureRareData().m_inlineBoxWrapper = boxWrapper; | 809 ensureRareData().m_inlineBoxWrapper = boxWrapper; |
| 808 } | 810 } |
| 809 | 811 |
| 810 } // namespace blink | 812 } // namespace blink |
| 811 | 813 |
| 812 #endif // RenderBox_h | 814 #endif // RenderBox_h |
| OLD | NEW |