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

Unified Diff: cc/animation/timing_function.h

Issue 143413020: Use a bezier timing function for the overview mode animation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 | « ash/wm/overview/scoped_transform_overview_window.cc ('k') | cc/animation/timing_function.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/animation/timing_function.h
diff --git a/cc/animation/timing_function.h b/cc/animation/timing_function.h
index 056ad41419357eb4e6771801296d3f7b920c6e4e..647701f30ce596627279804ab0d6a765d04b209a 100644
--- a/cc/animation/timing_function.h
+++ b/cc/animation/timing_function.h
@@ -7,7 +7,7 @@
#include "cc/animation/animation_curve.h"
#include "cc/base/cc_export.h"
-#include "third_party/skia/include/core/SkScalar.h"
+#include "ui/gfx/geometry/cubic_bezier.h"
namespace cc {
@@ -45,10 +45,7 @@ class CC_EXPORT CubicBezierTimingFunction : public TimingFunction {
protected:
CubicBezierTimingFunction(double x1, double y1, double x2, double y2);
- double x1_;
- double y1_;
- double x2_;
- double y2_;
+ gfx::CubicBezier bezier_;
private:
DISALLOW_ASSIGN(CubicBezierTimingFunction);
« no previous file with comments | « ash/wm/overview/scoped_transform_overview_window.cc ('k') | cc/animation/timing_function.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698