| 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 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1434 const PaintInvalidationState&) override; | 1434 const PaintInvalidationState&) override; |
| 1435 PaintInvalidationReason invalidatePaintIfNeeded( | 1435 PaintInvalidationReason invalidatePaintIfNeeded( |
| 1436 const PaintInvalidatorContext&) const override; | 1436 const PaintInvalidatorContext&) const override; |
| 1437 | 1437 |
| 1438 bool columnFlexItemHasStretchAlignment() const; | 1438 bool columnFlexItemHasStretchAlignment() const; |
| 1439 bool isStretchingColumnFlexItem() const; | 1439 bool isStretchingColumnFlexItem() const; |
| 1440 bool hasStretchedLogicalWidth() const; | 1440 bool hasStretchedLogicalWidth() const; |
| 1441 | 1441 |
| 1442 void excludeScrollbars( | 1442 void excludeScrollbars( |
| 1443 LayoutRect&, | 1443 LayoutRect&, |
| 1444 OverlayScrollbarClipBehavior = IgnoreOverlayScrollbarSize) const; | 1444 OverlayScrollbarClipBehavior = IgnorePlatformOverlayScrollbarSize) const; |
| 1445 | 1445 |
| 1446 LayoutUnit containingBlockLogicalWidthForPositioned( | 1446 LayoutUnit containingBlockLogicalWidthForPositioned( |
| 1447 const LayoutBoxModelObject* containingBlock, | 1447 const LayoutBoxModelObject* containingBlock, |
| 1448 bool checkForPerpendicularWritingMode = true) const; | 1448 bool checkForPerpendicularWritingMode = true) const; |
| 1449 LayoutUnit containingBlockLogicalHeightForPositioned( | 1449 LayoutUnit containingBlockLogicalHeightForPositioned( |
| 1450 const LayoutBoxModelObject* containingBlock, | 1450 const LayoutBoxModelObject* containingBlock, |
| 1451 bool checkForPerpendicularWritingMode = true) const; | 1451 bool checkForPerpendicularWritingMode = true) const; |
| 1452 | 1452 |
| 1453 static void computeBlockStaticDistance( | 1453 static void computeBlockStaticDistance( |
| 1454 Length& logicalTop, | 1454 Length& logicalTop, |
| (...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1698 breakValue == EBreakBetween::kLeft || | 1698 breakValue == EBreakBetween::kLeft || |
| 1699 breakValue == EBreakBetween::kPage || | 1699 breakValue == EBreakBetween::kPage || |
| 1700 breakValue == EBreakBetween::kRecto || | 1700 breakValue == EBreakBetween::kRecto || |
| 1701 breakValue == EBreakBetween::kRight || | 1701 breakValue == EBreakBetween::kRight || |
| 1702 breakValue == EBreakBetween::kVerso; | 1702 breakValue == EBreakBetween::kVerso; |
| 1703 } | 1703 } |
| 1704 | 1704 |
| 1705 } // namespace blink | 1705 } // namespace blink |
| 1706 | 1706 |
| 1707 #endif // LayoutBox_h | 1707 #endif // LayoutBox_h |
| OLD | NEW |