| 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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 | 145 |
| 146 // Returns true if the assignment actually changed the assigned squashing la
yer. | 146 // Returns true if the assignment actually changed the assigned squashing la
yer. |
| 147 bool updateSquashingLayerAssignment(RenderLayer* squashedLayer, const Render
Layer& owningLayer, size_t nextSquashedLayerIndex); | 147 bool updateSquashingLayerAssignment(RenderLayer* squashedLayer, const Render
Layer& owningLayer, size_t nextSquashedLayerIndex); |
| 148 void removeRenderLayerFromSquashingGraphicsLayer(const RenderLayer*); | 148 void removeRenderLayerFromSquashingGraphicsLayer(const RenderLayer*); |
| 149 | 149 |
| 150 void finishAccumulatingSquashingLayers(size_t nextSquashedLayerIndex); | 150 void finishAccumulatingSquashingLayers(size_t nextSquashedLayerIndex); |
| 151 void updateRenderingContext(); | 151 void updateRenderingContext(); |
| 152 void updateShouldFlattenTransform(); | 152 void updateShouldFlattenTransform(); |
| 153 | 153 |
| 154 // GraphicsLayerClient interface | 154 // GraphicsLayerClient interface |
| 155 virtual void notifyAnimationStarted(const GraphicsLayer*, double monotonicTi
me) override; | 155 virtual void notifyAnimationStarted(const GraphicsLayer*, double monotonicTi
me, int group) override; |
| 156 virtual void paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsL
ayerPaintingPhase, const IntRect& clip) override; | 156 virtual void paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsL
ayerPaintingPhase, const IntRect& clip) override; |
| 157 virtual bool isTrackingPaintInvalidations() const override; | 157 virtual bool isTrackingPaintInvalidations() const override; |
| 158 | 158 |
| 159 #if ENABLE(ASSERT) | 159 #if ENABLE(ASSERT) |
| 160 virtual void verifyNotPainting() override; | 160 virtual void verifyNotPainting() override; |
| 161 #endif | 161 #endif |
| 162 | 162 |
| 163 LayoutRect contentsBox() const; | 163 LayoutRect contentsBox() const; |
| 164 | 164 |
| 165 GraphicsLayer* layerForHorizontalScrollbar() const { return m_layerForHorizo
ntalScrollbar.get(); } | 165 GraphicsLayer* layerForHorizontalScrollbar() const { return m_layerForHorizo
ntalScrollbar.get(); } |
| (...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 423 unsigned m_isMainFrameRenderViewLayer : 1; | 423 unsigned m_isMainFrameRenderViewLayer : 1; |
| 424 unsigned m_requiresOwnBackingStoreForIntrinsicReasons : 1; | 424 unsigned m_requiresOwnBackingStoreForIntrinsicReasons : 1; |
| 425 unsigned m_requiresOwnBackingStoreForAncestorReasons : 1; | 425 unsigned m_requiresOwnBackingStoreForAncestorReasons : 1; |
| 426 unsigned m_backgroundLayerPaintsFixedRootBackground : 1; | 426 unsigned m_backgroundLayerPaintsFixedRootBackground : 1; |
| 427 unsigned m_scrollingContentsAreEmpty : 1; | 427 unsigned m_scrollingContentsAreEmpty : 1; |
| 428 }; | 428 }; |
| 429 | 429 |
| 430 } // namespace blink | 430 } // namespace blink |
| 431 | 431 |
| 432 #endif // CompositedLayerMapping_h | 432 #endif // CompositedLayerMapping_h |
| OLD | NEW |