| 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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 238 if (needsLayout()) | 238 if (needsLayout()) |
| 239 showRenderTreeForThis(); | 239 showRenderTreeForThis(); |
| 240 ASSERT_WITH_SECURITY_IMPLICATION(!needsLayout()); | 240 ASSERT_WITH_SECURITY_IMPLICATION(!needsLayout()); |
| 241 } | 241 } |
| 242 | 242 |
| 243 void assertSubtreeIsLaidOut() const | 243 void assertSubtreeIsLaidOut() const |
| 244 { | 244 { |
| 245 for (const RenderObject* renderer = this; renderer; renderer = renderer-
>nextInPreOrder()) | 245 for (const RenderObject* renderer = this; renderer; renderer = renderer-
>nextInPreOrder()) |
| 246 renderer->assertRendererLaidOut(); | 246 renderer->assertRendererLaidOut(); |
| 247 } | 247 } |
| 248 |
| 248 #endif | 249 #endif |
| 249 | 250 |
| 250 // Obtains the nearest enclosing block (including this block) that contribut
es a first-line style to our inline | 251 // Obtains the nearest enclosing block (including this block) that contribut
es a first-line style to our inline |
| 251 // children. | 252 // children. |
| 252 virtual RenderBlock* firstLineBlock() const; | 253 virtual RenderBlock* firstLineBlock() const; |
| 253 | 254 |
| 254 // Called when an object that was floating or positioned becomes a normal fl
ow object | 255 // Called when an object that was floating or positioned becomes a normal fl
ow object |
| 255 // again. We have to make sure the render tree updates as needed to accommo
date the new | 256 // again. We have to make sure the render tree updates as needed to accommo
date the new |
| 256 // normal flow object. | 257 // normal flow object. |
| 257 void handleDynamicFloatPositionChange(); | 258 void handleDynamicFloatPositionChange(); |
| (...skipping 1124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1382 void showTree(const WebCore::RenderObject*); | 1383 void showTree(const WebCore::RenderObject*); |
| 1383 void showLineTree(const WebCore::RenderObject*); | 1384 void showLineTree(const WebCore::RenderObject*); |
| 1384 void showRenderTree(const WebCore::RenderObject* object1); | 1385 void showRenderTree(const WebCore::RenderObject* object1); |
| 1385 // We don't make object2 an optional parameter so that showRenderTree | 1386 // We don't make object2 an optional parameter so that showRenderTree |
| 1386 // can be called from gdb easily. | 1387 // can be called from gdb easily. |
| 1387 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO
bject* object2); | 1388 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO
bject* object2); |
| 1388 | 1389 |
| 1389 #endif | 1390 #endif |
| 1390 | 1391 |
| 1391 #endif // RenderObject_h | 1392 #endif // RenderObject_h |
| OLD | NEW |