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

Unified Diff: ash/wm/overview/scoped_overview_animation_settings_factory.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_factory.cc
diff --git a/ash/wm/overview/scoped_overview_animation_settings_factory.cc b/ash/wm/overview/scoped_overview_animation_settings_factory.cc
index 5efc30d67e5b1b5c46da796d4025a55b71f41b48..b3c233d1553df14dc61982c308f2661da1db424c 100644
--- a/ash/wm/overview/scoped_overview_animation_settings_factory.cc
+++ b/ash/wm/overview/scoped_overview_animation_settings_factory.cc
@@ -4,7 +4,10 @@
#include "ash/wm/overview/scoped_overview_animation_settings_factory.h"
+#include "ash/wm/overview/scoped_overview_animation_settings.h"
#include "base/logging.h"
+#include "base/memory/ptr_util.h"
+#include "ui/aura/window.h"
msw 2017/05/24 17:39:16 optional nit: probably not necessary
varkha 2017/05/24 18:29:51 Acknowledged (class removed).
namespace ash {
@@ -30,4 +33,12 @@ ScopedOverviewAnimationSettingsFactory::
instance_ = nullptr;
}
+std::unique_ptr<ScopedOverviewAnimationSettings>
+ScopedOverviewAnimationSettingsFactory::CreateOverviewAnimationSettings(
+ OverviewAnimationType animation_type,
+ aura::Window* window) {
+ return base::MakeUnique<ScopedOverviewAnimationSettings>(animation_type,
+ window);
+}
+
} // namespace ash

Powered by Google App Engine
This is Rietveld 408576698