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

Unified Diff: webkit/compositor_bindings/WebAnimationCurveCommon.cpp

Issue 11192050: Rename compositor bindings filenames to Chromium style (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/compositor_bindings/WebAnimationCurveCommon.h ('k') | webkit/compositor_bindings/WebAnimationImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/compositor_bindings/WebAnimationCurveCommon.cpp
diff --git a/webkit/compositor_bindings/WebAnimationCurveCommon.cpp b/webkit/compositor_bindings/WebAnimationCurveCommon.cpp
deleted file mode 100644
index 0193c3c6ed078aa5f842df56afa43580c3284f13..0000000000000000000000000000000000000000
--- a/webkit/compositor_bindings/WebAnimationCurveCommon.cpp
+++ /dev/null
@@ -1,30 +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 "cc/timing_function.h"
-
-namespace WebKit {
-
-scoped_ptr<cc::CCTimingFunction> createTimingFunction(WebAnimationCurve::TimingFunctionType type)
-{
- switch (type) {
- case WebAnimationCurve::TimingFunctionTypeEase:
- return cc::CCEaseTimingFunction::create();
- case WebAnimationCurve::TimingFunctionTypeEaseIn:
- return cc::CCEaseInTimingFunction::create();
- case WebAnimationCurve::TimingFunctionTypeEaseOut:
- return cc::CCEaseOutTimingFunction::create();
- case WebAnimationCurve::TimingFunctionTypeEaseInOut:
- return cc::CCEaseInOutTimingFunction::create();
- case WebAnimationCurve::TimingFunctionTypeLinear:
- return scoped_ptr<cc::CCTimingFunction>();
- }
- return scoped_ptr<cc::CCTimingFunction>();
-}
-
-} // namespace WebKit
« no previous file with comments | « webkit/compositor_bindings/WebAnimationCurveCommon.h ('k') | webkit/compositor_bindings/WebAnimationImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698