OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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 "sky/engine/config.h" | |
6 #include "sky/engine/platform/animation/TimingFunction.h" | 5 #include "sky/engine/platform/animation/TimingFunction.h" |
7 | 6 |
8 #include "sky/engine/wtf/MathExtras.h" | 7 #include "sky/engine/wtf/MathExtras.h" |
9 | 8 |
10 namespace blink { | 9 namespace blink { |
11 | 10 |
12 String LinearTimingFunction::toString() const | 11 String LinearTimingFunction::toString() const |
13 { | 12 { |
14 return "linear"; | 13 return "linear"; |
15 } | 14 } |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 return false; | 219 return false; |
221 } | 220 } |
222 | 221 |
223 // No need to define specific operator!= as they can all come via this function. | 222 // No need to define specific operator!= as they can all come via this function. |
224 bool operator!=(const TimingFunction& lhs, const TimingFunction& rhs) | 223 bool operator!=(const TimingFunction& lhs, const TimingFunction& rhs) |
225 { | 224 { |
226 return !(lhs == rhs); | 225 return !(lhs == rhs); |
227 } | 226 } |
228 | 227 |
229 } // namespace blink | 228 } // namespace blink |
OLD | NEW |