| 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 622 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 633 const LayoutRect& newBounds, const LayoutPoint& newPositionFromPaintInva
lidationContainer) override; | 633 const LayoutRect& newBounds, const LayoutPoint& newPositionFromPaintInva
lidationContainer) override; |
| 634 virtual void incrementallyInvalidatePaint(const RenderLayerModelObject& pain
tInvalidationContainer, const LayoutRect& oldBounds, const LayoutRect& newBounds
, const LayoutPoint& positionFromPaintInvalidationContainer) override; | 634 virtual void incrementallyInvalidatePaint(const RenderLayerModelObject& pain
tInvalidationContainer, const LayoutRect& oldBounds, const LayoutRect& newBounds
, const LayoutPoint& positionFromPaintInvalidationContainer) override; |
| 635 | 635 |
| 636 virtual void clearPaintInvalidationState(const PaintInvalidationState&) over
ride; | 636 virtual void clearPaintInvalidationState(const PaintInvalidationState&) over
ride; |
| 637 #if ENABLE(ASSERT) | 637 #if ENABLE(ASSERT) |
| 638 virtual bool paintInvalidationStateIsDirty() const override; | 638 virtual bool paintInvalidationStateIsDirty() const override; |
| 639 #endif | 639 #endif |
| 640 | 640 |
| 641 private: | 641 private: |
| 642 void updateShapeOutsideInfoAfterStyleChange(const RenderStyle&, const Render
Style* oldStyle); | 642 void updateShapeOutsideInfoAfterStyleChange(const RenderStyle&, const Render
Style* oldStyle); |
| 643 void updateGridPositionAfterStyleChange(const RenderStyle*); | |
| 644 | 643 |
| 645 void shrinkToFitWidth(const LayoutUnit availableSpace, const LayoutUnit logi
calLeftValue, const LayoutUnit bordersPlusPadding, LogicalExtentComputedValues&)
const; | 644 void shrinkToFitWidth(const LayoutUnit availableSpace, const LayoutUnit logi
calLeftValue, const LayoutUnit bordersPlusPadding, LogicalExtentComputedValues&)
const; |
| 646 | 645 |
| 647 // Returns true if we queued up a paint invalidation. | 646 // Returns true if we queued up a paint invalidation. |
| 648 bool paintInvalidationLayerRectsForImage(WrappedImagePtr, const FillLayer&,
bool drawingBackground); | 647 bool paintInvalidationLayerRectsForImage(WrappedImagePtr, const FillLayer&,
bool drawingBackground); |
| 649 | 648 |
| 650 bool skipContainingBlockForPercentHeightCalculation(const RenderBox* contain
ingBlock) const; | 649 bool skipContainingBlockForPercentHeightCalculation(const RenderBox* contain
ingBlock) const; |
| 651 | 650 |
| 652 LayoutUnit containingBlockLogicalWidthForPositioned(const RenderBoxModelObje
ct* containingBlock) const; | 651 LayoutUnit containingBlockLogicalWidthForPositioned(const RenderBoxModelObje
ct* containingBlock) const; |
| 653 LayoutUnit containingBlockLogicalHeightForPositioned(const RenderBoxModelObj
ect* containingBlock) const; | 652 LayoutUnit containingBlockLogicalHeightForPositioned(const RenderBoxModelObj
ect* containingBlock) const; |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 755 if (UNLIKELY(inlineBoxWrapper() != 0)) | 754 if (UNLIKELY(inlineBoxWrapper() != 0)) |
| 756 deleteLineBoxWrapper(); | 755 deleteLineBoxWrapper(); |
| 757 } | 756 } |
| 758 | 757 |
| 759 ensureRareData().m_inlineBoxWrapper = boxWrapper; | 758 ensureRareData().m_inlineBoxWrapper = boxWrapper; |
| 760 } | 759 } |
| 761 | 760 |
| 762 } // namespace blink | 761 } // namespace blink |
| 763 | 762 |
| 764 #endif // RenderBox_h | 763 #endif // RenderBox_h |
| OLD | NEW |