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 842 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
853 | 853 |
854 // Returns false if it could not cheaply compute the extent (e.g. fixed back
ground), in which case the returned rect may be incorrect. | 854 // Returns false if it could not cheaply compute the extent (e.g. fixed back
ground), in which case the returned rect may be incorrect. |
855 // FIXME: make this a const method once the LayoutBox reference in BoxPainte
r is const. | 855 // FIXME: make this a const method once the LayoutBox reference in BoxPainte
r is const. |
856 bool getBackgroundPaintedExtent(LayoutRect&) const; | 856 bool getBackgroundPaintedExtent(LayoutRect&) const; |
857 virtual bool foregroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect,
unsigned maxDepthToTest) const; | 857 virtual bool foregroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect,
unsigned maxDepthToTest) const; |
858 bool computeBackgroundIsKnownToBeObscured() const override; | 858 bool computeBackgroundIsKnownToBeObscured() const override; |
859 | 859 |
860 void computePositionedLogicalWidth(LogicalExtentComputedValues&) const; | 860 void computePositionedLogicalWidth(LogicalExtentComputedValues&) const; |
861 | 861 |
862 LayoutUnit computeIntrinsicLogicalWidthUsing(const Length& logicalWidthLengt
h, LayoutUnit availableLogicalWidth, LayoutUnit borderAndPadding) const; | 862 LayoutUnit computeIntrinsicLogicalWidthUsing(const Length& logicalWidthLengt
h, LayoutUnit availableLogicalWidth, LayoutUnit borderAndPadding) const; |
863 LayoutUnit computeIntrinsicLogicalContentHeightUsing(const Length& logicalHe
ightLength, LayoutUnit intrinsicContentHeight, LayoutUnit borderAndPadding) cons
t; | 863 virtual LayoutUnit computeIntrinsicLogicalContentHeightUsing(const Length& l
ogicalHeightLength, LayoutUnit intrinsicContentHeight, LayoutUnit borderAndPaddi
ng) const; |
864 | 864 |
865 virtual bool shouldComputeSizeAsReplaced() const { return isReplaced() && !i
sInlineBlockOrInlineTable(); } | 865 virtual bool shouldComputeSizeAsReplaced() const { return isReplaced() && !i
sInlineBlockOrInlineTable(); } |
866 | 866 |
867 void mapLocalToContainer(const LayoutBoxModelObject* paintInvalidationContai
ner, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool* wasFixed =
nullptr, const PaintInvalidationState* = nullptr) const override; | 867 void mapLocalToContainer(const LayoutBoxModelObject* paintInvalidationContai
ner, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool* wasFixed =
nullptr, const PaintInvalidationState* = nullptr) const override; |
868 void mapAbsoluteToLocalPoint(MapCoordinatesFlags, TransformState&) const ove
rride; | 868 void mapAbsoluteToLocalPoint(MapCoordinatesFlags, TransformState&) const ove
rride; |
869 | 869 |
870 LayoutObject* splitAnonymousBoxesAroundChild(LayoutObject* beforeChild); | 870 LayoutObject* splitAnonymousBoxesAroundChild(LayoutObject* beforeChild); |
871 | 871 |
872 void addLayerHitTestRects(LayerHitTestRects&, const PaintLayer* currentCompo
sitedLayer, const LayoutPoint& layerOffset, const LayoutRect& containerRect) con
st override; | 872 void addLayerHitTestRects(LayerHitTestRects&, const PaintLayer* currentCompo
sitedLayer, const LayoutPoint& layerOffset, const LayoutRect& containerRect) con
st override; |
873 void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint& layerOf
fset) const override; | 873 void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint& layerOf
fset) const override; |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1064 if (UNLIKELY(inlineBoxWrapper() != nullptr)) | 1064 if (UNLIKELY(inlineBoxWrapper() != nullptr)) |
1065 deleteLineBoxWrapper(); | 1065 deleteLineBoxWrapper(); |
1066 } | 1066 } |
1067 | 1067 |
1068 ensureRareData().m_inlineBoxWrapper = boxWrapper; | 1068 ensureRareData().m_inlineBoxWrapper = boxWrapper; |
1069 } | 1069 } |
1070 | 1070 |
1071 } // namespace blink | 1071 } // namespace blink |
1072 | 1072 |
1073 #endif // LayoutBox_h | 1073 #endif // LayoutBox_h |
OLD | NEW |