| 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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 // Updates whether a backing store is needed for intrinsic reasons (that is,
based on the | 127 // Updates whether a backing store is needed for intrinsic reasons (that is,
based on the |
| 128 // layer's own properties or compositing reasons); returns true if the intri
nsic need for | 128 // layer's own properties or compositing reasons); returns true if the intri
nsic need for |
| 129 // a backing store changed. | 129 // a backing store changed. |
| 130 bool updateRequiresOwnBackingStoreForIntrinsicReasons(); | 130 bool updateRequiresOwnBackingStoreForIntrinsicReasons(); |
| 131 | 131 |
| 132 void setSquashingContentsNeedDisplay(); | 132 void setSquashingContentsNeedDisplay(); |
| 133 void setContentsNeedDisplay(); | 133 void setContentsNeedDisplay(); |
| 134 // r is in the coordinate space of the layer's render object | 134 // r is in the coordinate space of the layer's render object |
| 135 void setContentsNeedDisplayInRect(const LayoutRect&, PaintInvalidationReason
); | 135 void setContentsNeedDisplayInRect(const LayoutRect&, PaintInvalidationReason
); |
| 136 | 136 |
| 137 void setScrollingContentsNeedDisplay(); | |
| 138 // FIXME: Temporarily the rect is in the coordinate space of the scrolling c
ontainer layer. | |
| 139 // Will make it in the coordinate space of the scrolling contents layer. crb
ug.com/416539. | |
| 140 void setScrollingContentsNeedDisplayInRect(const LayoutRect&, PaintInvalidat
ionReason); | |
| 141 | |
| 142 // Notification from the renderer that its content changed. | 137 // Notification from the renderer that its content changed. |
| 143 void contentChanged(ContentChangeType); | 138 void contentChanged(ContentChangeType); |
| 144 | 139 |
| 145 LayoutRect compositedBounds() const { return m_compositedBounds; } | 140 LayoutRect compositedBounds() const { return m_compositedBounds; } |
| 146 IntRect pixelSnappedCompositedBounds() const; | 141 IntRect pixelSnappedCompositedBounds() const; |
| 147 | 142 |
| 148 void positionOverflowControlsLayers(const IntSize& offsetFromRoot); | 143 void positionOverflowControlsLayers(const IntSize& offsetFromRoot); |
| 149 bool hasUnpositionedOverflowControlsLayers() const; | 144 bool hasUnpositionedOverflowControlsLayers() const; |
| 150 | 145 |
| 151 // Returns true if the assignment actually changed the assigned squashing la
yer. | 146 // Returns true if the assignment actually changed the assigned squashing la
yer. |
| (...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 428 unsigned m_isMainFrameRenderViewLayer : 1; | 423 unsigned m_isMainFrameRenderViewLayer : 1; |
| 429 unsigned m_requiresOwnBackingStoreForIntrinsicReasons : 1; | 424 unsigned m_requiresOwnBackingStoreForIntrinsicReasons : 1; |
| 430 unsigned m_requiresOwnBackingStoreForAncestorReasons : 1; | 425 unsigned m_requiresOwnBackingStoreForAncestorReasons : 1; |
| 431 unsigned m_backgroundLayerPaintsFixedRootBackground : 1; | 426 unsigned m_backgroundLayerPaintsFixedRootBackground : 1; |
| 432 unsigned m_scrollingContentsAreEmpty : 1; | 427 unsigned m_scrollingContentsAreEmpty : 1; |
| 433 }; | 428 }; |
| 434 | 429 |
| 435 } // namespace blink | 430 } // namespace blink |
| 436 | 431 |
| 437 #endif // CompositedLayerMapping_h | 432 #endif // CompositedLayerMapping_h |
| OLD | NEW |