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

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

Issue 2966793002: NOT FOR REVIEW - convert to cc animation
Patch Set: switch to transform operations Created 3 years, 6 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/DEPS ('k') | 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
deleted file mode 100644
index db062bbc9f8e491b184325cea13facc5bc225981..0000000000000000000000000000000000000000
--- a/chrome/browser/android/vr_shell/animation.h
+++ /dev/null
@@ -1,56 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_ANDROID_VR_SHELL_ANIMATION_H_
-#define CHROME_BROWSER_ANDROID_VR_SHELL_ANIMATION_H_
-
-#include <memory>
-#include <vector>
-
-#include "base/macros.h"
-#include "base/time/time.h"
-
-namespace vr_shell {
-
-namespace easing {
-class Easing;
-}
-
-// Describes the characteristics of a transition from an initial set of values
-// to a final set, with timing and interpolation information. Other classes use
-// this information to animate UI element location, size, and other properties.
-class Animation {
- public:
- enum Property {
- SIZE = 0,
- TRANSLATION,
- SCALE,
- ROTATION,
- OPACITY,
- };
-
- Animation(int id,
- Property property,
- std::unique_ptr<easing::Easing> easing,
- std::vector<float> from,
- std::vector<float> to,
- const base::TimeTicks& start,
- const base::TimeDelta& duration);
- ~Animation();
-
- int id;
- Property property;
- std::unique_ptr<easing::Easing> easing;
- std::vector<float> from;
- std::vector<float> to;
- base::TimeTicks start;
- base::TimeDelta duration;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(Animation);
-};
-
-} // namespace vr_shell
-
-#endif // CHROME_BROWSER_ANDROID_VR_SHELL_ANIMATION_H_
« no previous file with comments | « chrome/browser/android/vr_shell/DEPS ('k') | chrome/browser/android/vr_shell/animation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698