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

Unified Diff: ui/gfx/geometry/cubic_bezier.h

Issue 833093002: CC: Allow cubic-bezier timing inputs outside the range [0, 1] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@0
Patch Set: Trigger CQ build Created 5 years, 11 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 | « cc/animation/keyframed_animation_curve_unittest.cc ('k') | ui/gfx/geometry/cubic_bezier.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/geometry/cubic_bezier.h
diff --git a/ui/gfx/geometry/cubic_bezier.h b/ui/gfx/geometry/cubic_bezier.h
index 66d5e8a514012c623c3f8d9152599cd9e355183e..5a885f35db2f71e719184680ae4bbd2dcc8ec0d4 100644
--- a/ui/gfx/geometry/cubic_bezier.h
+++ b/ui/gfx/geometry/cubic_bezier.h
@@ -26,11 +26,16 @@ class GFX_EXPORT CubicBezier {
void Range(double* min, double* max) const;
private:
+ void InitGradients();
+
double x1_;
double y1_;
double x2_;
double y2_;
+ double start_gradient_;
+ double end_gradient_;
+
DISALLOW_ASSIGN(CubicBezier);
};
« no previous file with comments | « cc/animation/keyframed_animation_curve_unittest.cc ('k') | ui/gfx/geometry/cubic_bezier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698