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

Unified Diff: ui/compositor/transform_animation_curve_adapter.h

Issue 667923002: Standardize usage of virtual/override/final in ui/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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/test/test_suite.h ('k') | ui/events/device_data_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/transform_animation_curve_adapter.h
diff --git a/ui/compositor/transform_animation_curve_adapter.h b/ui/compositor/transform_animation_curve_adapter.h
index 6c63ba1c68df58f5c35f5ea2d10e958022f0f479..7aa318eac5baf9b35a8beab2dd1e63426c49aa85 100644
--- a/ui/compositor/transform_animation_curve_adapter.h
+++ b/ui/compositor/transform_animation_curve_adapter.h
@@ -22,18 +22,18 @@ class COMPOSITOR_EXPORT TransformAnimationCurveAdapter
gfx::Transform target_value,
base::TimeDelta duration);
- virtual ~TransformAnimationCurveAdapter();
+ ~TransformAnimationCurveAdapter() override;
// TransformAnimationCurve implementation.
- virtual double Duration() const override;
- virtual scoped_ptr<AnimationCurve> Clone() const override;
- virtual gfx::Transform GetValue(double t) const override;
- virtual bool AnimatedBoundsForBox(const gfx::BoxF& box,
- gfx::BoxF* bounds) const override;
- virtual bool AffectsScale() const override;
- virtual bool IsTranslation() const override;
- virtual bool MaximumTargetScale(bool forward_direction,
- float* max_scale) const override;
+ double Duration() const override;
+ scoped_ptr<AnimationCurve> Clone() const override;
+ gfx::Transform GetValue(double t) const override;
+ bool AnimatedBoundsForBox(const gfx::BoxF& box,
+ gfx::BoxF* bounds) const override;
+ bool AffectsScale() const override;
+ bool IsTranslation() const override;
+ bool MaximumTargetScale(bool forward_direction,
+ float* max_scale) const override;
private:
gfx::Tween::Type tween_type_;
@@ -53,17 +53,17 @@ class COMPOSITOR_EXPORT InverseTransformCurveAdapter
gfx::Transform initial_value,
base::TimeDelta duration);
- virtual ~InverseTransformCurveAdapter();
-
- virtual double Duration() const override;
- virtual scoped_ptr<AnimationCurve> Clone() const override;
- virtual gfx::Transform GetValue(double t) const override;
- virtual bool AnimatedBoundsForBox(const gfx::BoxF& box,
- gfx::BoxF* bounds) const override;
- virtual bool AffectsScale() const override;
- virtual bool IsTranslation() const override;
- virtual bool MaximumTargetScale(bool forward_direction,
- float* max_scale) const override;
+ ~InverseTransformCurveAdapter() override;
+
+ double Duration() const override;
+ scoped_ptr<AnimationCurve> Clone() const override;
+ gfx::Transform GetValue(double t) const override;
+ bool AnimatedBoundsForBox(const gfx::BoxF& box,
+ gfx::BoxF* bounds) const override;
+ bool AffectsScale() const override;
+ bool IsTranslation() const override;
+ bool MaximumTargetScale(bool forward_direction,
+ float* max_scale) const override;
private:
TransformAnimationCurveAdapter base_curve_;
« no previous file with comments | « ui/compositor/test/test_suite.h ('k') | ui/events/device_data_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698