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 832 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
843 | 843 |
844 // Returns false if it could not cheaply compute the extent (e.g. fixed back
ground), in which case the returned rect may be incorrect. | 844 // Returns false if it could not cheaply compute the extent (e.g. fixed back
ground), in which case the returned rect may be incorrect. |
845 // FIXME: make this a const method once the LayoutBox reference in BoxPainte
r is const. | 845 // FIXME: make this a const method once the LayoutBox reference in BoxPainte
r is const. |
846 bool getBackgroundPaintedExtent(LayoutRect&) const; | 846 bool getBackgroundPaintedExtent(LayoutRect&) const; |
847 virtual bool foregroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect,
unsigned maxDepthToTest) const; | 847 virtual bool foregroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect,
unsigned maxDepthToTest) const; |
848 bool computeBackgroundIsKnownToBeObscured() const override; | 848 bool computeBackgroundIsKnownToBeObscured() const override; |
849 | 849 |
850 void computePositionedLogicalWidth(LogicalExtentComputedValues&) const; | 850 void computePositionedLogicalWidth(LogicalExtentComputedValues&) const; |
851 | 851 |
852 LayoutUnit computeIntrinsicLogicalWidthUsing(const Length& logicalWidthLengt
h, LayoutUnit availableLogicalWidth, LayoutUnit borderAndPadding) const; | 852 LayoutUnit computeIntrinsicLogicalWidthUsing(const Length& logicalWidthLengt
h, LayoutUnit availableLogicalWidth, LayoutUnit borderAndPadding) const; |
853 LayoutUnit computeIntrinsicLogicalContentHeightUsing(const Length& logicalHe
ightLength, LayoutUnit intrinsicContentHeight, LayoutUnit borderAndPadding) cons
t; | 853 virtual LayoutUnit computeIntrinsicLogicalContentHeightUsing(const Length& l
ogicalHeightLength, LayoutUnit intrinsicContentHeight, LayoutUnit borderAndPaddi
ng) const; |
854 | 854 |
855 virtual bool shouldComputeSizeAsReplaced() const { return isReplaced() && !i
sInlineBlockOrInlineTable(); } | 855 virtual bool shouldComputeSizeAsReplaced() const { return isReplaced() && !i
sInlineBlockOrInlineTable(); } |
856 | 856 |
857 void mapLocalToContainer(const LayoutBoxModelObject* paintInvalidationContai
ner, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool* wasFixed =
nullptr, const PaintInvalidationState* = nullptr) const override; | 857 void mapLocalToContainer(const LayoutBoxModelObject* paintInvalidationContai
ner, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool* wasFixed =
nullptr, const PaintInvalidationState* = nullptr) const override; |
858 void mapAbsoluteToLocalPoint(MapCoordinatesFlags, TransformState&) const ove
rride; | 858 void mapAbsoluteToLocalPoint(MapCoordinatesFlags, TransformState&) const ove
rride; |
859 | 859 |
860 LayoutObject* splitAnonymousBoxesAroundChild(LayoutObject* beforeChild); | 860 LayoutObject* splitAnonymousBoxesAroundChild(LayoutObject* beforeChild); |
861 | 861 |
862 void addLayerHitTestRects(LayerHitTestRects&, const PaintLayer* currentCompo
sitedLayer, const LayoutPoint& layerOffset, const LayoutRect& containerRect) con
st override; | 862 void addLayerHitTestRects(LayerHitTestRects&, const PaintLayer* currentCompo
sitedLayer, const LayoutPoint& layerOffset, const LayoutRect& containerRect) con
st override; |
863 void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint& layerOf
fset) const override; | 863 void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint& layerOf
fset) const override; |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1054 if (UNLIKELY(inlineBoxWrapper() != nullptr)) | 1054 if (UNLIKELY(inlineBoxWrapper() != nullptr)) |
1055 deleteLineBoxWrapper(); | 1055 deleteLineBoxWrapper(); |
1056 } | 1056 } |
1057 | 1057 |
1058 ensureRareData().m_inlineBoxWrapper = boxWrapper; | 1058 ensureRareData().m_inlineBoxWrapper = boxWrapper; |
1059 } | 1059 } |
1060 | 1060 |
1061 } // namespace blink | 1061 } // namespace blink |
1062 | 1062 |
1063 #endif // LayoutBox_h | 1063 #endif // LayoutBox_h |
OLD | NEW |