| 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 1070 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1081 LayoutUnit* extraWidthToEndOfLine = nullptr) override; | 1081 LayoutUnit* extraWidthToEndOfLine = nullptr) override; |
| 1082 | 1082 |
| 1083 // Returns whether content which overflows should be clipped. This is not just | 1083 // Returns whether content which overflows should be clipped. This is not just |
| 1084 // because of overflow clip, but other types of clip as well, such as | 1084 // because of overflow clip, but other types of clip as well, such as |
| 1085 // control clips or contain: paint. | 1085 // control clips or contain: paint. |
| 1086 virtual bool shouldClipOverflow() const; | 1086 virtual bool shouldClipOverflow() const; |
| 1087 | 1087 |
| 1088 // Returns the intersection of all overflow clips which apply. | 1088 // Returns the intersection of all overflow clips which apply. |
| 1089 virtual LayoutRect overflowClipRect( | 1089 virtual LayoutRect overflowClipRect( |
| 1090 const LayoutPoint& location, | 1090 const LayoutPoint& location, |
| 1091 OverlayScrollbarClipBehavior = IgnoreOverlayScrollbarSize) const; | 1091 OverlayScrollbarClipBehavior = IgnorePlatformOverlayScrollbarSize) const; |
| 1092 LayoutRect clipRect(const LayoutPoint& location) const; | 1092 LayoutRect clipRect(const LayoutPoint& location) const; |
| 1093 | 1093 |
| 1094 // Returns the combination of overflow clip, contain: paint clip and CSS clip | 1094 // Returns the combination of overflow clip, contain: paint clip and CSS clip |
| 1095 // for this object, in local space. | 1095 // for this object, in local space. |
| 1096 LayoutRect clippingRect() const; | 1096 LayoutRect clippingRect() const; |
| 1097 | 1097 |
| 1098 virtual void paintBoxDecorationBackground(const PaintInfo&, | 1098 virtual void paintBoxDecorationBackground(const PaintInfo&, |
| 1099 const LayoutPoint&) const; | 1099 const LayoutPoint&) const; |
| 1100 virtual void paintMask(const PaintInfo&, const LayoutPoint&) const; | 1100 virtual void paintMask(const PaintInfo&, const LayoutPoint&) const; |
| 1101 void imageChanged(WrappedImagePtr, const IntRect* = nullptr) override; | 1101 void imageChanged(WrappedImagePtr, const IntRect* = nullptr) override; |
| (...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1438 const PaintInvalidationState&) override; | 1438 const PaintInvalidationState&) override; |
| 1439 PaintInvalidationReason invalidatePaintIfNeeded( | 1439 PaintInvalidationReason invalidatePaintIfNeeded( |
| 1440 const PaintInvalidatorContext&) const override; | 1440 const PaintInvalidatorContext&) const override; |
| 1441 | 1441 |
| 1442 bool columnFlexItemHasStretchAlignment() const; | 1442 bool columnFlexItemHasStretchAlignment() const; |
| 1443 bool isStretchingColumnFlexItem() const; | 1443 bool isStretchingColumnFlexItem() const; |
| 1444 bool hasStretchedLogicalWidth() const; | 1444 bool hasStretchedLogicalWidth() const; |
| 1445 | 1445 |
| 1446 void excludeScrollbars( | 1446 void excludeScrollbars( |
| 1447 LayoutRect&, | 1447 LayoutRect&, |
| 1448 OverlayScrollbarClipBehavior = IgnoreOverlayScrollbarSize) const; | 1448 OverlayScrollbarClipBehavior = IgnorePlatformOverlayScrollbarSize) const; |
| 1449 | 1449 |
| 1450 LayoutUnit containingBlockLogicalWidthForPositioned( | 1450 LayoutUnit containingBlockLogicalWidthForPositioned( |
| 1451 const LayoutBoxModelObject* containingBlock, | 1451 const LayoutBoxModelObject* containingBlock, |
| 1452 bool checkForPerpendicularWritingMode = true) const; | 1452 bool checkForPerpendicularWritingMode = true) const; |
| 1453 LayoutUnit containingBlockLogicalHeightForPositioned( | 1453 LayoutUnit containingBlockLogicalHeightForPositioned( |
| 1454 const LayoutBoxModelObject* containingBlock, | 1454 const LayoutBoxModelObject* containingBlock, |
| 1455 bool checkForPerpendicularWritingMode = true) const; | 1455 bool checkForPerpendicularWritingMode = true) const; |
| 1456 | 1456 |
| 1457 static void computeBlockStaticDistance( | 1457 static void computeBlockStaticDistance( |
| 1458 Length& logicalTop, | 1458 Length& logicalTop, |
| (...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1702 breakValue == EBreakBetween::kLeft || | 1702 breakValue == EBreakBetween::kLeft || |
| 1703 breakValue == EBreakBetween::kPage || | 1703 breakValue == EBreakBetween::kPage || |
| 1704 breakValue == EBreakBetween::kRecto || | 1704 breakValue == EBreakBetween::kRecto || |
| 1705 breakValue == EBreakBetween::kRight || | 1705 breakValue == EBreakBetween::kRight || |
| 1706 breakValue == EBreakBetween::kVerso; | 1706 breakValue == EBreakBetween::kVerso; |
| 1707 } | 1707 } |
| 1708 | 1708 |
| 1709 } // namespace blink | 1709 } // namespace blink |
| 1710 | 1710 |
| 1711 #endif // LayoutBox_h | 1711 #endif // LayoutBox_h |
| OLD | NEW |