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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 void setOverlayLayer(GraphicsLayer*); | 171 void setOverlayLayer(GraphicsLayer*); |
172 | 172 |
173 bool inOverlayFullscreenVideo() const { return m_inOverlayFullscreenVideo; } | 173 bool inOverlayFullscreenVideo() const { return m_inOverlayFullscreenVideo; } |
174 | 174 |
175 private: | 175 private: |
176 #if ENABLE(ASSERT) | 176 #if ENABLE(ASSERT) |
177 void assertNoUnresolvedDirtyBits(); | 177 void assertNoUnresolvedDirtyBits(); |
178 #endif | 178 #endif |
179 | 179 |
180 // GraphicsLayerClient implementation | 180 // GraphicsLayerClient implementation |
181 virtual void notifyAnimationStarted(const GraphicsLayer*, double) override {
} | |
182 virtual void paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsL
ayerPaintingPhase, const IntRect&) override; | 181 virtual void paintContents(const GraphicsLayer*, GraphicsContext&, GraphicsL
ayerPaintingPhase, const IntRect&) override; |
183 | 182 |
184 virtual bool isTrackingPaintInvalidations() const override; | 183 virtual bool isTrackingPaintInvalidations() const override; |
185 | 184 |
186 void updateWithoutAcceleratedCompositing(CompositingUpdateType); | 185 void updateWithoutAcceleratedCompositing(CompositingUpdateType); |
187 void updateIfNeeded(); | 186 void updateIfNeeded(); |
188 | 187 |
189 void ensureRootLayer(); | 188 void ensureRootLayer(); |
190 void destroyRootLayer(); | 189 void destroyRootLayer(); |
191 | 190 |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 #if USE(RUBBER_BANDING) | 244 #if USE(RUBBER_BANDING) |
246 OwnPtr<GraphicsLayer> m_layerForOverhangShadow; | 245 OwnPtr<GraphicsLayer> m_layerForOverhangShadow; |
247 #endif | 246 #endif |
248 | 247 |
249 bool m_inOverlayFullscreenVideo; | 248 bool m_inOverlayFullscreenVideo; |
250 }; | 249 }; |
251 | 250 |
252 } // namespace blink | 251 } // namespace blink |
253 | 252 |
254 #endif // RenderLayerCompositor_h | 253 #endif // RenderLayerCompositor_h |
OLD | NEW |