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 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
395 // iterate over structures on the line. | 395 // iterate over structures on the line. |
396 InlineBox* inlineBoxWrapper() const { return m_inlineBoxWrapper; } | 396 InlineBox* inlineBoxWrapper() const { return m_inlineBoxWrapper; } |
397 void setInlineBoxWrapper(InlineBox*); | 397 void setInlineBoxWrapper(InlineBox*); |
398 void deleteLineBoxWrapper(); | 398 void deleteLineBoxWrapper(); |
399 | 399 |
400 virtual LayoutRect clippedOverflowRectForRepaint(const RenderLayerModelObjec
t* repaintContainer) const OVERRIDE; | 400 virtual LayoutRect clippedOverflowRectForRepaint(const RenderLayerModelObjec
t* repaintContainer) const OVERRIDE; |
401 virtual void computeRectForRepaint(const RenderLayerModelObject* repaintCont
ainer, LayoutRect&, bool fixed = false) const OVERRIDE; | 401 virtual void computeRectForRepaint(const RenderLayerModelObject* repaintCont
ainer, LayoutRect&, bool fixed = false) const OVERRIDE; |
402 void repaintDuringLayoutIfMoved(const LayoutRect&); | 402 void repaintDuringLayoutIfMoved(const LayoutRect&); |
403 virtual void repaintOverhangingFloats(bool paintAllDescendants); | 403 virtual void repaintOverhangingFloats(bool paintAllDescendants); |
404 | 404 |
405 virtual LayoutUnit containingBlockLogicalWidthForContent() const; | 405 virtual LayoutUnit containingBlockLogicalWidthForContent() const OVERRIDE; |
406 LayoutUnit containingBlockLogicalHeightForContent(AvailableLogicalHeightType
) const; | 406 LayoutUnit containingBlockLogicalHeightForContent(AvailableLogicalHeightType
) const; |
407 | 407 |
408 LayoutUnit containingBlockLogicalWidthForContentInRegion(RenderRegion*) cons
t; | 408 LayoutUnit containingBlockLogicalWidthForContentInRegion(RenderRegion*) cons
t; |
409 LayoutUnit containingBlockAvailableLineWidthInRegion(RenderRegion*) const; | 409 LayoutUnit containingBlockAvailableLineWidthInRegion(RenderRegion*) const; |
410 LayoutUnit perpendicularContainingBlockLogicalHeight() const; | 410 LayoutUnit perpendicularContainingBlockLogicalHeight() const; |
411 | 411 |
412 virtual void updateLogicalWidth(); | 412 virtual void updateLogicalWidth(); |
413 virtual void updateLogicalHeight(); | 413 virtual void updateLogicalHeight(); |
414 virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logic
alTop, LogicalExtentComputedValues&) const; | 414 virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logic
alTop, LogicalExtentComputedValues&) const; |
415 | 415 |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
530 bool shrinkToAvoidFloats() const; | 530 bool shrinkToAvoidFloats() const; |
531 virtual bool avoidsFloats() const; | 531 virtual bool avoidsFloats() const; |
532 | 532 |
533 virtual void markForPaginationRelayoutIfNeeded(SubtreeLayoutScope&) { } | 533 virtual void markForPaginationRelayoutIfNeeded(SubtreeLayoutScope&) { } |
534 | 534 |
535 bool isWritingModeRoot() const { return !parent() || parent()->style()->writ
ingMode() != style()->writingMode(); } | 535 bool isWritingModeRoot() const { return !parent() || parent()->style()->writ
ingMode() != style()->writingMode(); } |
536 | 536 |
537 bool isDeprecatedFlexItem() const { return !isInline() && !isFloatingOrOutOf
FlowPositioned() && parent() && parent()->isDeprecatedFlexibleBox(); } | 537 bool isDeprecatedFlexItem() const { return !isInline() && !isFloatingOrOutOf
FlowPositioned() && parent() && parent()->isDeprecatedFlexibleBox(); } |
538 bool isFlexItemIncludingDeprecated() const { return !isInline() && !isFloati
ngOrOutOfFlowPositioned() && parent() && parent()->isFlexibleBoxIncludingDepreca
ted(); } | 538 bool isFlexItemIncludingDeprecated() const { return !isInline() && !isFloati
ngOrOutOfFlowPositioned() && parent() && parent()->isFlexibleBoxIncludingDepreca
ted(); } |
539 | 539 |
540 virtual LayoutUnit lineHeight(bool firstLine, LineDirectionMode, LinePositio
nMode = PositionOnContainingLine) const; | 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; | 549 LayoutPoint flipForWritingModeIncludingColumns(const LayoutPoint&) const; |
550 LayoutSize flipForWritingMode(const LayoutSize&) const; | 550 LayoutSize flipForWritingMode(const LayoutSize&) const; |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
757 if (UNLIKELY(m_inlineBoxWrapper != 0)) | 757 if (UNLIKELY(m_inlineBoxWrapper != 0)) |
758 deleteLineBoxWrapper(); | 758 deleteLineBoxWrapper(); |
759 } | 759 } |
760 | 760 |
761 m_inlineBoxWrapper = boxWrapper; | 761 m_inlineBoxWrapper = boxWrapper; |
762 } | 762 } |
763 | 763 |
764 } // namespace WebCore | 764 } // namespace WebCore |
765 | 765 |
766 #endif // RenderBox_h | 766 #endif // RenderBox_h |
OLD | NEW |