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 529 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
540 virtual int inlineBlockBaseline(LineDirectionMode) const { return -1; } // R
eturns -1 if we should skip this box when computing the baseline of an inline-bl
ock. | 540 virtual int inlineBlockBaseline(LineDirectionMode) const { return -1; } // R
eturns -1 if we should skip this box when computing the baseline of an inline-bl
ock. |
541 | 541 |
542 bool shrinkToAvoidFloats() const; | 542 bool shrinkToAvoidFloats() const; |
543 virtual bool avoidsFloats() const; | 543 virtual bool avoidsFloats() const; |
544 | 544 |
545 virtual void markForPaginationRelayoutIfNeeded(SubtreeLayoutScope&); | 545 virtual void markForPaginationRelayoutIfNeeded(SubtreeLayoutScope&); |
546 | 546 |
547 bool isWritingModeRoot() const { return !parent() || parent()->style()->writ
ingMode() != style()->writingMode(); } | 547 bool isWritingModeRoot() const { return !parent() || parent()->style()->writ
ingMode() != style()->writingMode(); } |
548 | 548 |
549 bool isDeprecatedFlexItem() const { return !isInline() && !isFloatingOrOutOf
FlowPositioned() && parent() && parent()->isDeprecatedFlexibleBox(); } | 549 bool isDeprecatedFlexItem() const { return !isInline() && !isFloatingOrOutOf
FlowPositioned() && parent() && parent()->isDeprecatedFlexibleBox(); } |
| 550 bool isFlexItem() const { return !isInline() && !isFloatingOrOutOfFlowPositi
oned() && parent() && parent()->isFlexibleBox(); } |
550 bool isFlexItemIncludingDeprecated() const { return !isInline() && !isFloati
ngOrOutOfFlowPositioned() && parent() && parent()->isFlexibleBoxIncludingDepreca
ted(); } | 551 bool isFlexItemIncludingDeprecated() const { return !isInline() && !isFloati
ngOrOutOfFlowPositioned() && parent() && parent()->isFlexibleBoxIncludingDepreca
ted(); } |
551 | 552 |
552 virtual LayoutUnit lineHeight(bool firstLine, LineDirectionMode, LinePositio
nMode = PositionOnContainingLine) const OVERRIDE; | 553 virtual LayoutUnit lineHeight(bool firstLine, LineDirectionMode, LinePositio
nMode = PositionOnContainingLine) const OVERRIDE; |
553 virtual int baselinePosition(FontBaseline, bool firstLine, LineDirectionMode
, LinePositionMode = PositionOnContainingLine) const OVERRIDE; | 554 virtual int baselinePosition(FontBaseline, bool firstLine, LineDirectionMode
, LinePositionMode = PositionOnContainingLine) const OVERRIDE; |
554 | 555 |
555 virtual LayoutUnit offsetLeft() const OVERRIDE; | 556 virtual LayoutUnit offsetLeft() const OVERRIDE; |
556 virtual LayoutUnit offsetTop() const OVERRIDE; | 557 virtual LayoutUnit offsetTop() const OVERRIDE; |
557 | 558 |
558 LayoutPoint flipForWritingModeForChild(const RenderBox* child, const LayoutP
oint&) const; | 559 LayoutPoint flipForWritingModeForChild(const RenderBox* child, const LayoutP
oint&) const; |
559 LayoutUnit flipForWritingMode(LayoutUnit position) const; // The offset is i
n the block direction (y for horizontal writing modes, x for vertical writing mo
des). | 560 LayoutUnit flipForWritingMode(LayoutUnit position) const; // The offset is i
n the block direction (y for horizontal writing modes, x for vertical writing mo
des). |
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
804 if (UNLIKELY(inlineBoxWrapper() != 0)) | 805 if (UNLIKELY(inlineBoxWrapper() != 0)) |
805 deleteLineBoxWrapper(); | 806 deleteLineBoxWrapper(); |
806 } | 807 } |
807 | 808 |
808 ensureRareData().m_inlineBoxWrapper = boxWrapper; | 809 ensureRareData().m_inlineBoxWrapper = boxWrapper; |
809 } | 810 } |
810 | 811 |
811 } // namespace blink | 812 } // namespace blink |
812 | 813 |
813 #endif // RenderBox_h | 814 #endif // RenderBox_h |
OLD | NEW |