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

Unified Diff: chrome/browser/android/vr_shell/animation.h

Issue 2801073002: [vr] Use base's time classes (Closed)
Patch Set: updated tests Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/android/vr_shell/animation.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/vr_shell/animation.h
diff --git a/chrome/browser/android/vr_shell/animation.h b/chrome/browser/android/vr_shell/animation.h
index 2f6304adcceab0024aad476b4f6656c0658edec1..084f4582d54cb75663d37e445143b5d43dc2c6a3 100644
--- a/chrome/browser/android/vr_shell/animation.h
+++ b/chrome/browser/android/vr_shell/animation.h
@@ -9,6 +9,7 @@
#include <vector>
#include "base/macros.h"
+#include "base/time/time.h"
namespace vr_shell {
@@ -35,8 +36,8 @@ class Animation {
std::unique_ptr<easing::Easing> easing,
std::vector<float> from,
std::vector<float> to,
- int64_t start,
- int64_t duration);
+ const base::TimeTicks& start,
+ const base::TimeDelta& duration);
~Animation();
int id;
@@ -44,8 +45,8 @@ class Animation {
std::unique_ptr<easing::Easing> easing;
std::vector<float> from;
std::vector<float> to;
- int64_t start;
- int64_t duration;
+ base::TimeTicks start;
+ base::TimeDelta duration;
private:
DISALLOW_COPY_AND_ASSIGN(Animation);
« no previous file with comments | « no previous file | chrome/browser/android/vr_shell/animation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698