| 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 void setContentsNeedDisplay(); | 120 void setContentsNeedDisplay(); |
| 121 // r is in the coordinate space of the layer's render object | 121 // r is in the coordinate space of the layer's render object |
| 122 void setContentsNeedDisplayInRect(const LayoutRect&, PaintInvalidationReason
); | 122 void setContentsNeedDisplayInRect(const LayoutRect&, PaintInvalidationReason
); |
| 123 | 123 |
| 124 // Notification from the renderer that its content changed. | 124 // Notification from the renderer that its content changed. |
| 125 void contentChanged(ContentChangeType); | 125 void contentChanged(ContentChangeType); |
| 126 | 126 |
| 127 LayoutRect compositedBounds() const { return m_compositedBounds; } | 127 LayoutRect compositedBounds() const { return m_compositedBounds; } |
| 128 IntRect pixelSnappedCompositedBounds() const; | 128 IntRect pixelSnappedCompositedBounds() const; |
| 129 | 129 |
| 130 void positionOverflowControlsLayers(const IntSize& offsetFromRoot); | 130 void positionOverflowControlsLayers(); |
| 131 bool hasUnpositionedOverflowControlsLayers() const; | 131 bool hasUnpositionedOverflowControlsLayers() const; |
| 132 | 132 |
| 133 // Returns true if the assignment actually changed the assigned squashing la
yer. | 133 // Returns true if the assignment actually changed the assigned squashing la
yer. |
| 134 bool updateSquashingLayerAssignment(Layer* squashedLayer, const Layer& ownin
gLayer, size_t nextSquashedLayerIndex); | 134 bool updateSquashingLayerAssignment(Layer* squashedLayer, const Layer& ownin
gLayer, size_t nextSquashedLayerIndex); |
| 135 void removeLayerFromSquashingGraphicsLayer(const Layer*); | 135 void removeLayerFromSquashingGraphicsLayer(const Layer*); |
| 136 | 136 |
| 137 void finishAccumulatingSquashingLayers(size_t nextSquashedLayerIndex); | 137 void finishAccumulatingSquashingLayers(size_t nextSquashedLayerIndex); |
| 138 void updateRenderingContext(); | 138 void updateRenderingContext(); |
| 139 void updateShouldFlattenTransform(); | 139 void updateShouldFlattenTransform(); |
| 140 | 140 |
| (...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 412 unsigned m_pendingUpdateScope : 2; | 412 unsigned m_pendingUpdateScope : 2; |
| 413 unsigned m_isMainFrameRenderViewLayer : 1; | 413 unsigned m_isMainFrameRenderViewLayer : 1; |
| 414 | 414 |
| 415 unsigned m_backgroundLayerPaintsFixedRootBackground : 1; | 415 unsigned m_backgroundLayerPaintsFixedRootBackground : 1; |
| 416 unsigned m_scrollingContentsAreEmpty : 1; | 416 unsigned m_scrollingContentsAreEmpty : 1; |
| 417 }; | 417 }; |
| 418 | 418 |
| 419 } // namespace blink | 419 } // namespace blink |
| 420 | 420 |
| 421 #endif // CompositedLayerMapping_h | 421 #endif // CompositedLayerMapping_h |
| OLD | NEW |