| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved. | 2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. | 4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. |
| 5 * | 5 * |
| 6 * Other contributors: | 6 * Other contributors: |
| 7 * Robert O'Callahan <roc+@cs.cmu.edu> | 7 * Robert O'Callahan <roc+@cs.cmu.edu> |
| 8 * David Baron <dbaron@fas.harvard.edu> | 8 * David Baron <dbaron@fas.harvard.edu> |
| 9 * Christian Biesinger <cbiesinger@web.de> | 9 * Christian Biesinger <cbiesinger@web.de> |
| 10 * Randall Jesup <rjesup@wgate.com> | 10 * Randall Jesup <rjesup@wgate.com> |
| (...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 359 | 359 |
| 360 typedef Vector<LayerFragment, 1> LayerFragments; | 360 typedef Vector<LayerFragment, 1> LayerFragments; |
| 361 | 361 |
| 362 class RenderLayer : public ScrollableArea { | 362 class RenderLayer : public ScrollableArea { |
| 363 public: | 363 public: |
| 364 friend class RenderReplica; | 364 friend class RenderReplica; |
| 365 | 365 |
| 366 RenderLayer(RenderLayerModelObject*); | 366 RenderLayer(RenderLayerModelObject*); |
| 367 ~RenderLayer(); | 367 ~RenderLayer(); |
| 368 | 368 |
| 369 #ifndef NDEBUG | |
| 370 String debugName() const; | 369 String debugName() const; |
| 371 #endif | |
| 372 | 370 |
| 373 RenderLayerModelObject* renderer() const { return m_renderer; } | 371 RenderLayerModelObject* renderer() const { return m_renderer; } |
| 374 RenderBox* renderBox() const { return m_renderer && m_renderer->isBox() ? to
RenderBox(m_renderer) : 0; } | 372 RenderBox* renderBox() const { return m_renderer && m_renderer->isBox() ? to
RenderBox(m_renderer) : 0; } |
| 375 RenderLayer* parent() const { return m_parent; } | 373 RenderLayer* parent() const { return m_parent; } |
| 376 RenderLayer* previousSibling() const { return m_previous; } | 374 RenderLayer* previousSibling() const { return m_previous; } |
| 377 RenderLayer* nextSibling() const { return m_next; } | 375 RenderLayer* nextSibling() const { return m_next; } |
| 378 RenderLayer* firstChild() const { return m_first; } | 376 RenderLayer* firstChild() const { return m_first; } |
| 379 RenderLayer* lastChild() const { return m_last; } | 377 RenderLayer* lastChild() const { return m_last; } |
| 380 | 378 |
| 381 void addChild(RenderLayer* newChild, RenderLayer* beforeChild = 0); | 379 void addChild(RenderLayer* newChild, RenderLayer* beforeChild = 0); |
| (...skipping 988 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1370 | 1368 |
| 1371 } // namespace WebCore | 1369 } // namespace WebCore |
| 1372 | 1370 |
| 1373 #ifndef NDEBUG | 1371 #ifndef NDEBUG |
| 1374 // Outside the WebCore namespace for ease of invocation from gdb. | 1372 // Outside the WebCore namespace for ease of invocation from gdb. |
| 1375 void showLayerTree(const WebCore::RenderLayer*); | 1373 void showLayerTree(const WebCore::RenderLayer*); |
| 1376 void showLayerTree(const WebCore::RenderObject*); | 1374 void showLayerTree(const WebCore::RenderObject*); |
| 1377 #endif | 1375 #endif |
| 1378 | 1376 |
| 1379 #endif // RenderLayer_h | 1377 #endif // RenderLayer_h |
| OLD | NEW |