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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
116 GraphicsLayer* childTransformLayer() const { return m_childTransformLayer.ge t(); } | 116 GraphicsLayer* childTransformLayer() const { return m_childTransformLayer.ge t(); } |
117 | 117 |
118 GraphicsLayer* squashingContainmentLayer() const { return m_squashingContain mentLayer.get(); } | 118 GraphicsLayer* squashingContainmentLayer() const { return m_squashingContain mentLayer.get(); } |
119 GraphicsLayer* squashingLayer() const { return m_squashingLayer.get(); } | 119 GraphicsLayer* squashingLayer() const { return m_squashingLayer.get(); } |
120 | 120 |
121 void setSquashingContentsNeedDisplay(); | 121 void setSquashingContentsNeedDisplay(); |
122 void setContentsNeedDisplay(); | 122 void setContentsNeedDisplay(); |
123 // LayoutRect is in the coordinate space of the layer's layout object. | 123 // LayoutRect is in the coordinate space of the layer's layout object. |
124 void setContentsNeedDisplayInRect(const LayoutRect&, PaintInvalidationReason ); | 124 void setContentsNeedDisplayInRect(const LayoutRect&, PaintInvalidationReason ); |
125 | 125 |
126 void invalidateDisplayItemClient(const DisplayItemClientWrapper&, PaintInval idationReason, const LayoutRect& previousPaintInvalidationRect, const LayoutRect & newPaintInvalidationRect); | 126 void invalidateDisplayItemClient(const DisplayItemClientWrapper&, PaintInval idationReason, const LayoutRect* paintInvalidatioRect); |
chrishtr
2015/10/23 17:15:07
Typo
Xianzhu
2015/10/23 18:43:27
Done. Renamed to visibleContentRect and added comm
| |
127 void invalidateDisplayItemClientOnScrollingContentsLayer(const DisplayItemCl ientWrapper&, PaintInvalidationReason, const LayoutRect& previousPaintInvalidati onRect, const LayoutRect& newPaintInvalidationRect); | 127 void invalidateDisplayItemClientOnScrollingContentsLayer(const DisplayItemCl ientWrapper&, PaintInvalidationReason, const LayoutRect* paintInvalidationRect); |
128 | 128 |
129 // Notification from the layoutObject that its content changed. | 129 // Notification from the layoutObject that its content changed. |
130 void contentChanged(ContentChangeType); | 130 void contentChanged(ContentChangeType); |
131 | 131 |
132 LayoutRect compositedBounds() const { return m_compositedBounds; } | 132 LayoutRect compositedBounds() const { return m_compositedBounds; } |
133 IntRect pixelSnappedCompositedBounds() const; | 133 IntRect pixelSnappedCompositedBounds() const; |
134 | 134 |
135 void positionOverflowControlsLayers(); | 135 void positionOverflowControlsLayers(); |
136 | 136 |
137 // Returns true if the assignment actually changed the assigned squashing la yer. | 137 // Returns true if the assignment actually changed the assigned squashing la yer. |
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
433 | 433 |
434 unsigned m_backgroundLayerPaintsFixedRootBackground : 1; | 434 unsigned m_backgroundLayerPaintsFixedRootBackground : 1; |
435 unsigned m_scrollingContentsAreEmpty : 1; | 435 unsigned m_scrollingContentsAreEmpty : 1; |
436 | 436 |
437 friend class CompositedLayerMappingTest; | 437 friend class CompositedLayerMappingTest; |
438 }; | 438 }; |
439 | 439 |
440 } // namespace blink | 440 } // namespace blink |
441 | 441 |
442 #endif // CompositedLayerMapping_h | 442 #endif // CompositedLayerMapping_h |
OLD | NEW |