| 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 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 273 void handleDynamicFloatPositionChange(); | 273 void handleDynamicFloatPositionChange(); |
| 274 | 274 |
| 275 // RenderObject tree manipulation | 275 // RenderObject tree manipulation |
| 276 ////////////////////////////////////////// | 276 ////////////////////////////////////////// |
| 277 virtual bool canHaveChildren() const { return virtualChildren(); } | 277 virtual bool canHaveChildren() const { return virtualChildren(); } |
| 278 virtual bool canHaveGeneratedChildren() const; | 278 virtual bool canHaveGeneratedChildren() const; |
| 279 virtual bool isChildAllowed(RenderObject*, RenderStyle*) const { return true
; } | 279 virtual bool isChildAllowed(RenderObject*, RenderStyle*) const { return true
; } |
| 280 virtual void addChild(RenderObject* newChild, RenderObject* beforeChild = 0)
; | 280 virtual void addChild(RenderObject* newChild, RenderObject* beforeChild = 0)
; |
| 281 virtual void addChildIgnoringContinuation(RenderObject* newChild, RenderObje
ct* beforeChild = 0) { return addChild(newChild, beforeChild); } | 281 virtual void addChildIgnoringContinuation(RenderObject* newChild, RenderObje
ct* beforeChild = 0) { return addChild(newChild, beforeChild); } |
| 282 virtual void removeChild(RenderObject*); | 282 virtual void removeChild(RenderObject*); |
| 283 virtual bool createsAnonymousWrapper() const { return false; } | |
| 284 ////////////////////////////////////////// | 283 ////////////////////////////////////////// |
| 285 | 284 |
| 286 protected: | 285 protected: |
| 287 ////////////////////////////////////////// | 286 ////////////////////////////////////////// |
| 288 // Helper functions. Dangerous to use! | 287 // Helper functions. Dangerous to use! |
| 289 void setPreviousSibling(RenderObject* previous) { m_previous = previous; } | 288 void setPreviousSibling(RenderObject* previous) { m_previous = previous; } |
| 290 void setNextSibling(RenderObject* next) { m_next = next; } | 289 void setNextSibling(RenderObject* next) { m_next = next; } |
| 291 void setParent(RenderObject* parent) { m_parent = parent; } | 290 void setParent(RenderObject* parent) { m_parent = parent; } |
| 292 | 291 |
| 293 ////////////////////////////////////////// | 292 ////////////////////////////////////////// |
| (...skipping 1042 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1336 void showTree(const blink::RenderObject*); | 1335 void showTree(const blink::RenderObject*); |
| 1337 void showLineTree(const blink::RenderObject*); | 1336 void showLineTree(const blink::RenderObject*); |
| 1338 void showRenderTree(const blink::RenderObject* object1); | 1337 void showRenderTree(const blink::RenderObject* object1); |
| 1339 // We don't make object2 an optional parameter so that showRenderTree | 1338 // We don't make object2 an optional parameter so that showRenderTree |
| 1340 // can be called from gdb easily. | 1339 // can be called from gdb easily. |
| 1341 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec
t* object2); | 1340 void showRenderTree(const blink::RenderObject* object1, const blink::RenderObjec
t* object2); |
| 1342 | 1341 |
| 1343 #endif | 1342 #endif |
| 1344 | 1343 |
| 1345 #endif // RenderObject_h | 1344 #endif // RenderObject_h |
| OLD | NEW |