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 528 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
539 | 539 |
540 virtual LayoutUnit lineHeight(bool firstLine, LineDirectionMode, LinePositio
nMode = PositionOnContainingLine) const OVERRIDE; | 540 virtual LayoutUnit lineHeight(bool firstLine, LineDirectionMode, LinePositio
nMode = PositionOnContainingLine) const OVERRIDE; |
541 virtual int baselinePosition(FontBaseline, bool firstLine, LineDirectionMode
, LinePositionMode = PositionOnContainingLine) const OVERRIDE; | 541 virtual int baselinePosition(FontBaseline, bool firstLine, LineDirectionMode
, LinePositionMode = PositionOnContainingLine) const OVERRIDE; |
542 | 542 |
543 virtual LayoutUnit offsetLeft() const OVERRIDE; | 543 virtual LayoutUnit offsetLeft() const OVERRIDE; |
544 virtual LayoutUnit offsetTop() const OVERRIDE; | 544 virtual LayoutUnit offsetTop() const OVERRIDE; |
545 | 545 |
546 LayoutPoint flipForWritingModeForChild(const RenderBox* child, const LayoutP
oint&) const; | 546 LayoutPoint flipForWritingModeForChild(const RenderBox* child, const LayoutP
oint&) const; |
547 LayoutUnit flipForWritingMode(LayoutUnit position) const; // The offset is i
n the block direction (y for horizontal writing modes, x for vertical writing mo
des). | 547 LayoutUnit flipForWritingMode(LayoutUnit position) const; // The offset is i
n the block direction (y for horizontal writing modes, x for vertical writing mo
des). |
548 LayoutPoint flipForWritingMode(const LayoutPoint&) const; | 548 LayoutPoint flipForWritingMode(const LayoutPoint&) const; |
549 LayoutPoint flipForWritingModeIncludingColumns(const LayoutPoint&) const; | |
550 LayoutSize flipForWritingMode(const LayoutSize&) const; | 549 LayoutSize flipForWritingMode(const LayoutSize&) const; |
551 void flipForWritingMode(LayoutRect&) const; | 550 void flipForWritingMode(LayoutRect&) const; |
552 FloatPoint flipForWritingMode(const FloatPoint&) const; | 551 FloatPoint flipForWritingMode(const FloatPoint&) const; |
553 void flipForWritingMode(FloatRect&) const; | 552 void flipForWritingMode(FloatRect&) const; |
554 // These represent your location relative to your container as a physical of
fset. | 553 // These represent your location relative to your container as a physical of
fset. |
555 // In layout related methods you almost always want the logical location (e.
g. x() and y()). | 554 // In layout related methods you almost always want the logical location (e.
g. x() and y()). |
556 LayoutPoint topLeftLocation() const; | 555 LayoutPoint topLeftLocation() const; |
557 LayoutSize topLeftLocationOffset() const; | 556 LayoutSize topLeftLocationOffset() const; |
558 | 557 |
559 LayoutRect logicalVisualOverflowRectForPropagation(RenderStyle*) const; | 558 LayoutRect logicalVisualOverflowRectForPropagation(RenderStyle*) const; |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
757 if (UNLIKELY(m_inlineBoxWrapper != 0)) | 756 if (UNLIKELY(m_inlineBoxWrapper != 0)) |
758 deleteLineBoxWrapper(); | 757 deleteLineBoxWrapper(); |
759 } | 758 } |
760 | 759 |
761 m_inlineBoxWrapper = boxWrapper; | 760 m_inlineBoxWrapper = boxWrapper; |
762 } | 761 } |
763 | 762 |
764 } // namespace WebCore | 763 } // namespace WebCore |
765 | 764 |
766 #endif // RenderBox_h | 765 #endif // RenderBox_h |
OLD | NEW |