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

Unified Diff: Source/core/animation/CompositorAnimations.h

Issue 68173013: Web Animations CSS: More cleaning of new CompositorAnimation code. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 1 month 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/animation/CompositorAnimations.h
diff --git a/Source/core/animation/CompositorAnimations.h b/Source/core/animation/CompositorAnimations.h
index e97db8a5d9980c4a901d2e8ae13cbca976fe198c..ff41163cf056244709117cc68f10839aaf2f4e42 100644
--- a/Source/core/animation/CompositorAnimations.h
+++ b/Source/core/animation/CompositorAnimations.h
@@ -32,26 +32,13 @@
#define CompositorAnimations_h
#include "core/animation/AnimationEffect.h"
-#include "core/animation/KeyframeAnimationEffect.h"
#include "core/animation/Timing.h"
#include "core/platform/animation/TimingFunction.h"
-#include "public/platform/WebAnimation.h"
-#include "public/platform/WebAnimationCurve.h"
-#include "public/platform/WebCompositorSupport.h"
-#include "public/platform/WebFilterAnimationCurve.h"
-#include "public/platform/WebFilterKeyframe.h"
-#include "public/platform/WebFilterOperations.h"
-#include "public/platform/WebFloatAnimationCurve.h"
-#include "public/platform/WebFloatKeyframe.h"
-#include "public/platform/WebTransformAnimationCurve.h"
-#include "public/platform/WebTransformKeyframe.h"
-#include "public/platform/WebTransformOperations.h"
#include "wtf/Vector.h"
namespace WebCore {
class Element;
-class AnimationEffect;
// Given an input timing function between keyframe at 0 and keyframe at 1.0, we
// need a timing function such that the behavior with the keyframes swapped is
@@ -78,6 +65,8 @@ public:
protected:
CompositorAnimations() { }
+
+private:
static CompositorAnimations* instance(CompositorAnimations* newInstance)
{
static CompositorAnimations* instance = new CompositorAnimations();
« no previous file with comments | « no previous file | Source/core/animation/CompositorAnimations.cpp » ('j') | Source/core/animation/CompositorAnimations.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698