| 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 501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 512 bool isWritingModeRoot() const { return false; } | 512 bool isWritingModeRoot() const { return false; } |
| 513 | 513 |
| 514 bool isFlexItemIncludingDeprecated() const { return !isInline() && !isFloati
ngOrOutOfFlowPositioned() && parent() && parent()->isFlexibleBox(); } | 514 bool isFlexItemIncludingDeprecated() const { return !isInline() && !isFloati
ngOrOutOfFlowPositioned() && parent() && parent()->isFlexibleBox(); } |
| 515 | 515 |
| 516 virtual LayoutUnit lineHeight(bool firstLine, LineDirectionMode, LinePositio
nMode = PositionOnContainingLine) const override; | 516 virtual LayoutUnit lineHeight(bool firstLine, LineDirectionMode, LinePositio
nMode = PositionOnContainingLine) const override; |
| 517 virtual int baselinePosition(FontBaseline, bool firstLine, LineDirectionMode
, LinePositionMode = PositionOnContainingLine) const override; | 517 virtual int baselinePosition(FontBaseline, bool firstLine, LineDirectionMode
, LinePositionMode = PositionOnContainingLine) const override; |
| 518 | 518 |
| 519 virtual LayoutUnit offsetLeft() const override; | 519 virtual LayoutUnit offsetLeft() const override; |
| 520 virtual LayoutUnit offsetTop() const override; | 520 virtual LayoutUnit offsetTop() const override; |
| 521 | 521 |
| 522 LayoutPoint flipForWritingModeForChild(const RenderBox* child, const LayoutP
oint&) const; | |
| 523 LayoutUnit flipForWritingMode(LayoutUnit position) const; // The offset is i
n the block direction (y for horizontal writing modes, x for vertical writing mo
des). | |
| 524 LayoutPoint flipForWritingMode(const LayoutPoint&) const; | |
| 525 LayoutPoint flipForWritingModeIncludingColumns(const LayoutPoint&) const; | |
| 526 LayoutSize flipForWritingMode(const LayoutSize&) const; | |
| 527 void flipForWritingMode(LayoutRect&) const; | |
| 528 FloatPoint flipForWritingMode(const FloatPoint&) const; | |
| 529 void flipForWritingMode(FloatRect&) const; | |
| 530 // These represent your location relative to your container as a physical of
fset. | 522 // These represent your location relative to your container as a physical of
fset. |
| 531 // In layout related methods you almost always want the logical location (e.
g. x() and y()). | 523 // In layout related methods you almost always want the logical location (e.
g. x() and y()). |
| 532 LayoutPoint topLeftLocation() const; | 524 LayoutPoint topLeftLocation() const; |
| 533 LayoutSize topLeftLocationOffset() const; | 525 LayoutSize topLeftLocationOffset() const; |
| 534 | 526 |
| 535 LayoutRect logicalVisualOverflowRectForPropagation(RenderStyle*) const; | 527 LayoutRect logicalVisualOverflowRectForPropagation(RenderStyle*) const; |
| 536 LayoutRect visualOverflowRectForPropagation(RenderStyle*) const; | 528 LayoutRect visualOverflowRectForPropagation(RenderStyle*) const; |
| 537 LayoutRect logicalLayoutOverflowRectForPropagation(RenderStyle*) const; | 529 LayoutRect logicalLayoutOverflowRectForPropagation(RenderStyle*) const; |
| 538 LayoutRect layoutOverflowRectForPropagation(RenderStyle*) const; | 530 LayoutRect layoutOverflowRectForPropagation(RenderStyle*) const; |
| 539 | 531 |
| (...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 765 if (UNLIKELY(inlineBoxWrapper() != 0)) | 757 if (UNLIKELY(inlineBoxWrapper() != 0)) |
| 766 deleteLineBoxWrapper(); | 758 deleteLineBoxWrapper(); |
| 767 } | 759 } |
| 768 | 760 |
| 769 ensureRareData().m_inlineBoxWrapper = boxWrapper; | 761 ensureRareData().m_inlineBoxWrapper = boxWrapper; |
| 770 } | 762 } |
| 771 | 763 |
| 772 } // namespace blink | 764 } // namespace blink |
| 773 | 765 |
| 774 #endif // RenderBox_h | 766 #endif // RenderBox_h |
| OLD | NEW |