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 437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
448 LayoutUnit computeContentLogicalHeight(const Length& height, LayoutUnit intr insicContentHeight) const; | 448 LayoutUnit computeContentLogicalHeight(const Length& height, LayoutUnit intr insicContentHeight) const; |
449 LayoutUnit computeContentAndScrollbarLogicalHeightUsing(const Length& height , LayoutUnit intrinsicContentHeight) const; | 449 LayoutUnit computeContentAndScrollbarLogicalHeightUsing(const Length& height , LayoutUnit intrinsicContentHeight) const; |
450 LayoutUnit computeReplacedLogicalWidthUsing(const Length& width) const; | 450 LayoutUnit computeReplacedLogicalWidthUsing(const Length& width) const; |
451 LayoutUnit computeReplacedLogicalWidthRespectingMinMaxWidth(LayoutUnit logic alWidth, ShouldComputePreferred = ComputeActual) const; | 451 LayoutUnit computeReplacedLogicalWidthRespectingMinMaxWidth(LayoutUnit logic alWidth, ShouldComputePreferred = ComputeActual) const; |
452 LayoutUnit computeReplacedLogicalHeightUsing(const Length& height) const; | 452 LayoutUnit computeReplacedLogicalHeightUsing(const Length& height) const; |
453 LayoutUnit computeReplacedLogicalHeightRespectingMinMaxHeight(LayoutUnit log icalHeight) const; | 453 LayoutUnit computeReplacedLogicalHeightRespectingMinMaxHeight(LayoutUnit log icalHeight) const; |
454 | 454 |
455 virtual LayoutUnit computeReplacedLogicalWidth(ShouldComputePreferred = Com puteActual) const; | 455 virtual LayoutUnit computeReplacedLogicalWidth(ShouldComputePreferred = Com puteActual) const; |
456 virtual LayoutUnit computeReplacedLogicalHeight() const; | 456 virtual LayoutUnit computeReplacedLogicalHeight() const; |
457 | 457 |
458 static bool logicalWidthIsResolvableFromBlock(const RenderBlock* containingB lock); | 458 static bool logicalWidthIsResolvableFromBlock(const LayoutBox* containingBlo ck); |
Julien - ping for review
2015/02/27 02:07:03
Let's make this a reference if we're touching the
Manuel Rego
2015/02/27 08:48:50
Done.
| |
459 bool hasDefiniteLogicalWidth() const; | 459 bool hasDefiniteLogicalWidth() const; |
460 static bool percentageLogicalHeightIsResolvableFromBlock(const RenderBlock* containingBlock, bool outOfFlowPositioned); | 460 static bool percentageLogicalHeightIsResolvableFromBlock(const RenderBlock* containingBlock, bool outOfFlowPositioned); |
461 bool hasDefiniteLogicalHeight() const; | 461 bool hasDefiniteLogicalHeight() const; |
462 LayoutUnit computePercentageLogicalHeight(const Length& height) const; | 462 LayoutUnit computePercentageLogicalHeight(const Length& height) const; |
463 | 463 |
464 // Block flows subclass availableWidth/Height to handle multi column layout (shrinking the width/height available to children when laying out.) | 464 // Block flows subclass availableWidth/Height to handle multi column layout (shrinking the width/height available to children when laying out.) |
465 virtual LayoutUnit availableLogicalWidth() const { return contentLogicalWidt h(); } | 465 virtual LayoutUnit availableLogicalWidth() const { return contentLogicalWidt h(); } |
466 virtual LayoutUnit availableLogicalHeight(AvailableLogicalHeightType) const; | 466 virtual LayoutUnit availableLogicalHeight(AvailableLogicalHeightType) const; |
467 LayoutUnit availableLogicalHeightUsing(const Length&, AvailableLogicalHeight Type) const; | 467 LayoutUnit availableLogicalHeightUsing(const Length&, AvailableLogicalHeight Type) const; |
468 | 468 |
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
845 if (UNLIKELY(inlineBoxWrapper() != 0)) | 845 if (UNLIKELY(inlineBoxWrapper() != 0)) |
846 deleteLineBoxWrapper(); | 846 deleteLineBoxWrapper(); |
847 } | 847 } |
848 | 848 |
849 ensureRareData().m_inlineBoxWrapper = boxWrapper; | 849 ensureRareData().m_inlineBoxWrapper = boxWrapper; |
850 } | 850 } |
851 | 851 |
852 } // namespace blink | 852 } // namespace blink |
853 | 853 |
854 #endif // LayoutBox_h | 854 #endif // LayoutBox_h |
OLD | NEW |