| 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 504 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 515 void clearCompositedLayerMapping(bool layerBeingDestroyed = false); | 515 void clearCompositedLayerMapping(bool layerBeingDestroyed = false); |
| 516 CompositedLayerMapping* groupedMapping() const { | 516 CompositedLayerMapping* groupedMapping() const { |
| 517 return m_rareData ? m_rareData->groupedMapping : nullptr; | 517 return m_rareData ? m_rareData->groupedMapping : nullptr; |
| 518 } | 518 } |
| 519 enum SetGroupMappingOptions { | 519 enum SetGroupMappingOptions { |
| 520 InvalidateLayerAndRemoveFromMapping, | 520 InvalidateLayerAndRemoveFromMapping, |
| 521 DoNotInvalidateLayerAndRemoveFromMapping | 521 DoNotInvalidateLayerAndRemoveFromMapping |
| 522 }; | 522 }; |
| 523 void setGroupedMapping(CompositedLayerMapping*, SetGroupMappingOptions); | 523 void setGroupedMapping(CompositedLayerMapping*, SetGroupMappingOptions); |
| 524 | 524 |
| 525 bool hasCompositedMask() const; | 525 bool maskBlendingAppliedByCompositor() const; |
| 526 bool hasCompositedClippingMask() const; | 526 bool hasCompositedClippingMask() const; |
| 527 bool needsCompositedScrolling() const { | 527 bool needsCompositedScrolling() const { |
| 528 return m_scrollableArea && m_scrollableArea->needsCompositedScrolling(); | 528 return m_scrollableArea && m_scrollableArea->needsCompositedScrolling(); |
| 529 } | 529 } |
| 530 | 530 |
| 531 // Paint invalidation containers can be self-composited or squashed. | 531 // Paint invalidation containers can be self-composited or squashed. |
| 532 // In the former case, these methods do nothing. | 532 // In the former case, these methods do nothing. |
| 533 // In the latter case, they adjust from the space of the squashed PaintLayer | 533 // In the latter case, they adjust from the space of the squashed PaintLayer |
| 534 // to the space of the PaintLayer into which it squashes. | 534 // to the space of the PaintLayer into which it squashes. |
| 535 // | 535 // |
| (...skipping 713 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1249 | 1249 |
| 1250 } // namespace blink | 1250 } // namespace blink |
| 1251 | 1251 |
| 1252 #ifndef NDEBUG | 1252 #ifndef NDEBUG |
| 1253 // Outside the WebCore namespace for ease of invocation from gdb. | 1253 // Outside the WebCore namespace for ease of invocation from gdb. |
| 1254 CORE_EXPORT void showLayerTree(const blink::PaintLayer*); | 1254 CORE_EXPORT void showLayerTree(const blink::PaintLayer*); |
| 1255 CORE_EXPORT void showLayerTree(const blink::LayoutObject*); | 1255 CORE_EXPORT void showLayerTree(const blink::LayoutObject*); |
| 1256 #endif | 1256 #endif |
| 1257 | 1257 |
| 1258 #endif // Layer_h | 1258 #endif // Layer_h |
| OLD | NEW |