| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009, 2010, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009, 2010, 2011 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 GraphicsLayer* scrollingBlockSelectionLayer() const { return m_scrollingBloc
kSelectionLayer.get(); } | 102 GraphicsLayer* scrollingBlockSelectionLayer() const { return m_scrollingBloc
kSelectionLayer.get(); } |
| 103 | 103 |
| 104 bool hasMaskLayer() const { return m_maskLayer; } | 104 bool hasMaskLayer() const { return m_maskLayer; } |
| 105 GraphicsLayer* maskLayer() const { return m_maskLayer.get(); } | 105 GraphicsLayer* maskLayer() const { return m_maskLayer.get(); } |
| 106 | 106 |
| 107 bool hasChildClippingMaskLayer() const { return m_childClippingMaskLayer; } | 107 bool hasChildClippingMaskLayer() const { return m_childClippingMaskLayer; } |
| 108 GraphicsLayer* childClippingMaskLayer() const { return m_childClippingMaskLa
yer.get(); } | 108 GraphicsLayer* childClippingMaskLayer() const { return m_childClippingMaskLa
yer.get(); } |
| 109 | 109 |
| 110 GraphicsLayer* parentForSublayers() const; | 110 GraphicsLayer* parentForSublayers() const; |
| 111 GraphicsLayer* childForSuperlayers() const; | 111 GraphicsLayer* childForSuperlayers() const; |
| 112 // localRootForOwningLayer does not include the m_squashingContainmentLayer,
which is technically not associated with this CLM's owning layer. | |
| 113 GraphicsLayer* localRootForOwningLayer() const; | |
| 114 | 112 |
| 115 GraphicsLayer* childTransformLayer() const { return m_childTransformLayer.ge
t(); } | 113 GraphicsLayer* childTransformLayer() const { return m_childTransformLayer.ge
t(); } |
| 116 | 114 |
| 117 GraphicsLayer* squashingContainmentLayer() const { return m_squashingContain
mentLayer.get(); } | 115 GraphicsLayer* squashingContainmentLayer() const { return m_squashingContain
mentLayer.get(); } |
| 118 GraphicsLayer* squashingLayer() const { return m_squashingLayer.get(); } | 116 GraphicsLayer* squashingLayer() const { return m_squashingLayer.get(); } |
| 119 // Contains the bottommost layer in the hierarchy that can contain the child
ren transform. | 117 // Contains the bottommost layer in the hierarchy that can contain the child
ren transform. |
| 120 GraphicsLayer* layerForChildrenTransform() const; | 118 GraphicsLayer* layerForChildrenTransform() const; |
| 121 | 119 |
| 122 // Returns true for a composited layer that has no backing store of its own,
so | 120 // Returns true for a composited layer that has no backing store of its own,
so |
| 123 // paints into some ancestor layer. | 121 // paints into some ancestor layer. |
| (...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 424 unsigned m_isMainFrameRenderViewLayer : 1; | 422 unsigned m_isMainFrameRenderViewLayer : 1; |
| 425 unsigned m_requiresOwnBackingStoreForIntrinsicReasons : 1; | 423 unsigned m_requiresOwnBackingStoreForIntrinsicReasons : 1; |
| 426 unsigned m_requiresOwnBackingStoreForAncestorReasons : 1; | 424 unsigned m_requiresOwnBackingStoreForAncestorReasons : 1; |
| 427 unsigned m_backgroundLayerPaintsFixedRootBackground : 1; | 425 unsigned m_backgroundLayerPaintsFixedRootBackground : 1; |
| 428 unsigned m_scrollingContentsAreEmpty : 1; | 426 unsigned m_scrollingContentsAreEmpty : 1; |
| 429 }; | 427 }; |
| 430 | 428 |
| 431 } // namespace blink | 429 } // namespace blink |
| 432 | 430 |
| 433 #endif // CompositedLayerMapping_h | 431 #endif // CompositedLayerMapping_h |
| OLD | NEW |