| 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 855 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 866 LayoutUnit computeIntrinsicLogicalWidthUsing(const Length& logicalWidthLengt
h, LayoutUnit availableLogicalWidth, LayoutUnit borderAndPadding) const; | 866 LayoutUnit computeIntrinsicLogicalWidthUsing(const Length& logicalWidthLengt
h, LayoutUnit availableLogicalWidth, LayoutUnit borderAndPadding) const; |
| 867 virtual LayoutUnit computeIntrinsicLogicalContentHeightUsing(const Length& l
ogicalHeightLength, LayoutUnit intrinsicContentHeight, LayoutUnit borderAndPaddi
ng) const; | 867 virtual LayoutUnit computeIntrinsicLogicalContentHeightUsing(const Length& l
ogicalHeightLength, LayoutUnit intrinsicContentHeight, LayoutUnit borderAndPaddi
ng) const; |
| 868 | 868 |
| 869 virtual bool shouldComputeSizeAsReplaced() const { return isReplaced() && !i
sInlineBlockOrInlineTable(); } | 869 virtual bool shouldComputeSizeAsReplaced() const { return isReplaced() && !i
sInlineBlockOrInlineTable(); } |
| 870 | 870 |
| 871 LayoutObject* splitAnonymousBoxesAroundChild(LayoutObject* beforeChild); | 871 LayoutObject* splitAnonymousBoxesAroundChild(LayoutObject* beforeChild); |
| 872 | 872 |
| 873 void addLayerHitTestRects(LayerHitTestRects&, const PaintLayer* currentCompo
sitedLayer, const LayoutPoint& layerOffset, const LayoutRect& containerRect) con
st override; | 873 void addLayerHitTestRects(LayerHitTestRects&, const PaintLayer* currentCompo
sitedLayer, const LayoutPoint& layerOffset, const LayoutRect& containerRect) con
st override; |
| 874 void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint& layerOf
fset) const override; | 874 void computeSelfHitTestRects(Vector<LayoutRect>&, const LayoutPoint& layerOf
fset) const override; |
| 875 | 875 |
| 876 bool hitTestClippedOutByClipPath(const HitTestLocation& locationInContainer,
const LayoutPoint& borderBoxLocation) const; |
| 877 bool hitTestClippedOutByRoundedBorder(const HitTestLocation& locationInConta
iner, const LayoutPoint& borderBoxLocation) const; |
| 878 |
| 876 PaintInvalidationReason paintInvalidationReason(const LayoutBoxModelObject&
paintInvalidationContainer, | 879 PaintInvalidationReason paintInvalidationReason(const LayoutBoxModelObject&
paintInvalidationContainer, |
| 877 const LayoutRect& oldBounds, const LayoutPoint& oldPositionFromPaintInva
lidationContainer, | 880 const LayoutRect& oldBounds, const LayoutPoint& oldPositionFromPaintInva
lidationContainer, |
| 878 const LayoutRect& newBounds, const LayoutPoint& newPositionFromPaintInva
lidationContainer) const override; | 881 const LayoutRect& newBounds, const LayoutPoint& newPositionFromPaintInva
lidationContainer) const override; |
| 879 void incrementallyInvalidatePaint(const LayoutBoxModelObject& paintInvalidat
ionContainer, const LayoutRect& oldBounds, const LayoutRect& newBounds, const La
youtPoint& positionFromPaintInvalidationContainer) override; | 882 void incrementallyInvalidatePaint(const LayoutBoxModelObject& paintInvalidat
ionContainer, const LayoutRect& oldBounds, const LayoutRect& newBounds, const La
youtPoint& positionFromPaintInvalidationContainer) override; |
| 880 | 883 |
| 881 PaintInvalidationReason invalidatePaintIfNeeded(PaintInvalidationState&, con
st LayoutBoxModelObject& paintInvalidationContainer) override; | 884 PaintInvalidationReason invalidatePaintIfNeeded(PaintInvalidationState&, con
st LayoutBoxModelObject& paintInvalidationContainer) override; |
| 882 void invalidatePaintOfSubtreesIfNeeded(PaintInvalidationState& childPaintInv
alidationState) override; | 885 void invalidatePaintOfSubtreesIfNeeded(PaintInvalidationState& childPaintInv
alidationState) override; |
| 883 | 886 |
| 884 bool hasNonCompositedScrollbars() const final; | 887 bool hasNonCompositedScrollbars() const final; |
| 885 void excludeScrollbars(LayoutRect&, OverlayScrollbarSizeRelevancy = IgnoreOv
erlayScrollbarSize) const; | 888 void excludeScrollbars(LayoutRect&, OverlayScrollbarSizeRelevancy = IgnoreOv
erlayScrollbarSize) const; |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1062 if (UNLIKELY(inlineBoxWrapper() != nullptr)) | 1065 if (UNLIKELY(inlineBoxWrapper() != nullptr)) |
| 1063 deleteLineBoxWrapper(); | 1066 deleteLineBoxWrapper(); |
| 1064 } | 1067 } |
| 1065 | 1068 |
| 1066 ensureRareData().m_inlineBoxWrapper = boxWrapper; | 1069 ensureRareData().m_inlineBoxWrapper = boxWrapper; |
| 1067 } | 1070 } |
| 1068 | 1071 |
| 1069 } // namespace blink | 1072 } // namespace blink |
| 1070 | 1073 |
| 1071 #endif // LayoutBox_h | 1074 #endif // LayoutBox_h |
| OLD | NEW |