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

Unified Diff: webkit/compositor/WebAnimationCurveCommon.cpp

Issue 10920056: Make cc_unittests and webkit_compositor_unittests executable always (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rename to webkit_compositor_bindings Created 8 years, 4 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
« no previous file with comments | « webkit/compositor/WebAnimationCurveCommon.h ('k') | webkit/compositor/WebAnimationImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/compositor/WebAnimationCurveCommon.cpp
diff --git a/webkit/compositor/WebAnimationCurveCommon.cpp b/webkit/compositor/WebAnimationCurveCommon.cpp
deleted file mode 100644
index 2e45dc5ea94c0336fbd606e5250f0db9942dfabb..0000000000000000000000000000000000000000
--- a/webkit/compositor/WebAnimationCurveCommon.cpp
+++ /dev/null
@@ -1,33 +0,0 @@
-// Copyright 2012 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.
-
-#include "config.h"
-
-#include "WebAnimationCurveCommon.h"
-
-#include "CCTimingFunction.h"
-
-#include <wtf/OwnPtr.h>
-#include <wtf/PassOwnPtr.h>
-
-namespace WebKit {
-
-PassOwnPtr<WebCore::CCTimingFunction> createTimingFunction(WebAnimationCurve::TimingFunctionType type)
-{
- switch (type) {
- case WebAnimationCurve::TimingFunctionTypeEase:
- return WebCore::CCEaseTimingFunction::create();
- case WebAnimationCurve::TimingFunctionTypeEaseIn:
- return WebCore::CCEaseInTimingFunction::create();
- case WebAnimationCurve::TimingFunctionTypeEaseOut:
- return WebCore::CCEaseOutTimingFunction::create();
- case WebAnimationCurve::TimingFunctionTypeEaseInOut:
- return WebCore::CCEaseInOutTimingFunction::create();
- case WebAnimationCurve::TimingFunctionTypeLinear:
- return nullptr;
- }
- return nullptr;
-}
-
-} // namespace WebKit
« no previous file with comments | « webkit/compositor/WebAnimationCurveCommon.h ('k') | webkit/compositor/WebAnimationImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698