| 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 666 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 677 LayoutUnit computeLogicalWidthUsing(SizeType, const Length& logicalWidth, La
youtUnit availableLogicalWidth, const LayoutBlock* containingBlock) const; | 677 LayoutUnit computeLogicalWidthUsing(SizeType, const Length& logicalWidth, La
youtUnit availableLogicalWidth, const LayoutBlock* containingBlock) const; |
| 678 LayoutUnit computeLogicalHeightUsing(SizeType, const Length& height, LayoutU
nit intrinsicContentHeight) const; | 678 LayoutUnit computeLogicalHeightUsing(SizeType, const Length& height, LayoutU
nit intrinsicContentHeight) const; |
| 679 LayoutUnit computeContentLogicalHeight(SizeType, const Length& height, Layou
tUnit intrinsicContentHeight) const; | 679 LayoutUnit computeContentLogicalHeight(SizeType, const Length& height, Layou
tUnit intrinsicContentHeight) const; |
| 680 LayoutUnit computeContentAndScrollbarLogicalHeightUsing(SizeType, const Leng
th& height, LayoutUnit intrinsicContentHeight) const; | 680 LayoutUnit computeContentAndScrollbarLogicalHeightUsing(SizeType, const Leng
th& height, LayoutUnit intrinsicContentHeight) const; |
| 681 LayoutUnit computeReplacedLogicalWidthUsing(SizeType, const Length& width) c
onst; | 681 LayoutUnit computeReplacedLogicalWidthUsing(SizeType, const Length& width) c
onst; |
| 682 LayoutUnit computeReplacedLogicalWidthRespectingMinMaxWidth(LayoutUnit logic
alWidth, ShouldComputePreferred = ComputeActual) const; | 682 LayoutUnit computeReplacedLogicalWidthRespectingMinMaxWidth(LayoutUnit logic
alWidth, ShouldComputePreferred = ComputeActual) const; |
| 683 LayoutUnit computeReplacedLogicalHeightUsing(SizeType, const Length& height)
const; | 683 LayoutUnit computeReplacedLogicalHeightUsing(SizeType, const Length& height)
const; |
| 684 LayoutUnit computeReplacedLogicalHeightRespectingMinMaxHeight(LayoutUnit log
icalHeight) const; | 684 LayoutUnit computeReplacedLogicalHeightRespectingMinMaxHeight(LayoutUnit log
icalHeight) const; |
| 685 | 685 |
| 686 virtual LayoutUnit computeReplacedLogicalWidth(ShouldComputePreferred = Com
puteActual) const; | 686 virtual LayoutUnit computeReplacedLogicalWidth(ShouldComputePreferred = Com
puteActual) const; |
| 687 virtual LayoutUnit computeReplacedLogicalHeight() const; | 687 virtual LayoutUnit computeReplacedLogicalHeight(LayoutUnit estimatedUsedWidt
h = LayoutUnit()) const; |
| 688 | 688 |
| 689 bool hasDefiniteLogicalWidth() const; | 689 bool hasDefiniteLogicalWidth() const; |
| 690 bool percentageLogicalHeightIsResolvable() const; | 690 bool percentageLogicalHeightIsResolvable() const; |
| 691 bool hasDefiniteLogicalHeight() const; | 691 bool hasDefiniteLogicalHeight() const; |
| 692 LayoutUnit computePercentageLogicalHeight(const Length& height) const; | 692 LayoutUnit computePercentageLogicalHeight(const Length& height) const; |
| 693 | 693 |
| 694 // Block flows subclass availableWidth/Height to handle multi column layout
(shrinking the width/height available to children when laying out.) | 694 // Block flows subclass availableWidth/Height to handle multi column layout
(shrinking the width/height available to children when laying out.) |
| 695 LayoutUnit availableLogicalWidth() const { return contentLogicalWidth(); } | 695 LayoutUnit availableLogicalWidth() const { return contentLogicalWidth(); } |
| 696 LayoutUnit availableLogicalHeight(AvailableLogicalHeightType) const; | 696 LayoutUnit availableLogicalHeight(AvailableLogicalHeightType) const; |
| 697 LayoutUnit availableLogicalHeightUsing(const Length&, AvailableLogicalHeight
Type) const; | 697 LayoutUnit availableLogicalHeightUsing(const Length&, AvailableLogicalHeight
Type) const; |
| (...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1140 || breakValue == BreakLeft | 1140 || breakValue == BreakLeft |
| 1141 || breakValue == BreakPage | 1141 || breakValue == BreakPage |
| 1142 || breakValue == BreakRecto | 1142 || breakValue == BreakRecto |
| 1143 || breakValue == BreakRight | 1143 || breakValue == BreakRight |
| 1144 || breakValue == BreakVerso; | 1144 || breakValue == BreakVerso; |
| 1145 } | 1145 } |
| 1146 | 1146 |
| 1147 } // namespace blink | 1147 } // namespace blink |
| 1148 | 1148 |
| 1149 #endif // LayoutBox_h | 1149 #endif // LayoutBox_h |
| OLD | NEW |