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

Unified Diff: ash/display/display_configurator_animation.cc

Issue 800983006: Update {virtual,override,final} to follow C++11 style in ash. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Workaround 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 | « ash/display/display_configurator_animation.h ('k') | ash/display/display_error_observer_chromeos.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/display_configurator_animation.cc
diff --git a/ash/display/display_configurator_animation.cc b/ash/display/display_configurator_animation.cc
index a376568e783e2904e6870e02cb86f775e5f3aff5..105c1edca51b6d05d43c643d238e684645bd388f 100644
--- a/ash/display/display_configurator_animation.cc
+++ b/ash/display/display_configurator_animation.cc
@@ -63,20 +63,18 @@ class CallbackRunningObserver {
protected:
// ui::LayerAnimationObserver overrides:
- virtual void OnLayerAnimationEnded(
- ui::LayerAnimationSequence* sequence) override {
+ void OnLayerAnimationEnded(ui::LayerAnimationSequence* sequence) override {
animator_->RemoveObserver(this);
observer_->OnSingleTaskCompleted();
}
- virtual void OnLayerAnimationAborted(
+ void OnLayerAnimationAborted(
ui::LayerAnimationSequence* sequence) override {
animator_->RemoveObserver(this);
observer_->OnSingleTaskAborted();
}
- virtual void OnLayerAnimationScheduled(
- ui::LayerAnimationSequence* sequence) override {
- }
- virtual bool RequiresNotificationWhenAnimatorDestroyed() const override {
+ void OnLayerAnimationScheduled(
+ ui::LayerAnimationSequence* sequence) override {}
+ bool RequiresNotificationWhenAnimatorDestroyed() const override {
return true;
}
« no previous file with comments | « ash/display/display_configurator_animation.h ('k') | ash/display/display_error_observer_chromeos.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698