| 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 733 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 744 virtual PaintInvalidationReason paintInvalidationReason(const LayoutBoxModel
Object& paintInvalidationContainer, | 744 virtual PaintInvalidationReason paintInvalidationReason(const LayoutBoxModel
Object& paintInvalidationContainer, |
| 745 const LayoutRect& oldBounds, const LayoutPoint& oldPositionFromPaintInva
lidationContainer, | 745 const LayoutRect& oldBounds, const LayoutPoint& oldPositionFromPaintInva
lidationContainer, |
| 746 const LayoutRect& newBounds, const LayoutPoint& newPositionFromPaintInva
lidationContainer) const override; | 746 const LayoutRect& newBounds, const LayoutPoint& newPositionFromPaintInva
lidationContainer) const override; |
| 747 virtual void incrementallyInvalidatePaint(const LayoutBoxModelObject& paintI
nvalidationContainer, const LayoutRect& oldBounds, const LayoutRect& newBounds,
const LayoutPoint& positionFromPaintInvalidationContainer) override; | 747 virtual void incrementallyInvalidatePaint(const LayoutBoxModelObject& paintI
nvalidationContainer, const LayoutRect& oldBounds, const LayoutRect& newBounds,
const LayoutPoint& positionFromPaintInvalidationContainer) override; |
| 748 | 748 |
| 749 virtual void clearPaintInvalidationState(const PaintInvalidationState&) over
ride; | 749 virtual void clearPaintInvalidationState(const PaintInvalidationState&) over
ride; |
| 750 #if ENABLE(ASSERT) | 750 #if ENABLE(ASSERT) |
| 751 virtual bool paintInvalidationStateIsDirty() const override; | 751 virtual bool paintInvalidationStateIsDirty() const override; |
| 752 #endif | 752 #endif |
| 753 | 753 |
| 754 virtual PaintInvalidationReason invalidatePaintIfNeeded(const PaintInvalidat
ionState&, const LayoutBoxModelObject& newPaintInvalidationContainer) override; | 754 virtual PaintInvalidationReason invalidatePaintIfNeeded(PaintInvalidationSta
te&, const LayoutBoxModelObject& newPaintInvalidationContainer) override; |
| 755 | 755 |
| 756 virtual bool hasNonCompositedScrollbars() const override final; | 756 virtual bool hasNonCompositedScrollbars() const override final; |
| 757 | 757 |
| 758 private: | 758 private: |
| 759 void invalidatePaintRectClippedByOldAndNewBounds(const LayoutBoxModelObject&
paintInvalidationContainer, const LayoutRect&, const LayoutRect& oldBounds, con
st LayoutRect& newBounds); | 759 void invalidatePaintRectClippedByOldAndNewBounds(const LayoutBoxModelObject&
paintInvalidationContainer, const LayoutRect&, const LayoutRect& oldBounds, con
st LayoutRect& newBounds); |
| 760 | 760 |
| 761 void updateShapeOutsideInfoAfterStyleChange(const LayoutStyle&, const Layout
Style* oldStyle); | 761 void updateShapeOutsideInfoAfterStyleChange(const LayoutStyle&, const Layout
Style* oldStyle); |
| 762 void updateGridPositionAfterStyleChange(const LayoutStyle*); | 762 void updateGridPositionAfterStyleChange(const LayoutStyle*); |
| 763 | 763 |
| 764 bool autoWidthShouldFitContent() const; | 764 bool autoWidthShouldFitContent() const; |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 912 if (UNLIKELY(inlineBoxWrapper() != 0)) | 912 if (UNLIKELY(inlineBoxWrapper() != 0)) |
| 913 deleteLineBoxWrapper(); | 913 deleteLineBoxWrapper(); |
| 914 } | 914 } |
| 915 | 915 |
| 916 ensureRareData().m_inlineBoxWrapper = boxWrapper; | 916 ensureRareData().m_inlineBoxWrapper = boxWrapper; |
| 917 } | 917 } |
| 918 | 918 |
| 919 } // namespace blink | 919 } // namespace blink |
| 920 | 920 |
| 921 #endif // LayoutBox_h | 921 #endif // LayoutBox_h |
| OLD | NEW |