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

Unified Diff: ui/compositor/layer_animation_observer.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/layer_animation_element.cc ('k') | ui/compositor/layer_animator_collection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/layer_animation_observer.h
diff --git a/ui/compositor/layer_animation_observer.h b/ui/compositor/layer_animation_observer.h
index 8db5a4a2fd77b38309bfccdd56d0331354568b6f..35253d3e3ea335bb0a70f6af0a71e68ef4bd3b73 100644
--- a/ui/compositor/layer_animation_observer.h
+++ b/ui/compositor/layer_animation_observer.h
@@ -82,7 +82,7 @@ class COMPOSITOR_EXPORT ImplicitAnimationObserver
: public LayerAnimationObserver {
public:
ImplicitAnimationObserver();
- virtual ~ImplicitAnimationObserver();
+ ~ImplicitAnimationObserver() override;
// Called when the first animation sequence has started.
virtual void OnImplicitAnimationsScheduled() {}
@@ -116,16 +116,11 @@ class COMPOSITOR_EXPORT ImplicitAnimationObserver
friend class ScopedLayerAnimationSettings;
// LayerAnimationObserver implementation
- virtual void OnLayerAnimationEnded(
- LayerAnimationSequence* sequence) override;
- virtual void OnLayerAnimationAborted(
- LayerAnimationSequence* sequence) override;
- virtual void OnLayerAnimationScheduled(
- LayerAnimationSequence* sequence) override;
- virtual void OnAttachedToSequence(
- LayerAnimationSequence* sequence) override;
- virtual void OnDetachedFromSequence(
- LayerAnimationSequence* sequence) override;
+ void OnLayerAnimationEnded(LayerAnimationSequence* sequence) override;
+ void OnLayerAnimationAborted(LayerAnimationSequence* sequence) override;
+ void OnLayerAnimationScheduled(LayerAnimationSequence* sequence) override;
+ void OnAttachedToSequence(LayerAnimationSequence* sequence) override;
+ void OnDetachedFromSequence(LayerAnimationSequence* sequence) override;
// OnImplicitAnimationsCompleted is not fired unless the observer is active.
bool active() const { return active_; }
« no previous file with comments | « ui/compositor/layer_animation_element.cc ('k') | ui/compositor/layer_animator_collection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698