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 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 ////////////////////////////////////////// | 250 ////////////////////////////////////////// |
251 virtual bool canHaveChildren() const { return virtualChildren(); } | 251 virtual bool canHaveChildren() const { return virtualChildren(); } |
252 virtual bool canHaveGeneratedChildren() const; | 252 virtual bool canHaveGeneratedChildren() const; |
253 virtual bool isChildAllowed(RenderObject*, RenderStyle*) const { return true
; } | 253 virtual bool isChildAllowed(RenderObject*, RenderStyle*) const { return true
; } |
254 virtual void addChild(RenderObject* newChild, RenderObject* beforeChild = 0)
; | 254 virtual void addChild(RenderObject* newChild, RenderObject* beforeChild = 0)
; |
255 virtual void addChildIgnoringContinuation(RenderObject* newChild, RenderObje
ct* beforeChild = 0) { return addChild(newChild, beforeChild); } | 255 virtual void addChildIgnoringContinuation(RenderObject* newChild, RenderObje
ct* beforeChild = 0) { return addChild(newChild, beforeChild); } |
256 virtual void removeChild(RenderObject*); | 256 virtual void removeChild(RenderObject*); |
257 virtual bool createsAnonymousWrapper() const { return false; } | 257 virtual bool createsAnonymousWrapper() const { return false; } |
258 ////////////////////////////////////////// | 258 ////////////////////////////////////////// |
259 | 259 |
260 virtual void reportMemoryUsage(MemoryObjectInfo*) const; | |
261 | |
262 protected: | 260 protected: |
263 ////////////////////////////////////////// | 261 ////////////////////////////////////////// |
264 // Helper functions. Dangerous to use! | 262 // Helper functions. Dangerous to use! |
265 void setPreviousSibling(RenderObject* previous) { m_previous = previous; } | 263 void setPreviousSibling(RenderObject* previous) { m_previous = previous; } |
266 void setNextSibling(RenderObject* next) { m_next = next; } | 264 void setNextSibling(RenderObject* next) { m_next = next; } |
267 void setParent(RenderObject* parent) | 265 void setParent(RenderObject* parent) |
268 { | 266 { |
269 m_parent = parent; | 267 m_parent = parent; |
270 | 268 |
271 // Only update if our flow thread state is different from our new parent
and if we're not a RenderFlowThread. | 269 // Only update if our flow thread state is different from our new parent
and if we're not a RenderFlowThread. |
(...skipping 1069 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1341 // Outside the WebCore namespace for ease of invocation from gdb. | 1339 // Outside the WebCore namespace for ease of invocation from gdb. |
1342 void showTree(const WebCore::RenderObject*); | 1340 void showTree(const WebCore::RenderObject*); |
1343 void showLineTree(const WebCore::RenderObject*); | 1341 void showLineTree(const WebCore::RenderObject*); |
1344 void showRenderTree(const WebCore::RenderObject* object1); | 1342 void showRenderTree(const WebCore::RenderObject* object1); |
1345 // We don't make object2 an optional parameter so that showRenderTree | 1343 // We don't make object2 an optional parameter so that showRenderTree |
1346 // can be called from gdb easily. | 1344 // can be called from gdb easily. |
1347 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO
bject* object2); | 1345 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO
bject* object2); |
1348 #endif | 1346 #endif |
1349 | 1347 |
1350 #endif // RenderObject_h | 1348 #endif // RenderObject_h |
OLD | NEW |