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 828 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
839 removeFloatingOrPositionedChildFromBlockLists(); | 839 removeFloatingOrPositionedChildFromBlockLists(); |
840 } | 840 } |
841 | 841 |
842 void setIntrinsicContentLogicalHeight(LayoutUnit intrinsicContentLogicalHeig
ht) const { m_intrinsicContentLogicalHeight = intrinsicContentLogicalHeight; } | 842 void setIntrinsicContentLogicalHeight(LayoutUnit intrinsicContentLogicalHeig
ht) const { m_intrinsicContentLogicalHeight = intrinsicContentLogicalHeight; } |
843 | 843 |
844 bool canRenderBorderImage() const; | 844 bool canRenderBorderImage() const; |
845 | 845 |
846 void mapLocalToContainer(const LayoutBoxModelObject* paintInvalidationContai
ner, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool* wasFixed =
nullptr, const PaintInvalidationState* = nullptr) const override; | 846 void mapLocalToContainer(const LayoutBoxModelObject* paintInvalidationContai
ner, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool* wasFixed =
nullptr, const PaintInvalidationState* = nullptr) const override; |
847 void mapAbsoluteToLocalPoint(MapCoordinatesFlags, TransformState&) const ove
rride; | 847 void mapAbsoluteToLocalPoint(MapCoordinatesFlags, TransformState&) const ove
rride; |
848 | 848 |
| 849 void clearPreviousPaintInvalidationRects() override; |
| 850 |
849 protected: | 851 protected: |
850 void willBeDestroyed() override; | 852 void willBeDestroyed() override; |
851 | 853 |
852 void styleWillChange(StyleDifference, const ComputedStyle& newStyle) overrid
e; | 854 void styleWillChange(StyleDifference, const ComputedStyle& newStyle) overrid
e; |
853 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override
; | 855 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override
; |
854 void updateFromStyle() override; | 856 void updateFromStyle() override; |
855 | 857 |
856 // Returns false if it could not cheaply compute the extent (e.g. fixed back
ground), in which case the returned rect may be incorrect. | 858 // Returns false if it could not cheaply compute the extent (e.g. fixed back
ground), in which case the returned rect may be incorrect. |
857 // FIXME: make this a const method once the LayoutBox reference in BoxPainte
r is const. | 859 // FIXME: make this a const method once the LayoutBox reference in BoxPainte
r is const. |
858 bool getBackgroundPaintedExtent(LayoutRect&) const; | 860 bool getBackgroundPaintedExtent(LayoutRect&) const; |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1059 if (UNLIKELY(inlineBoxWrapper() != nullptr)) | 1061 if (UNLIKELY(inlineBoxWrapper() != nullptr)) |
1060 deleteLineBoxWrapper(); | 1062 deleteLineBoxWrapper(); |
1061 } | 1063 } |
1062 | 1064 |
1063 ensureRareData().m_inlineBoxWrapper = boxWrapper; | 1065 ensureRareData().m_inlineBoxWrapper = boxWrapper; |
1064 } | 1066 } |
1065 | 1067 |
1066 } // namespace blink | 1068 } // namespace blink |
1067 | 1069 |
1068 #endif // LayoutBox_h | 1070 #endif // LayoutBox_h |
OLD | NEW |