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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 | 105 |
106 virtual void addChild(RenderObject* newChild, RenderObject* beforeChild = 0)
; | 106 virtual void addChild(RenderObject* newChild, RenderObject* beforeChild = 0)
; |
107 virtual void removeChild(RenderObject*); | 107 virtual void removeChild(RenderObject*); |
108 | 108 |
109 virtual void layoutBlock(bool relayoutChildren, LayoutUnit pageLogicalHeight
= 0); | 109 virtual void layoutBlock(bool relayoutChildren, LayoutUnit pageLogicalHeight
= 0); |
110 | 110 |
111 void insertPositionedObject(RenderBox*); | 111 void insertPositionedObject(RenderBox*); |
112 static void removePositionedObject(RenderBox*); | 112 static void removePositionedObject(RenderBox*); |
113 void removePositionedObjects(RenderBlock*); | 113 void removePositionedObjects(RenderBlock*); |
114 | 114 |
| 115 void removeFloatingObjects(); |
| 116 |
115 TrackedRendererListHashSet* positionedObjects() const; | 117 TrackedRendererListHashSet* positionedObjects() const; |
116 bool hasPositionedObjects() const | 118 bool hasPositionedObjects() const |
117 { | 119 { |
118 TrackedRendererListHashSet* objects = positionedObjects(); | 120 TrackedRendererListHashSet* objects = positionedObjects(); |
119 return objects && !objects->isEmpty(); | 121 return objects && !objects->isEmpty(); |
120 } | 122 } |
121 | 123 |
122 void addPercentHeightDescendant(RenderBox*); | 124 void addPercentHeightDescendant(RenderBox*); |
123 static void removePercentHeightDescendant(RenderBox*); | 125 static void removePercentHeightDescendant(RenderBox*); |
124 TrackedRendererListHashSet* percentHeightDescendants() const; | 126 TrackedRendererListHashSet* percentHeightDescendants() const; |
(...skipping 1077 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1202 static String string(const int value); | 1204 static String string(const int value); |
1203 }; | 1205 }; |
1204 template<> struct ValueToString<RenderBlock::FloatingObject*> { | 1206 template<> struct ValueToString<RenderBlock::FloatingObject*> { |
1205 static String string(const RenderBlock::FloatingObject*); | 1207 static String string(const RenderBlock::FloatingObject*); |
1206 }; | 1208 }; |
1207 #endif | 1209 #endif |
1208 | 1210 |
1209 } // namespace WebCore | 1211 } // namespace WebCore |
1210 | 1212 |
1211 #endif // RenderBlock_h | 1213 #endif // RenderBlock_h |
OLD | NEW |