| 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 476 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 487 m_rareData->m_discardMarginBefore = false; | 487 m_rareData->m_discardMarginBefore = false; |
| 488 m_rareData->m_discardMarginAfter = false; | 488 m_rareData->m_discardMarginAfter = false; |
| 489 } | 489 } |
| 490 } | 490 } |
| 491 | 491 |
| 492 virtual void layout(); | 492 virtual void layout(); |
| 493 | 493 |
| 494 void layoutPositionedObjects(bool relayoutChildren, bool fixedPositionObject
sOnly = false); | 494 void layoutPositionedObjects(bool relayoutChildren, bool fixedPositionObject
sOnly = false); |
| 495 void markFixedPositionObjectForLayoutIfNeeded(RenderObject* child, SubtreeLa
youtScope&); | 495 void markFixedPositionObjectForLayoutIfNeeded(RenderObject* child, SubtreeLa
youtScope&); |
| 496 | 496 |
| 497 virtual bool supportsPartialLayout() const OVERRIDE { return true; }; |
| 498 |
| 497 virtual void paint(PaintInfo&, const LayoutPoint&); | 499 virtual void paint(PaintInfo&, const LayoutPoint&); |
| 498 virtual void paintObject(PaintInfo&, const LayoutPoint&); | 500 virtual void paintObject(PaintInfo&, const LayoutPoint&); |
| 499 virtual void paintChildren(PaintInfo&, const LayoutPoint&); | 501 virtual void paintChildren(PaintInfo&, const LayoutPoint&); |
| 500 void paintChild(RenderBox*, PaintInfo&, const LayoutPoint&); | 502 void paintChild(RenderBox*, PaintInfo&, const LayoutPoint&); |
| 501 | 503 |
| 502 LayoutUnit logicalRightOffsetForLine(LayoutUnit logicalTop, LayoutUnit fixed
Offset, bool applyTextIndent, LayoutUnit* heightRemaining = 0, LayoutUnit logica
lHeight = 0) const | 504 LayoutUnit logicalRightOffsetForLine(LayoutUnit logicalTop, LayoutUnit fixed
Offset, bool applyTextIndent, LayoutUnit* heightRemaining = 0, LayoutUnit logica
lHeight = 0) const |
| 503 { | 505 { |
| 504 return adjustLogicalRightOffsetForLine(logicalRightFloatOffsetForLine(lo
gicalTop, fixedOffset, heightRemaining, logicalHeight, ShapeOutsideFloatShapeOff
set), applyTextIndent); | 506 return adjustLogicalRightOffsetForLine(logicalRightFloatOffsetForLine(lo
gicalTop, fixedOffset, heightRemaining, logicalHeight, ShapeOutsideFloatShapeOff
set), applyTextIndent); |
| 505 } | 507 } |
| 506 LayoutUnit logicalLeftOffsetForLine(LayoutUnit logicalTop, LayoutUnit fixedO
ffset, bool applyTextIndent, LayoutUnit* heightRemaining = 0, LayoutUnit logical
Height = 0) const | 508 LayoutUnit logicalLeftOffsetForLine(LayoutUnit logicalTop, LayoutUnit fixedO
ffset, bool applyTextIndent, LayoutUnit* heightRemaining = 0, LayoutUnit logical
Height = 0) const |
| (...skipping 587 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1094 ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isRenderBlock()); | 1096 ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isRenderBlock()); |
| 1095 return static_cast<const RenderBlock*>(object); | 1097 return static_cast<const RenderBlock*>(object); |
| 1096 } | 1098 } |
| 1097 | 1099 |
| 1098 // This will catch anyone doing an unnecessary cast. | 1100 // This will catch anyone doing an unnecessary cast. |
| 1099 void toRenderBlock(const RenderBlock*); | 1101 void toRenderBlock(const RenderBlock*); |
| 1100 | 1102 |
| 1101 } // namespace WebCore | 1103 } // namespace WebCore |
| 1102 | 1104 |
| 1103 #endif // RenderBlock_h | 1105 #endif // RenderBlock_h |
| OLD | NEW |