OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef WebAnimationCurveCommon_h | 5 #ifndef WebAnimationCurveCommon_h |
6 #define WebAnimationCurveCommon_h | 6 #define WebAnimationCurveCommon_h |
7 | 7 |
| 8 #include "base/memory/scoped_ptr.h" |
8 #include <public/WebAnimationCurve.h> | 9 #include <public/WebAnimationCurve.h> |
9 #include <wtf/Forward.h> | 10 #include <wtf/Forward.h> |
10 | 11 |
11 namespace cc { | 12 namespace cc { |
12 class CCTimingFunction; | 13 class CCTimingFunction; |
13 } | 14 } |
14 | 15 |
15 namespace WebKit { | 16 namespace WebKit { |
16 PassOwnPtr<cc::CCTimingFunction> createTimingFunction(WebAnimationCurve::TimingF
unctionType); | 17 scoped_ptr<cc::CCTimingFunction> createTimingFunction(WebAnimationCurve::TimingF
unctionType); |
17 } | 18 } |
18 | 19 |
19 #endif // WebAnimationCurveCommon_h | 20 #endif // WebAnimationCurveCommon_h |
OLD | NEW |