| 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 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 virtual RenderBlock* firstLineBlock() const; | 234 virtual RenderBlock* firstLineBlock() const; |
| 235 | 235 |
| 236 // Called when an object that was floating or positioned becomes a normal fl
ow object | 236 // Called when an object that was floating or positioned becomes a normal fl
ow object |
| 237 // again. We have to make sure the render tree updates as needed to accommo
date the new | 237 // again. We have to make sure the render tree updates as needed to accommo
date the new |
| 238 // normal flow object. | 238 // normal flow object. |
| 239 void handleDynamicFloatPositionChange(); | 239 void handleDynamicFloatPositionChange(); |
| 240 | 240 |
| 241 // RenderObject tree manipulation | 241 // RenderObject tree manipulation |
| 242 ////////////////////////////////////////// | 242 ////////////////////////////////////////// |
| 243 virtual bool canHaveChildren() const { return virtualChildren(); } | 243 virtual bool canHaveChildren() const { return virtualChildren(); } |
| 244 virtual bool canHaveGeneratedChildren() const; |
| 244 virtual bool isChildAllowed(RenderObject*, RenderStyle*) const { return true
; } | 245 virtual bool isChildAllowed(RenderObject*, RenderStyle*) const { return true
; } |
| 245 virtual void addChild(RenderObject* newChild, RenderObject* beforeChild = 0)
; | 246 virtual void addChild(RenderObject* newChild, RenderObject* beforeChild = 0)
; |
| 246 virtual void addChildIgnoringContinuation(RenderObject* newChild, RenderObje
ct* beforeChild = 0) { return addChild(newChild, beforeChild); } | 247 virtual void addChildIgnoringContinuation(RenderObject* newChild, RenderObje
ct* beforeChild = 0) { return addChild(newChild, beforeChild); } |
| 247 virtual void removeChild(RenderObject*); | 248 virtual void removeChild(RenderObject*); |
| 248 virtual bool createsAnonymousWrapper() const { return false; } | 249 virtual bool createsAnonymousWrapper() const { return false; } |
| 249 ////////////////////////////////////////// | 250 ////////////////////////////////////////// |
| 250 | 251 |
| 251 protected: | 252 protected: |
| 252 ////////////////////////////////////////// | 253 ////////////////////////////////////////// |
| 253 // Helper functions. Dangerous to use! | 254 // Helper functions. Dangerous to use! |
| (...skipping 962 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1216 // Outside the WebCore namespace for ease of invocation from gdb. | 1217 // Outside the WebCore namespace for ease of invocation from gdb. |
| 1217 void showTree(const WebCore::RenderObject*); | 1218 void showTree(const WebCore::RenderObject*); |
| 1218 void showLineTree(const WebCore::RenderObject*); | 1219 void showLineTree(const WebCore::RenderObject*); |
| 1219 void showRenderTree(const WebCore::RenderObject* object1); | 1220 void showRenderTree(const WebCore::RenderObject* object1); |
| 1220 // We don't make object2 an optional parameter so that showRenderTree | 1221 // We don't make object2 an optional parameter so that showRenderTree |
| 1221 // can be called from gdb easily. | 1222 // can be called from gdb easily. |
| 1222 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO
bject* object2); | 1223 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO
bject* object2); |
| 1223 #endif | 1224 #endif |
| 1224 | 1225 |
| 1225 #endif // RenderObject_h | 1226 #endif // RenderObject_h |
| OLD | NEW |