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