| 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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 | 121 |
| 122 void setSquashingContentsNeedDisplay(); | 122 void setSquashingContentsNeedDisplay(); |
| 123 void setContentsNeedDisplay(); | 123 void setContentsNeedDisplay(); |
| 124 // LayoutRect is in the coordinate space of the layer's layout object. | 124 // LayoutRect is in the coordinate space of the layer's layout object. |
| 125 void setContentsNeedDisplayInRect(const LayoutRect&, PaintInvalidationReason
); | 125 void setContentsNeedDisplayInRect(const LayoutRect&, PaintInvalidationReason
); |
| 126 | 126 |
| 127 // If |visualRect| is not nullptr, it contains all pixels that might be pain
ted by the display item client, | 127 // If |visualRect| is not nullptr, it contains all pixels that might be pain
ted by the display item client, |
| 128 // in coordinate space of the layer's layout object. | 128 // in coordinate space of the layer's layout object. |
| 129 // |visualRect| can be nullptr if we know it's unchanged and PaintController
has cached the previous value. | 129 // |visualRect| can be nullptr if we know it's unchanged and PaintController
has cached the previous value. |
| 130 void invalidateDisplayItemClient(const DisplayItemClient&, PaintInvalidation
Reason, const LayoutRect* visualRect); | 130 void invalidateDisplayItemClient(const DisplayItemClient&, PaintInvalidation
Reason, const LayoutRect* visualRect); |
| 131 void invalidateDisplayItemClientOnScrollingContentsLayer(const DisplayItemCl
ient&, PaintInvalidationReason, const LayoutRect* visualRect); | |
| 132 | 131 |
| 133 // Notification from the layoutObject that its content changed. | 132 // Notification from the layoutObject that its content changed. |
| 134 void contentChanged(ContentChangeType); | 133 void contentChanged(ContentChangeType); |
| 135 | 134 |
| 136 LayoutRect compositedBounds() const { return m_compositedBounds; } | 135 LayoutRect compositedBounds() const { return m_compositedBounds; } |
| 137 IntRect pixelSnappedCompositedBounds() const; | 136 IntRect pixelSnappedCompositedBounds() const; |
| 138 | 137 |
| 139 void positionOverflowControlsLayers(); | 138 void positionOverflowControlsLayers(); |
| 140 | 139 |
| 141 // Returns true if the assignment actually changed the assigned squashing la
yer. | 140 // Returns true if the assignment actually changed the assigned squashing la
yer. |
| (...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 441 | 440 |
| 442 unsigned m_backgroundLayerPaintsFixedRootBackground : 1; | 441 unsigned m_backgroundLayerPaintsFixedRootBackground : 1; |
| 443 unsigned m_scrollingContentsAreEmpty : 1; | 442 unsigned m_scrollingContentsAreEmpty : 1; |
| 444 | 443 |
| 445 friend class CompositedLayerMappingTest; | 444 friend class CompositedLayerMappingTest; |
| 446 }; | 445 }; |
| 447 | 446 |
| 448 } // namespace blink | 447 } // namespace blink |
| 449 | 448 |
| 450 #endif // CompositedLayerMapping_h | 449 #endif // CompositedLayerMapping_h |
| OLD | NEW |