Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(406)

Side by Side Diff: chrome/browser/android/vr_shell/animation.cc

Issue 2966793002: NOT FOR REVIEW - convert to cc animation
Patch Set: switch to transform operations Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/android/vr_shell/animation.h ('k') | chrome/browser/android/vr_shell/easing.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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
OLDNEW
« no previous file with comments | « chrome/browser/android/vr_shell/animation.h ('k') | chrome/browser/android/vr_shell/easing.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698