1 // Copyright 2014 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef CONTENT_RENDERER_COMPOSITOR_BINDINGS_WEB_ANIMATION_CURVE_COMMON_H_ 6 #define CONTENT_RENDERER_COMPOSITOR_BINDINGS_WEB_ANIMATION_CURVE_COMMON_H_ 7 8 #include "base/memory/scoped_ptr.h" 9 #include "third_party/WebKit/public/platform/WebAnimationCurve.h" 10 11 namespace cc { 12 class TimingFunction; 13 } 14 15 namespace content { 16 scoped_ptr<cc::TimingFunction> CreateTimingFunction( 17 blink::WebAnimationCurve::TimingFunctionType); 18 } // namespace content 19 20 #endif // CONTENT_RENDERER_COMPOSITOR_BINDINGS_WEB_ANIMATION_CURVE_COMMON_H_ 21 22