| 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 | 120 |
| 121 bool hasChildTransformLayer() const { return m_childTransformLayer; } | 121 bool hasChildTransformLayer() const { return m_childTransformLayer; } |
| 122 GraphicsLayer* childTransformLayer() const { return m_childTransformLayer.ge
t(); } | 122 GraphicsLayer* childTransformLayer() const { return m_childTransformLayer.ge
t(); } |
| 123 | 123 |
| 124 GraphicsLayer* squashingContainmentLayer() const { return m_squashingContain
mentLayer.get(); } | 124 GraphicsLayer* squashingContainmentLayer() const { return m_squashingContain
mentLayer.get(); } |
| 125 GraphicsLayer* squashingLayer() const { return m_squashingLayer.get(); } | 125 GraphicsLayer* squashingLayer() const { return m_squashingLayer.get(); } |
| 126 | 126 |
| 127 void setSquashingContentsNeedDisplay(); | 127 void setSquashingContentsNeedDisplay(); |
| 128 void setContentsNeedDisplay(); | 128 void setContentsNeedDisplay(); |
| 129 // LayoutRect is in the coordinate space of the layer's layout object. | 129 // LayoutRect is in the coordinate space of the layer's layout object. |
| 130 void setContentsNeedDisplayInRect(const LayoutRect&, PaintInvalidationReason
); | 130 void setContentsNeedDisplayInRect(const LayoutRect&, PaintInvalidationReason
, const DisplayItemClient&); |
| 131 | 131 |
| 132 void invalidateDisplayItemClient(const DisplayItemClient&, PaintInvalidation
Reason); | 132 void invalidateDisplayItemClient(const DisplayItemClient&, PaintInvalidation
Reason); |
| 133 | 133 |
| 134 // Notification from the layoutObject that its content changed. | 134 // Notification from the layoutObject that its content changed. |
| 135 void contentChanged(ContentChangeType); | 135 void contentChanged(ContentChangeType); |
| 136 | 136 |
| 137 LayoutRect compositedBounds() const { return m_compositedBounds; } | 137 LayoutRect compositedBounds() const { return m_compositedBounds; } |
| 138 IntRect pixelSnappedCompositedBounds() const; | 138 IntRect pixelSnappedCompositedBounds() const; |
| 139 | 139 |
| 140 void positionOverflowControlsLayers(); | 140 void positionOverflowControlsLayers(); |
| (...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 445 | 445 |
| 446 unsigned m_backgroundLayerPaintsFixedRootBackground : 1; | 446 unsigned m_backgroundLayerPaintsFixedRootBackground : 1; |
| 447 unsigned m_scrollingContentsAreEmpty : 1; | 447 unsigned m_scrollingContentsAreEmpty : 1; |
| 448 | 448 |
| 449 friend class CompositedLayerMappingTest; | 449 friend class CompositedLayerMappingTest; |
| 450 }; | 450 }; |
| 451 | 451 |
| 452 } // namespace blink | 452 } // namespace blink |
| 453 | 453 |
| 454 #endif // CompositedLayerMapping_h | 454 #endif // CompositedLayerMapping_h |
| OLD | NEW |