| 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 710 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 721 | 721 |
| 722 LayoutUnit OverrideContainingBlockContentLogicalWidth() const; | 722 LayoutUnit OverrideContainingBlockContentLogicalWidth() const; |
| 723 LayoutUnit OverrideContainingBlockContentLogicalHeight() const; | 723 LayoutUnit OverrideContainingBlockContentLogicalHeight() const; |
| 724 bool HasOverrideContainingBlockLogicalWidth() const; | 724 bool HasOverrideContainingBlockLogicalWidth() const; |
| 725 bool HasOverrideContainingBlockLogicalHeight() const; | 725 bool HasOverrideContainingBlockLogicalHeight() const; |
| 726 void SetOverrideContainingBlockContentLogicalWidth(LayoutUnit); | 726 void SetOverrideContainingBlockContentLogicalWidth(LayoutUnit); |
| 727 void SetOverrideContainingBlockContentLogicalHeight(LayoutUnit); | 727 void SetOverrideContainingBlockContentLogicalHeight(LayoutUnit); |
| 728 void ClearContainingBlockOverrideSize(); | 728 void ClearContainingBlockOverrideSize(); |
| 729 void ClearOverrideContainingBlockContentLogicalHeight(); | 729 void ClearOverrideContainingBlockContentLogicalHeight(); |
| 730 | 730 |
| 731 LayoutUnit ExtraInlineOffset() const; | |
| 732 LayoutUnit ExtraBlockOffset() const; | |
| 733 void SetExtraInlineOffset(LayoutUnit inline_offest); | |
| 734 void SetExtraBlockOffset(LayoutUnit block_offest); | |
| 735 void ClearExtraInlineAndBlockOffests(); | |
| 736 | |
| 737 LayoutSize OffsetFromContainer(const LayoutObject*) const override; | 731 LayoutSize OffsetFromContainer(const LayoutObject*) const override; |
| 738 | 732 |
| 739 LayoutUnit AdjustBorderBoxLogicalWidthForBoxSizing(float width) const; | 733 LayoutUnit AdjustBorderBoxLogicalWidthForBoxSizing(float width) const; |
| 740 LayoutUnit AdjustBorderBoxLogicalHeightForBoxSizing(float height) const; | 734 LayoutUnit AdjustBorderBoxLogicalHeightForBoxSizing(float height) const; |
| 741 LayoutUnit AdjustContentBoxLogicalWidthForBoxSizing(float width) const; | 735 LayoutUnit AdjustContentBoxLogicalWidthForBoxSizing(float width) const; |
| 742 LayoutUnit AdjustContentBoxLogicalHeightForBoxSizing(float height) const; | 736 LayoutUnit AdjustContentBoxLogicalHeightForBoxSizing(float height) const; |
| 743 | 737 |
| 744 // ComputedMarginValues holds the actual values for margins. It ignores | 738 // ComputedMarginValues holds the actual values for margins. It ignores |
| 745 // margin collapsing as they are handled in LayoutBlockFlow. | 739 // margin collapsing as they are handled in LayoutBlockFlow. |
| 746 // The margins are stored in logical coordinates (see COORDINATE | 740 // The margins are stored in logical coordinates (see COORDINATE |
| (...skipping 991 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1738 break_value == EBreakBetween::kLeft || | 1732 break_value == EBreakBetween::kLeft || |
| 1739 break_value == EBreakBetween::kPage || | 1733 break_value == EBreakBetween::kPage || |
| 1740 break_value == EBreakBetween::kRecto || | 1734 break_value == EBreakBetween::kRecto || |
| 1741 break_value == EBreakBetween::kRight || | 1735 break_value == EBreakBetween::kRight || |
| 1742 break_value == EBreakBetween::kVerso; | 1736 break_value == EBreakBetween::kVerso; |
| 1743 } | 1737 } |
| 1744 | 1738 |
| 1745 } // namespace blink | 1739 } // namespace blink |
| 1746 | 1740 |
| 1747 #endif // LayoutBox_h | 1741 #endif // LayoutBox_h |
| OLD | NEW |