| 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 404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 415 void* operator new(size_t); | 415 void* operator new(size_t); |
| 416 // Only safe to call from LayoutBoxModelObject::destroyLayer() | 416 // Only safe to call from LayoutBoxModelObject::destroyLayer() |
| 417 void operator delete(void*); | 417 void operator delete(void*); |
| 418 | 418 |
| 419 CompositingState compositingState() const; | 419 CompositingState compositingState() const; |
| 420 | 420 |
| 421 // This returns true if our document is in a phase of its lifestyle during w
hich | 421 // This returns true if our document is in a phase of its lifestyle during w
hich |
| 422 // compositing state may legally be read. | 422 // compositing state may legally be read. |
| 423 bool isAllowedToQueryCompositingState() const; | 423 bool isAllowedToQueryCompositingState() const; |
| 424 | 424 |
| 425 void finalizeInvalidations(); |
| 426 |
| 425 // Don't null check this. | 427 // Don't null check this. |
| 426 // FIXME: Rename. | 428 // FIXME: Rename. |
| 427 CompositedLayerMapping* compositedLayerMapping() const; | 429 CompositedLayerMapping* compositedLayerMapping() const; |
| 428 GraphicsLayer* graphicsLayerBacking() const; | 430 GraphicsLayer* graphicsLayerBacking() const; |
| 429 GraphicsLayer* graphicsLayerBackingForScrolling() const; | 431 GraphicsLayer* graphicsLayerBackingForScrolling() const; |
| 430 // NOTE: If you are using hasCompositedLayerMapping to determine the state o
f compositing for this layer, | 432 // NOTE: If you are using hasCompositedLayerMapping to determine the state o
f compositing for this layer, |
| 431 // (and not just to do bookkeeping related to the mapping like, say, allocat
ing or deallocating a mapping), | 433 // (and not just to do bookkeeping related to the mapping like, say, allocat
ing or deallocating a mapping), |
| 432 // then you may have incorrect logic. Use compositingState() instead. | 434 // then you may have incorrect logic. Use compositingState() instead. |
| 433 // FIXME: This is identical to null checking compositedLayerMapping(), why n
ot just call that? | 435 // FIXME: This is identical to null checking compositedLayerMapping(), why n
ot just call that? |
| 434 bool hasCompositedLayerMapping() const { return m_rareData && m_rareData->co
mpositedLayerMapping; } | 436 bool hasCompositedLayerMapping() const { return m_rareData && m_rareData->co
mpositedLayerMapping; } |
| (...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 892 | 894 |
| 893 } // namespace blink | 895 } // namespace blink |
| 894 | 896 |
| 895 #ifndef NDEBUG | 897 #ifndef NDEBUG |
| 896 // Outside the WebCore namespace for ease of invocation from gdb. | 898 // Outside the WebCore namespace for ease of invocation from gdb. |
| 897 void showLayerTree(const blink::PaintLayer*); | 899 void showLayerTree(const blink::PaintLayer*); |
| 898 void showLayerTree(const blink::LayoutObject*); | 900 void showLayerTree(const blink::LayoutObject*); |
| 899 #endif | 901 #endif |
| 900 | 902 |
| 901 #endif // Layer_h | 903 #endif // Layer_h |
| OLD | NEW |