| 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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 bool updateRequiresOwnBackingStoreForAncestorReasons(const RenderLayer* comp
ositingAncestor); | 143 bool updateRequiresOwnBackingStoreForAncestorReasons(const RenderLayer* comp
ositingAncestor); |
| 144 | 144 |
| 145 // Updates whether a backing store is needed for intrinsic reasons (that is,
based on the | 145 // Updates whether a backing store is needed for intrinsic reasons (that is,
based on the |
| 146 // layer's own properties or compositing reasons); returns true if the intri
nsic need for | 146 // layer's own properties or compositing reasons); returns true if the intri
nsic need for |
| 147 // a backing store changed. | 147 // a backing store changed. |
| 148 bool updateRequiresOwnBackingStoreForIntrinsicReasons(); | 148 bool updateRequiresOwnBackingStoreForIntrinsicReasons(); |
| 149 | 149 |
| 150 void setSquashingContentsNeedDisplay(); | 150 void setSquashingContentsNeedDisplay(); |
| 151 void setContentsNeedDisplay(); | 151 void setContentsNeedDisplay(); |
| 152 // r is in the coordinate space of the layer's render object | 152 // r is in the coordinate space of the layer's render object |
| 153 void setContentsNeedDisplayInRect(const IntRect&); | 153 void setContentsNeedDisplayInRect(const LayoutRect&); |
| 154 | 154 |
| 155 // Notification from the renderer that its content changed. | 155 // Notification from the renderer that its content changed. |
| 156 void contentChanged(ContentChangeType); | 156 void contentChanged(ContentChangeType); |
| 157 | 157 |
| 158 LayoutRect compositedBounds() const { return m_compositedBounds; } | 158 LayoutRect compositedBounds() const { return m_compositedBounds; } |
| 159 IntRect pixelSnappedCompositedBounds() const; | 159 IntRect pixelSnappedCompositedBounds() const; |
| 160 void updateCompositedBounds(); | 160 void updateCompositedBounds(); |
| 161 | 161 |
| 162 void positionOverflowControlsLayers(const IntSize& offsetFromRoot); | 162 void positionOverflowControlsLayers(const IntSize& offsetFromRoot); |
| 163 bool hasUnpositionedOverflowControlsLayers() const; | 163 bool hasUnpositionedOverflowControlsLayers() const; |
| (...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 410 unsigned m_requiresOwnBackingStoreForIntrinsicReasons : 1; | 410 unsigned m_requiresOwnBackingStoreForIntrinsicReasons : 1; |
| 411 unsigned m_requiresOwnBackingStoreForAncestorReasons : 1; | 411 unsigned m_requiresOwnBackingStoreForAncestorReasons : 1; |
| 412 unsigned m_canCompositeFilters : 1; | 412 unsigned m_canCompositeFilters : 1; |
| 413 unsigned m_backgroundLayerPaintsFixedRootBackground : 1; | 413 unsigned m_backgroundLayerPaintsFixedRootBackground : 1; |
| 414 unsigned m_scrollingContentsAreEmpty : 1; | 414 unsigned m_scrollingContentsAreEmpty : 1; |
| 415 }; | 415 }; |
| 416 | 416 |
| 417 } // namespace WebCore | 417 } // namespace WebCore |
| 418 | 418 |
| 419 #endif // CompositedLayerMapping_h | 419 #endif // CompositedLayerMapping_h |
| OLD | NEW |