| 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 687 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 698 m_clipRectsCache = adoptPtr(new ClipRectsCache); | 698 m_clipRectsCache = adoptPtr(new ClipRectsCache); |
| 699 return *m_clipRectsCache; | 699 return *m_clipRectsCache; |
| 700 } | 700 } |
| 701 void clearClipRectsCache() const { m_clipRectsCache.reset(); } | 701 void clearClipRectsCache() const { m_clipRectsCache.reset(); } |
| 702 | 702 |
| 703 void dirty3DTransformedDescendantStatus(); | 703 void dirty3DTransformedDescendantStatus(); |
| 704 // Both updates the status, and returns true if descendants of this have 3d. | 704 // Both updates the status, and returns true if descendants of this have 3d. |
| 705 bool update3DTransformedDescendantStatus(); | 705 bool update3DTransformedDescendantStatus(); |
| 706 bool has3DTransformedDescendant() const { DCHECK(!m_3DTransformedDescendantS
tatusDirty); return m_has3DTransformedDescendant; } | 706 bool has3DTransformedDescendant() const { DCHECK(!m_3DTransformedDescendantS
tatusDirty); return m_has3DTransformedDescendant; } |
| 707 | 707 |
| 708 #if CHECK_DISPLAY_ITEM_CLIENT_ALIVENESS |
| 709 void endShouldKeepAliveAllClientsRecursive(); |
| 710 #endif |
| 711 |
| 708 private: | 712 private: |
| 709 // Bounding box in the coordinates of this layer. | 713 // Bounding box in the coordinates of this layer. |
| 710 LayoutRect logicalBoundingBox() const; | 714 LayoutRect logicalBoundingBox() const; |
| 711 | 715 |
| 712 bool hasOverflowControls() const; | 716 bool hasOverflowControls() const; |
| 713 | 717 |
| 714 void dirtyAncestorChainHasSelfPaintingLayerDescendantStatus(); | 718 void dirtyAncestorChainHasSelfPaintingLayerDescendantStatus(); |
| 715 | 719 |
| 716 void updateLayerPositionRecursive(); | 720 void updateLayerPositionRecursive(); |
| 717 void updateLayerPositionsAfterScrollRecursive(const DoubleSize& scrollDelta,
bool paintInvalidationContainerWasScrolled); | 721 void updateLayerPositionsAfterScrollRecursive(const DoubleSize& scrollDelta,
bool paintInvalidationContainerWasScrolled); |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 897 | 901 |
| 898 } // namespace blink | 902 } // namespace blink |
| 899 | 903 |
| 900 #ifndef NDEBUG | 904 #ifndef NDEBUG |
| 901 // Outside the WebCore namespace for ease of invocation from gdb. | 905 // Outside the WebCore namespace for ease of invocation from gdb. |
| 902 void showLayerTree(const blink::PaintLayer*); | 906 void showLayerTree(const blink::PaintLayer*); |
| 903 void showLayerTree(const blink::LayoutObject*); | 907 void showLayerTree(const blink::LayoutObject*); |
| 904 #endif | 908 #endif |
| 905 | 909 |
| 906 #endif // Layer_h | 910 #endif // Layer_h |
| OLD | NEW |