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 void clearPaintInvalidationState(const PaintInvalidationState&) override; | 882 PaintInvalidationReason invalidatePaintIfNeeded(PaintInvalidationState&, con
st LayoutBoxModelObject& paintInvalidationContainer) override; |
883 #if ENABLE(ASSERT) | |
884 bool paintInvalidationStateIsDirty() const override; | |
885 #endif | |
886 | |
887 PaintInvalidationReason invalidatePaintIfNeeded(PaintInvalidationState&, con
st LayoutBoxModelObject& newPaintInvalidationContainer) override; | |
888 | 883 |
889 bool hasNonCompositedScrollbars() const final; | 884 bool hasNonCompositedScrollbars() const final; |
890 void excludeScrollbars(LayoutRect&, OverlayScrollbarSizeRelevancy = IgnoreOv
erlayScrollbarSize) const; | 885 void excludeScrollbars(LayoutRect&, OverlayScrollbarSizeRelevancy = IgnoreOv
erlayScrollbarSize) const; |
891 | 886 |
892 private: | 887 private: |
893 bool mustInvalidateBackgroundOrBorderPaintOnHeightChange() const; | 888 bool mustInvalidateBackgroundOrBorderPaintOnHeightChange() const; |
894 bool mustInvalidateBackgroundOrBorderPaintOnWidthChange() const; | 889 bool mustInvalidateBackgroundOrBorderPaintOnWidthChange() const; |
895 inline bool mustInvalidateFillLayersPaintOnWidthChange(const FillLayer&) con
st; | 890 inline bool mustInvalidateFillLayersPaintOnWidthChange(const FillLayer&) con
st; |
896 | 891 |
897 void invalidatePaintRectClippedByOldAndNewBounds(const LayoutBoxModelObject&
paintInvalidationContainer, const LayoutRect&, const LayoutRect& oldBounds, con
st LayoutRect& newBounds); | 892 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... |
1066 if (UNLIKELY(inlineBoxWrapper() != nullptr)) | 1061 if (UNLIKELY(inlineBoxWrapper() != nullptr)) |
1067 deleteLineBoxWrapper(); | 1062 deleteLineBoxWrapper(); |
1068 } | 1063 } |
1069 | 1064 |
1070 ensureRareData().m_inlineBoxWrapper = boxWrapper; | 1065 ensureRareData().m_inlineBoxWrapper = boxWrapper; |
1071 } | 1066 } |
1072 | 1067 |
1073 } // namespace blink | 1068 } // namespace blink |
1074 | 1069 |
1075 #endif // LayoutBox_h | 1070 #endif // LayoutBox_h |
OLD | NEW |