| 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 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 295 GraphicsLayer* graphicsLayerBackingForScrolling() const; | 295 GraphicsLayer* graphicsLayerBackingForScrolling() const; |
| 296 // NOTE: If you are using hasCompositedLayerMapping to determine the state o
f compositing for this layer, | 296 // NOTE: If you are using hasCompositedLayerMapping to determine the state o
f compositing for this layer, |
| 297 // (and not just to do bookkeeping related to the mapping like, say, allocat
ing or deallocating a mapping), | 297 // (and not just to do bookkeeping related to the mapping like, say, allocat
ing or deallocating a mapping), |
| 298 // then you may have incorrect logic. Use compositingState() instead. | 298 // then you may have incorrect logic. Use compositingState() instead. |
| 299 // FIXME: This is identical to null checking compositedLayerMapping(), why n
ot just call that? | 299 // FIXME: This is identical to null checking compositedLayerMapping(), why n
ot just call that? |
| 300 bool hasCompositedLayerMapping() const { return m_compositedLayerMapping.get
(); } | 300 bool hasCompositedLayerMapping() const { return m_compositedLayerMapping.get
(); } |
| 301 void clearCompositedLayerMapping(bool layerBeingDestroyed = false); | 301 void clearCompositedLayerMapping(bool layerBeingDestroyed = false); |
| 302 CompositedLayerMapping* groupedMapping() const { return m_groupedMapping; } | 302 CompositedLayerMapping* groupedMapping() const { return m_groupedMapping; } |
| 303 void setGroupedMapping(CompositedLayerMapping* groupedMapping, bool layerBei
ngDestroyed = false); | 303 void setGroupedMapping(CompositedLayerMapping* groupedMapping, bool layerBei
ngDestroyed = false); |
| 304 | 304 |
| 305 void unbindAnimatedProperties(); |
| 306 void bindAnimatedProperties(const Vector<String>&); |
| 307 |
| 305 bool hasCompositedMask() const; | 308 bool hasCompositedMask() const; |
| 306 bool hasCompositedClippingMask() const; | 309 bool hasCompositedClippingMask() const; |
| 307 bool needsCompositedScrolling() const { return m_scrollableArea && m_scrolla
bleArea->needsCompositedScrolling(); } | 310 bool needsCompositedScrolling() const { return m_scrollableArea && m_scrolla
bleArea->needsCompositedScrolling(); } |
| 308 | 311 |
| 309 bool clipsCompositingDescendantsWithBorderRadius() const; | 312 bool clipsCompositingDescendantsWithBorderRadius() const; |
| 310 | 313 |
| 311 // Computes the position of the given render object in the space of |paintIn
validationContainer|. | 314 // Computes the position of the given render object in the space of |paintIn
validationContainer|. |
| 312 // FIXME: invert the logic to have paint invalidation containers take care o
f painting objects into them, rather than the reverse. | 315 // FIXME: invert the logic to have paint invalidation containers take care o
f painting objects into them, rather than the reverse. |
| 313 // This will allow us to clean up this static method messiness. | 316 // This will allow us to clean up this static method messiness. |
| 314 static LayoutPoint positionFromPaintInvalidationBacking(const RenderObject*,
const RenderLayerModelObject* paintInvalidationContainer, const PaintInvalidati
onState* = 0); | 317 static LayoutPoint positionFromPaintInvalidationBacking(const RenderObject*,
const RenderLayerModelObject* paintInvalidationContainer, const PaintInvalidati
onState* = 0); |
| (...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 708 | 711 |
| 709 } // namespace blink | 712 } // namespace blink |
| 710 | 713 |
| 711 #ifndef NDEBUG | 714 #ifndef NDEBUG |
| 712 // Outside the WebCore namespace for ease of invocation from gdb. | 715 // Outside the WebCore namespace for ease of invocation from gdb. |
| 713 void showLayerTree(const blink::RenderLayer*); | 716 void showLayerTree(const blink::RenderLayer*); |
| 714 void showLayerTree(const blink::RenderObject*); | 717 void showLayerTree(const blink::RenderObject*); |
| 715 #endif | 718 #endif |
| 716 | 719 |
| 717 #endif // RenderLayer_h | 720 #endif // RenderLayer_h |
| OLD | NEW |