| 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 861 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 872 LayoutObject* splitAnonymousBoxesAroundChild(LayoutObject* beforeChild); | 872 LayoutObject* splitAnonymousBoxesAroundChild(LayoutObject* beforeChild); |
| 873 | 873 |
| 874 void addLayerHitTestRects(LayerHitTestRects&, const PaintLayer* currentCompo
sitedLayer, const LayoutPoint& layerOffset, const LayoutRect& containerRect) con
st override; | 874 void addLayerHitTestRects(LayerHitTestRects&, const PaintLayer* currentCompo
sitedLayer, const LayoutPoint& layerOffset, const LayoutRect& containerRect) con
st override; |
| 875 void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint& layerOf
fset) const override; | 875 void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint& layerOf
fset) const override; |
| 876 | 876 |
| 877 PaintInvalidationReason paintInvalidationReason(const LayoutBoxModelObject&
paintInvalidationContainer, | 877 PaintInvalidationReason paintInvalidationReason(const LayoutBoxModelObject&
paintInvalidationContainer, |
| 878 const LayoutRect& oldBounds, const LayoutPoint& oldPositionFromPaintInva
lidationContainer, | 878 const LayoutRect& oldBounds, const LayoutPoint& oldPositionFromPaintInva
lidationContainer, |
| 879 const LayoutRect& newBounds, const LayoutPoint& newPositionFromPaintInva
lidationContainer) const override; | 879 const LayoutRect& newBounds, const LayoutPoint& newPositionFromPaintInva
lidationContainer) const override; |
| 880 void incrementallyInvalidatePaint(const LayoutBoxModelObject& paintInvalidat
ionContainer, const LayoutRect& oldBounds, const LayoutRect& newBounds, const La
youtPoint& positionFromPaintInvalidationContainer) override; | 880 void incrementallyInvalidatePaint(const LayoutBoxModelObject& paintInvalidat
ionContainer, const LayoutRect& oldBounds, const LayoutRect& newBounds, const La
youtPoint& positionFromPaintInvalidationContainer) override; |
| 881 | 881 |
| 882 PaintInvalidationReason invalidatePaintIfNeeded(PaintInvalidationState&, con
st LayoutBoxModelObject& paintInvalidationContainer) override; | 882 void clearPaintInvalidationState(const PaintInvalidationState&) override; |
| 883 #if ENABLE(ASSERT) |
| 884 bool paintInvalidationStateIsDirty() const override; |
| 885 #endif |
| 886 |
| 887 PaintInvalidationReason invalidatePaintIfNeeded(PaintInvalidationState&, con
st LayoutBoxModelObject& newPaintInvalidationContainer) override; |
| 883 | 888 |
| 884 bool hasNonCompositedScrollbars() const final; | 889 bool hasNonCompositedScrollbars() const final; |
| 885 void excludeScrollbars(LayoutRect&, OverlayScrollbarSizeRelevancy = IgnoreOv
erlayScrollbarSize) const; | 890 void excludeScrollbars(LayoutRect&, OverlayScrollbarSizeRelevancy = IgnoreOv
erlayScrollbarSize) const; |
| 886 | 891 |
| 887 private: | 892 private: |
| 888 bool mustInvalidateBackgroundOrBorderPaintOnHeightChange() const; | 893 bool mustInvalidateBackgroundOrBorderPaintOnHeightChange() const; |
| 889 bool mustInvalidateBackgroundOrBorderPaintOnWidthChange() const; | 894 bool mustInvalidateBackgroundOrBorderPaintOnWidthChange() const; |
| 890 inline bool mustInvalidateFillLayersPaintOnWidthChange(const FillLayer&) con
st; | 895 inline bool mustInvalidateFillLayersPaintOnWidthChange(const FillLayer&) con
st; |
| 891 | 896 |
| 892 void invalidatePaintRectClippedByOldAndNewBounds(const LayoutBoxModelObject&
paintInvalidationContainer, const LayoutRect&, const LayoutRect& oldBounds, con
st LayoutRect& newBounds); | 897 void invalidatePaintRectClippedByOldAndNewBounds(const LayoutBoxModelObject&
paintInvalidationContainer, const LayoutRect&, const LayoutRect& oldBounds, con
st LayoutRect& newBounds); |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1061 if (UNLIKELY(inlineBoxWrapper() != nullptr)) | 1066 if (UNLIKELY(inlineBoxWrapper() != nullptr)) |
| 1062 deleteLineBoxWrapper(); | 1067 deleteLineBoxWrapper(); |
| 1063 } | 1068 } |
| 1064 | 1069 |
| 1065 ensureRareData().m_inlineBoxWrapper = boxWrapper; | 1070 ensureRareData().m_inlineBoxWrapper = boxWrapper; |
| 1066 } | 1071 } |
| 1067 | 1072 |
| 1068 } // namespace blink | 1073 } // namespace blink |
| 1069 | 1074 |
| 1070 #endif // LayoutBox_h | 1075 #endif // LayoutBox_h |
| OLD | NEW |