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

Unified Diff: third_party/WebKit/Source/platform/testing/CompositorAnimationsTestUtils.h

Issue 2019613002: Blink Compositor Animation: Make Animation and Curve methods non-virtual. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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: third_party/WebKit/Source/platform/testing/CompositorAnimationsTestUtils.h
diff --git a/third_party/WebKit/Source/platform/testing/CompositorAnimationsTestUtils.h b/third_party/WebKit/Source/platform/testing/CompositorAnimationsTestUtils.h
new file mode 100644
index 0000000000000000000000000000000000000000..c2d549bd13c3580738bbede9d475a539c9d06264
--- /dev/null
+++ b/third_party/WebKit/Source/platform/testing/CompositorAnimationsTestUtils.h
@@ -0,0 +1,21 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CompositorAnimationsTestUtils_h
+#define CompositorAnimationsTestUtils_h
+
+#include "cc/animation/animation.h"
+#include "cc/animation/animation_curve.h"
+#include "cc/animation/keyframed_animation_curve.h"
+#include "cc/animation/timing_function.h"
+
+using TimeDeltaForTesting = base::TimeDelta;
jbroman 2016/05/27 14:52:55 This doesn't seem super helpful and makes the Sour
loyso (OOO) 2016/05/31 02:20:39 Done.
+using CcAnimationForTesting = cc::Animation;
+using CcTimingFunctionForTesting = cc::TimingFunction;
+using CcKeyframedFloatAnimationCurveForTesting = cc::KeyframedFloatAnimationCurve;
+using CcCubicBezierTimingFunctionForTesting = cc::CubicBezierTimingFunction;
+using CcFloatKeyframeForTesting = cc::FloatKeyframe;
+using CcAnimationCurveForTesting = cc::AnimationCurve;
+
+#endif // CompositorAnimationsTestUtils_h
alancutter (OOO until 2018) 2016/06/01 02:20:55 This is only included once, why have a separate fi
loyso (OOO) 2016/06/01 02:36:47 Irrelevant with a new patch set.
loyso (OOO) 2016/06/01 02:38:20 The actual reason was the folder, where is file is

Powered by Google App Engine
This is Rietveld 408576698