Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(17)

Side by Side Diff: Source/core/rendering/compositing/RenderLayerCompositor.h

Issue 652593003: Web Animations: Plumb compositor group id through animation creation and start/finish notifications (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Pass groupId to createAnimation. Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/core/rendering/compositing/CompositedLayerMapping.cpp ('k') | Source/platform/graphics/GraphicsLayer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698