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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 | 100 |
101 InlineFlowBox* firstLineBox() const { return m_lineBoxes.firstLineBox(); } | 101 InlineFlowBox* firstLineBox() const { return m_lineBoxes.firstLineBox(); } |
102 InlineFlowBox* lastLineBox() const { return m_lineBoxes.lastLineBox(); } | 102 InlineFlowBox* lastLineBox() const { return m_lineBoxes.lastLineBox(); } |
103 | 103 |
104 // FIXME-BLOCKFLOW: Remove virtualizaion when all callers have moved to Rend
erBlockFlow | 104 // FIXME-BLOCKFLOW: Remove virtualizaion when all callers have moved to Rend
erBlockFlow |
105 virtual void deleteLineBoxTree(); | 105 virtual void deleteLineBoxTree(); |
106 | 106 |
107 virtual void addChild(RenderObject* newChild, RenderObject* beforeChild = 0)
; | 107 virtual void addChild(RenderObject* newChild, RenderObject* beforeChild = 0)
; |
108 virtual void removeChild(RenderObject*); | 108 virtual void removeChild(RenderObject*); |
109 | 109 |
110 virtual void layoutBlock(bool relayoutChildren, LayoutUnit pageLogicalHeight
= 0); | 110 virtual void layoutBlock(bool relayoutChildren); |
111 | 111 |
112 void insertPositionedObject(RenderBox*); | 112 void insertPositionedObject(RenderBox*); |
113 static void removePositionedObject(RenderBox*); | 113 static void removePositionedObject(RenderBox*); |
114 void removePositionedObjects(RenderBlock*, ContainingBlockState = SameContai
ningBlock); | 114 void removePositionedObjects(RenderBlock*, ContainingBlockState = SameContai
ningBlock); |
115 | 115 |
116 TrackedRendererListHashSet* positionedObjects() const; | 116 TrackedRendererListHashSet* positionedObjects() const; |
117 bool hasPositionedObjects() const | 117 bool hasPositionedObjects() const |
118 { | 118 { |
119 TrackedRendererListHashSet* objects = positionedObjects(); | 119 TrackedRendererListHashSet* objects = positionedObjects(); |
120 return objects && !objects->isEmpty(); | 120 return objects && !objects->isEmpty(); |
(...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
643 return false; | 643 return false; |
644 } | 644 } |
645 return true; | 645 return true; |
646 } | 646 } |
647 | 647 |
648 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBlock, isRenderBlock()); | 648 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBlock, isRenderBlock()); |
649 | 649 |
650 } // namespace WebCore | 650 } // namespace WebCore |
651 | 651 |
652 #endif // RenderBlock_h | 652 #endif // RenderBlock_h |
OLD | NEW |