| 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 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 366 | 366 |
| 367 virtual bool isRenderMultiColumnBlock() const { return false; } | 367 virtual bool isRenderMultiColumnBlock() const { return false; } |
| 368 virtual bool isRenderMultiColumnSet() const { return false; } | 368 virtual bool isRenderMultiColumnSet() const { return false; } |
| 369 | 369 |
| 370 virtual bool isRenderScrollbarPart() const { return false; } | 370 virtual bool isRenderScrollbarPart() const { return false; } |
| 371 | 371 |
| 372 bool isRoot() const { return document().documentElement() == m_node; } | 372 bool isRoot() const { return document().documentElement() == m_node; } |
| 373 bool isBody() const; | 373 bool isBody() const; |
| 374 bool isHR() const; | 374 bool isHR() const; |
| 375 bool isLegend() const; | 375 bool isLegend() const; |
| 376 bool isTableTag() const; |
| 376 | 377 |
| 377 bool isTablePart() const { return isTableCell() || isRenderTableCol() || isT
ableCaption() || isTableRow() || isTableSection(); } | 378 bool isTablePart() const { return isTableCell() || isRenderTableCol() || isT
ableCaption() || isTableRow() || isTableSection(); } |
| 378 | 379 |
| 379 inline bool isBeforeContent() const; | 380 inline bool isBeforeContent() const; |
| 380 inline bool isAfterContent() const; | 381 inline bool isAfterContent() const; |
| 381 inline bool isBeforeOrAfterContent() const; | 382 inline bool isBeforeOrAfterContent() const; |
| 382 static inline bool isBeforeContent(const RenderObject* obj) { return obj &&
obj->isBeforeContent(); } | 383 static inline bool isBeforeContent(const RenderObject* obj) { return obj &&
obj->isBeforeContent(); } |
| 383 static inline bool isAfterContent(const RenderObject* obj) { return obj && o
bj->isAfterContent(); } | 384 static inline bool isAfterContent(const RenderObject* obj) { return obj && o
bj->isAfterContent(); } |
| 384 static inline bool isBeforeOrAfterContent(const RenderObject* obj) { return
obj && obj->isBeforeOrAfterContent(); } | 385 static inline bool isBeforeOrAfterContent(const RenderObject* obj) { return
obj && obj->isBeforeOrAfterContent(); } |
| 385 | 386 |
| (...skipping 1004 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1390 // Outside the WebCore namespace for ease of invocation from gdb. | 1391 // Outside the WebCore namespace for ease of invocation from gdb. |
| 1391 void showTree(const WebCore::RenderObject*); | 1392 void showTree(const WebCore::RenderObject*); |
| 1392 void showLineTree(const WebCore::RenderObject*); | 1393 void showLineTree(const WebCore::RenderObject*); |
| 1393 void showRenderTree(const WebCore::RenderObject* object1); | 1394 void showRenderTree(const WebCore::RenderObject* object1); |
| 1394 // We don't make object2 an optional parameter so that showRenderTree | 1395 // We don't make object2 an optional parameter so that showRenderTree |
| 1395 // can be called from gdb easily. | 1396 // can be called from gdb easily. |
| 1396 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO
bject* object2); | 1397 void showRenderTree(const WebCore::RenderObject* object1, const WebCore::RenderO
bject* object2); |
| 1397 #endif | 1398 #endif |
| 1398 | 1399 |
| 1399 #endif // RenderObject_h | 1400 #endif // RenderObject_h |
| OLD | NEW |