| 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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 void updateDirectCompositingReasons(PaintLayer*); | 174 void updateDirectCompositingReasons(PaintLayer*); |
| 175 | 175 |
| 176 bool inOverlayFullscreenVideo() const { return m_inOverlayFullscreenVideo; } | 176 bool inOverlayFullscreenVideo() const { return m_inOverlayFullscreenVideo; } |
| 177 | 177 |
| 178 private: | 178 private: |
| 179 #if ENABLE(ASSERT) | 179 #if ENABLE(ASSERT) |
| 180 void assertNoUnresolvedDirtyBits(); | 180 void assertNoUnresolvedDirtyBits(); |
| 181 #endif | 181 #endif |
| 182 | 182 |
| 183 // GraphicsLayerClient implementation | 183 // GraphicsLayerClient implementation |
| 184 void paintContentsIfNeeded(const GraphicsLayer*, GraphicsContext&, GraphicsL
ayerPaintingPhase) const override; |
| 184 void paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsLayerPain
tingPhase, const IntRect&) const override; | 185 void paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsLayerPain
tingPhase, const IntRect&) const override; |
| 185 | 186 |
| 186 bool isTrackingPaintInvalidations() const override; | 187 bool isTrackingPaintInvalidations() const override; |
| 187 | 188 |
| 188 void updateWithoutAcceleratedCompositing(CompositingUpdateType); | 189 void updateWithoutAcceleratedCompositing(CompositingUpdateType); |
| 189 void updateIfNeeded(); | 190 void updateIfNeeded(); |
| 190 | 191 |
| 191 void ensureRootLayer(); | 192 void ensureRootLayer(); |
| 192 void destroyRootLayer(); | 193 void destroyRootLayer(); |
| 193 | 194 |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 247 | 248 |
| 248 // Layers for overflow controls | 249 // Layers for overflow controls |
| 249 OwnPtr<GraphicsLayer> m_layerForHorizontalScrollbar; | 250 OwnPtr<GraphicsLayer> m_layerForHorizontalScrollbar; |
| 250 OwnPtr<GraphicsLayer> m_layerForVerticalScrollbar; | 251 OwnPtr<GraphicsLayer> m_layerForVerticalScrollbar; |
| 251 OwnPtr<GraphicsLayer> m_layerForScrollCorner; | 252 OwnPtr<GraphicsLayer> m_layerForScrollCorner; |
| 252 }; | 253 }; |
| 253 | 254 |
| 254 } // namespace blink | 255 } // namespace blink |
| 255 | 256 |
| 256 #endif // PaintLayerCompositor_h | 257 #endif // PaintLayerCompositor_h |
| OLD | NEW |