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