| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 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 | 116 |
| 117 bool supportsFixedRootBackgroundCompositing() const; | 117 bool supportsFixedRootBackgroundCompositing() const; |
| 118 bool needsFixedRootBackgroundLayer(const RenderLayer*) const; | 118 bool needsFixedRootBackgroundLayer(const RenderLayer*) const; |
| 119 GraphicsLayer* fixedRootBackgroundLayer() const; | 119 GraphicsLayer* fixedRootBackgroundLayer() const; |
| 120 void setNeedsUpdateFixedBackground() { m_needsUpdateFixedBackground = true;
} | 120 void setNeedsUpdateFixedBackground() { m_needsUpdateFixedBackground = true;
} |
| 121 | 121 |
| 122 // Repaint the appropriate layers when the given RenderLayer starts or stops
being composited. | 122 // Repaint the appropriate layers when the given RenderLayer starts or stops
being composited. |
| 123 void repaintOnCompositingChange(RenderLayer*); | 123 void repaintOnCompositingChange(RenderLayer*); |
| 124 | 124 |
| 125 void repaintInCompositedAncestor(RenderLayer*, const LayoutRect&); | 125 void repaintInCompositedAncestor(RenderLayer*, const LayoutRect&); |
| 126 | |
| 127 void layerWillBeRemoved(RenderLayer* parent, RenderLayer* child); | |
| 128 | |
| 129 void repaintCompositedLayers(); | 126 void repaintCompositedLayers(); |
| 130 | 127 |
| 131 RenderLayer* rootRenderLayer() const; | 128 RenderLayer* rootRenderLayer() const; |
| 132 GraphicsLayer* rootGraphicsLayer() const; | 129 GraphicsLayer* rootGraphicsLayer() const; |
| 133 GraphicsLayer* scrollLayer() const; | 130 GraphicsLayer* scrollLayer() const; |
| 134 GraphicsLayer* containerLayer() const; | 131 GraphicsLayer* containerLayer() const; |
| 135 | 132 |
| 136 // We don't always have a root transform layer. This function lazily allocat
es one | 133 // We don't always have a root transform layer. This function lazily allocat
es one |
| 137 // and returns it as required. | 134 // and returns it as required. |
| 138 GraphicsLayer* ensureRootTransformLayer(); | 135 GraphicsLayer* ensureRootTransformLayer(); |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 OwnPtr<GraphicsLayer> m_layerForVerticalScrollbar; | 275 OwnPtr<GraphicsLayer> m_layerForVerticalScrollbar; |
| 279 OwnPtr<GraphicsLayer> m_layerForScrollCorner; | 276 OwnPtr<GraphicsLayer> m_layerForScrollCorner; |
| 280 #if USE(RUBBER_BANDING) | 277 #if USE(RUBBER_BANDING) |
| 281 OwnPtr<GraphicsLayer> m_layerForOverhangShadow; | 278 OwnPtr<GraphicsLayer> m_layerForOverhangShadow; |
| 282 #endif | 279 #endif |
| 283 }; | 280 }; |
| 284 | 281 |
| 285 } // namespace WebCore | 282 } // namespace WebCore |
| 286 | 283 |
| 287 #endif // RenderLayerCompositor_h | 284 #endif // RenderLayerCompositor_h |
| OLD | NEW |