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 * (C) 2007 David Smith (catfish.man@gmail.com) | 4 * (C) 2007 David Smith (catfish.man@gmail.com) |
5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All r
ights reserved. | 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All r
ights reserved. |
6 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
491 m_rareData->m_discardMarginBefore = false; | 491 m_rareData->m_discardMarginBefore = false; |
492 m_rareData->m_discardMarginAfter = false; | 492 m_rareData->m_discardMarginAfter = false; |
493 } | 493 } |
494 } | 494 } |
495 | 495 |
496 virtual void layout(); | 496 virtual void layout(); |
497 | 497 |
498 void layoutPositionedObjects(bool relayoutChildren, bool fixedPositionObject
sOnly = false); | 498 void layoutPositionedObjects(bool relayoutChildren, bool fixedPositionObject
sOnly = false); |
499 void markFixedPositionObjectForLayoutIfNeeded(RenderObject* child, SubtreeLa
youtScope&); | 499 void markFixedPositionObjectForLayoutIfNeeded(RenderObject* child, SubtreeLa
youtScope&); |
500 | 500 |
| 501 virtual bool supportsPartialLayout() const OVERRIDE { return true; }; |
| 502 |
501 virtual void paint(PaintInfo&, const LayoutPoint&); | 503 virtual void paint(PaintInfo&, const LayoutPoint&); |
502 virtual void paintObject(PaintInfo&, const LayoutPoint&); | 504 virtual void paintObject(PaintInfo&, const LayoutPoint&); |
503 virtual void paintChildren(PaintInfo&, const LayoutPoint&); | 505 virtual void paintChildren(PaintInfo&, const LayoutPoint&); |
504 void paintChild(RenderBox*, PaintInfo&, const LayoutPoint&); | 506 void paintChild(RenderBox*, PaintInfo&, const LayoutPoint&); |
505 void paintChildAsInlineBlock(RenderBox*, PaintInfo&, const LayoutPoint&); | 507 void paintChildAsInlineBlock(RenderBox*, PaintInfo&, const LayoutPoint&); |
506 | 508 |
507 LayoutUnit logicalRightOffsetForLine(LayoutUnit logicalTop, LayoutUnit fixed
Offset, bool applyTextIndent, LayoutUnit* heightRemaining = 0, LayoutUnit logica
lHeight = 0) const | 509 LayoutUnit logicalRightOffsetForLine(LayoutUnit logicalTop, LayoutUnit fixed
Offset, bool applyTextIndent, LayoutUnit* heightRemaining = 0, LayoutUnit logica
lHeight = 0) const |
508 { | 510 { |
509 return adjustLogicalRightOffsetForLine(logicalRightFloatOffsetForLine(lo
gicalTop, fixedOffset, heightRemaining, logicalHeight, ShapeOutsideFloatShapeOff
set), applyTextIndent); | 511 return adjustLogicalRightOffsetForLine(logicalRightFloatOffsetForLine(lo
gicalTop, fixedOffset, heightRemaining, logicalHeight, ShapeOutsideFloatShapeOff
set), applyTextIndent); |
510 } | 512 } |
(...skipping 589 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1100 ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isRenderBlock()); | 1102 ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isRenderBlock()); |
1101 return static_cast<const RenderBlock*>(object); | 1103 return static_cast<const RenderBlock*>(object); |
1102 } | 1104 } |
1103 | 1105 |
1104 // This will catch anyone doing an unnecessary cast. | 1106 // This will catch anyone doing an unnecessary cast. |
1105 void toRenderBlock(const RenderBlock*); | 1107 void toRenderBlock(const RenderBlock*); |
1106 | 1108 |
1107 } // namespace WebCore | 1109 } // namespace WebCore |
1108 | 1110 |
1109 #endif // RenderBlock_h | 1111 #endif // RenderBlock_h |
OLD | NEW |