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

Unified Diff: ash/wm/overview/scoped_overview_animation_settings.cc

Issue 2901903003: [ash] Cleanup of ScopedOverviewAnimationSettings (Closed)
Patch Set: [ash] Cleanup of ScopedOverviewAnimationSettings Created 3 years, 7 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
Index: ash/wm/overview/scoped_overview_animation_settings.cc
diff --git a/ash/wm/overview/scoped_overview_animation_settings_aura.cc b/ash/wm/overview/scoped_overview_animation_settings.cc
similarity index 95%
rename from ash/wm/overview/scoped_overview_animation_settings_aura.cc
rename to ash/wm/overview/scoped_overview_animation_settings.cc
index f7f76fcdcd55a6bbab63a35745b7964b00d3420d..f4c44f7979b118c3b2fe2ce5936aeca89fc7ee3b 100644
--- a/ash/wm/overview/scoped_overview_animation_settings_aura.cc
+++ b/ash/wm/overview/scoped_overview_animation_settings.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "ash/wm/overview/scoped_overview_animation_settings_aura.h"
+#include "ash/wm/overview/scoped_overview_animation_settings.h"
#include "base/lazy_instance.h"
#include "base/metrics/histogram_macros.h"
@@ -123,7 +123,7 @@ ui::AnimationMetricsReporter* GetMetricsReporter(
} // namespace
-ScopedOverviewAnimationSettingsAura::ScopedOverviewAnimationSettingsAura(
+ScopedOverviewAnimationSettings::ScopedOverviewAnimationSettings(
OverviewAnimationType animation_type,
aura::Window* window)
: animation_settings_(new ui::ScopedLayerAnimationSettings(
@@ -165,9 +165,9 @@ ScopedOverviewAnimationSettingsAura::ScopedOverviewAnimationSettingsAura(
GetMetricsReporter(animation_type));
}
-ScopedOverviewAnimationSettingsAura::~ScopedOverviewAnimationSettingsAura() {}
+ScopedOverviewAnimationSettings::~ScopedOverviewAnimationSettings() {}
-void ScopedOverviewAnimationSettingsAura::AddObserver(
+void ScopedOverviewAnimationSettings::AddObserver(
ui::ImplicitAnimationObserver* observer) {
animation_settings_->AddObserver(observer);
}

Powered by Google App Engine
This is Rietveld 408576698