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" | |
9 #include <public/WebAnimationCurve.h> | 8 #include <public/WebAnimationCurve.h> |
10 #include <wtf/Forward.h> | 9 #include <wtf/Forward.h> |
11 | 10 |
12 namespace cc { | 11 namespace cc { |
13 class CCTimingFunction; | 12 class CCTimingFunction; |
14 } | 13 } |
15 | 14 |
16 namespace WebKit { | 15 namespace WebKit { |
17 scoped_ptr<cc::CCTimingFunction> createTimingFunction(WebAnimationCurve::TimingF
unctionType); | 16 PassOwnPtr<cc::CCTimingFunction> createTimingFunction(WebAnimationCurve::TimingF
unctionType); |
18 } | 17 } |
19 | 18 |
20 #endif // WebAnimationCurveCommon_h | 19 #endif // WebAnimationCurveCommon_h |
OLD | NEW |