| 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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 | 172 |
| 173 bool inOverlayFullscreenVideo() const { return m_inOverlayFullscreenVideo; } | 173 bool inOverlayFullscreenVideo() const { return m_inOverlayFullscreenVideo; } |
| 174 | 174 |
| 175 private: | 175 private: |
| 176 class OverlapMap; | 176 class OverlapMap; |
| 177 | 177 |
| 178 #if ENABLE(ASSERT) | 178 #if ENABLE(ASSERT) |
| 179 void assertNoUnresolvedDirtyBits(); | 179 void assertNoUnresolvedDirtyBits(); |
| 180 #endif | 180 #endif |
| 181 | 181 |
| 182 // Make updates to the layer based on viewport-constrained properties such a
s position:fixed. This can in turn affect | |
| 183 // compositing. | |
| 184 bool updateLayerIfViewportConstrained(RenderLayer*); | |
| 185 | |
| 186 // GraphicsLayerClient implementation | 182 // GraphicsLayerClient implementation |
| 187 virtual void notifyAnimationStarted(const GraphicsLayer*, double) OVERRIDE {
} | 183 virtual void notifyAnimationStarted(const GraphicsLayer*, double) OVERRIDE {
} |
| 188 virtual void paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsL
ayerPaintingPhase, const IntRect&) OVERRIDE; | 184 virtual void paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsL
ayerPaintingPhase, const IntRect&) OVERRIDE; |
| 189 | 185 |
| 190 virtual bool isTrackingRepaints() const OVERRIDE; | 186 virtual bool isTrackingRepaints() const OVERRIDE; |
| 191 | 187 |
| 192 // Whether the given RL needs to paint into its own separate backing (and he
nce would need its own CompositedLayerMapping). | 188 // Whether the given RL needs to paint into its own separate backing (and he
nce would need its own CompositedLayerMapping). |
| 193 bool needsOwnBacking(const RenderLayer*) const; | 189 bool needsOwnBacking(const RenderLayer*) const; |
| 194 | 190 |
| 195 void updateIfNeeded(); | 191 void updateIfNeeded(); |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 #if USE(RUBBER_BANDING) | 253 #if USE(RUBBER_BANDING) |
| 258 OwnPtr<GraphicsLayer> m_layerForOverhangShadow; | 254 OwnPtr<GraphicsLayer> m_layerForOverhangShadow; |
| 259 #endif | 255 #endif |
| 260 | 256 |
| 261 bool m_inOverlayFullscreenVideo; | 257 bool m_inOverlayFullscreenVideo; |
| 262 }; | 258 }; |
| 263 | 259 |
| 264 } // namespace blink | 260 } // namespace blink |
| 265 | 261 |
| 266 #endif // RenderLayerCompositor_h | 262 #endif // RenderLayerCompositor_h |
| OLD | NEW |