| 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 677 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 688 | 688 |
| 689 static bool isForcedFragmentainerBreakValue(EBreak); | 689 static bool isForcedFragmentainerBreakValue(EBreak); |
| 690 | 690 |
| 691 EBreak classABreakPointValue(EBreak previousBreakAfterValue) const; | 691 EBreak classABreakPointValue(EBreak previousBreakAfterValue) const; |
| 692 | 692 |
| 693 // Return true if we should insert a break in front of this box. The box nee
ds to start at a | 693 // Return true if we should insert a break in front of this box. The box nee
ds to start at a |
| 694 // valid class A break point in order to allow a forced break. To determine
whether or not to | 694 // valid class A break point in order to allow a forced break. To determine
whether or not to |
| 695 // break, we also need to know the break-after value of the previous in-flow
sibling. | 695 // break, we also need to know the break-after value of the previous in-flow
sibling. |
| 696 bool needsForcedBreakBefore(EBreak previousBreakAfterValue) const; | 696 bool needsForcedBreakBefore(EBreak previousBreakAfterValue) const; |
| 697 | 697 |
| 698 bool paintedOutputOfObjectHasNoEffect() const override; |
| 698 LayoutRect localOverflowRectForPaintInvalidation() const override; | 699 LayoutRect localOverflowRectForPaintInvalidation() const override; |
| 699 bool mapToVisualRectInAncestorSpace(const LayoutBoxModelObject* ancestor, La
youtRect&, VisualRectFlags = DefaultVisualRectFlags) const override; | 700 bool mapToVisualRectInAncestorSpace(const LayoutBoxModelObject* ancestor, La
youtRect&, VisualRectFlags = DefaultVisualRectFlags) const override; |
| 700 virtual void invalidatePaintForOverhangingFloats(bool paintAllDescendants); | 701 virtual void invalidatePaintForOverhangingFloats(bool paintAllDescendants); |
| 701 | 702 |
| 702 LayoutUnit containingBlockLogicalHeightForGetComputedStyle() const; | 703 LayoutUnit containingBlockLogicalHeightForGetComputedStyle() const; |
| 703 | 704 |
| 704 LayoutUnit containingBlockLogicalWidthForContent() const override; | 705 LayoutUnit containingBlockLogicalWidthForContent() const override; |
| 705 LayoutUnit containingBlockLogicalHeightForContent(AvailableLogicalHeightType
) const; | 706 LayoutUnit containingBlockLogicalHeightForContent(AvailableLogicalHeightType
) const; |
| 706 | 707 |
| 707 LayoutUnit containingBlockAvailableLineWidth() const; | 708 LayoutUnit containingBlockAvailableLineWidth() const; |
| (...skipping 526 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1234 || breakValue == BreakLeft | 1235 || breakValue == BreakLeft |
| 1235 || breakValue == BreakPage | 1236 || breakValue == BreakPage |
| 1236 || breakValue == BreakRecto | 1237 || breakValue == BreakRecto |
| 1237 || breakValue == BreakRight | 1238 || breakValue == BreakRight |
| 1238 || breakValue == BreakVerso; | 1239 || breakValue == BreakVerso; |
| 1239 } | 1240 } |
| 1240 | 1241 |
| 1241 } // namespace blink | 1242 } // namespace blink |
| 1242 | 1243 |
| 1243 #endif // LayoutBox_h | 1244 #endif // LayoutBox_h |
| OLD | NEW |