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

Unified Diff: ui/compositor/float_animation_curve_adapter.cc

Issue 12517003: cc: Chromify the Animation and LayerAnimationController classes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 | « ui/compositor/float_animation_curve_adapter.h ('k') | ui/compositor/layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/float_animation_curve_adapter.cc
diff --git a/ui/compositor/float_animation_curve_adapter.cc b/ui/compositor/float_animation_curve_adapter.cc
index 7294965936be10f4b653cfe3b57bacb8e95f5a74..e97fbf0b700066868acd66ecd68102ab35f3e0ad 100644
--- a/ui/compositor/float_animation_curve_adapter.cc
+++ b/ui/compositor/float_animation_curve_adapter.cc
@@ -17,11 +17,11 @@ FloatAnimationCurveAdapter::FloatAnimationCurveAdapter(
duration_(duration) {
}
-double FloatAnimationCurveAdapter::duration() const {
+double FloatAnimationCurveAdapter::Duration() const {
return duration_.InSecondsF();
}
-scoped_ptr<cc::AnimationCurve> FloatAnimationCurveAdapter::clone() const {
+scoped_ptr<cc::AnimationCurve> FloatAnimationCurveAdapter::Clone() const {
scoped_ptr<FloatAnimationCurveAdapter> to_return(
new FloatAnimationCurveAdapter(tween_type_,
initial_value_,
@@ -30,7 +30,7 @@ scoped_ptr<cc::AnimationCurve> FloatAnimationCurveAdapter::clone() const {
return to_return.PassAs<cc::AnimationCurve>();
}
-float FloatAnimationCurveAdapter::getValue(double t) const {
+float FloatAnimationCurveAdapter::GetValue(double t) const {
if (t >= duration_.InSecondsF())
return target_value_;
if (t <= 0.0)
« no previous file with comments | « ui/compositor/float_animation_curve_adapter.h ('k') | ui/compositor/layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698