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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 void addOutOfFlowPositionedLayer(RenderLayer*); | 192 void addOutOfFlowPositionedLayer(RenderLayer*); |
193 void removeOutOfFlowPositionedLayer(RenderLayer*); | 193 void removeOutOfFlowPositionedLayer(RenderLayer*); |
194 | 194 |
195 void resetTrackedRepaintRects(); | 195 void resetTrackedRepaintRects(); |
196 void setTracksRepaints(bool); | 196 void setTracksRepaints(bool); |
197 | 197 |
198 void setNeedsToRecomputeCompositingRequirements() { m_needsToRecomputeCompos
itingRequirements = true; } | 198 void setNeedsToRecomputeCompositingRequirements() { m_needsToRecomputeCompos
itingRequirements = true; } |
199 | 199 |
200 virtual String debugName(const GraphicsLayer*) OVERRIDE; | 200 virtual String debugName(const GraphicsLayer*) OVERRIDE; |
201 | 201 |
| 202 void updateStyleDeterminedCompositingReasons(RenderLayer*); |
| 203 |
202 void scheduleAnimationIfNeeded(); | 204 void scheduleAnimationIfNeeded(); |
203 | 205 |
204 private: | 206 private: |
205 class OverlapMap; | 207 class OverlapMap; |
206 | 208 |
207 enum CompositingStateTransitionType { | 209 enum CompositingStateTransitionType { |
208 NoCompositingStateChange, | 210 NoCompositingStateChange, |
209 AllocateOwnCompositedLayerMapping, | 211 AllocateOwnCompositedLayerMapping, |
210 RemoveOwnCompositedLayerMapping, | 212 RemoveOwnCompositedLayerMapping, |
211 PutInSquashingLayer, | 213 PutInSquashingLayer, |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
376 OwnPtr<GraphicsLayer> m_layerForScrollCorner; | 378 OwnPtr<GraphicsLayer> m_layerForScrollCorner; |
377 #if USE(RUBBER_BANDING) | 379 #if USE(RUBBER_BANDING) |
378 OwnPtr<GraphicsLayer> m_layerForOverhangShadow; | 380 OwnPtr<GraphicsLayer> m_layerForOverhangShadow; |
379 #endif | 381 #endif |
380 }; | 382 }; |
381 | 383 |
382 | 384 |
383 } // namespace WebCore | 385 } // namespace WebCore |
384 | 386 |
385 #endif // RenderLayerCompositor_h | 387 #endif // RenderLayerCompositor_h |
OLD | NEW |