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 702 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
713 void markShapeOutsideDependentsForLayout() | 713 void markShapeOutsideDependentsForLayout() |
714 { | 714 { |
715 if (isFloating()) | 715 if (isFloating()) |
716 removeFloatingOrPositionedChildFromBlockLists(); | 716 removeFloatingOrPositionedChildFromBlockLists(); |
717 } | 717 } |
718 | 718 |
719 void setIntrinsicContentLogicalHeight(LayoutUnit intrinsicContentLogicalHeig
ht) const { m_intrinsicContentLogicalHeight = intrinsicContentLogicalHeight; } | 719 void setIntrinsicContentLogicalHeight(LayoutUnit intrinsicContentLogicalHeig
ht) const { m_intrinsicContentLogicalHeight = intrinsicContentLogicalHeight; } |
720 | 720 |
721 bool canRenderBorderImage() const; | 721 bool canRenderBorderImage() const; |
722 | 722 |
| 723 PaintInvalidationReason invalidatePaintIfNeededForSlimmingPaintV2(const Layo
utPoint& newPaintOffset) override; |
| 724 |
723 protected: | 725 protected: |
724 void willBeDestroyed() override; | 726 void willBeDestroyed() override; |
725 | 727 |
726 void styleWillChange(StyleDifference, const ComputedStyle& newStyle) overrid
e; | 728 void styleWillChange(StyleDifference, const ComputedStyle& newStyle) overrid
e; |
727 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override
; | 729 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override
; |
728 void updateFromStyle() override; | 730 void updateFromStyle() override; |
729 | 731 |
730 // Returns false if it could not cheaply compute the extent (e.g. fixed back
ground), in which case the returned rect may be incorrect. | 732 // Returns false if it could not cheaply compute the extent (e.g. fixed back
ground), in which case the returned rect may be incorrect. |
731 // FIXME: make this a const method once the LayoutBox reference in BoxPainte
r is const. | 733 // FIXME: make this a const method once the LayoutBox reference in BoxPainte
r is const. |
732 bool getBackgroundPaintedExtent(LayoutRect&); | 734 bool getBackgroundPaintedExtent(LayoutRect&); |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
930 if (UNLIKELY(inlineBoxWrapper() != nullptr)) | 932 if (UNLIKELY(inlineBoxWrapper() != nullptr)) |
931 deleteLineBoxWrapper(); | 933 deleteLineBoxWrapper(); |
932 } | 934 } |
933 | 935 |
934 ensureRareData().m_inlineBoxWrapper = boxWrapper; | 936 ensureRareData().m_inlineBoxWrapper = boxWrapper; |
935 } | 937 } |
936 | 938 |
937 } // namespace blink | 939 } // namespace blink |
938 | 940 |
939 #endif // LayoutBox_h | 941 #endif // LayoutBox_h |
OLD | NEW |