OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) |
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) | 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) |
4 * (C) 2000 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) | 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) |
6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights
reserved. | 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights
reserved. |
7 * Copyright (C) 2009 Google Inc. All rights reserved. | 7 * Copyright (C) 2009 Google Inc. All rights reserved. |
8 * | 8 * |
9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 RenderObject* afterPseudoElementRenderer() const | 157 RenderObject* afterPseudoElementRenderer() const |
158 { | 158 { |
159 if (const RenderObjectChildList* children = virtualChildren()) | 159 if (const RenderObjectChildList* children = virtualChildren()) |
160 return children->afterPseudoElementRenderer(this); | 160 return children->afterPseudoElementRenderer(this); |
161 return 0; | 161 return 0; |
162 } | 162 } |
163 virtual RenderObjectChildList* virtualChildren() { return 0; } | 163 virtual RenderObjectChildList* virtualChildren() { return 0; } |
164 virtual const RenderObjectChildList* virtualChildren() const { return 0; } | 164 virtual const RenderObjectChildList* virtualChildren() const { return 0; } |
165 | 165 |
166 RenderObject* nextInPreOrder() const; | 166 RenderObject* nextInPreOrder() const; |
167 RenderObject* nextInPreOrder(RenderObject* stayWithin) const; | 167 RenderObject* nextInPreOrder(const RenderObject* stayWithin) const; |
168 RenderObject* nextInPreOrderAfterChildren() const; | 168 RenderObject* nextInPreOrderAfterChildren() const; |
169 RenderObject* nextInPreOrderAfterChildren(RenderObject* stayWithin) const; | 169 RenderObject* nextInPreOrderAfterChildren(const RenderObject* stayWithin) co
nst; |
170 RenderObject* previousInPreOrder() const; | 170 RenderObject* previousInPreOrder() const; |
171 RenderObject* childAt(unsigned) const; | 171 RenderObject* childAt(unsigned) const; |
172 | 172 |
173 RenderObject* firstLeafChild() const; | 173 RenderObject* firstLeafChild() const; |
174 RenderObject* lastLeafChild() const; | 174 RenderObject* lastLeafChild() const; |
175 | 175 |
176 // The following six functions are used when the render tree hierarchy chang
es to make sure layers get | 176 // The following six functions are used when the render tree hierarchy chang
es to make sure layers get |
177 // properly added and removed. Since containership can be implemented by an
y subclass, and since a hierarchy | 177 // properly added and removed. Since containership can be implemented by an
y subclass, and since a hierarchy |
178 // can contain a mixture of boxes and other object types, these functions ne
ed to be in the base class. | 178 // can contain a mixture of boxes and other object types, these functions ne
ed to be in the base class. |
179 RenderLayer* enclosingLayer() const; | 179 RenderLayer* enclosingLayer() const; |
(...skipping 950 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1130 // Outside the WebCore namespace for ease of invocation from gdb. | 1130 // Outside the WebCore namespace for ease of invocation from gdb. |
1131 void showTree(const WebCore::RenderObject*); | 1131 void showTree(const WebCore::RenderObject*); |
1132 void showLineTree(const WebCore::RenderObject*); | 1132 void showLineTree(const WebCore::RenderObject*); |
1133 void showRenderTree(const WebCore::RenderObject* object1); | 1133 void showRenderTree(const WebCore::RenderObject* object1); |
1134 // We don't make object2 an optional parameter so that showRenderTree | 1134 // We don't make object2 an optional parameter so that showRenderTree |
1135 // can be called from gdb easily. | 1135 // can be called from gdb easily. |
1136 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO
bject* object2); | 1136 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO
bject* object2); |
1137 #endif | 1137 #endif |
1138 | 1138 |
1139 #endif // RenderObject_h | 1139 #endif // RenderObject_h |
OLD | NEW |