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

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

Issue 2335643002: Add VR Shell animation classes and unit test. (Closed)
Patch Set: Add VR Shell animation classes and unit test. Created 4 years, 3 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 namespace vr_shell {
8
9 Animation::Animation(int id,
10 Property property,
11 std::unique_ptr<easing::Easing> easing,
12 std::vector<float> from,
13 std::vector<float> to,
14 int64_t start,
15 int64_t duration)
16 : id(id),
17 property(property),
18 easing(std::move(easing)),
19 from(from),
20 to(to),
21 start(start),
22 duration(duration) {}
23
24 Animation::~Animation() {}
25
26 } // 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