Upstream version 10.38.222.0
[platform/framework/web/crosswalk.git] / src / content / renderer / compositor_bindings / web_animation_curve_common.h
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/WebCompositorAnimationCurve.h"
10
11 namespace cc {
12 class TimingFunction;
13 }
14
15 namespace content {
16 scoped_ptr<cc::TimingFunction> CreateTimingFunction(
17     blink::WebCompositorAnimationCurve::TimingFunctionType);
18 }  // namespace content
19
20 #endif  // CONTENT_RENDERER_COMPOSITOR_BINDINGS_WEB_ANIMATION_CURVE_COMMON_H_
21