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 | |
851 protected: | 849 protected: |
852 void willBeDestroyed() override; | 850 void willBeDestroyed() override; |
853 | 851 |
854 void styleWillChange(StyleDifference, const ComputedStyle& newStyle) overrid
e; | 852 void styleWillChange(StyleDifference, const ComputedStyle& newStyle) overrid
e; |
855 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override
; | 853 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override
; |
856 void updateFromStyle() override; | 854 void updateFromStyle() override; |
857 | 855 |
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. | 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. |
859 // FIXME: make this a const method once the LayoutBox reference in BoxPainte
r is const. | 857 // FIXME: make this a const method once the LayoutBox reference in BoxPainte
r is const. |
860 bool getBackgroundPaintedExtent(LayoutRect&) const; | 858 bool getBackgroundPaintedExtent(LayoutRect&) const; |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1061 if (UNLIKELY(inlineBoxWrapper() != nullptr)) | 1059 if (UNLIKELY(inlineBoxWrapper() != nullptr)) |
1062 deleteLineBoxWrapper(); | 1060 deleteLineBoxWrapper(); |
1063 } | 1061 } |
1064 | 1062 |
1065 ensureRareData().m_inlineBoxWrapper = boxWrapper; | 1063 ensureRareData().m_inlineBoxWrapper = boxWrapper; |
1066 } | 1064 } |
1067 | 1065 |
1068 } // namespace blink | 1066 } // namespace blink |
1069 | 1067 |
1070 #endif // LayoutBox_h | 1068 #endif // LayoutBox_h |
OLD | NEW |