| 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 #include "config.h" | 5 #include "config.h" |
| 6 | 6 |
| 7 #include "CCTimingFunction.h" | 7 #include "cc/timing_function.h" |
| 8 | 8 |
| 9 namespace { | 9 namespace { |
| 10 const double epsilon = 1e-6; | 10 const double epsilon = 1e-6; |
| 11 } // namespace | 11 } // namespace |
| 12 | 12 |
| 13 namespace cc { | 13 namespace cc { |
| 14 | 14 |
| 15 CCTimingFunction::CCTimingFunction() | 15 CCTimingFunction::CCTimingFunction() |
| 16 { | 16 { |
| 17 } | 17 } |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 { | 65 { |
| 66 return CCCubicBezierTimingFunction::create(0, 0, 0.58, 1).PassAs<CCTimingFun
ction>(); | 66 return CCCubicBezierTimingFunction::create(0, 0, 0.58, 1).PassAs<CCTimingFun
ction>(); |
| 67 } | 67 } |
| 68 | 68 |
| 69 scoped_ptr<CCTimingFunction> CCEaseInOutTimingFunction::create() | 69 scoped_ptr<CCTimingFunction> CCEaseInOutTimingFunction::create() |
| 70 { | 70 { |
| 71 return CCCubicBezierTimingFunction::create(0.42, 0, 0.58, 1).PassAs<CCTiming
Function>(); | 71 return CCCubicBezierTimingFunction::create(0.42, 0, 0.58, 1).PassAs<CCTiming
Function>(); |
| 72 } | 72 } |
| 73 | 73 |
| 74 } // namespace cc | 74 } // namespace cc |
| OLD | NEW |