| 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 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 294 static IntRect localClipRectForSquashedLayer(const DeprecatedPaintLayer& ref
erenceLayer, const GraphicsLayerPaintInfo&, const Vector<GraphicsLayerPaintInfo
>& layers); | 294 static IntRect localClipRectForSquashedLayer(const DeprecatedPaintLayer& ref
erenceLayer, const GraphicsLayerPaintInfo&, const Vector<GraphicsLayerPaintInfo
>& layers); |
| 295 | 295 |
| 296 // Return true if |m_owningLayer|'s compositing ancestor is not a descendant
(inclusive) of the | 296 // Return true if |m_owningLayer|'s compositing ancestor is not a descendant
(inclusive) of the |
| 297 // clipping container for |m_owningLayer|. | 297 // clipping container for |m_owningLayer|. |
| 298 bool owningLayerClippedByLayerNotAboveCompositedAncestor(DeprecatedPaintLaye
r* scrollParent); | 298 bool owningLayerClippedByLayerNotAboveCompositedAncestor(DeprecatedPaintLaye
r* scrollParent); |
| 299 | 299 |
| 300 DeprecatedPaintLayer* scrollParent(); | 300 DeprecatedPaintLayer* scrollParent(); |
| 301 | 301 |
| 302 // Clear the groupedMapping entry on the layer at the given index, only if t
hat layer does | 302 // Clear the groupedMapping entry on the layer at the given index, only if t
hat layer does |
| 303 // not appear earlier in the set of layers for this object. | 303 // not appear earlier in the set of layers for this object. |
| 304 void clearLayerGroupingIfNoPrecedingEntry(size_t); | 304 bool invalidateLayerIfNoPrecedingEntry(size_t); |
| 305 | 305 |
| 306 DeprecatedPaintLayer& m_owningLayer; | 306 DeprecatedPaintLayer& m_owningLayer; |
| 307 | 307 |
| 308 // The hierarchy of layers that is maintained by the CompositedDeprecatedPai
ntLayerMapping looks like this: | 308 // The hierarchy of layers that is maintained by the CompositedDeprecatedPai
ntLayerMapping looks like this: |
| 309 // | 309 // |
| 310 // + m_ancestorClippingLayer [OPTIONAL] | 310 // + m_ancestorClippingLayer [OPTIONAL] |
| 311 // + m_graphicsLayer | 311 // + m_graphicsLayer |
| 312 // + m_childTransformLayer [OPTIONAL] | 312 // + m_childTransformLayer [OPTIONAL] |
| 313 // | + m_childContainmentLayer [OPTIONAL] <-OR-> m_scrollingLayer [OPTI
ONAL] | 313 // | + m_childContainmentLayer [OPTIONAL] <-OR-> m_scrollingLayer [OPTI
ONAL] |
| 314 // | + m_scrollingContentsL
ayer [Present iff m_scrollingLayer is present] | 314 // | + m_scrollingContentsL
ayer [Present iff m_scrollingLayer is present] |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 423 unsigned m_pendingUpdateScope : 2; | 423 unsigned m_pendingUpdateScope : 2; |
| 424 unsigned m_isMainFrameLayoutViewLayer : 1; | 424 unsigned m_isMainFrameLayoutViewLayer : 1; |
| 425 | 425 |
| 426 unsigned m_backgroundLayerPaintsFixedRootBackground : 1; | 426 unsigned m_backgroundLayerPaintsFixedRootBackground : 1; |
| 427 unsigned m_scrollingContentsAreEmpty : 1; | 427 unsigned m_scrollingContentsAreEmpty : 1; |
| 428 }; | 428 }; |
| 429 | 429 |
| 430 } // namespace blink | 430 } // namespace blink |
| 431 | 431 |
| 432 #endif // CompositedDeprecatedPaintLayerMapping_h | 432 #endif // CompositedDeprecatedPaintLayerMapping_h |
| OLD | NEW |