| 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 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 void updateTransformGeometry(const IntPoint& snappedOffsetFromCompositedAnce
stor, const IntRect& relativeCompositingBounds); | 233 void updateTransformGeometry(const IntPoint& snappedOffsetFromCompositedAnce
stor, const IntRect& relativeCompositingBounds); |
| 234 void updateForegroundLayerGeometry(const FloatSize& relativeCompositingBound
sSize, const IntRect& clippingBox); | 234 void updateForegroundLayerGeometry(const FloatSize& relativeCompositingBound
sSize, const IntRect& clippingBox); |
| 235 void updateBackgroundLayerGeometry(const FloatSize& relativeCompositingBound
sSize); | 235 void updateBackgroundLayerGeometry(const FloatSize& relativeCompositingBound
sSize); |
| 236 void updateReflectionLayerGeometry(Vector<PaintLayer*>& layersNeedingPaintIn
validation); | 236 void updateReflectionLayerGeometry(Vector<PaintLayer*>& layersNeedingPaintIn
validation); |
| 237 void updateScrollingLayerGeometry(const IntRect& localCompositingBounds); | 237 void updateScrollingLayerGeometry(const IntRect& localCompositingBounds); |
| 238 void updateChildClippingMaskLayerGeometry(); | 238 void updateChildClippingMaskLayerGeometry(); |
| 239 | 239 |
| 240 void createPrimaryGraphicsLayer(); | 240 void createPrimaryGraphicsLayer(); |
| 241 void destroyGraphicsLayers(); | 241 void destroyGraphicsLayers(); |
| 242 | 242 |
| 243 PassOwnPtr<GraphicsLayer> createGraphicsLayer(CompositingReasons); | 243 PassOwnPtr<GraphicsLayer> createGraphicsLayer(CompositingReasons, SquashingD
isallowedReasons = SquashingDisallowedReasonsNone); |
| 244 bool toggleScrollbarLayerIfNeeded(OwnPtr<GraphicsLayer>&, bool needsLayer, C
ompositingReasons); | 244 bool toggleScrollbarLayerIfNeeded(OwnPtr<GraphicsLayer>&, bool needsLayer, C
ompositingReasons); |
| 245 | 245 |
| 246 LayoutBoxModelObject* layoutObject() const { return m_owningLayer.layoutObje
ct(); } | 246 LayoutBoxModelObject* layoutObject() const { return m_owningLayer.layoutObje
ct(); } |
| 247 PaintLayerCompositor* compositor() const { return m_owningLayer.compositor()
; } | 247 PaintLayerCompositor* compositor() const { return m_owningLayer.compositor()
; } |
| 248 | 248 |
| 249 void updateInternalHierarchy(); | 249 void updateInternalHierarchy(); |
| 250 void updatePaintingPhases(); | 250 void updatePaintingPhases(); |
| 251 bool updateClippingLayers(bool needsAncestorClip, bool needsDescendantClip); | 251 bool updateClippingLayers(bool needsAncestorClip, bool needsDescendantClip); |
| 252 bool updateChildTransformLayer(bool needsChildTransformLayer); | 252 bool updateChildTransformLayer(bool needsChildTransformLayer); |
| 253 bool updateOverflowControlsLayers(bool needsHorizontalScrollbarLayer, bool n
eedsVerticalScrollbarLayer, bool needsScrollCornerLayer, bool needsAncestorClip)
; | 253 bool updateOverflowControlsLayers(bool needsHorizontalScrollbarLayer, bool n
eedsVerticalScrollbarLayer, bool needsScrollCornerLayer, bool needsAncestorClip)
; |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 441 | 441 |
| 442 unsigned m_backgroundLayerPaintsFixedRootBackground : 1; | 442 unsigned m_backgroundLayerPaintsFixedRootBackground : 1; |
| 443 unsigned m_scrollingContentsAreEmpty : 1; | 443 unsigned m_scrollingContentsAreEmpty : 1; |
| 444 | 444 |
| 445 friend class CompositedLayerMappingTest; | 445 friend class CompositedLayerMappingTest; |
| 446 }; | 446 }; |
| 447 | 447 |
| 448 } // namespace blink | 448 } // namespace blink |
| 449 | 449 |
| 450 #endif // CompositedLayerMapping_h | 450 #endif // CompositedLayerMapping_h |
| OLD | NEW |