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 581 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
592 void resetPaginationStrut() | 592 void resetPaginationStrut() |
593 { | 593 { |
594 if (m_rareData) | 594 if (m_rareData) |
595 m_rareData->m_paginationStrut = LayoutUnit(); | 595 m_rareData->m_paginationStrut = LayoutUnit(); |
596 } | 596 } |
597 | 597 |
598 bool hasForcedBreakBefore() const; | 598 bool hasForcedBreakBefore() const; |
599 bool hasForcedBreakAfter() const; | 599 bool hasForcedBreakAfter() const; |
600 | 600 |
601 LayoutRect clippedOverflowRectForPaintInvalidation(const LayoutBoxModelObjec
t* paintInvalidationContainer, const PaintInvalidationState* = nullptr) const ov
erride; | 601 LayoutRect clippedOverflowRectForPaintInvalidation(const LayoutBoxModelObjec
t* paintInvalidationContainer, const PaintInvalidationState* = nullptr) const ov
erride; |
602 void mapRectToPaintInvalidationBacking(const LayoutBoxModelObject* paintInva
lidationContainer, LayoutRect&, const PaintInvalidationState*) const override; | 602 void mapToVisibleRectInContainerSpace(const LayoutBoxModelObject* paintInval
idationContainer, LayoutRect&, const PaintInvalidationState*) const override; |
603 virtual void invalidatePaintForOverhangingFloats(bool paintAllDescendants); | 603 virtual void invalidatePaintForOverhangingFloats(bool paintAllDescendants); |
604 | 604 |
605 LayoutUnit containingBlockLogicalHeightForGetComputedStyle() const; | 605 LayoutUnit containingBlockLogicalHeightForGetComputedStyle() const; |
606 | 606 |
607 LayoutUnit containingBlockLogicalWidthForContent() const override; | 607 LayoutUnit containingBlockLogicalWidthForContent() const override; |
608 LayoutUnit containingBlockLogicalHeightForContent(AvailableLogicalHeightType
) const; | 608 LayoutUnit containingBlockLogicalHeightForContent(AvailableLogicalHeightType
) const; |
609 | 609 |
610 LayoutUnit containingBlockAvailableLineWidth() const; | 610 LayoutUnit containingBlockAvailableLineWidth() const; |
611 LayoutUnit perpendicularContainingBlockLogicalHeight() const; | 611 LayoutUnit perpendicularContainingBlockLogicalHeight() const; |
612 | 612 |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
791 LayoutRect logicalLayoutOverflowRectForPropagation(const ComputedStyle&) con
st; | 791 LayoutRect logicalLayoutOverflowRectForPropagation(const ComputedStyle&) con
st; |
792 LayoutRect layoutOverflowRectForPropagation(const ComputedStyle&) const; | 792 LayoutRect layoutOverflowRectForPropagation(const ComputedStyle&) const; |
793 | 793 |
794 bool hasOverflowModel() const { return m_overflow; } | 794 bool hasOverflowModel() const { return m_overflow; } |
795 bool hasVisualOverflow() const { return m_overflow && !borderBoxRect().conta
ins(m_overflow->visualOverflowRect()); } | 795 bool hasVisualOverflow() const { return m_overflow && !borderBoxRect().conta
ins(m_overflow->visualOverflowRect()); } |
796 | 796 |
797 virtual bool needsPreferredWidthsRecalculation() const; | 797 virtual bool needsPreferredWidthsRecalculation() const; |
798 virtual void computeIntrinsicRatioInformation(FloatSize& /* intrinsicSize */
, double& /* intrinsicRatio */) const { } | 798 virtual void computeIntrinsicRatioInformation(FloatSize& /* intrinsicSize */
, double& /* intrinsicRatio */) const { } |
799 | 799 |
800 IntSize scrolledContentOffset() const; | 800 IntSize scrolledContentOffset() const; |
| 801 void applyCachedScrollOffsetForPaintInvalidation(LayoutRect& paintRect) cons
t; |
801 void applyCachedClipAndScrollOffsetForPaintInvalidation(LayoutRect& paintRec
t) const; | 802 void applyCachedClipAndScrollOffsetForPaintInvalidation(LayoutRect& paintRec
t) const; |
802 | 803 |
803 virtual bool hasRelativeLogicalWidth() const; | 804 virtual bool hasRelativeLogicalWidth() const; |
804 virtual bool hasRelativeLogicalHeight() const; | 805 virtual bool hasRelativeLogicalHeight() const; |
805 | 806 |
806 bool hasHorizontalLayoutOverflow() const | 807 bool hasHorizontalLayoutOverflow() const |
807 { | 808 { |
808 if (!m_overflow) | 809 if (!m_overflow) |
809 return false; | 810 return false; |
810 | 811 |
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1062 if (UNLIKELY(inlineBoxWrapper() != nullptr)) | 1063 if (UNLIKELY(inlineBoxWrapper() != nullptr)) |
1063 deleteLineBoxWrapper(); | 1064 deleteLineBoxWrapper(); |
1064 } | 1065 } |
1065 | 1066 |
1066 ensureRareData().m_inlineBoxWrapper = boxWrapper; | 1067 ensureRareData().m_inlineBoxWrapper = boxWrapper; |
1067 } | 1068 } |
1068 | 1069 |
1069 } // namespace blink | 1070 } // namespace blink |
1070 | 1071 |
1071 #endif // LayoutBox_h | 1072 #endif // LayoutBox_h |
OLD | NEW |