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