| 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 * Copyright (C) 2013 Intel Corporation. All rights reserved. | 3 * Copyright (C) 2013 Intel Corporation. All rights reserved. |
| 4 * | 4 * |
| 5 * Portions are Copyright (C) 1998 Netscape Communications Corporation. | 5 * Portions are Copyright (C) 1998 Netscape Communications Corporation. |
| 6 * | 6 * |
| 7 * Other contributors: | 7 * Other contributors: |
| 8 * Robert O'Callahan <roc+@cs.cmu.edu> | 8 * Robert O'Callahan <roc+@cs.cmu.edu> |
| 9 * David Baron <dbaron@fas.harvard.edu> | 9 * David Baron <dbaron@fas.harvard.edu> |
| 10 * Christian Biesinger <cbiesinger@web.de> | 10 * Christian Biesinger <cbiesinger@web.de> |
| (...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 361 CompositedLayerMappingPtr compositedLayerMapping() const; | 361 CompositedLayerMappingPtr compositedLayerMapping() const; |
| 362 CompositedLayerMappingPtr ensureCompositedLayerMapping(); | 362 CompositedLayerMappingPtr ensureCompositedLayerMapping(); |
| 363 | 363 |
| 364 // NOTE: If you are using hasCompositedLayerMapping to determine the state o
f compositing for this layer, | 364 // NOTE: If you are using hasCompositedLayerMapping to determine the state o
f compositing for this layer, |
| 365 // (and not just to do bookkeeping related to the mapping like, say, allocat
ing or deallocating a mapping), | 365 // (and not just to do bookkeeping related to the mapping like, say, allocat
ing or deallocating a mapping), |
| 366 // then you may have incorrect logic. Use compositingState() instead. | 366 // then you may have incorrect logic. Use compositingState() instead. |
| 367 bool hasCompositedLayerMapping() const { return m_compositedLayerMapping.get
(); } | 367 bool hasCompositedLayerMapping() const { return m_compositedLayerMapping.get
(); } |
| 368 void clearCompositedLayerMapping(bool layerBeingDestroyed = false); | 368 void clearCompositedLayerMapping(bool layerBeingDestroyed = false); |
| 369 | 369 |
| 370 CompositedLayerMapping* groupedMapping() const { return m_groupedMapping; } | 370 CompositedLayerMapping* groupedMapping() const { return m_groupedMapping; } |
| 371 void setGroupedMapping(CompositedLayerMapping* groupedMapping) { m_groupedMa
pping = groupedMapping; } | 371 void setGroupedMapping(CompositedLayerMapping* groupedMapping, bool layerBei
ngDestroyed = false); |
| 372 | 372 |
| 373 bool hasCompositedMask() const; | 373 bool hasCompositedMask() const; |
| 374 bool hasCompositedClippingMask() const; | 374 bool hasCompositedClippingMask() const; |
| 375 bool needsCompositedScrolling() const { return m_scrollableArea && m_scrolla
bleArea->needsCompositedScrolling(); } | 375 bool needsCompositedScrolling() const { return m_scrollableArea && m_scrolla
bleArea->needsCompositedScrolling(); } |
| 376 | 376 |
| 377 bool clipsCompositingDescendantsWithBorderRadius() const; | 377 bool clipsCompositingDescendantsWithBorderRadius() const; |
| 378 | 378 |
| 379 RenderLayer* scrollParent() const; | 379 RenderLayer* scrollParent() const; |
| 380 RenderLayer* clipParent() const; | 380 RenderLayer* clipParent() const; |
| 381 | 381 |
| (...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 767 | 767 |
| 768 } // namespace WebCore | 768 } // namespace WebCore |
| 769 | 769 |
| 770 #ifndef NDEBUG | 770 #ifndef NDEBUG |
| 771 // Outside the WebCore namespace for ease of invocation from gdb. | 771 // Outside the WebCore namespace for ease of invocation from gdb. |
| 772 void showLayerTree(const WebCore::RenderLayer*); | 772 void showLayerTree(const WebCore::RenderLayer*); |
| 773 void showLayerTree(const WebCore::RenderObject*); | 773 void showLayerTree(const WebCore::RenderObject*); |
| 774 #endif | 774 #endif |
| 775 | 775 |
| 776 #endif // RenderLayer_h | 776 #endif // RenderLayer_h |
| OLD | NEW |