| 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 674 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 685 | 685 |
| 686 virtual void clearPaintInvalidationState(const PaintInvalidationState&) over
ride; | 686 virtual void clearPaintInvalidationState(const PaintInvalidationState&) over
ride; |
| 687 #if ENABLE(ASSERT) | 687 #if ENABLE(ASSERT) |
| 688 virtual bool paintInvalidationStateIsDirty() const override; | 688 virtual bool paintInvalidationStateIsDirty() const override; |
| 689 #endif | 689 #endif |
| 690 | 690 |
| 691 virtual PaintInvalidationReason invalidatePaintIfNeeded(const PaintInvalidat
ionState&, const LayoutLayerModelObject& newPaintInvalidationContainer) override
; | 691 virtual PaintInvalidationReason invalidatePaintIfNeeded(const PaintInvalidat
ionState&, const LayoutLayerModelObject& newPaintInvalidationContainer) override
; |
| 692 virtual void invalidateDisplayItemClients(DisplayItemList*) const override; | 692 virtual void invalidateDisplayItemClients(DisplayItemList*) const override; |
| 693 | 693 |
| 694 private: | 694 private: |
| 695 void invalidatePaintRectClippedByOldAndNewBounds(const LayoutLayerModelObjec
t& paintInvalidationContainer, const LayoutRect&, const LayoutRect& oldBounds, c
onst LayoutRect& newBounds); | |
| 696 | |
| 697 void updateShapeOutsideInfoAfterStyleChange(const RenderStyle&, const Render
Style* oldStyle); | 695 void updateShapeOutsideInfoAfterStyleChange(const RenderStyle&, const Render
Style* oldStyle); |
| 698 void updateGridPositionAfterStyleChange(const RenderStyle*); | 696 void updateGridPositionAfterStyleChange(const RenderStyle*); |
| 699 | 697 |
| 700 bool autoWidthShouldFitContent() const; | 698 bool autoWidthShouldFitContent() const; |
| 701 LayoutUnit shrinkToFitLogicalWidth(LayoutUnit availableLogicalWidth, LayoutU
nit bordersPlusPadding) const; | 699 LayoutUnit shrinkToFitLogicalWidth(LayoutUnit availableLogicalWidth, LayoutU
nit bordersPlusPadding) const; |
| 702 | 700 |
| 703 // Returns true if we queued up a paint invalidation. | 701 // Returns true if we queued up a paint invalidation. |
| 704 bool paintInvalidationLayerRectsForImage(WrappedImagePtr, const FillLayer&,
bool drawingBackground); | 702 bool paintInvalidationLayerRectsForImage(WrappedImagePtr, const FillLayer&,
bool drawingBackground); |
| 705 | 703 |
| 706 bool skipContainingBlockForPercentHeightCalculation(const RenderBox* contain
ingBlock) const; | 704 bool skipContainingBlockForPercentHeightCalculation(const RenderBox* contain
ingBlock) const; |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 842 if (UNLIKELY(inlineBoxWrapper() != 0)) | 840 if (UNLIKELY(inlineBoxWrapper() != 0)) |
| 843 deleteLineBoxWrapper(); | 841 deleteLineBoxWrapper(); |
| 844 } | 842 } |
| 845 | 843 |
| 846 ensureRareData().m_inlineBoxWrapper = boxWrapper; | 844 ensureRareData().m_inlineBoxWrapper = boxWrapper; |
| 847 } | 845 } |
| 848 | 846 |
| 849 } // namespace blink | 847 } // namespace blink |
| 850 | 848 |
| 851 #endif // RenderBox_h | 849 #endif // RenderBox_h |
| OLD | NEW |