summaryrefslogtreecommitdiffstats
path: root/webkit/renderer/compositor_bindings/web_animation_curve_common.h
blob: b24fabacc37cfac3495a22747426954908fba29e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// 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.

#ifndef WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_ANIMATION_CURVE_COMMON_H_
#define WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_ANIMATION_CURVE_COMMON_H_

#include "base/memory/scoped_ptr.h"
#include "third_party/WebKit/public/platform/WebAnimationCurve.h"

namespace cc { class TimingFunction; }

namespace webkit {
scoped_ptr<cc::TimingFunction> CreateTimingFunction(
    blink::WebAnimationCurve::TimingFunctionType);
}

#endif  // WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_ANIMATION_CURVE_COMMON_H_