| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "chrome/browser/android/vr_shell/animation.h" | 5 #include "chrome/browser/android/vr_shell/animation.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "chrome/browser/android/vr_shell/easing.h" | 9 #include "chrome/browser/android/vr_shell/easing.h" |
| 10 | 10 |
| 11 namespace vr_shell { | 11 namespace vr_shell { |
| 12 | 12 |
| 13 Animation::Animation(int id, | 13 Animation::Animation(int id, |
| 14 Property property, | 14 Property property, |
| 15 std::unique_ptr<easing::Easing> easing, | 15 std::unique_ptr<easing::Easing> easing, |
| 16 std::vector<float> from, | 16 std::vector<float> from, |
| 17 std::vector<float> to, | 17 std::vector<float> to, |
| 18 int64_t start, | 18 const base::TimeTicks& start, |
| 19 int64_t duration) | 19 const base::TimeDelta& duration) |
| 20 : id(id), | 20 : id(id), |
| 21 property(property), | 21 property(property), |
| 22 easing(std::move(easing)), | 22 easing(std::move(easing)), |
| 23 from(from), | 23 from(from), |
| 24 to(to), | 24 to(to), |
| 25 start(start), | 25 start(start), |
| 26 duration(duration) {} | 26 duration(duration) {} |
| 27 | 27 |
| 28 Animation::~Animation() {} | 28 Animation::~Animation() {} |
| 29 | 29 |
| 30 } // namespace vr_shell | 30 } // namespace vr_shell |
| OLD | NEW |