Rename Animate as Begin(Main)Frame
[chromium-blink-merge.git] / content / renderer / compositor_bindings / web_animation_curve_common.h
blobb1df0031cced4040f65eb1936df81c910803e607
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.
5 #ifndef CONTENT_RENDERER_COMPOSITOR_BINDINGS_WEB_ANIMATION_CURVE_COMMON_H_
6 #define CONTENT_RENDERER_COMPOSITOR_BINDINGS_WEB_ANIMATION_CURVE_COMMON_H_
8 #include "base/memory/scoped_ptr.h"
9 #include "third_party/WebKit/public/platform/WebCompositorAnimationCurve.h"
11 namespace cc {
12 class TimingFunction;
15 namespace content {
16 scoped_ptr<cc::TimingFunction> CreateTimingFunction(
17 blink::WebCompositorAnimationCurve::TimingFunctionType);
18 } // namespace content
20 #endif // CONTENT_RENDERER_COMPOSITOR_BINDINGS_WEB_ANIMATION_CURVE_COMMON_H_