| 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 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 246 bool requiresHorizontalScrollbarLayer() const { return m_owningLayer.scrolla
bleArea() && m_owningLayer.scrollableArea()->horizontalScrollbar(); } | 246 bool requiresHorizontalScrollbarLayer() const { return m_owningLayer.scrolla
bleArea() && m_owningLayer.scrollableArea()->horizontalScrollbar(); } |
| 247 bool requiresVerticalScrollbarLayer() const { return m_owningLayer.scrollabl
eArea() && m_owningLayer.scrollableArea()->verticalScrollbar(); } | 247 bool requiresVerticalScrollbarLayer() const { return m_owningLayer.scrollabl
eArea() && m_owningLayer.scrollableArea()->verticalScrollbar(); } |
| 248 bool requiresScrollCornerLayer() const { return m_owningLayer.scrollableArea
() && !m_owningLayer.scrollableArea()->scrollCornerAndResizerRect().isEmpty(); } | 248 bool requiresScrollCornerLayer() const { return m_owningLayer.scrollableArea
() && !m_owningLayer.scrollableArea()->scrollCornerAndResizerRect().isEmpty(); } |
| 249 bool updateScrollingLayers(bool scrollingLayers); | 249 bool updateScrollingLayers(bool scrollingLayers); |
| 250 void updateScrollParent(RenderLayer*); | 250 void updateScrollParent(RenderLayer*); |
| 251 void updateClipParent(); | 251 void updateClipParent(); |
| 252 bool updateSquashingLayers(bool needsSquashingLayers); | 252 bool updateSquashingLayers(bool needsSquashingLayers); |
| 253 void updateDrawsContent(); | 253 void updateDrawsContent(); |
| 254 void updateChildrenTransform(); | 254 void updateChildrenTransform(); |
| 255 void updateCompositedBounds(); | 255 void updateCompositedBounds(); |
| 256 void registerScrollingLayers(); | |
| 257 | 256 |
| 258 // Also sets subpixelAccumulation on the layer. | 257 // Also sets subpixelAccumulation on the layer. |
| 259 void computeBoundsOfOwningLayer(const RenderLayer* compositedAncestor, IntRe
ct& localCompositingBounds, IntRect& compositingBoundsRelativeToCompositedAncest
or, LayoutPoint& offsetFromCompositedAncestor, IntPoint& snappedOffsetFromCompos
itedAncestor); | 258 void computeBoundsOfOwningLayer(const RenderLayer* compositedAncestor, IntRe
ct& localCompositingBounds, IntRect& compositingBoundsRelativeToCompositedAncest
or, LayoutPoint& offsetFromCompositedAncestor, IntPoint& snappedOffsetFromCompos
itedAncestor); |
| 260 | 259 |
| 261 void setBackgroundLayerPaintsFixedRootBackground(bool); | 260 void setBackgroundLayerPaintsFixedRootBackground(bool); |
| 262 | 261 |
| 263 GraphicsLayerPaintingPhase paintingPhaseForPrimaryLayer() const; | 262 GraphicsLayerPaintingPhase paintingPhaseForPrimaryLayer() const; |
| 264 | 263 |
| 265 // Result is transform origin in pixels. | 264 // Result is transform origin in pixels. |
| 266 FloatPoint3D computeTransformOrigin(const IntRect& borderBox) const; | 265 FloatPoint3D computeTransformOrigin(const IntRect& borderBox) const; |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 420 unsigned m_pendingUpdateScope : 2; | 419 unsigned m_pendingUpdateScope : 2; |
| 421 unsigned m_requiresOwnBackingStoreForIntrinsicReasons : 1; | 420 unsigned m_requiresOwnBackingStoreForIntrinsicReasons : 1; |
| 422 unsigned m_requiresOwnBackingStoreForAncestorReasons : 1; | 421 unsigned m_requiresOwnBackingStoreForAncestorReasons : 1; |
| 423 unsigned m_backgroundLayerPaintsFixedRootBackground : 1; | 422 unsigned m_backgroundLayerPaintsFixedRootBackground : 1; |
| 424 unsigned m_scrollingContentsAreEmpty : 1; | 423 unsigned m_scrollingContentsAreEmpty : 1; |
| 425 }; | 424 }; |
| 426 | 425 |
| 427 } // namespace blink | 426 } // namespace blink |
| 428 | 427 |
| 429 #endif // CompositedLayerMapping_h | 428 #endif // CompositedLayerMapping_h |
| OLD | NEW |