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

Unified Diff: chrome/browser/android/vr_shell/ui_elements.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 | « chrome/browser/android/vr_shell/animation.cc ('k') | chrome/browser/android/vr_shell/ui_elements.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/vr_shell/ui_elements.h
diff --git a/chrome/browser/android/vr_shell/ui_elements.h b/chrome/browser/android/vr_shell/ui_elements.h
index 3340345315a93c9b2d92a42b2b5472364b5d4871..b502f5d9b1065da97bb68bd02d287898a4c92cd6 100644
--- a/chrome/browser/android/vr_shell/ui_elements.h
+++ b/chrome/browser/android/vr_shell/ui_elements.h
@@ -13,6 +13,10 @@
#include "chrome/browser/android/vr_shell/vr_math.h"
#include "third_party/gvr-android-sdk/src/libraries/headers/vr/gvr/capi/include/gvr_types.h"
+namespace base {
+class TimeTicks;
+}
+
namespace vr_shell {
class Animation;
@@ -87,7 +91,7 @@ struct ContentRectangle : public WorldRectangle {
ContentRectangle();
~ContentRectangle();
- void Animate(int64_t time);
+ void Animate(const base::TimeTicks& time);
// Indicates whether the element should be visually rendered.
bool IsVisible() const;
« no previous file with comments | « chrome/browser/android/vr_shell/animation.cc ('k') | chrome/browser/android/vr_shell/ui_elements.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698