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, 2012 Apple Inc. All r
ights reserved. | 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. All r
ights 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 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 virtual RenderBlock* firstLineBlock() const; | 242 virtual RenderBlock* firstLineBlock() const; |
243 | 243 |
244 // Called when an object that was floating or positioned becomes a normal fl
ow object | 244 // Called when an object that was floating or positioned becomes a normal fl
ow object |
245 // again. We have to make sure the render tree updates as needed to accommo
date the new | 245 // again. We have to make sure the render tree updates as needed to accommo
date the new |
246 // normal flow object. | 246 // normal flow object. |
247 void handleDynamicFloatPositionChange(); | 247 void handleDynamicFloatPositionChange(); |
248 | 248 |
249 // RenderObject tree manipulation | 249 // RenderObject tree manipulation |
250 ////////////////////////////////////////// | 250 ////////////////////////////////////////// |
251 virtual bool canHaveChildren() const { return virtualChildren(); } | 251 virtual bool canHaveChildren() const { return virtualChildren(); } |
| 252 virtual bool canDOMChildrenHaveRenderParent() const { return false; } // Eve
n if this render object can't have render children, the children in the DOM tree
may have a render parent (that is different from this object). |
252 virtual bool canHaveGeneratedChildren() const; | 253 virtual bool canHaveGeneratedChildren() const; |
253 virtual bool isChildAllowed(RenderObject*, RenderStyle*) const { return true
; } | 254 virtual bool isChildAllowed(RenderObject*, RenderStyle*) const { return true
; } |
254 virtual void addChild(RenderObject* newChild, RenderObject* beforeChild = 0)
; | 255 virtual void addChild(RenderObject* newChild, RenderObject* beforeChild = 0)
; |
255 virtual void addChildIgnoringContinuation(RenderObject* newChild, RenderObje
ct* beforeChild = 0) { return addChild(newChild, beforeChild); } | 256 virtual void addChildIgnoringContinuation(RenderObject* newChild, RenderObje
ct* beforeChild = 0) { return addChild(newChild, beforeChild); } |
256 virtual void removeChild(RenderObject*); | 257 virtual void removeChild(RenderObject*); |
257 virtual bool createsAnonymousWrapper() const { return false; } | 258 virtual bool createsAnonymousWrapper() const { return false; } |
258 ////////////////////////////////////////// | 259 ////////////////////////////////////////// |
259 | 260 |
260 virtual void reportMemoryUsage(MemoryObjectInfo*) const; | 261 virtual void reportMemoryUsage(MemoryObjectInfo*) const; |
261 | 262 |
(...skipping 1069 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1331 // Outside the WebCore namespace for ease of invocation from gdb. | 1332 // Outside the WebCore namespace for ease of invocation from gdb. |
1332 void showTree(const WebCore::RenderObject*); | 1333 void showTree(const WebCore::RenderObject*); |
1333 void showLineTree(const WebCore::RenderObject*); | 1334 void showLineTree(const WebCore::RenderObject*); |
1334 void showRenderTree(const WebCore::RenderObject* object1); | 1335 void showRenderTree(const WebCore::RenderObject* object1); |
1335 // We don't make object2 an optional parameter so that showRenderTree | 1336 // We don't make object2 an optional parameter so that showRenderTree |
1336 // can be called from gdb easily. | 1337 // can be called from gdb easily. |
1337 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO
bject* object2); | 1338 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO
bject* object2); |
1338 #endif | 1339 #endif |
1339 | 1340 |
1340 #endif // RenderObject_h | 1341 #endif // RenderObject_h |
OLD | NEW |