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

Unified Diff: Source/core/rendering/RenderLayerBacking.h

Issue 23431021: Refactoring animation code in accelerated path. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/rendering/RenderLayerBacking.h
diff --git a/Source/core/rendering/RenderLayerBacking.h b/Source/core/rendering/RenderLayerBacking.h
index 5a18edd82084680b941763762d4d73e2e159268c..cbfdb8cf828ca1156c765aad9a9256d5ef942d3e 100644
--- a/Source/core/rendering/RenderLayerBacking.h
+++ b/Source/core/rendering/RenderLayerBacking.h
@@ -37,6 +37,7 @@ namespace WebCore {
class KeyframeList;
class RenderLayerCompositor;
+class WebAnimationProvider;
enum CompositingLayerType {
NormalCompositingLayer, // non-tiled layer with backing store
@@ -242,9 +243,6 @@ private:
void doPaintTask(GraphicsLayerPaintInfo&, GraphicsContext*, const IntRect& clip);
- static CSSPropertyID graphicsLayerToCSSProperty(AnimatedPropertyID);
- static AnimatedPropertyID cssToGraphicsLayerProperty(CSSPropertyID);
-
RenderLayer* m_owningLayer;
OwnPtr<GraphicsLayer> m_ancestorClippingLayer; // Only used if we are clipped by an ancestor which is not a stacking context.
@@ -261,6 +259,8 @@ private:
OwnPtr<GraphicsLayer> m_scrollingLayer; // Only used if the layer is using composited scrolling.
OwnPtr<GraphicsLayer> m_scrollingContentsLayer; // Only used if the layer is using composited scrolling.
+ OwnPtr<WebAnimationProvider> m_animationProvider;
+
uint64_t m_scrollLayerID;
IntRect m_compositedBounds;

Powered by Google App Engine
This is Rietveld 408576698