| 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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 void finishAccumulatingSquashingLayers(size_t nextSquashedLayerIndex); | 147 void finishAccumulatingSquashingLayers(size_t nextSquashedLayerIndex); |
| 148 void updateRenderingContext(); | 148 void updateRenderingContext(); |
| 149 void updateShouldFlattenTransform(); | 149 void updateShouldFlattenTransform(); |
| 150 | 150 |
| 151 // GraphicsLayerClient interface | 151 // GraphicsLayerClient interface |
| 152 void notifyAnimationStarted(const GraphicsLayer*, double monotonicTime, int
group) override; | 152 void notifyAnimationStarted(const GraphicsLayer*, double monotonicTime, int
group) override; |
| 153 void notifyFirstPaint() override; | 153 void notifyFirstPaint() override; |
| 154 void notifyFirstTextPaint() override; | 154 void notifyFirstTextPaint() override; |
| 155 void notifyFirstImagePaint() override; | 155 void notifyFirstImagePaint() override; |
| 156 | 156 |
| 157 void paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsLayerPain
tingPhase, const IntRect* clip) const override; | 157 IntRect paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsLayerP
aintingPhase, const IntRect* interestRect) const override; |
| 158 bool isTrackingPaintInvalidations() const override; | 158 bool isTrackingPaintInvalidations() const override; |
| 159 | 159 |
| 160 #if ENABLE(ASSERT) | 160 #if ENABLE(ASSERT) |
| 161 void verifyNotPainting() override; | 161 void verifyNotPainting() override; |
| 162 #endif | 162 #endif |
| 163 | 163 |
| 164 LayoutRect contentsBox() const; | 164 LayoutRect contentsBox() const; |
| 165 | 165 |
| 166 GraphicsLayer* layerForHorizontalScrollbar() const { return m_layerForHorizo
ntalScrollbar.get(); } | 166 GraphicsLayer* layerForHorizontalScrollbar() const { return m_layerForHorizo
ntalScrollbar.get(); } |
| 167 GraphicsLayer* layerForVerticalScrollbar() const { return m_layerForVertical
Scrollbar.get(); } | 167 GraphicsLayer* layerForVerticalScrollbar() const { return m_layerForVertical
Scrollbar.get(); } |
| (...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 434 | 434 |
| 435 LayoutSize m_contentOffsetInCompositingLayer; | 435 LayoutSize m_contentOffsetInCompositingLayer; |
| 436 unsigned m_contentOffsetInCompositingLayerDirty : 1; | 436 unsigned m_contentOffsetInCompositingLayerDirty : 1; |
| 437 | 437 |
| 438 unsigned m_pendingUpdateScope : 2; | 438 unsigned m_pendingUpdateScope : 2; |
| 439 unsigned m_isMainFrameLayoutViewLayer : 1; | 439 unsigned m_isMainFrameLayoutViewLayer : 1; |
| 440 | 440 |
| 441 unsigned m_backgroundLayerPaintsFixedRootBackground : 1; | 441 unsigned m_backgroundLayerPaintsFixedRootBackground : 1; |
| 442 unsigned m_scrollingContentsAreEmpty : 1; | 442 unsigned m_scrollingContentsAreEmpty : 1; |
| 443 | 443 |
| 444 mutable IntRect m_previousPaintInterestRect; | |
| 445 | |
| 446 friend class CompositedLayerMappingTest; | 444 friend class CompositedLayerMappingTest; |
| 447 }; | 445 }; |
| 448 | 446 |
| 449 } // namespace blink | 447 } // namespace blink |
| 450 | 448 |
| 451 #endif // CompositedLayerMapping_h | 449 #endif // CompositedLayerMapping_h |
| OLD | NEW |